1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libcryptui 3.12.2.
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
199
200  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204    PATH=/empty FPATH=/empty; export PATH FPATH
205    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207test \$(( 1 + 1 )) = 2 || 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='libcryptui'
589PACKAGE_TARNAME='libcryptui'
590PACKAGE_VERSION='3.12.2'
591PACKAGE_STRING='libcryptui 3.12.2'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL=''
594
595ac_unique_file="daemon/seahorse-daemon.c"
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
636EGG_SMCLIENT_LIBS
637EGG_SMCLIENT_CFLAGS
638EGG_LIBS
639EGG_CFLAGS
640MKINSTALLDIRS
641POSUB
642POFILES
643PO_IN_DATADIR_FALSE
644PO_IN_DATADIR_TRUE
645INTLLIBS
646INSTOBJEXT
647GMOFILES
648CATOBJEXT
649CATALOGS
650MSGFMT_OPTS
651GETTEXT_PACKAGE
652UPDATE_MIME_DATABASE_FALSE
653UPDATE_MIME_DATABASE_TRUE
654GLIB_GENMARSHAL
655HAVE_INTROSPECTION_FALSE
656HAVE_INTROSPECTION_TRUE
657INTROSPECTION_LIBS
658INTROSPECTION_CFLAGS
659INTROSPECTION_TYPELIBDIR
660INTROSPECTION_GIRDIR
661INTROSPECTION_GENERATE
662INTROSPECTION_COMPILER
663INTROSPECTION_SCANNER
664CAIRO_PREFIX
665PANGO_PREFIX
666ATK_PREFIX
667GLIB_PREFIX
668cryptuitargetlib
669LIBCRYPTUI_LIBS
670LIBCRYPTUI_CFLAGS
671LIBCRYPTUI_MAJOR
672LIBCRYPTUI_LT_RELEASE
673GNOME_KEYRING_LIBS
674GNOME_KEYRING_CFLAGS
675LIBNOTIFY_LIBS
676LIBNOTIFY_CFLAGS
677DBUS_BINDING_TOOL
678DBUS_LIBS
679DBUS_CFLAGS
680GPGME_CONFIG
681GNUPG
682PLUGIN_LIBTOOL_FLAGS
683OS_WIN32_FALSE
684OS_WIN32_TRUE
685PLATFORM_WIN32_FALSE
686PLATFORM_WIN32_TRUE
687GSETTINGS_RULES
688GLIB_COMPILE_SCHEMAS
689gsettingsschemadir
690GSETTINGS_DISABLE_SCHEMAS_COMPILE
691SM_LIBS
692SM_CFLAGS
693SEAHORSE_LIBS
694SEAHORSE_CFLAGS
695GTK_LIBS
696GTK_CFLAGS
697GTK_DOC_USE_REBASE_FALSE
698GTK_DOC_USE_REBASE_TRUE
699GTK_DOC_USE_LIBTOOL_FALSE
700GTK_DOC_USE_LIBTOOL_TRUE
701GTK_DOC_BUILD_PDF_FALSE
702GTK_DOC_BUILD_PDF_TRUE
703GTK_DOC_BUILD_HTML_FALSE
704GTK_DOC_BUILD_HTML_TRUE
705ENABLE_GTK_DOC_FALSE
706ENABLE_GTK_DOC_TRUE
707HAVE_GTK_DOC_FALSE
708HAVE_GTK_DOC_TRUE
709GTKDOC_DEPS_LIBS
710GTKDOC_DEPS_CFLAGS
711HTML_DIR
712GTKDOC_MKPDF
713GTKDOC_REBASE
714GTKDOC_CHECK_PATH
715GTKDOC_CHECK
716PKG_CONFIG_LIBDIR
717PKG_CONFIG_PATH
718PKG_CONFIG
719CXXCPP
720CPP
721OTOOL64
722OTOOL
723LIPO
724NMEDIT
725DSYMUTIL
726MANIFEST_TOOL
727RANLIB
728ac_ct_AR
729AR
730DLLTOOL
731OBJDUMP
732LN_S
733NM
734ac_ct_DUMPBIN
735DUMPBIN
736LD
737FGREP
738EGREP
739GREP
740SED
741host_os
742host_vendor
743host_cpu
744host
745build_os
746build_vendor
747build_cpu
748build
749LIBTOOL
750DATADIRNAME
751ALL_LINGUAS
752INTLTOOL_PERL
753GMSGFMT
754MSGFMT
755MSGMERGE
756XGETTEXT
757INTLTOOL_POLICY_RULE
758INTLTOOL_SERVICE_RULE
759INTLTOOL_THEME_RULE
760INTLTOOL_SCHEMAS_RULE
761INTLTOOL_CAVES_RULE
762INTLTOOL_XML_NOMERGE_RULE
763INTLTOOL_XML_RULE
764INTLTOOL_KBD_RULE
765INTLTOOL_XAM_RULE
766INTLTOOL_UI_RULE
767INTLTOOL_SOUNDLIST_RULE
768INTLTOOL_SHEET_RULE
769INTLTOOL_SERVER_RULE
770INTLTOOL_PONG_RULE
771INTLTOOL_OAF_RULE
772INTLTOOL_PROP_RULE
773INTLTOOL_KEYS_RULE
774INTLTOOL_DIRECTORY_RULE
775INTLTOOL_DESKTOP_RULE
776intltool__v_merge_options_0
777intltool__v_merge_options_
778INTLTOOL_V_MERGE_OPTIONS
779INTLTOOL__v_MERGE_0
780INTLTOOL__v_MERGE_
781INTLTOOL_V_MERGE
782INTLTOOL_EXTRACT
783INTLTOOL_MERGE
784INTLTOOL_UPDATE
785USE_NLS
786am__fastdepCXX_FALSE
787am__fastdepCXX_TRUE
788CXXDEPMODE
789ac_ct_CXX
790CXXFLAGS
791CXX
792am__fastdepCC_FALSE
793am__fastdepCC_TRUE
794CCDEPMODE
795am__nodep
796AMDEPBACKSLASH
797AMDEP_FALSE
798AMDEP_TRUE
799am__quote
800am__include
801DEPDIR
802OBJEXT
803EXEEXT
804ac_ct_CC
805CPPFLAGS
806LDFLAGS
807CFLAGS
808CC
809MAINT
810MAINTAINER_MODE_FALSE
811MAINTAINER_MODE_TRUE
812AM_BACKSLASH
813AM_DEFAULT_VERBOSITY
814AM_DEFAULT_V
815AM_V
816am__untar
817am__tar
818AMTAR
819am__leading_dot
820SET_MAKE
821AWK
822mkdir_p
823MKDIR_P
824INSTALL_STRIP_PROGRAM
825STRIP
826install_sh
827MAKEINFO
828AUTOHEADER
829AUTOMAKE
830AUTOCONF
831ACLOCAL
832VERSION
833PACKAGE
834CYGPATH_W
835am__isrc
836INSTALL_DATA
837INSTALL_SCRIPT
838INSTALL_PROGRAM
839target_alias
840host_alias
841build_alias
842LIBS
843ECHO_T
844ECHO_N
845ECHO_C
846DEFS
847mandir
848localedir
849libdir
850psdir
851pdfdir
852dvidir
853htmldir
854infodir
855docdir
856oldincludedir
857includedir
858localstatedir
859sharedstatedir
860sysconfdir
861datadir
862datarootdir
863libexecdir
864sbindir
865bindir
866program_transform_name
867prefix
868exec_prefix
869PACKAGE_URL
870PACKAGE_BUGREPORT
871PACKAGE_STRING
872PACKAGE_VERSION
873PACKAGE_TARNAME
874PACKAGE_NAME
875PATH_SEPARATOR
876SHELL'
877ac_subst_files=''
878ac_user_opts='
879enable_option_checking
880enable_silent_rules
881enable_maintainer_mode
882enable_dependency_tracking
883enable_nls
884enable_shared
885enable_static
886with_pic
887enable_fast_install
888with_gnu_ld
889with_sysroot
890enable_libtool_lock
891with_html_dir
892enable_gtk_doc
893enable_gtk_doc_html
894enable_gtk_doc_pdf
895enable_largefile
896enable_schemas_compile
897enable_gpg_check
898enable_libnotify
899enable_debug
900enable_fatal_messages
901enable_introspection
902enable_update_mime_database
903'
904      ac_precious_vars='build_alias
905host_alias
906target_alias
907CC
908CFLAGS
909LDFLAGS
910LIBS
911CPPFLAGS
912CXX
913CXXFLAGS
914CCC
915CPP
916CXXCPP
917PKG_CONFIG
918PKG_CONFIG_PATH
919PKG_CONFIG_LIBDIR
920GTKDOC_DEPS_CFLAGS
921GTKDOC_DEPS_LIBS
922GTK_CFLAGS
923GTK_LIBS
924SEAHORSE_CFLAGS
925SEAHORSE_LIBS
926SM_CFLAGS
927SM_LIBS
928DBUS_CFLAGS
929DBUS_LIBS
930LIBNOTIFY_CFLAGS
931LIBNOTIFY_LIBS
932GNOME_KEYRING_CFLAGS
933GNOME_KEYRING_LIBS
934LIBCRYPTUI_CFLAGS
935LIBCRYPTUI_LIBS
936EGG_CFLAGS
937EGG_LIBS
938EGG_SMCLIENT_CFLAGS
939EGG_SMCLIENT_LIBS'
940
941
942# Initialize some variables set by options.
943ac_init_help=
944ac_init_version=false
945ac_unrecognized_opts=
946ac_unrecognized_sep=
947# The variables have the same names as the options, with
948# dashes changed to underlines.
949cache_file=/dev/null
950exec_prefix=NONE
951no_create=
952no_recursion=
953prefix=NONE
954program_prefix=NONE
955program_suffix=NONE
956program_transform_name=s,x,x,
957silent=
958site=
959srcdir=
960verbose=
961x_includes=NONE
962x_libraries=NONE
963
964# Installation directory options.
965# These are left unexpanded so users can "make install exec_prefix=/foo"
966# and all the variables that are supposed to be based on exec_prefix
967# by default will actually change.
968# Use braces instead of parens because sh, perl, etc. also accept them.
969# (The list follows the same order as the GNU Coding Standards.)
970bindir='${exec_prefix}/bin'
971sbindir='${exec_prefix}/sbin'
972libexecdir='${exec_prefix}/libexec'
973datarootdir='${prefix}/share'
974datadir='${datarootdir}'
975sysconfdir='${prefix}/etc'
976sharedstatedir='${prefix}/com'
977localstatedir='${prefix}/var'
978includedir='${prefix}/include'
979oldincludedir='/usr/include'
980docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
981infodir='${datarootdir}/info'
982htmldir='${docdir}'
983dvidir='${docdir}'
984pdfdir='${docdir}'
985psdir='${docdir}'
986libdir='${exec_prefix}/lib'
987localedir='${datarootdir}/locale'
988mandir='${datarootdir}/man'
989
990ac_prev=
991ac_dashdash=
992for ac_option
993do
994  # If the previous option needs an argument, assign it.
995  if test -n "$ac_prev"; then
996    eval $ac_prev=\$ac_option
997    ac_prev=
998    continue
999  fi
1000
1001  case $ac_option in
1002  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1003  *=)   ac_optarg= ;;
1004  *)    ac_optarg=yes ;;
1005  esac
1006
1007  # Accept the important Cygnus configure options, so we can diagnose typos.
1008
1009  case $ac_dashdash$ac_option in
1010  --)
1011    ac_dashdash=yes ;;
1012
1013  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1014    ac_prev=bindir ;;
1015  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1016    bindir=$ac_optarg ;;
1017
1018  -build | --build | --buil | --bui | --bu)
1019    ac_prev=build_alias ;;
1020  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1021    build_alias=$ac_optarg ;;
1022
1023  -cache-file | --cache-file | --cache-fil | --cache-fi \
1024  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1025    ac_prev=cache_file ;;
1026  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1027  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1028    cache_file=$ac_optarg ;;
1029
1030  --config-cache | -C)
1031    cache_file=config.cache ;;
1032
1033  -datadir | --datadir | --datadi | --datad)
1034    ac_prev=datadir ;;
1035  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1036    datadir=$ac_optarg ;;
1037
1038  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1039  | --dataroo | --dataro | --datar)
1040    ac_prev=datarootdir ;;
1041  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1042  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1043    datarootdir=$ac_optarg ;;
1044
1045  -disable-* | --disable-*)
1046    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1047    # Reject names that are not valid shell variable names.
1048    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049      as_fn_error $? "invalid feature name: $ac_useropt"
1050    ac_useropt_orig=$ac_useropt
1051    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052    case $ac_user_opts in
1053      *"
1054"enable_$ac_useropt"
1055"*) ;;
1056      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1057	 ac_unrecognized_sep=', ';;
1058    esac
1059    eval enable_$ac_useropt=no ;;
1060
1061  -docdir | --docdir | --docdi | --doc | --do)
1062    ac_prev=docdir ;;
1063  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1064    docdir=$ac_optarg ;;
1065
1066  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1067    ac_prev=dvidir ;;
1068  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1069    dvidir=$ac_optarg ;;
1070
1071  -enable-* | --enable-*)
1072    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1073    # Reject names that are not valid shell variable names.
1074    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075      as_fn_error $? "invalid feature name: $ac_useropt"
1076    ac_useropt_orig=$ac_useropt
1077    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078    case $ac_user_opts in
1079      *"
1080"enable_$ac_useropt"
1081"*) ;;
1082      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1083	 ac_unrecognized_sep=', ';;
1084    esac
1085    eval enable_$ac_useropt=\$ac_optarg ;;
1086
1087  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1088  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1089  | --exec | --exe | --ex)
1090    ac_prev=exec_prefix ;;
1091  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1092  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1093  | --exec=* | --exe=* | --ex=*)
1094    exec_prefix=$ac_optarg ;;
1095
1096  -gas | --gas | --ga | --g)
1097    # Obsolete; use --with-gas.
1098    with_gas=yes ;;
1099
1100  -help | --help | --hel | --he | -h)
1101    ac_init_help=long ;;
1102  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1103    ac_init_help=recursive ;;
1104  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1105    ac_init_help=short ;;
1106
1107  -host | --host | --hos | --ho)
1108    ac_prev=host_alias ;;
1109  -host=* | --host=* | --hos=* | --ho=*)
1110    host_alias=$ac_optarg ;;
1111
1112  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1113    ac_prev=htmldir ;;
1114  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1115  | --ht=*)
1116    htmldir=$ac_optarg ;;
1117
1118  -includedir | --includedir | --includedi | --included | --include \
1119  | --includ | --inclu | --incl | --inc)
1120    ac_prev=includedir ;;
1121  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1122  | --includ=* | --inclu=* | --incl=* | --inc=*)
1123    includedir=$ac_optarg ;;
1124
1125  -infodir | --infodir | --infodi | --infod | --info | --inf)
1126    ac_prev=infodir ;;
1127  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1128    infodir=$ac_optarg ;;
1129
1130  -libdir | --libdir | --libdi | --libd)
1131    ac_prev=libdir ;;
1132  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1133    libdir=$ac_optarg ;;
1134
1135  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1136  | --libexe | --libex | --libe)
1137    ac_prev=libexecdir ;;
1138  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1139  | --libexe=* | --libex=* | --libe=*)
1140    libexecdir=$ac_optarg ;;
1141
1142  -localedir | --localedir | --localedi | --localed | --locale)
1143    ac_prev=localedir ;;
1144  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1145    localedir=$ac_optarg ;;
1146
1147  -localstatedir | --localstatedir | --localstatedi | --localstated \
1148  | --localstate | --localstat | --localsta | --localst | --locals)
1149    ac_prev=localstatedir ;;
1150  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1151  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1152    localstatedir=$ac_optarg ;;
1153
1154  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1155    ac_prev=mandir ;;
1156  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1157    mandir=$ac_optarg ;;
1158
1159  -nfp | --nfp | --nf)
1160    # Obsolete; use --without-fp.
1161    with_fp=no ;;
1162
1163  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1164  | --no-cr | --no-c | -n)
1165    no_create=yes ;;
1166
1167  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1168  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1169    no_recursion=yes ;;
1170
1171  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1172  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1173  | --oldin | --oldi | --old | --ol | --o)
1174    ac_prev=oldincludedir ;;
1175  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1176  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1177  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1178    oldincludedir=$ac_optarg ;;
1179
1180  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1181    ac_prev=prefix ;;
1182  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1183    prefix=$ac_optarg ;;
1184
1185  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1186  | --program-pre | --program-pr | --program-p)
1187    ac_prev=program_prefix ;;
1188  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1189  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1190    program_prefix=$ac_optarg ;;
1191
1192  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1193  | --program-suf | --program-su | --program-s)
1194    ac_prev=program_suffix ;;
1195  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1196  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1197    program_suffix=$ac_optarg ;;
1198
1199  -program-transform-name | --program-transform-name \
1200  | --program-transform-nam | --program-transform-na \
1201  | --program-transform-n | --program-transform- \
1202  | --program-transform | --program-transfor \
1203  | --program-transfo | --program-transf \
1204  | --program-trans | --program-tran \
1205  | --progr-tra | --program-tr | --program-t)
1206    ac_prev=program_transform_name ;;
1207  -program-transform-name=* | --program-transform-name=* \
1208  | --program-transform-nam=* | --program-transform-na=* \
1209  | --program-transform-n=* | --program-transform-=* \
1210  | --program-transform=* | --program-transfor=* \
1211  | --program-transfo=* | --program-transf=* \
1212  | --program-trans=* | --program-tran=* \
1213  | --progr-tra=* | --program-tr=* | --program-t=*)
1214    program_transform_name=$ac_optarg ;;
1215
1216  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1217    ac_prev=pdfdir ;;
1218  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1219    pdfdir=$ac_optarg ;;
1220
1221  -psdir | --psdir | --psdi | --psd | --ps)
1222    ac_prev=psdir ;;
1223  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1224    psdir=$ac_optarg ;;
1225
1226  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1227  | -silent | --silent | --silen | --sile | --sil)
1228    silent=yes ;;
1229
1230  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1231    ac_prev=sbindir ;;
1232  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1233  | --sbi=* | --sb=*)
1234    sbindir=$ac_optarg ;;
1235
1236  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1237  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1238  | --sharedst | --shareds | --shared | --share | --shar \
1239  | --sha | --sh)
1240    ac_prev=sharedstatedir ;;
1241  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1242  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1243  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1244  | --sha=* | --sh=*)
1245    sharedstatedir=$ac_optarg ;;
1246
1247  -site | --site | --sit)
1248    ac_prev=site ;;
1249  -site=* | --site=* | --sit=*)
1250    site=$ac_optarg ;;
1251
1252  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1253    ac_prev=srcdir ;;
1254  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1255    srcdir=$ac_optarg ;;
1256
1257  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1258  | --syscon | --sysco | --sysc | --sys | --sy)
1259    ac_prev=sysconfdir ;;
1260  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1261  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1262    sysconfdir=$ac_optarg ;;
1263
1264  -target | --target | --targe | --targ | --tar | --ta | --t)
1265    ac_prev=target_alias ;;
1266  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1267    target_alias=$ac_optarg ;;
1268
1269  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1270    verbose=yes ;;
1271
1272  -version | --version | --versio | --versi | --vers | -V)
1273    ac_init_version=: ;;
1274
1275  -with-* | --with-*)
1276    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1277    # Reject names that are not valid shell variable names.
1278    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1279      as_fn_error $? "invalid package name: $ac_useropt"
1280    ac_useropt_orig=$ac_useropt
1281    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1282    case $ac_user_opts in
1283      *"
1284"with_$ac_useropt"
1285"*) ;;
1286      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1287	 ac_unrecognized_sep=', ';;
1288    esac
1289    eval with_$ac_useropt=\$ac_optarg ;;
1290
1291  -without-* | --without-*)
1292    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1293    # Reject names that are not valid shell variable names.
1294    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1295      as_fn_error $? "invalid package name: $ac_useropt"
1296    ac_useropt_orig=$ac_useropt
1297    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1298    case $ac_user_opts in
1299      *"
1300"with_$ac_useropt"
1301"*) ;;
1302      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1303	 ac_unrecognized_sep=', ';;
1304    esac
1305    eval with_$ac_useropt=no ;;
1306
1307  --x)
1308    # Obsolete; use --with-x.
1309    with_x=yes ;;
1310
1311  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1312  | --x-incl | --x-inc | --x-in | --x-i)
1313    ac_prev=x_includes ;;
1314  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1315  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1316    x_includes=$ac_optarg ;;
1317
1318  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1319  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1320    ac_prev=x_libraries ;;
1321  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1322  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1323    x_libraries=$ac_optarg ;;
1324
1325  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1326Try \`$0 --help' for more information"
1327    ;;
1328
1329  *=*)
1330    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1331    # Reject names that are not valid shell variable names.
1332    case $ac_envvar in #(
1333      '' | [0-9]* | *[!_$as_cr_alnum]* )
1334      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1335    esac
1336    eval $ac_envvar=\$ac_optarg
1337    export $ac_envvar ;;
1338
1339  *)
1340    # FIXME: should be removed in autoconf 3.0.
1341    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1342    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1343      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1344    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1345    ;;
1346
1347  esac
1348done
1349
1350if test -n "$ac_prev"; then
1351  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1352  as_fn_error $? "missing argument to $ac_option"
1353fi
1354
1355if test -n "$ac_unrecognized_opts"; then
1356  case $enable_option_checking in
1357    no) ;;
1358    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1359    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1360  esac
1361fi
1362
1363# Check all directory arguments for consistency.
1364for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1365		datadir sysconfdir sharedstatedir localstatedir includedir \
1366		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1367		libdir localedir mandir
1368do
1369  eval ac_val=\$$ac_var
1370  # Remove trailing slashes.
1371  case $ac_val in
1372    */ )
1373      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1374      eval $ac_var=\$ac_val;;
1375  esac
1376  # Be sure to have absolute directory names.
1377  case $ac_val in
1378    [\\/$]* | ?:[\\/]* )  continue;;
1379    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1380  esac
1381  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1382done
1383
1384# There might be people who depend on the old broken behavior: `$host'
1385# used to hold the argument of --host etc.
1386# FIXME: To remove some day.
1387build=$build_alias
1388host=$host_alias
1389target=$target_alias
1390
1391# FIXME: To remove some day.
1392if test "x$host_alias" != x; then
1393  if test "x$build_alias" = x; then
1394    cross_compiling=maybe
1395  elif test "x$build_alias" != "x$host_alias"; then
1396    cross_compiling=yes
1397  fi
1398fi
1399
1400ac_tool_prefix=
1401test -n "$host_alias" && ac_tool_prefix=$host_alias-
1402
1403test "$silent" = yes && exec 6>/dev/null
1404
1405
1406ac_pwd=`pwd` && test -n "$ac_pwd" &&
1407ac_ls_di=`ls -di .` &&
1408ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1409  as_fn_error $? "working directory cannot be determined"
1410test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1411  as_fn_error $? "pwd does not report name of working directory"
1412
1413
1414# Find the source files, if location was not specified.
1415if test -z "$srcdir"; then
1416  ac_srcdir_defaulted=yes
1417  # Try the directory containing this script, then the parent directory.
1418  ac_confdir=`$as_dirname -- "$as_myself" ||
1419$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1420	 X"$as_myself" : 'X\(//\)[^/]' \| \
1421	 X"$as_myself" : 'X\(//\)$' \| \
1422	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1423$as_echo X"$as_myself" |
1424    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1425	    s//\1/
1426	    q
1427	  }
1428	  /^X\(\/\/\)[^/].*/{
1429	    s//\1/
1430	    q
1431	  }
1432	  /^X\(\/\/\)$/{
1433	    s//\1/
1434	    q
1435	  }
1436	  /^X\(\/\).*/{
1437	    s//\1/
1438	    q
1439	  }
1440	  s/.*/./; q'`
1441  srcdir=$ac_confdir
1442  if test ! -r "$srcdir/$ac_unique_file"; then
1443    srcdir=..
1444  fi
1445else
1446  ac_srcdir_defaulted=no
1447fi
1448if test ! -r "$srcdir/$ac_unique_file"; then
1449  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1450  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1451fi
1452ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1453ac_abs_confdir=`(
1454	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1455	pwd)`
1456# When building in place, set srcdir=.
1457if test "$ac_abs_confdir" = "$ac_pwd"; then
1458  srcdir=.
1459fi
1460# Remove unnecessary trailing slashes from srcdir.
1461# Double slashes in file names in object file debugging info
1462# mess up M-x gdb in Emacs.
1463case $srcdir in
1464*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1465esac
1466for ac_var in $ac_precious_vars; do
1467  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1468  eval ac_env_${ac_var}_value=\$${ac_var}
1469  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1470  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1471done
1472
1473#
1474# Report the --help message.
1475#
1476if test "$ac_init_help" = "long"; then
1477  # Omit some internal or obsolete options to make the list less imposing.
1478  # This message is too long to be a string in the A/UX 3.1 sh.
1479  cat <<_ACEOF
1480\`configure' configures libcryptui 3.12.2 to adapt to many kinds of systems.
1481
1482Usage: $0 [OPTION]... [VAR=VALUE]...
1483
1484To assign environment variables (e.g., CC, CFLAGS...), specify them as
1485VAR=VALUE.  See below for descriptions of some of the useful variables.
1486
1487Defaults for the options are specified in brackets.
1488
1489Configuration:
1490  -h, --help              display this help and exit
1491      --help=short        display options specific to this package
1492      --help=recursive    display the short help of all the included packages
1493  -V, --version           display version information and exit
1494  -q, --quiet, --silent   do not print \`checking ...' messages
1495      --cache-file=FILE   cache test results in FILE [disabled]
1496  -C, --config-cache      alias for \`--cache-file=config.cache'
1497  -n, --no-create         do not create output files
1498      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1499
1500Installation directories:
1501  --prefix=PREFIX         install architecture-independent files in PREFIX
1502                          [$ac_default_prefix]
1503  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1504                          [PREFIX]
1505
1506By default, \`make install' will install all the files in
1507\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1508an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1509for instance \`--prefix=\$HOME'.
1510
1511For better control, use the options below.
1512
1513Fine tuning of the installation directories:
1514  --bindir=DIR            user executables [EPREFIX/bin]
1515  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1516  --libexecdir=DIR        program executables [EPREFIX/libexec]
1517  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1518  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1519  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1520  --libdir=DIR            object code libraries [EPREFIX/lib]
1521  --includedir=DIR        C header files [PREFIX/include]
1522  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1523  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1524  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1525  --infodir=DIR           info documentation [DATAROOTDIR/info]
1526  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1527  --mandir=DIR            man documentation [DATAROOTDIR/man]
1528  --docdir=DIR            documentation root [DATAROOTDIR/doc/libcryptui]
1529  --htmldir=DIR           html documentation [DOCDIR]
1530  --dvidir=DIR            dvi documentation [DOCDIR]
1531  --pdfdir=DIR            pdf documentation [DOCDIR]
1532  --psdir=DIR             ps documentation [DOCDIR]
1533_ACEOF
1534
1535  cat <<\_ACEOF
1536
1537Program names:
1538  --program-prefix=PREFIX            prepend PREFIX to installed program names
1539  --program-suffix=SUFFIX            append SUFFIX to installed program names
1540  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1541
1542System types:
1543  --build=BUILD     configure for building on BUILD [guessed]
1544  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1545_ACEOF
1546fi
1547
1548if test -n "$ac_init_help"; then
1549  case $ac_init_help in
1550     short | recursive ) echo "Configuration of libcryptui 3.12.2:";;
1551   esac
1552  cat <<\_ACEOF
1553
1554Optional Features:
1555  --disable-option-checking  ignore unrecognized --enable/--with options
1556  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1557  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1558  --enable-silent-rules   less verbose build output (undo: "make V=1")
1559  --disable-silent-rules  verbose build output (undo: "make V=0")
1560  --enable-maintainer-mode
1561                          enable make rules and dependencies not useful (and
1562                          sometimes confusing) to the casual installer
1563  --enable-dependency-tracking
1564                          do not reject slow dependency extractors
1565  --disable-dependency-tracking
1566                          speeds up one-time build
1567  --disable-nls           do not use Native Language Support
1568  --enable-shared[=PKGS]  build shared libraries [default=yes]
1569  --enable-static[=PKGS]  build static libraries [default=yes]
1570  --enable-fast-install[=PKGS]
1571                          optimize for fast installation [default=yes]
1572  --disable-libtool-lock  avoid locking (might break parallel builds)
1573  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1574  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1575  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1576  --disable-largefile     omit support for large files
1577  --disable-schemas-compile
1578                          Disable regeneration of gschemas.compiled on install
1579  --disable-gpg-check     check GPG version (default is yes)
1580  --disable-libnotify     Don't compile in libnotify support
1581  --enable-debug          Compile binaries in debug mode
1582  --enable-fatal-messages Don't make compile and or runtime messages fatal in
1583                          debug mode.
1584  --enable-introspection=[no/auto/yes]
1585                          Enable introspection for this build
1586  --disable-update-mime-database
1587                          do not run the update-mime-database utility (mostly
1588                          useful for package maintainers)
1589
1590Optional Packages:
1591  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1592  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1593  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1594                          both]
1595  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1596  --with-sysroot=DIR Search for dependent libraries within DIR
1597                        (or the compiler's sysroot if not specified).
1598  --with-html-dir=PATH    path to installed docs
1599
1600Some influential environment variables:
1601  CC          C compiler command
1602  CFLAGS      C compiler flags
1603  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1604              nonstandard directory <lib dir>
1605  LIBS        libraries to pass to the linker, e.g. -l<library>
1606  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1607              you have headers in a nonstandard directory <include dir>
1608  CXX         C++ compiler command
1609  CXXFLAGS    C++ compiler flags
1610  CPP         C preprocessor
1611  CXXCPP      C++ preprocessor
1612  PKG_CONFIG  path to pkg-config utility
1613  PKG_CONFIG_PATH
1614              directories to add to pkg-config's search path
1615  PKG_CONFIG_LIBDIR
1616              path overriding pkg-config's built-in search path
1617  GTKDOC_DEPS_CFLAGS
1618              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1619  GTKDOC_DEPS_LIBS
1620              linker flags for GTKDOC_DEPS, overriding pkg-config
1621  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1622  GTK_LIBS    linker flags for GTK, overriding pkg-config
1623  SEAHORSE_CFLAGS
1624              C compiler flags for SEAHORSE, overriding pkg-config
1625  SEAHORSE_LIBS
1626              linker flags for SEAHORSE, overriding pkg-config
1627  SM_CFLAGS   C compiler flags for SM, overriding pkg-config
1628  SM_LIBS     linker flags for SM, overriding pkg-config
1629  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1630  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1631  LIBNOTIFY_CFLAGS
1632              C compiler flags for LIBNOTIFY, overriding pkg-config
1633  LIBNOTIFY_LIBS
1634              linker flags for LIBNOTIFY, overriding pkg-config
1635  GNOME_KEYRING_CFLAGS
1636              C compiler flags for GNOME_KEYRING, overriding pkg-config
1637  GNOME_KEYRING_LIBS
1638              linker flags for GNOME_KEYRING, overriding pkg-config
1639  LIBCRYPTUI_CFLAGS
1640              C compiler flags for LIBCRYPTUI, overriding pkg-config
1641  LIBCRYPTUI_LIBS
1642              linker flags for LIBCRYPTUI, overriding pkg-config
1643  EGG_CFLAGS  C compiler flags for EGG, overriding pkg-config
1644  EGG_LIBS    linker flags for EGG, overriding pkg-config
1645  EGG_SMCLIENT_CFLAGS
1646              C compiler flags for EGG_SMCLIENT, overriding pkg-config
1647  EGG_SMCLIENT_LIBS
1648              linker flags for EGG_SMCLIENT, overriding pkg-config
1649
1650Use these variables to override the choices made by `configure' or to help
1651it to find libraries and programs with nonstandard names/locations.
1652
1653Report bugs to the package provider.
1654_ACEOF
1655ac_status=$?
1656fi
1657
1658if test "$ac_init_help" = "recursive"; then
1659  # If there are subdirs, report their specific --help.
1660  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1661    test -d "$ac_dir" ||
1662      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1663      continue
1664    ac_builddir=.
1665
1666case "$ac_dir" in
1667.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1668*)
1669  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1670  # A ".." for each directory in $ac_dir_suffix.
1671  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1672  case $ac_top_builddir_sub in
1673  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1674  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1675  esac ;;
1676esac
1677ac_abs_top_builddir=$ac_pwd
1678ac_abs_builddir=$ac_pwd$ac_dir_suffix
1679# for backward compatibility:
1680ac_top_builddir=$ac_top_build_prefix
1681
1682case $srcdir in
1683  .)  # We are building in place.
1684    ac_srcdir=.
1685    ac_top_srcdir=$ac_top_builddir_sub
1686    ac_abs_top_srcdir=$ac_pwd ;;
1687  [\\/]* | ?:[\\/]* )  # Absolute name.
1688    ac_srcdir=$srcdir$ac_dir_suffix;
1689    ac_top_srcdir=$srcdir
1690    ac_abs_top_srcdir=$srcdir ;;
1691  *) # Relative name.
1692    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1693    ac_top_srcdir=$ac_top_build_prefix$srcdir
1694    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1695esac
1696ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1697
1698    cd "$ac_dir" || { ac_status=$?; continue; }
1699    # Check for guested configure.
1700    if test -f "$ac_srcdir/configure.gnu"; then
1701      echo &&
1702      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1703    elif test -f "$ac_srcdir/configure"; then
1704      echo &&
1705      $SHELL "$ac_srcdir/configure" --help=recursive
1706    else
1707      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1708    fi || ac_status=$?
1709    cd "$ac_pwd" || { ac_status=$?; break; }
1710  done
1711fi
1712
1713test -n "$ac_init_help" && exit $ac_status
1714if $ac_init_version; then
1715  cat <<\_ACEOF
1716libcryptui configure 3.12.2
1717generated by GNU Autoconf 2.69
1718
1719Copyright (C) 2012 Free Software Foundation, Inc.
1720This configure script is free software; the Free Software Foundation
1721gives unlimited permission to copy, distribute and modify it.
1722_ACEOF
1723  exit
1724fi
1725
1726## ------------------------ ##
1727## Autoconf initialization. ##
1728## ------------------------ ##
1729
1730# ac_fn_c_try_compile LINENO
1731# --------------------------
1732# Try to compile conftest.$ac_ext, and return whether this succeeded.
1733ac_fn_c_try_compile ()
1734{
1735  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736  rm -f conftest.$ac_objext
1737  if { { ac_try="$ac_compile"
1738case "(($ac_try" in
1739  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740  *) ac_try_echo=$ac_try;;
1741esac
1742eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743$as_echo "$ac_try_echo"; } >&5
1744  (eval "$ac_compile") 2>conftest.err
1745  ac_status=$?
1746  if test -s conftest.err; then
1747    grep -v '^ *+' conftest.err >conftest.er1
1748    cat conftest.er1 >&5
1749    mv -f conftest.er1 conftest.err
1750  fi
1751  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752  test $ac_status = 0; } && {
1753	 test -z "$ac_c_werror_flag" ||
1754	 test ! -s conftest.err
1755       } && test -s conftest.$ac_objext; then :
1756  ac_retval=0
1757else
1758  $as_echo "$as_me: failed program was:" >&5
1759sed 's/^/| /' conftest.$ac_ext >&5
1760
1761	ac_retval=1
1762fi
1763  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764  as_fn_set_status $ac_retval
1765
1766} # ac_fn_c_try_compile
1767
1768# ac_fn_cxx_try_compile LINENO
1769# ----------------------------
1770# Try to compile conftest.$ac_ext, and return whether this succeeded.
1771ac_fn_cxx_try_compile ()
1772{
1773  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774  rm -f conftest.$ac_objext
1775  if { { ac_try="$ac_compile"
1776case "(($ac_try" in
1777  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778  *) ac_try_echo=$ac_try;;
1779esac
1780eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781$as_echo "$ac_try_echo"; } >&5
1782  (eval "$ac_compile") 2>conftest.err
1783  ac_status=$?
1784  if test -s conftest.err; then
1785    grep -v '^ *+' conftest.err >conftest.er1
1786    cat conftest.er1 >&5
1787    mv -f conftest.er1 conftest.err
1788  fi
1789  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790  test $ac_status = 0; } && {
1791	 test -z "$ac_cxx_werror_flag" ||
1792	 test ! -s conftest.err
1793       } && test -s conftest.$ac_objext; then :
1794  ac_retval=0
1795else
1796  $as_echo "$as_me: failed program was:" >&5
1797sed 's/^/| /' conftest.$ac_ext >&5
1798
1799	ac_retval=1
1800fi
1801  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802  as_fn_set_status $ac_retval
1803
1804} # ac_fn_cxx_try_compile
1805
1806# ac_fn_c_try_link LINENO
1807# -----------------------
1808# Try to link conftest.$ac_ext, and return whether this succeeded.
1809ac_fn_c_try_link ()
1810{
1811  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812  rm -f conftest.$ac_objext conftest$ac_exeext
1813  if { { ac_try="$ac_link"
1814case "(($ac_try" in
1815  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1816  *) ac_try_echo=$ac_try;;
1817esac
1818eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819$as_echo "$ac_try_echo"; } >&5
1820  (eval "$ac_link") 2>conftest.err
1821  ac_status=$?
1822  if test -s conftest.err; then
1823    grep -v '^ *+' conftest.err >conftest.er1
1824    cat conftest.er1 >&5
1825    mv -f conftest.er1 conftest.err
1826  fi
1827  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828  test $ac_status = 0; } && {
1829	 test -z "$ac_c_werror_flag" ||
1830	 test ! -s conftest.err
1831       } && test -s conftest$ac_exeext && {
1832	 test "$cross_compiling" = yes ||
1833	 test -x conftest$ac_exeext
1834       }; then :
1835  ac_retval=0
1836else
1837  $as_echo "$as_me: failed program was:" >&5
1838sed 's/^/| /' conftest.$ac_ext >&5
1839
1840	ac_retval=1
1841fi
1842  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1843  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1844  # interfere with the next link command; also delete a directory that is
1845  # left behind by Apple's compiler.  We do this before executing the actions.
1846  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1847  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848  as_fn_set_status $ac_retval
1849
1850} # ac_fn_c_try_link
1851
1852# ac_fn_c_check_func LINENO FUNC VAR
1853# ----------------------------------
1854# Tests whether FUNC exists, setting the cache variable VAR accordingly
1855ac_fn_c_check_func ()
1856{
1857  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859$as_echo_n "checking for $2... " >&6; }
1860if eval \${$3+:} false; then :
1861  $as_echo_n "(cached) " >&6
1862else
1863  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864/* end confdefs.h.  */
1865/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1866   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1867#define $2 innocuous_$2
1868
1869/* System header to define __stub macros and hopefully few prototypes,
1870    which can conflict with char $2 (); below.
1871    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1872    <limits.h> exists even on freestanding compilers.  */
1873
1874#ifdef __STDC__
1875# include <limits.h>
1876#else
1877# include <assert.h>
1878#endif
1879
1880#undef $2
1881
1882/* Override any GCC internal prototype to avoid an error.
1883   Use char because int might match the return type of a GCC
1884   builtin and then its argument prototype would still apply.  */
1885#ifdef __cplusplus
1886extern "C"
1887#endif
1888char $2 ();
1889/* The GNU C library defines this for functions which it implements
1890    to always fail with ENOSYS.  Some functions are actually named
1891    something starting with __ and the normal name is an alias.  */
1892#if defined __stub_$2 || defined __stub___$2
1893choke me
1894#endif
1895
1896int
1897main ()
1898{
1899return $2 ();
1900  ;
1901  return 0;
1902}
1903_ACEOF
1904if ac_fn_c_try_link "$LINENO"; then :
1905  eval "$3=yes"
1906else
1907  eval "$3=no"
1908fi
1909rm -f core conftest.err conftest.$ac_objext \
1910    conftest$ac_exeext conftest.$ac_ext
1911fi
1912eval ac_res=\$$3
1913	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914$as_echo "$ac_res" >&6; }
1915  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916
1917} # ac_fn_c_check_func
1918
1919# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1920# -------------------------------------------------------
1921# Tests whether HEADER exists and can be compiled using the include files in
1922# INCLUDES, setting the cache variable VAR accordingly.
1923ac_fn_c_check_header_compile ()
1924{
1925  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1927$as_echo_n "checking for $2... " >&6; }
1928if eval \${$3+:} false; then :
1929  $as_echo_n "(cached) " >&6
1930else
1931  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1932/* end confdefs.h.  */
1933$4
1934#include <$2>
1935_ACEOF
1936if ac_fn_c_try_compile "$LINENO"; then :
1937  eval "$3=yes"
1938else
1939  eval "$3=no"
1940fi
1941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1942fi
1943eval ac_res=\$$3
1944	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945$as_echo "$ac_res" >&6; }
1946  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947
1948} # ac_fn_c_check_header_compile
1949
1950# ac_fn_c_try_cpp LINENO
1951# ----------------------
1952# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1953ac_fn_c_try_cpp ()
1954{
1955  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956  if { { ac_try="$ac_cpp conftest.$ac_ext"
1957case "(($ac_try" in
1958  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1959  *) ac_try_echo=$ac_try;;
1960esac
1961eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1962$as_echo "$ac_try_echo"; } >&5
1963  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1964  ac_status=$?
1965  if test -s conftest.err; then
1966    grep -v '^ *+' conftest.err >conftest.er1
1967    cat conftest.er1 >&5
1968    mv -f conftest.er1 conftest.err
1969  fi
1970  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1971  test $ac_status = 0; } > conftest.i && {
1972	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1973	 test ! -s conftest.err
1974       }; then :
1975  ac_retval=0
1976else
1977  $as_echo "$as_me: failed program was:" >&5
1978sed 's/^/| /' conftest.$ac_ext >&5
1979
1980    ac_retval=1
1981fi
1982  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983  as_fn_set_status $ac_retval
1984
1985} # ac_fn_c_try_cpp
1986
1987# ac_fn_c_try_run LINENO
1988# ----------------------
1989# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1990# that executables *can* be run.
1991ac_fn_c_try_run ()
1992{
1993  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1994  if { { ac_try="$ac_link"
1995case "(($ac_try" in
1996  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1997  *) ac_try_echo=$ac_try;;
1998esac
1999eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000$as_echo "$ac_try_echo"; } >&5
2001  (eval "$ac_link") 2>&5
2002  ac_status=$?
2003  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2004  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2005  { { case "(($ac_try" in
2006  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2007  *) ac_try_echo=$ac_try;;
2008esac
2009eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2010$as_echo "$ac_try_echo"; } >&5
2011  (eval "$ac_try") 2>&5
2012  ac_status=$?
2013  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014  test $ac_status = 0; }; }; then :
2015  ac_retval=0
2016else
2017  $as_echo "$as_me: program exited with status $ac_status" >&5
2018       $as_echo "$as_me: failed program was:" >&5
2019sed 's/^/| /' conftest.$ac_ext >&5
2020
2021       ac_retval=$ac_status
2022fi
2023  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2024  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2025  as_fn_set_status $ac_retval
2026
2027} # ac_fn_c_try_run
2028
2029# ac_fn_cxx_try_cpp LINENO
2030# ------------------------
2031# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2032ac_fn_cxx_try_cpp ()
2033{
2034  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035  if { { ac_try="$ac_cpp conftest.$ac_ext"
2036case "(($ac_try" in
2037  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2038  *) ac_try_echo=$ac_try;;
2039esac
2040eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2041$as_echo "$ac_try_echo"; } >&5
2042  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2043  ac_status=$?
2044  if test -s conftest.err; then
2045    grep -v '^ *+' conftest.err >conftest.er1
2046    cat conftest.er1 >&5
2047    mv -f conftest.er1 conftest.err
2048  fi
2049  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2050  test $ac_status = 0; } > conftest.i && {
2051	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2052	 test ! -s conftest.err
2053       }; then :
2054  ac_retval=0
2055else
2056  $as_echo "$as_me: failed program was:" >&5
2057sed 's/^/| /' conftest.$ac_ext >&5
2058
2059    ac_retval=1
2060fi
2061  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2062  as_fn_set_status $ac_retval
2063
2064} # ac_fn_cxx_try_cpp
2065
2066# ac_fn_cxx_try_link LINENO
2067# -------------------------
2068# Try to link conftest.$ac_ext, and return whether this succeeded.
2069ac_fn_cxx_try_link ()
2070{
2071  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2072  rm -f conftest.$ac_objext conftest$ac_exeext
2073  if { { ac_try="$ac_link"
2074case "(($ac_try" in
2075  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2076  *) ac_try_echo=$ac_try;;
2077esac
2078eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2079$as_echo "$ac_try_echo"; } >&5
2080  (eval "$ac_link") 2>conftest.err
2081  ac_status=$?
2082  if test -s conftest.err; then
2083    grep -v '^ *+' conftest.err >conftest.er1
2084    cat conftest.er1 >&5
2085    mv -f conftest.er1 conftest.err
2086  fi
2087  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2088  test $ac_status = 0; } && {
2089	 test -z "$ac_cxx_werror_flag" ||
2090	 test ! -s conftest.err
2091       } && test -s conftest$ac_exeext && {
2092	 test "$cross_compiling" = yes ||
2093	 test -x conftest$ac_exeext
2094       }; then :
2095  ac_retval=0
2096else
2097  $as_echo "$as_me: failed program was:" >&5
2098sed 's/^/| /' conftest.$ac_ext >&5
2099
2100	ac_retval=1
2101fi
2102  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2103  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2104  # interfere with the next link command; also delete a directory that is
2105  # left behind by Apple's compiler.  We do this before executing the actions.
2106  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2107  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2108  as_fn_set_status $ac_retval
2109
2110} # ac_fn_cxx_try_link
2111
2112# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2113# -------------------------------------------
2114# Tests whether TYPE exists after having included INCLUDES, setting cache
2115# variable VAR accordingly.
2116ac_fn_c_check_type ()
2117{
2118  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2120$as_echo_n "checking for $2... " >&6; }
2121if eval \${$3+:} false; then :
2122  $as_echo_n "(cached) " >&6
2123else
2124  eval "$3=no"
2125  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2126/* end confdefs.h.  */
2127$4
2128int
2129main ()
2130{
2131if (sizeof ($2))
2132	 return 0;
2133  ;
2134  return 0;
2135}
2136_ACEOF
2137if ac_fn_c_try_compile "$LINENO"; then :
2138  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139/* end confdefs.h.  */
2140$4
2141int
2142main ()
2143{
2144if (sizeof (($2)))
2145	    return 0;
2146  ;
2147  return 0;
2148}
2149_ACEOF
2150if ac_fn_c_try_compile "$LINENO"; then :
2151
2152else
2153  eval "$3=yes"
2154fi
2155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2156fi
2157rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2158fi
2159eval ac_res=\$$3
2160	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161$as_echo "$ac_res" >&6; }
2162  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2163
2164} # ac_fn_c_check_type
2165
2166# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2167# -------------------------------------------------------
2168# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2169# the include files in INCLUDES and setting the cache variable VAR
2170# accordingly.
2171ac_fn_c_check_header_mongrel ()
2172{
2173  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2174  if eval \${$3+:} false; then :
2175  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2176$as_echo_n "checking for $2... " >&6; }
2177if eval \${$3+:} false; then :
2178  $as_echo_n "(cached) " >&6
2179fi
2180eval ac_res=\$$3
2181	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2182$as_echo "$ac_res" >&6; }
2183else
2184  # Is the header compilable?
2185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2186$as_echo_n "checking $2 usability... " >&6; }
2187cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2188/* end confdefs.h.  */
2189$4
2190#include <$2>
2191_ACEOF
2192if ac_fn_c_try_compile "$LINENO"; then :
2193  ac_header_compiler=yes
2194else
2195  ac_header_compiler=no
2196fi
2197rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2199$as_echo "$ac_header_compiler" >&6; }
2200
2201# Is the header present?
2202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2203$as_echo_n "checking $2 presence... " >&6; }
2204cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205/* end confdefs.h.  */
2206#include <$2>
2207_ACEOF
2208if ac_fn_c_try_cpp "$LINENO"; then :
2209  ac_header_preproc=yes
2210else
2211  ac_header_preproc=no
2212fi
2213rm -f conftest.err conftest.i conftest.$ac_ext
2214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2215$as_echo "$ac_header_preproc" >&6; }
2216
2217# So?  What about this header?
2218case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2219  yes:no: )
2220    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2221$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2222    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2223$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2224    ;;
2225  no:yes:* )
2226    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2227$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2228    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2229$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2230    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2231$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2232    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2233$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2234    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2235$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2236    ;;
2237esac
2238  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2239$as_echo_n "checking for $2... " >&6; }
2240if eval \${$3+:} false; then :
2241  $as_echo_n "(cached) " >&6
2242else
2243  eval "$3=\$ac_header_compiler"
2244fi
2245eval ac_res=\$$3
2246	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247$as_echo "$ac_res" >&6; }
2248fi
2249  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2250
2251} # ac_fn_c_check_header_mongrel
2252cat >config.log <<_ACEOF
2253This file contains any messages produced by compilers while
2254running configure, to aid debugging if configure makes a mistake.
2255
2256It was created by libcryptui $as_me 3.12.2, which was
2257generated by GNU Autoconf 2.69.  Invocation command line was
2258
2259  $ $0 $@
2260
2261_ACEOF
2262exec 5>>config.log
2263{
2264cat <<_ASUNAME
2265## --------- ##
2266## Platform. ##
2267## --------- ##
2268
2269hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2270uname -m = `(uname -m) 2>/dev/null || echo unknown`
2271uname -r = `(uname -r) 2>/dev/null || echo unknown`
2272uname -s = `(uname -s) 2>/dev/null || echo unknown`
2273uname -v = `(uname -v) 2>/dev/null || echo unknown`
2274
2275/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2276/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2277
2278/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2279/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2280/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2281/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2282/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2283/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2284/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2285
2286_ASUNAME
2287
2288as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289for as_dir in $PATH
2290do
2291  IFS=$as_save_IFS
2292  test -z "$as_dir" && as_dir=.
2293    $as_echo "PATH: $as_dir"
2294  done
2295IFS=$as_save_IFS
2296
2297} >&5
2298
2299cat >&5 <<_ACEOF
2300
2301
2302## ----------- ##
2303## Core tests. ##
2304## ----------- ##
2305
2306_ACEOF
2307
2308
2309# Keep a trace of the command line.
2310# Strip out --no-create and --no-recursion so they do not pile up.
2311# Strip out --silent because we don't want to record it for future runs.
2312# Also quote any args containing shell meta-characters.
2313# Make two passes to allow for proper duplicate-argument suppression.
2314ac_configure_args=
2315ac_configure_args0=
2316ac_configure_args1=
2317ac_must_keep_next=false
2318for ac_pass in 1 2
2319do
2320  for ac_arg
2321  do
2322    case $ac_arg in
2323    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2324    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2325    | -silent | --silent | --silen | --sile | --sil)
2326      continue ;;
2327    *\'*)
2328      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2329    esac
2330    case $ac_pass in
2331    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2332    2)
2333      as_fn_append ac_configure_args1 " '$ac_arg'"
2334      if test $ac_must_keep_next = true; then
2335	ac_must_keep_next=false # Got value, back to normal.
2336      else
2337	case $ac_arg in
2338	  *=* | --config-cache | -C | -disable-* | --disable-* \
2339	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2340	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2341	  | -with-* | --with-* | -without-* | --without-* | --x)
2342	    case "$ac_configure_args0 " in
2343	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2344	    esac
2345	    ;;
2346	  -* ) ac_must_keep_next=true ;;
2347	esac
2348      fi
2349      as_fn_append ac_configure_args " '$ac_arg'"
2350      ;;
2351    esac
2352  done
2353done
2354{ ac_configure_args0=; unset ac_configure_args0;}
2355{ ac_configure_args1=; unset ac_configure_args1;}
2356
2357# When interrupted or exit'd, cleanup temporary files, and complete
2358# config.log.  We remove comments because anyway the quotes in there
2359# would cause problems or look ugly.
2360# WARNING: Use '\'' to represent an apostrophe within the trap.
2361# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2362trap 'exit_status=$?
2363  # Save into config.log some information that might help in debugging.
2364  {
2365    echo
2366
2367    $as_echo "## ---------------- ##
2368## Cache variables. ##
2369## ---------------- ##"
2370    echo
2371    # The following way of writing the cache mishandles newlines in values,
2372(
2373  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2374    eval ac_val=\$$ac_var
2375    case $ac_val in #(
2376    *${as_nl}*)
2377      case $ac_var in #(
2378      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2379$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2380      esac
2381      case $ac_var in #(
2382      _ | IFS | as_nl) ;; #(
2383      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2384      *) { eval $ac_var=; unset $ac_var;} ;;
2385      esac ;;
2386    esac
2387  done
2388  (set) 2>&1 |
2389    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2390    *${as_nl}ac_space=\ *)
2391      sed -n \
2392	"s/'\''/'\''\\\\'\'''\''/g;
2393	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2394      ;; #(
2395    *)
2396      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2397      ;;
2398    esac |
2399    sort
2400)
2401    echo
2402
2403    $as_echo "## ----------------- ##
2404## Output variables. ##
2405## ----------------- ##"
2406    echo
2407    for ac_var in $ac_subst_vars
2408    do
2409      eval ac_val=\$$ac_var
2410      case $ac_val in
2411      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2412      esac
2413      $as_echo "$ac_var='\''$ac_val'\''"
2414    done | sort
2415    echo
2416
2417    if test -n "$ac_subst_files"; then
2418      $as_echo "## ------------------- ##
2419## File substitutions. ##
2420## ------------------- ##"
2421      echo
2422      for ac_var in $ac_subst_files
2423      do
2424	eval ac_val=\$$ac_var
2425	case $ac_val in
2426	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2427	esac
2428	$as_echo "$ac_var='\''$ac_val'\''"
2429      done | sort
2430      echo
2431    fi
2432
2433    if test -s confdefs.h; then
2434      $as_echo "## ----------- ##
2435## confdefs.h. ##
2436## ----------- ##"
2437      echo
2438      cat confdefs.h
2439      echo
2440    fi
2441    test "$ac_signal" != 0 &&
2442      $as_echo "$as_me: caught signal $ac_signal"
2443    $as_echo "$as_me: exit $exit_status"
2444  } >&5
2445  rm -f core *.core core.conftest.* &&
2446    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2447    exit $exit_status
2448' 0
2449for ac_signal in 1 2 13 15; do
2450  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2451done
2452ac_signal=0
2453
2454# confdefs.h avoids OS command line length limits that DEFS can exceed.
2455rm -f -r conftest* confdefs.h
2456
2457$as_echo "/* confdefs.h */" > confdefs.h
2458
2459# Predefined preprocessor variables.
2460
2461cat >>confdefs.h <<_ACEOF
2462#define PACKAGE_NAME "$PACKAGE_NAME"
2463_ACEOF
2464
2465cat >>confdefs.h <<_ACEOF
2466#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2467_ACEOF
2468
2469cat >>confdefs.h <<_ACEOF
2470#define PACKAGE_VERSION "$PACKAGE_VERSION"
2471_ACEOF
2472
2473cat >>confdefs.h <<_ACEOF
2474#define PACKAGE_STRING "$PACKAGE_STRING"
2475_ACEOF
2476
2477cat >>confdefs.h <<_ACEOF
2478#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2479_ACEOF
2480
2481cat >>confdefs.h <<_ACEOF
2482#define PACKAGE_URL "$PACKAGE_URL"
2483_ACEOF
2484
2485
2486# Let the site file select an alternate cache file if it wants to.
2487# Prefer an explicitly selected file to automatically selected ones.
2488ac_site_file1=NONE
2489ac_site_file2=NONE
2490if test -n "$CONFIG_SITE"; then
2491  # We do not want a PATH search for config.site.
2492  case $CONFIG_SITE in #((
2493    -*)  ac_site_file1=./$CONFIG_SITE;;
2494    */*) ac_site_file1=$CONFIG_SITE;;
2495    *)   ac_site_file1=./$CONFIG_SITE;;
2496  esac
2497elif test "x$prefix" != xNONE; then
2498  ac_site_file1=$prefix/share/config.site
2499  ac_site_file2=$prefix/etc/config.site
2500else
2501  ac_site_file1=$ac_default_prefix/share/config.site
2502  ac_site_file2=$ac_default_prefix/etc/config.site
2503fi
2504for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2505do
2506  test "x$ac_site_file" = xNONE && continue
2507  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2508    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2509$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2510    sed 's/^/| /' "$ac_site_file" >&5
2511    . "$ac_site_file" \
2512      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2513$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2514as_fn_error $? "failed to load site script $ac_site_file
2515See \`config.log' for more details" "$LINENO" 5; }
2516  fi
2517done
2518
2519if test -r "$cache_file"; then
2520  # Some versions of bash will fail to source /dev/null (special files
2521  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2522  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2523    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2524$as_echo "$as_me: loading cache $cache_file" >&6;}
2525    case $cache_file in
2526      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2527      *)                      . "./$cache_file";;
2528    esac
2529  fi
2530else
2531  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2532$as_echo "$as_me: creating cache $cache_file" >&6;}
2533  >$cache_file
2534fi
2535
2536# Check that the precious variables saved in the cache have kept the same
2537# value.
2538ac_cache_corrupted=false
2539for ac_var in $ac_precious_vars; do
2540  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2541  eval ac_new_set=\$ac_env_${ac_var}_set
2542  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2543  eval ac_new_val=\$ac_env_${ac_var}_value
2544  case $ac_old_set,$ac_new_set in
2545    set,)
2546      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2547$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2548      ac_cache_corrupted=: ;;
2549    ,set)
2550      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2551$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2552      ac_cache_corrupted=: ;;
2553    ,);;
2554    *)
2555      if test "x$ac_old_val" != "x$ac_new_val"; then
2556	# differences in whitespace do not lead to failure.
2557	ac_old_val_w=`echo x $ac_old_val`
2558	ac_new_val_w=`echo x $ac_new_val`
2559	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2560	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2561$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2562	  ac_cache_corrupted=:
2563	else
2564	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2565$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2566	  eval $ac_var=\$ac_old_val
2567	fi
2568	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2569$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2570	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2571$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2572      fi;;
2573  esac
2574  # Pass precious variables to config.status.
2575  if test "$ac_new_set" = set; then
2576    case $ac_new_val in
2577    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2578    *) ac_arg=$ac_var=$ac_new_val ;;
2579    esac
2580    case " $ac_configure_args " in
2581      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2582      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2583    esac
2584  fi
2585done
2586if $ac_cache_corrupted; then
2587  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2588$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2589  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2590$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2591  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2592fi
2593## -------------------- ##
2594## Main body of script. ##
2595## -------------------- ##
2596
2597ac_ext=c
2598ac_cpp='$CPP $CPPFLAGS'
2599ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2600ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2601ac_compiler_gnu=$ac_cv_c_compiler_gnu
2602
2603
2604
2605
2606LIBCRYPTUI_CURRENT=0
2607LIBCRYPTUI_REVISION=0
2608LIBCRYPTUI_AGE=0
2609
2610
2611
2612am__api_version='1.13'
2613
2614ac_aux_dir=
2615for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2616  if test -f "$ac_dir/install-sh"; then
2617    ac_aux_dir=$ac_dir
2618    ac_install_sh="$ac_aux_dir/install-sh -c"
2619    break
2620  elif test -f "$ac_dir/install.sh"; then
2621    ac_aux_dir=$ac_dir
2622    ac_install_sh="$ac_aux_dir/install.sh -c"
2623    break
2624  elif test -f "$ac_dir/shtool"; then
2625    ac_aux_dir=$ac_dir
2626    ac_install_sh="$ac_aux_dir/shtool install -c"
2627    break
2628  fi
2629done
2630if test -z "$ac_aux_dir"; then
2631  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2632fi
2633
2634# These three variables are undocumented and unsupported,
2635# and are intended to be withdrawn in a future Autoconf release.
2636# They can cause serious problems if a builder's source tree is in a directory
2637# whose full name contains unusual characters.
2638ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2639ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2640ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2641
2642
2643# Find a good install program.  We prefer a C program (faster),
2644# so one script is as good as another.  But avoid the broken or
2645# incompatible versions:
2646# SysV /etc/install, /usr/sbin/install
2647# SunOS /usr/etc/install
2648# IRIX /sbin/install
2649# AIX /bin/install
2650# AmigaOS /C/install, which installs bootblocks on floppy discs
2651# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2652# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2653# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2654# OS/2's system install, which has a completely different semantic
2655# ./install, which can be erroneously created by make from ./install.sh.
2656# Reject install programs that cannot install multiple files.
2657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2658$as_echo_n "checking for a BSD-compatible install... " >&6; }
2659if test -z "$INSTALL"; then
2660if ${ac_cv_path_install+:} false; then :
2661  $as_echo_n "(cached) " >&6
2662else
2663  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664for as_dir in $PATH
2665do
2666  IFS=$as_save_IFS
2667  test -z "$as_dir" && as_dir=.
2668    # Account for people who put trailing slashes in PATH elements.
2669case $as_dir/ in #((
2670  ./ | .// | /[cC]/* | \
2671  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2672  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2673  /usr/ucb/* ) ;;
2674  *)
2675    # OSF1 and SCO ODT 3.0 have their own names for install.
2676    # Don't use installbsd from OSF since it installs stuff as root
2677    # by default.
2678    for ac_prog in ginstall scoinst install; do
2679      for ac_exec_ext in '' $ac_executable_extensions; do
2680	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2681	  if test $ac_prog = install &&
2682	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2683	    # AIX install.  It has an incompatible calling convention.
2684	    :
2685	  elif test $ac_prog = install &&
2686	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2687	    # program-specific install script used by HP pwplus--don't use.
2688	    :
2689	  else
2690	    rm -rf conftest.one conftest.two conftest.dir
2691	    echo one > conftest.one
2692	    echo two > conftest.two
2693	    mkdir conftest.dir
2694	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2695	      test -s conftest.one && test -s conftest.two &&
2696	      test -s conftest.dir/conftest.one &&
2697	      test -s conftest.dir/conftest.two
2698	    then
2699	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2700	      break 3
2701	    fi
2702	  fi
2703	fi
2704      done
2705    done
2706    ;;
2707esac
2708
2709  done
2710IFS=$as_save_IFS
2711
2712rm -rf conftest.one conftest.two conftest.dir
2713
2714fi
2715  if test "${ac_cv_path_install+set}" = set; then
2716    INSTALL=$ac_cv_path_install
2717  else
2718    # As a last resort, use the slow shell script.  Don't cache a
2719    # value for INSTALL within a source directory, because that will
2720    # break other packages using the cache if that directory is
2721    # removed, or if the value is a relative name.
2722    INSTALL=$ac_install_sh
2723  fi
2724fi
2725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2726$as_echo "$INSTALL" >&6; }
2727
2728# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2729# It thinks the first close brace ends the variable substitution.
2730test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2731
2732test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2733
2734test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2735
2736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2737$as_echo_n "checking whether build environment is sane... " >&6; }
2738# Reject unsafe characters in $srcdir or the absolute working directory
2739# name.  Accept space and tab only in the latter.
2740am_lf='
2741'
2742case `pwd` in
2743  *[\\\"\#\$\&\'\`$am_lf]*)
2744    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2745esac
2746case $srcdir in
2747  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2748    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2749esac
2750
2751# Do 'set' in a subshell so we don't clobber the current shell's
2752# arguments.  Must try -L first in case configure is actually a
2753# symlink; some systems play weird games with the mod time of symlinks
2754# (eg FreeBSD returns the mod time of the symlink's containing
2755# directory).
2756if (
2757   am_has_slept=no
2758   for am_try in 1 2; do
2759     echo "timestamp, slept: $am_has_slept" > conftest.file
2760     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2761     if test "$*" = "X"; then
2762	# -L didn't work.
2763	set X `ls -t "$srcdir/configure" conftest.file`
2764     fi
2765     if test "$*" != "X $srcdir/configure conftest.file" \
2766	&& test "$*" != "X conftest.file $srcdir/configure"; then
2767
2768	# If neither matched, then we have a broken ls.  This can happen
2769	# if, for instance, CONFIG_SHELL is bash and it inherits a
2770	# broken ls alias from the environment.  This has actually
2771	# happened.  Such a system could not be considered "sane".
2772	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2773  alias in your environment" "$LINENO" 5
2774     fi
2775     if test "$2" = conftest.file || test $am_try -eq 2; then
2776       break
2777     fi
2778     # Just in case.
2779     sleep 1
2780     am_has_slept=yes
2781   done
2782   test "$2" = conftest.file
2783   )
2784then
2785   # Ok.
2786   :
2787else
2788   as_fn_error $? "newly created file is older than distributed files!
2789Check your system clock" "$LINENO" 5
2790fi
2791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2792$as_echo "yes" >&6; }
2793# If we didn't sleep, we still need to ensure time stamps of config.status and
2794# generated files are strictly newer.
2795am_sleep_pid=
2796if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2797  ( sleep 1 ) &
2798  am_sleep_pid=$!
2799fi
2800
2801rm -f conftest.file
2802
2803test "$program_prefix" != NONE &&
2804  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2805# Use a double $ so make ignores it.
2806test "$program_suffix" != NONE &&
2807  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2808# Double any \ or $.
2809# By default was `s,x,x', remove it if useless.
2810ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2811program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2812
2813# expand $ac_aux_dir to an absolute path
2814am_aux_dir=`cd $ac_aux_dir && pwd`
2815
2816if test x"${MISSING+set}" != xset; then
2817  case $am_aux_dir in
2818  *\ * | *\	*)
2819    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2820  *)
2821    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2822  esac
2823fi
2824# Use eval to expand $SHELL
2825if eval "$MISSING --is-lightweight"; then
2826  am_missing_run="$MISSING "
2827else
2828  am_missing_run=
2829  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2830$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2831fi
2832
2833if test x"${install_sh}" != xset; then
2834  case $am_aux_dir in
2835  *\ * | *\	*)
2836    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2837  *)
2838    install_sh="\${SHELL} $am_aux_dir/install-sh"
2839  esac
2840fi
2841
2842# Installed binaries are usually stripped using 'strip' when the user
2843# run "make install-strip".  However 'strip' might not be the right
2844# tool to use in cross-compilation environments, therefore Automake
2845# will honor the 'STRIP' environment variable to overrule this program.
2846if test "$cross_compiling" != no; then
2847  if test -n "$ac_tool_prefix"; then
2848  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2849set dummy ${ac_tool_prefix}strip; ac_word=$2
2850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2851$as_echo_n "checking for $ac_word... " >&6; }
2852if ${ac_cv_prog_STRIP+:} false; then :
2853  $as_echo_n "(cached) " >&6
2854else
2855  if test -n "$STRIP"; then
2856  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2857else
2858as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2859for as_dir in $PATH
2860do
2861  IFS=$as_save_IFS
2862  test -z "$as_dir" && as_dir=.
2863    for ac_exec_ext in '' $ac_executable_extensions; do
2864  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2865    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2866    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2867    break 2
2868  fi
2869done
2870  done
2871IFS=$as_save_IFS
2872
2873fi
2874fi
2875STRIP=$ac_cv_prog_STRIP
2876if test -n "$STRIP"; then
2877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2878$as_echo "$STRIP" >&6; }
2879else
2880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2881$as_echo "no" >&6; }
2882fi
2883
2884
2885fi
2886if test -z "$ac_cv_prog_STRIP"; then
2887  ac_ct_STRIP=$STRIP
2888  # Extract the first word of "strip", so it can be a program name with args.
2889set dummy strip; ac_word=$2
2890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891$as_echo_n "checking for $ac_word... " >&6; }
2892if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2893  $as_echo_n "(cached) " >&6
2894else
2895  if test -n "$ac_ct_STRIP"; then
2896  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2897else
2898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2899for as_dir in $PATH
2900do
2901  IFS=$as_save_IFS
2902  test -z "$as_dir" && as_dir=.
2903    for ac_exec_ext in '' $ac_executable_extensions; do
2904  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2905    ac_cv_prog_ac_ct_STRIP="strip"
2906    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907    break 2
2908  fi
2909done
2910  done
2911IFS=$as_save_IFS
2912
2913fi
2914fi
2915ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2916if test -n "$ac_ct_STRIP"; then
2917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2918$as_echo "$ac_ct_STRIP" >&6; }
2919else
2920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921$as_echo "no" >&6; }
2922fi
2923
2924  if test "x$ac_ct_STRIP" = x; then
2925    STRIP=":"
2926  else
2927    case $cross_compiling:$ac_tool_warned in
2928yes:)
2929{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2930$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2931ac_tool_warned=yes ;;
2932esac
2933    STRIP=$ac_ct_STRIP
2934  fi
2935else
2936  STRIP="$ac_cv_prog_STRIP"
2937fi
2938
2939fi
2940INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2941
2942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2943$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2944if test -z "$MKDIR_P"; then
2945  if ${ac_cv_path_mkdir+:} false; then :
2946  $as_echo_n "(cached) " >&6
2947else
2948  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2949for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2950do
2951  IFS=$as_save_IFS
2952  test -z "$as_dir" && as_dir=.
2953    for ac_prog in mkdir gmkdir; do
2954	 for ac_exec_ext in '' $ac_executable_extensions; do
2955	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2956	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2957	     'mkdir (GNU coreutils) '* | \
2958	     'mkdir (coreutils) '* | \
2959	     'mkdir (fileutils) '4.1*)
2960	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2961	       break 3;;
2962	   esac
2963	 done
2964       done
2965  done
2966IFS=$as_save_IFS
2967
2968fi
2969
2970  test -d ./--version && rmdir ./--version
2971  if test "${ac_cv_path_mkdir+set}" = set; then
2972    MKDIR_P="$ac_cv_path_mkdir -p"
2973  else
2974    # As a last resort, use the slow shell script.  Don't cache a
2975    # value for MKDIR_P within a source directory, because that will
2976    # break other packages using the cache if that directory is
2977    # removed, or if the value is a relative name.
2978    MKDIR_P="$ac_install_sh -d"
2979  fi
2980fi
2981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2982$as_echo "$MKDIR_P" >&6; }
2983
2984for ac_prog in gawk mawk nawk awk
2985do
2986  # Extract the first word of "$ac_prog", so it can be a program name with args.
2987set dummy $ac_prog; ac_word=$2
2988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989$as_echo_n "checking for $ac_word... " >&6; }
2990if ${ac_cv_prog_AWK+:} false; then :
2991  $as_echo_n "(cached) " >&6
2992else
2993  if test -n "$AWK"; then
2994  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2995else
2996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2997for as_dir in $PATH
2998do
2999  IFS=$as_save_IFS
3000  test -z "$as_dir" && as_dir=.
3001    for ac_exec_ext in '' $ac_executable_extensions; do
3002  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3003    ac_cv_prog_AWK="$ac_prog"
3004    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3005    break 2
3006  fi
3007done
3008  done
3009IFS=$as_save_IFS
3010
3011fi
3012fi
3013AWK=$ac_cv_prog_AWK
3014if test -n "$AWK"; then
3015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3016$as_echo "$AWK" >&6; }
3017else
3018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019$as_echo "no" >&6; }
3020fi
3021
3022
3023  test -n "$AWK" && break
3024done
3025
3026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3027$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3028set x ${MAKE-make}
3029ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3030if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3031  $as_echo_n "(cached) " >&6
3032else
3033  cat >conftest.make <<\_ACEOF
3034SHELL = /bin/sh
3035all:
3036	@echo '@@@%%%=$(MAKE)=@@@%%%'
3037_ACEOF
3038# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3039case `${MAKE-make} -f conftest.make 2>/dev/null` in
3040  *@@@%%%=?*=@@@%%%*)
3041    eval ac_cv_prog_make_${ac_make}_set=yes;;
3042  *)
3043    eval ac_cv_prog_make_${ac_make}_set=no;;
3044esac
3045rm -f conftest.make
3046fi
3047if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3049$as_echo "yes" >&6; }
3050  SET_MAKE=
3051else
3052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053$as_echo "no" >&6; }
3054  SET_MAKE="MAKE=${MAKE-make}"
3055fi
3056
3057rm -rf .tst 2>/dev/null
3058mkdir .tst 2>/dev/null
3059if test -d .tst; then
3060  am__leading_dot=.
3061else
3062  am__leading_dot=_
3063fi
3064rmdir .tst 2>/dev/null
3065
3066# Check whether --enable-silent-rules was given.
3067if test "${enable_silent_rules+set}" = set; then :
3068  enableval=$enable_silent_rules;
3069fi
3070
3071case $enable_silent_rules in # (((
3072  yes) AM_DEFAULT_VERBOSITY=0;;
3073   no) AM_DEFAULT_VERBOSITY=1;;
3074    *) AM_DEFAULT_VERBOSITY=1;;
3075esac
3076am_make=${MAKE-make}
3077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3078$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3079if ${am_cv_make_support_nested_variables+:} false; then :
3080  $as_echo_n "(cached) " >&6
3081else
3082  if $as_echo 'TRUE=$(BAR$(V))
3083BAR0=false
3084BAR1=true
3085V=1
3086am__doit:
3087	@$(TRUE)
3088.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3089  am_cv_make_support_nested_variables=yes
3090else
3091  am_cv_make_support_nested_variables=no
3092fi
3093fi
3094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3095$as_echo "$am_cv_make_support_nested_variables" >&6; }
3096if test $am_cv_make_support_nested_variables = yes; then
3097    AM_V='$(V)'
3098  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3099else
3100  AM_V=$AM_DEFAULT_VERBOSITY
3101  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3102fi
3103AM_BACKSLASH='\'
3104
3105if test "`cd $srcdir && pwd`" != "`pwd`"; then
3106  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3107  # is not polluted with repeated "-I."
3108  am__isrc=' -I$(srcdir)'
3109  # test to see if srcdir already configured
3110  if test -f $srcdir/config.status; then
3111    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3112  fi
3113fi
3114
3115# test whether we have cygpath
3116if test -z "$CYGPATH_W"; then
3117  if (cygpath --version) >/dev/null 2>/dev/null; then
3118    CYGPATH_W='cygpath -w'
3119  else
3120    CYGPATH_W=echo
3121  fi
3122fi
3123
3124
3125# Define the identity of the package.
3126
3127 PACKAGE=libcryptui
3128 VERSION=3.12.2
3129
3130
3131cat >>confdefs.h <<_ACEOF
3132#define PACKAGE "$PACKAGE"
3133_ACEOF
3134
3135
3136cat >>confdefs.h <<_ACEOF
3137#define VERSION "$VERSION"
3138_ACEOF
3139
3140# Some tools Automake needs.
3141
3142ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3143
3144
3145AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3146
3147
3148AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3149
3150
3151AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3152
3153
3154MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3155
3156# For better backward compatibility.  To be removed once Automake 1.9.x
3157# dies out for good.  For more background, see:
3158# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3159# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3160mkdir_p='$(MKDIR_P)'
3161
3162# We need awk for the "check" target.  The system "awk" is bad on
3163# some platforms.
3164# Always define AMTAR for backward compatibility.  Yes, it's still used
3165# in the wild :-(  We should find a proper way to deprecate it ...
3166AMTAR='$${TAR-tar}'
3167
3168
3169# We'll loop over all known methods to create a tar archive until one works.
3170_am_tools='gnutar  pax cpio none'
3171
3172am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3173
3174
3175
3176
3177
3178
3179ac_config_headers="$ac_config_headers config.h"
3180
3181# Check whether --enable-silent-rules was given.
3182if test "${enable_silent_rules+set}" = set; then :
3183  enableval=$enable_silent_rules;
3184fi
3185
3186case $enable_silent_rules in # (((
3187  yes) AM_DEFAULT_VERBOSITY=0;;
3188   no) AM_DEFAULT_VERBOSITY=1;;
3189    *) AM_DEFAULT_VERBOSITY=0;;
3190esac
3191am_make=${MAKE-make}
3192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3193$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3194if ${am_cv_make_support_nested_variables+:} false; then :
3195  $as_echo_n "(cached) " >&6
3196else
3197  if $as_echo 'TRUE=$(BAR$(V))
3198BAR0=false
3199BAR1=true
3200V=1
3201am__doit:
3202	@$(TRUE)
3203.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3204  am_cv_make_support_nested_variables=yes
3205else
3206  am_cv_make_support_nested_variables=no
3207fi
3208fi
3209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3210$as_echo "$am_cv_make_support_nested_variables" >&6; }
3211if test $am_cv_make_support_nested_variables = yes; then
3212    AM_V='$(V)'
3213  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3214else
3215  AM_V=$AM_DEFAULT_VERBOSITY
3216  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3217fi
3218AM_BACKSLASH='\'
3219
3220
3221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3222$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3223    # Check whether --enable-maintainer-mode was given.
3224if test "${enable_maintainer_mode+set}" = set; then :
3225  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3226else
3227  USE_MAINTAINER_MODE=no
3228fi
3229
3230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3231$as_echo "$USE_MAINTAINER_MODE" >&6; }
3232   if test $USE_MAINTAINER_MODE = yes; then
3233  MAINTAINER_MODE_TRUE=
3234  MAINTAINER_MODE_FALSE='#'
3235else
3236  MAINTAINER_MODE_TRUE='#'
3237  MAINTAINER_MODE_FALSE=
3238fi
3239
3240  MAINT=$MAINTAINER_MODE_TRUE
3241
3242
3243
3244
3245ac_ext=c
3246ac_cpp='$CPP $CPPFLAGS'
3247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3248ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3249ac_compiler_gnu=$ac_cv_c_compiler_gnu
3250if test -n "$ac_tool_prefix"; then
3251  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3252set dummy ${ac_tool_prefix}gcc; ac_word=$2
3253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254$as_echo_n "checking for $ac_word... " >&6; }
3255if ${ac_cv_prog_CC+:} false; then :
3256  $as_echo_n "(cached) " >&6
3257else
3258  if test -n "$CC"; then
3259  ac_cv_prog_CC="$CC" # Let the user override the test.
3260else
3261as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262for as_dir in $PATH
3263do
3264  IFS=$as_save_IFS
3265  test -z "$as_dir" && as_dir=.
3266    for ac_exec_ext in '' $ac_executable_extensions; do
3267  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3268    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3269    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3270    break 2
3271  fi
3272done
3273  done
3274IFS=$as_save_IFS
3275
3276fi
3277fi
3278CC=$ac_cv_prog_CC
3279if test -n "$CC"; then
3280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3281$as_echo "$CC" >&6; }
3282else
3283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3284$as_echo "no" >&6; }
3285fi
3286
3287
3288fi
3289if test -z "$ac_cv_prog_CC"; then
3290  ac_ct_CC=$CC
3291  # Extract the first word of "gcc", so it can be a program name with args.
3292set dummy gcc; ac_word=$2
3293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3294$as_echo_n "checking for $ac_word... " >&6; }
3295if ${ac_cv_prog_ac_ct_CC+:} false; then :
3296  $as_echo_n "(cached) " >&6
3297else
3298  if test -n "$ac_ct_CC"; then
3299  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3300else
3301as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3302for as_dir in $PATH
3303do
3304  IFS=$as_save_IFS
3305  test -z "$as_dir" && as_dir=.
3306    for ac_exec_ext in '' $ac_executable_extensions; do
3307  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3308    ac_cv_prog_ac_ct_CC="gcc"
3309    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310    break 2
3311  fi
3312done
3313  done
3314IFS=$as_save_IFS
3315
3316fi
3317fi
3318ac_ct_CC=$ac_cv_prog_ac_ct_CC
3319if test -n "$ac_ct_CC"; then
3320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3321$as_echo "$ac_ct_CC" >&6; }
3322else
3323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324$as_echo "no" >&6; }
3325fi
3326
3327  if test "x$ac_ct_CC" = x; then
3328    CC=""
3329  else
3330    case $cross_compiling:$ac_tool_warned in
3331yes:)
3332{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3333$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3334ac_tool_warned=yes ;;
3335esac
3336    CC=$ac_ct_CC
3337  fi
3338else
3339  CC="$ac_cv_prog_CC"
3340fi
3341
3342if test -z "$CC"; then
3343          if test -n "$ac_tool_prefix"; then
3344    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3345set dummy ${ac_tool_prefix}cc; ac_word=$2
3346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347$as_echo_n "checking for $ac_word... " >&6; }
3348if ${ac_cv_prog_CC+:} false; then :
3349  $as_echo_n "(cached) " >&6
3350else
3351  if test -n "$CC"; then
3352  ac_cv_prog_CC="$CC" # Let the user override the test.
3353else
3354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355for as_dir in $PATH
3356do
3357  IFS=$as_save_IFS
3358  test -z "$as_dir" && as_dir=.
3359    for ac_exec_ext in '' $ac_executable_extensions; do
3360  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3361    ac_cv_prog_CC="${ac_tool_prefix}cc"
3362    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363    break 2
3364  fi
3365done
3366  done
3367IFS=$as_save_IFS
3368
3369fi
3370fi
3371CC=$ac_cv_prog_CC
3372if test -n "$CC"; then
3373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3374$as_echo "$CC" >&6; }
3375else
3376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377$as_echo "no" >&6; }
3378fi
3379
3380
3381  fi
3382fi
3383if test -z "$CC"; then
3384  # Extract the first word of "cc", so it can be a program name with args.
3385set dummy cc; ac_word=$2
3386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387$as_echo_n "checking for $ac_word... " >&6; }
3388if ${ac_cv_prog_CC+:} false; then :
3389  $as_echo_n "(cached) " >&6
3390else
3391  if test -n "$CC"; then
3392  ac_cv_prog_CC="$CC" # Let the user override the test.
3393else
3394  ac_prog_rejected=no
3395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3396for as_dir in $PATH
3397do
3398  IFS=$as_save_IFS
3399  test -z "$as_dir" && as_dir=.
3400    for ac_exec_ext in '' $ac_executable_extensions; do
3401  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3402    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3403       ac_prog_rejected=yes
3404       continue
3405     fi
3406    ac_cv_prog_CC="cc"
3407    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3408    break 2
3409  fi
3410done
3411  done
3412IFS=$as_save_IFS
3413
3414if test $ac_prog_rejected = yes; then
3415  # We found a bogon in the path, so make sure we never use it.
3416  set dummy $ac_cv_prog_CC
3417  shift
3418  if test $# != 0; then
3419    # We chose a different compiler from the bogus one.
3420    # However, it has the same basename, so the bogon will be chosen
3421    # first if we set CC to just the basename; use the full file name.
3422    shift
3423    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3424  fi
3425fi
3426fi
3427fi
3428CC=$ac_cv_prog_CC
3429if test -n "$CC"; then
3430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3431$as_echo "$CC" >&6; }
3432else
3433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3434$as_echo "no" >&6; }
3435fi
3436
3437
3438fi
3439if test -z "$CC"; then
3440  if test -n "$ac_tool_prefix"; then
3441  for ac_prog in cl.exe
3442  do
3443    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3444set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3446$as_echo_n "checking for $ac_word... " >&6; }
3447if ${ac_cv_prog_CC+:} false; then :
3448  $as_echo_n "(cached) " >&6
3449else
3450  if test -n "$CC"; then
3451  ac_cv_prog_CC="$CC" # Let the user override the test.
3452else
3453as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3454for as_dir in $PATH
3455do
3456  IFS=$as_save_IFS
3457  test -z "$as_dir" && as_dir=.
3458    for ac_exec_ext in '' $ac_executable_extensions; do
3459  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3460    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3461    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3462    break 2
3463  fi
3464done
3465  done
3466IFS=$as_save_IFS
3467
3468fi
3469fi
3470CC=$ac_cv_prog_CC
3471if test -n "$CC"; then
3472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3473$as_echo "$CC" >&6; }
3474else
3475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3476$as_echo "no" >&6; }
3477fi
3478
3479
3480    test -n "$CC" && break
3481  done
3482fi
3483if test -z "$CC"; then
3484  ac_ct_CC=$CC
3485  for ac_prog in cl.exe
3486do
3487  # Extract the first word of "$ac_prog", so it can be a program name with args.
3488set dummy $ac_prog; ac_word=$2
3489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490$as_echo_n "checking for $ac_word... " >&6; }
3491if ${ac_cv_prog_ac_ct_CC+:} false; then :
3492  $as_echo_n "(cached) " >&6
3493else
3494  if test -n "$ac_ct_CC"; then
3495  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3496else
3497as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498for as_dir in $PATH
3499do
3500  IFS=$as_save_IFS
3501  test -z "$as_dir" && as_dir=.
3502    for ac_exec_ext in '' $ac_executable_extensions; do
3503  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3504    ac_cv_prog_ac_ct_CC="$ac_prog"
3505    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506    break 2
3507  fi
3508done
3509  done
3510IFS=$as_save_IFS
3511
3512fi
3513fi
3514ac_ct_CC=$ac_cv_prog_ac_ct_CC
3515if test -n "$ac_ct_CC"; then
3516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3517$as_echo "$ac_ct_CC" >&6; }
3518else
3519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520$as_echo "no" >&6; }
3521fi
3522
3523
3524  test -n "$ac_ct_CC" && break
3525done
3526
3527  if test "x$ac_ct_CC" = x; then
3528    CC=""
3529  else
3530    case $cross_compiling:$ac_tool_warned in
3531yes:)
3532{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3533$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3534ac_tool_warned=yes ;;
3535esac
3536    CC=$ac_ct_CC
3537  fi
3538fi
3539
3540fi
3541
3542
3543test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3544$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3545as_fn_error $? "no acceptable C compiler found in \$PATH
3546See \`config.log' for more details" "$LINENO" 5; }
3547
3548# Provide some information about the compiler.
3549$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3550set X $ac_compile
3551ac_compiler=$2
3552for ac_option in --version -v -V -qversion; do
3553  { { ac_try="$ac_compiler $ac_option >&5"
3554case "(($ac_try" in
3555  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556  *) ac_try_echo=$ac_try;;
3557esac
3558eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3559$as_echo "$ac_try_echo"; } >&5
3560  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3561  ac_status=$?
3562  if test -s conftest.err; then
3563    sed '10a\
3564... rest of stderr output deleted ...
3565         10q' conftest.err >conftest.er1
3566    cat conftest.er1 >&5
3567  fi
3568  rm -f conftest.er1 conftest.err
3569  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3570  test $ac_status = 0; }
3571done
3572
3573cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574/* end confdefs.h.  */
3575
3576int
3577main ()
3578{
3579
3580  ;
3581  return 0;
3582}
3583_ACEOF
3584ac_clean_files_save=$ac_clean_files
3585ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3586# Try to create an executable without -o first, disregard a.out.
3587# It will help us diagnose broken compilers, and finding out an intuition
3588# of exeext.
3589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3590$as_echo_n "checking whether the C compiler works... " >&6; }
3591ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3592
3593# The possible output files:
3594ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3595
3596ac_rmfiles=
3597for ac_file in $ac_files
3598do
3599  case $ac_file in
3600    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3601    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3602  esac
3603done
3604rm -f $ac_rmfiles
3605
3606if { { ac_try="$ac_link_default"
3607case "(($ac_try" in
3608  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609  *) ac_try_echo=$ac_try;;
3610esac
3611eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612$as_echo "$ac_try_echo"; } >&5
3613  (eval "$ac_link_default") 2>&5
3614  ac_status=$?
3615  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3616  test $ac_status = 0; }; then :
3617  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3618# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3619# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3620# so that the user can short-circuit this test for compilers unknown to
3621# Autoconf.
3622for ac_file in $ac_files ''
3623do
3624  test -f "$ac_file" || continue
3625  case $ac_file in
3626    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3627	;;
3628    [ab].out )
3629	# We found the default executable, but exeext='' is most
3630	# certainly right.
3631	break;;
3632    *.* )
3633	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3634	then :; else
3635	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3636	fi
3637	# We set ac_cv_exeext here because the later test for it is not
3638	# safe: cross compilers may not add the suffix if given an `-o'
3639	# argument, so we may need to know it at that point already.
3640	# Even if this section looks crufty: it has the advantage of
3641	# actually working.
3642	break;;
3643    * )
3644	break;;
3645  esac
3646done
3647test "$ac_cv_exeext" = no && ac_cv_exeext=
3648
3649else
3650  ac_file=''
3651fi
3652if test -z "$ac_file"; then :
3653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3654$as_echo "no" >&6; }
3655$as_echo "$as_me: failed program was:" >&5
3656sed 's/^/| /' conftest.$ac_ext >&5
3657
3658{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3659$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3660as_fn_error 77 "C compiler cannot create executables
3661See \`config.log' for more details" "$LINENO" 5; }
3662else
3663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3664$as_echo "yes" >&6; }
3665fi
3666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3667$as_echo_n "checking for C compiler default output file name... " >&6; }
3668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3669$as_echo "$ac_file" >&6; }
3670ac_exeext=$ac_cv_exeext
3671
3672rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3673ac_clean_files=$ac_clean_files_save
3674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3675$as_echo_n "checking for suffix of executables... " >&6; }
3676if { { ac_try="$ac_link"
3677case "(($ac_try" in
3678  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3679  *) ac_try_echo=$ac_try;;
3680esac
3681eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3682$as_echo "$ac_try_echo"; } >&5
3683  (eval "$ac_link") 2>&5
3684  ac_status=$?
3685  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3686  test $ac_status = 0; }; then :
3687  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3688# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3689# work properly (i.e., refer to `conftest.exe'), while it won't with
3690# `rm'.
3691for ac_file in conftest.exe conftest conftest.*; do
3692  test -f "$ac_file" || continue
3693  case $ac_file in
3694    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3695    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3696	  break;;
3697    * ) break;;
3698  esac
3699done
3700else
3701  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3702$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3703as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3704See \`config.log' for more details" "$LINENO" 5; }
3705fi
3706rm -f conftest conftest$ac_cv_exeext
3707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3708$as_echo "$ac_cv_exeext" >&6; }
3709
3710rm -f conftest.$ac_ext
3711EXEEXT=$ac_cv_exeext
3712ac_exeext=$EXEEXT
3713cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3714/* end confdefs.h.  */
3715#include <stdio.h>
3716int
3717main ()
3718{
3719FILE *f = fopen ("conftest.out", "w");
3720 return ferror (f) || fclose (f) != 0;
3721
3722  ;
3723  return 0;
3724}
3725_ACEOF
3726ac_clean_files="$ac_clean_files conftest.out"
3727# Check that the compiler produces executables we can run.  If not, either
3728# the compiler is broken, or we cross compile.
3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3730$as_echo_n "checking whether we are cross compiling... " >&6; }
3731if test "$cross_compiling" != yes; then
3732  { { ac_try="$ac_link"
3733case "(($ac_try" in
3734  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3735  *) ac_try_echo=$ac_try;;
3736esac
3737eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3738$as_echo "$ac_try_echo"; } >&5
3739  (eval "$ac_link") 2>&5
3740  ac_status=$?
3741  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3742  test $ac_status = 0; }
3743  if { ac_try='./conftest$ac_cv_exeext'
3744  { { case "(($ac_try" in
3745  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3746  *) ac_try_echo=$ac_try;;
3747esac
3748eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3749$as_echo "$ac_try_echo"; } >&5
3750  (eval "$ac_try") 2>&5
3751  ac_status=$?
3752  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3753  test $ac_status = 0; }; }; then
3754    cross_compiling=no
3755  else
3756    if test "$cross_compiling" = maybe; then
3757	cross_compiling=yes
3758    else
3759	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3760$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3761as_fn_error $? "cannot run C compiled programs.
3762If you meant to cross compile, use \`--host'.
3763See \`config.log' for more details" "$LINENO" 5; }
3764    fi
3765  fi
3766fi
3767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3768$as_echo "$cross_compiling" >&6; }
3769
3770rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3771ac_clean_files=$ac_clean_files_save
3772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3773$as_echo_n "checking for suffix of object files... " >&6; }
3774if ${ac_cv_objext+:} false; then :
3775  $as_echo_n "(cached) " >&6
3776else
3777  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778/* end confdefs.h.  */
3779
3780int
3781main ()
3782{
3783
3784  ;
3785  return 0;
3786}
3787_ACEOF
3788rm -f conftest.o conftest.obj
3789if { { ac_try="$ac_compile"
3790case "(($ac_try" in
3791  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792  *) ac_try_echo=$ac_try;;
3793esac
3794eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3795$as_echo "$ac_try_echo"; } >&5
3796  (eval "$ac_compile") 2>&5
3797  ac_status=$?
3798  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3799  test $ac_status = 0; }; then :
3800  for ac_file in conftest.o conftest.obj conftest.*; do
3801  test -f "$ac_file" || continue;
3802  case $ac_file in
3803    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3804    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3805       break;;
3806  esac
3807done
3808else
3809  $as_echo "$as_me: failed program was:" >&5
3810sed 's/^/| /' conftest.$ac_ext >&5
3811
3812{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3813$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3814as_fn_error $? "cannot compute suffix of object files: cannot compile
3815See \`config.log' for more details" "$LINENO" 5; }
3816fi
3817rm -f conftest.$ac_cv_objext conftest.$ac_ext
3818fi
3819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3820$as_echo "$ac_cv_objext" >&6; }
3821OBJEXT=$ac_cv_objext
3822ac_objext=$OBJEXT
3823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3824$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3825if ${ac_cv_c_compiler_gnu+:} false; then :
3826  $as_echo_n "(cached) " >&6
3827else
3828  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829/* end confdefs.h.  */
3830
3831int
3832main ()
3833{
3834#ifndef __GNUC__
3835       choke me
3836#endif
3837
3838  ;
3839  return 0;
3840}
3841_ACEOF
3842if ac_fn_c_try_compile "$LINENO"; then :
3843  ac_compiler_gnu=yes
3844else
3845  ac_compiler_gnu=no
3846fi
3847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3848ac_cv_c_compiler_gnu=$ac_compiler_gnu
3849
3850fi
3851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3852$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3853if test $ac_compiler_gnu = yes; then
3854  GCC=yes
3855else
3856  GCC=
3857fi
3858ac_test_CFLAGS=${CFLAGS+set}
3859ac_save_CFLAGS=$CFLAGS
3860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3861$as_echo_n "checking whether $CC accepts -g... " >&6; }
3862if ${ac_cv_prog_cc_g+:} false; then :
3863  $as_echo_n "(cached) " >&6
3864else
3865  ac_save_c_werror_flag=$ac_c_werror_flag
3866   ac_c_werror_flag=yes
3867   ac_cv_prog_cc_g=no
3868   CFLAGS="-g"
3869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870/* end confdefs.h.  */
3871
3872int
3873main ()
3874{
3875
3876  ;
3877  return 0;
3878}
3879_ACEOF
3880if ac_fn_c_try_compile "$LINENO"; then :
3881  ac_cv_prog_cc_g=yes
3882else
3883  CFLAGS=""
3884      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885/* end confdefs.h.  */
3886
3887int
3888main ()
3889{
3890
3891  ;
3892  return 0;
3893}
3894_ACEOF
3895if ac_fn_c_try_compile "$LINENO"; then :
3896
3897else
3898  ac_c_werror_flag=$ac_save_c_werror_flag
3899	 CFLAGS="-g"
3900	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901/* end confdefs.h.  */
3902
3903int
3904main ()
3905{
3906
3907  ;
3908  return 0;
3909}
3910_ACEOF
3911if ac_fn_c_try_compile "$LINENO"; then :
3912  ac_cv_prog_cc_g=yes
3913fi
3914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3915fi
3916rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3917fi
3918rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3919   ac_c_werror_flag=$ac_save_c_werror_flag
3920fi
3921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3922$as_echo "$ac_cv_prog_cc_g" >&6; }
3923if test "$ac_test_CFLAGS" = set; then
3924  CFLAGS=$ac_save_CFLAGS
3925elif test $ac_cv_prog_cc_g = yes; then
3926  if test "$GCC" = yes; then
3927    CFLAGS="-g -O2"
3928  else
3929    CFLAGS="-g"
3930  fi
3931else
3932  if test "$GCC" = yes; then
3933    CFLAGS="-O2"
3934  else
3935    CFLAGS=
3936  fi
3937fi
3938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3939$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3940if ${ac_cv_prog_cc_c89+:} false; then :
3941  $as_echo_n "(cached) " >&6
3942else
3943  ac_cv_prog_cc_c89=no
3944ac_save_CC=$CC
3945cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3946/* end confdefs.h.  */
3947#include <stdarg.h>
3948#include <stdio.h>
3949struct stat;
3950/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3951struct buf { int x; };
3952FILE * (*rcsopen) (struct buf *, struct stat *, int);
3953static char *e (p, i)
3954     char **p;
3955     int i;
3956{
3957  return p[i];
3958}
3959static char *f (char * (*g) (char **, int), char **p, ...)
3960{
3961  char *s;
3962  va_list v;
3963  va_start (v,p);
3964  s = g (p, va_arg (v,int));
3965  va_end (v);
3966  return s;
3967}
3968
3969/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3970   function prototypes and stuff, but not '\xHH' hex character constants.
3971   These don't provoke an error unfortunately, instead are silently treated
3972   as 'x'.  The following induces an error, until -std is added to get
3973   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3974   array size at least.  It's necessary to write '\x00'==0 to get something
3975   that's true only with -std.  */
3976int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3977
3978/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3979   inside strings and character constants.  */
3980#define FOO(x) 'x'
3981int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3982
3983int test (int i, double x);
3984struct s1 {int (*f) (int a);};
3985struct s2 {int (*f) (double a);};
3986int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3987int argc;
3988char **argv;
3989int
3990main ()
3991{
3992return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3993  ;
3994  return 0;
3995}
3996_ACEOF
3997for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3998	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3999do
4000  CC="$ac_save_CC $ac_arg"
4001  if ac_fn_c_try_compile "$LINENO"; then :
4002  ac_cv_prog_cc_c89=$ac_arg
4003fi
4004rm -f core conftest.err conftest.$ac_objext
4005  test "x$ac_cv_prog_cc_c89" != "xno" && break
4006done
4007rm -f conftest.$ac_ext
4008CC=$ac_save_CC
4009
4010fi
4011# AC_CACHE_VAL
4012case "x$ac_cv_prog_cc_c89" in
4013  x)
4014    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4015$as_echo "none needed" >&6; } ;;
4016  xno)
4017    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4018$as_echo "unsupported" >&6; } ;;
4019  *)
4020    CC="$CC $ac_cv_prog_cc_c89"
4021    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4022$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4023esac
4024if test "x$ac_cv_prog_cc_c89" != xno; then :
4025
4026fi
4027
4028ac_ext=c
4029ac_cpp='$CPP $CPPFLAGS'
4030ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4031ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4032ac_compiler_gnu=$ac_cv_c_compiler_gnu
4033DEPDIR="${am__leading_dot}deps"
4034
4035ac_config_commands="$ac_config_commands depfiles"
4036
4037
4038am_make=${MAKE-make}
4039cat > confinc << 'END'
4040am__doit:
4041	@echo this is the am__doit target
4042.PHONY: am__doit
4043END
4044# If we don't find an include directive, just comment out the code.
4045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4046$as_echo_n "checking for style of include used by $am_make... " >&6; }
4047am__include="#"
4048am__quote=
4049_am_result=none
4050# First try GNU make style include.
4051echo "include confinc" > confmf
4052# Ignore all kinds of additional output from 'make'.
4053case `$am_make -s -f confmf 2> /dev/null` in #(
4054*the\ am__doit\ target*)
4055  am__include=include
4056  am__quote=
4057  _am_result=GNU
4058  ;;
4059esac
4060# Now try BSD make style include.
4061if test "$am__include" = "#"; then
4062   echo '.include "confinc"' > confmf
4063   case `$am_make -s -f confmf 2> /dev/null` in #(
4064   *the\ am__doit\ target*)
4065     am__include=.include
4066     am__quote="\""
4067     _am_result=BSD
4068     ;;
4069   esac
4070fi
4071
4072
4073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4074$as_echo "$_am_result" >&6; }
4075rm -f confinc confmf
4076
4077# Check whether --enable-dependency-tracking was given.
4078if test "${enable_dependency_tracking+set}" = set; then :
4079  enableval=$enable_dependency_tracking;
4080fi
4081
4082if test "x$enable_dependency_tracking" != xno; then
4083  am_depcomp="$ac_aux_dir/depcomp"
4084  AMDEPBACKSLASH='\'
4085  am__nodep='_no'
4086fi
4087 if test "x$enable_dependency_tracking" != xno; then
4088  AMDEP_TRUE=
4089  AMDEP_FALSE='#'
4090else
4091  AMDEP_TRUE='#'
4092  AMDEP_FALSE=
4093fi
4094
4095
4096
4097depcc="$CC"   am_compiler_list=
4098
4099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4100$as_echo_n "checking dependency style of $depcc... " >&6; }
4101if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4102  $as_echo_n "(cached) " >&6
4103else
4104  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4105  # We make a subdir and do the tests there.  Otherwise we can end up
4106  # making bogus files that we don't know about and never remove.  For
4107  # instance it was reported that on HP-UX the gcc test will end up
4108  # making a dummy file named 'D' -- because '-MD' means "put the output
4109  # in D".
4110  rm -rf conftest.dir
4111  mkdir conftest.dir
4112  # Copy depcomp to subdir because otherwise we won't find it if we're
4113  # using a relative directory.
4114  cp "$am_depcomp" conftest.dir
4115  cd conftest.dir
4116  # We will build objects and dependencies in a subdirectory because
4117  # it helps to detect inapplicable dependency modes.  For instance
4118  # both Tru64's cc and ICC support -MD to output dependencies as a
4119  # side effect of compilation, but ICC will put the dependencies in
4120  # the current directory while Tru64 will put them in the object
4121  # directory.
4122  mkdir sub
4123
4124  am_cv_CC_dependencies_compiler_type=none
4125  if test "$am_compiler_list" = ""; then
4126     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4127  fi
4128  am__universal=false
4129  case " $depcc " in #(
4130     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4131     esac
4132
4133  for depmode in $am_compiler_list; do
4134    # Setup a source with many dependencies, because some compilers
4135    # like to wrap large dependency lists on column 80 (with \), and
4136    # we should not choose a depcomp mode which is confused by this.
4137    #
4138    # We need to recreate these files for each test, as the compiler may
4139    # overwrite some of them when testing with obscure command lines.
4140    # This happens at least with the AIX C compiler.
4141    : > sub/conftest.c
4142    for i in 1 2 3 4 5 6; do
4143      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4144      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4145      # Solaris 10 /bin/sh.
4146      echo '/* dummy */' > sub/conftst$i.h
4147    done
4148    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4149
4150    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4151    # mode.  It turns out that the SunPro C++ compiler does not properly
4152    # handle '-M -o', and we need to detect this.  Also, some Intel
4153    # versions had trouble with output in subdirs.
4154    am__obj=sub/conftest.${OBJEXT-o}
4155    am__minus_obj="-o $am__obj"
4156    case $depmode in
4157    gcc)
4158      # This depmode causes a compiler race in universal mode.
4159      test "$am__universal" = false || continue
4160      ;;
4161    nosideeffect)
4162      # After this tag, mechanisms are not by side-effect, so they'll
4163      # only be used when explicitly requested.
4164      if test "x$enable_dependency_tracking" = xyes; then
4165	continue
4166      else
4167	break
4168      fi
4169      ;;
4170    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4171      # This compiler won't grok '-c -o', but also, the minuso test has
4172      # not run yet.  These depmodes are late enough in the game, and
4173      # so weak that their functioning should not be impacted.
4174      am__obj=conftest.${OBJEXT-o}
4175      am__minus_obj=
4176      ;;
4177    none) break ;;
4178    esac
4179    if depmode=$depmode \
4180       source=sub/conftest.c object=$am__obj \
4181       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4182       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4183         >/dev/null 2>conftest.err &&
4184       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4185       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4186       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4187       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4188      # icc doesn't choke on unknown options, it will just issue warnings
4189      # or remarks (even with -Werror).  So we grep stderr for any message
4190      # that says an option was ignored or not supported.
4191      # When given -MP, icc 7.0 and 7.1 complain thusly:
4192      #   icc: Command line warning: ignoring option '-M'; no argument required
4193      # The diagnosis changed in icc 8.0:
4194      #   icc: Command line remark: option '-MP' not supported
4195      if (grep 'ignoring option' conftest.err ||
4196          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4197        am_cv_CC_dependencies_compiler_type=$depmode
4198        break
4199      fi
4200    fi
4201  done
4202
4203  cd ..
4204  rm -rf conftest.dir
4205else
4206  am_cv_CC_dependencies_compiler_type=none
4207fi
4208
4209fi
4210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4211$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4212CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4213
4214 if
4215  test "x$enable_dependency_tracking" != xno \
4216  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4217  am__fastdepCC_TRUE=
4218  am__fastdepCC_FALSE='#'
4219else
4220  am__fastdepCC_TRUE='#'
4221  am__fastdepCC_FALSE=
4222fi
4223
4224
4225ac_ext=cpp
4226ac_cpp='$CXXCPP $CPPFLAGS'
4227ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4228ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4229ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4230if test -z "$CXX"; then
4231  if test -n "$CCC"; then
4232    CXX=$CCC
4233  else
4234    if test -n "$ac_tool_prefix"; then
4235  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4236  do
4237    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4238set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4240$as_echo_n "checking for $ac_word... " >&6; }
4241if ${ac_cv_prog_CXX+:} false; then :
4242  $as_echo_n "(cached) " >&6
4243else
4244  if test -n "$CXX"; then
4245  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4246else
4247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4248for as_dir in $PATH
4249do
4250  IFS=$as_save_IFS
4251  test -z "$as_dir" && as_dir=.
4252    for ac_exec_ext in '' $ac_executable_extensions; do
4253  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4254    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4255    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4256    break 2
4257  fi
4258done
4259  done
4260IFS=$as_save_IFS
4261
4262fi
4263fi
4264CXX=$ac_cv_prog_CXX
4265if test -n "$CXX"; then
4266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4267$as_echo "$CXX" >&6; }
4268else
4269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270$as_echo "no" >&6; }
4271fi
4272
4273
4274    test -n "$CXX" && break
4275  done
4276fi
4277if test -z "$CXX"; then
4278  ac_ct_CXX=$CXX
4279  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4280do
4281  # Extract the first word of "$ac_prog", so it can be a program name with args.
4282set dummy $ac_prog; ac_word=$2
4283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284$as_echo_n "checking for $ac_word... " >&6; }
4285if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4286  $as_echo_n "(cached) " >&6
4287else
4288  if test -n "$ac_ct_CXX"; then
4289  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4290else
4291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292for as_dir in $PATH
4293do
4294  IFS=$as_save_IFS
4295  test -z "$as_dir" && as_dir=.
4296    for ac_exec_ext in '' $ac_executable_extensions; do
4297  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298    ac_cv_prog_ac_ct_CXX="$ac_prog"
4299    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300    break 2
4301  fi
4302done
4303  done
4304IFS=$as_save_IFS
4305
4306fi
4307fi
4308ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4309if test -n "$ac_ct_CXX"; then
4310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4311$as_echo "$ac_ct_CXX" >&6; }
4312else
4313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314$as_echo "no" >&6; }
4315fi
4316
4317
4318  test -n "$ac_ct_CXX" && break
4319done
4320
4321  if test "x$ac_ct_CXX" = x; then
4322    CXX="g++"
4323  else
4324    case $cross_compiling:$ac_tool_warned in
4325yes:)
4326{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4327$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4328ac_tool_warned=yes ;;
4329esac
4330    CXX=$ac_ct_CXX
4331  fi
4332fi
4333
4334  fi
4335fi
4336# Provide some information about the compiler.
4337$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4338set X $ac_compile
4339ac_compiler=$2
4340for ac_option in --version -v -V -qversion; do
4341  { { ac_try="$ac_compiler $ac_option >&5"
4342case "(($ac_try" in
4343  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4344  *) ac_try_echo=$ac_try;;
4345esac
4346eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4347$as_echo "$ac_try_echo"; } >&5
4348  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4349  ac_status=$?
4350  if test -s conftest.err; then
4351    sed '10a\
4352... rest of stderr output deleted ...
4353         10q' conftest.err >conftest.er1
4354    cat conftest.er1 >&5
4355  fi
4356  rm -f conftest.er1 conftest.err
4357  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4358  test $ac_status = 0; }
4359done
4360
4361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4362$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4363if ${ac_cv_cxx_compiler_gnu+:} false; then :
4364  $as_echo_n "(cached) " >&6
4365else
4366  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367/* end confdefs.h.  */
4368
4369int
4370main ()
4371{
4372#ifndef __GNUC__
4373       choke me
4374#endif
4375
4376  ;
4377  return 0;
4378}
4379_ACEOF
4380if ac_fn_cxx_try_compile "$LINENO"; then :
4381  ac_compiler_gnu=yes
4382else
4383  ac_compiler_gnu=no
4384fi
4385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4386ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4387
4388fi
4389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4390$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4391if test $ac_compiler_gnu = yes; then
4392  GXX=yes
4393else
4394  GXX=
4395fi
4396ac_test_CXXFLAGS=${CXXFLAGS+set}
4397ac_save_CXXFLAGS=$CXXFLAGS
4398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4399$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4400if ${ac_cv_prog_cxx_g+:} false; then :
4401  $as_echo_n "(cached) " >&6
4402else
4403  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4404   ac_cxx_werror_flag=yes
4405   ac_cv_prog_cxx_g=no
4406   CXXFLAGS="-g"
4407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4408/* end confdefs.h.  */
4409
4410int
4411main ()
4412{
4413
4414  ;
4415  return 0;
4416}
4417_ACEOF
4418if ac_fn_cxx_try_compile "$LINENO"; then :
4419  ac_cv_prog_cxx_g=yes
4420else
4421  CXXFLAGS=""
4422      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423/* end confdefs.h.  */
4424
4425int
4426main ()
4427{
4428
4429  ;
4430  return 0;
4431}
4432_ACEOF
4433if ac_fn_cxx_try_compile "$LINENO"; then :
4434
4435else
4436  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4437	 CXXFLAGS="-g"
4438	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4439/* end confdefs.h.  */
4440
4441int
4442main ()
4443{
4444
4445  ;
4446  return 0;
4447}
4448_ACEOF
4449if ac_fn_cxx_try_compile "$LINENO"; then :
4450  ac_cv_prog_cxx_g=yes
4451fi
4452rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4453fi
4454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4455fi
4456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4457   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4458fi
4459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4460$as_echo "$ac_cv_prog_cxx_g" >&6; }
4461if test "$ac_test_CXXFLAGS" = set; then
4462  CXXFLAGS=$ac_save_CXXFLAGS
4463elif test $ac_cv_prog_cxx_g = yes; then
4464  if test "$GXX" = yes; then
4465    CXXFLAGS="-g -O2"
4466  else
4467    CXXFLAGS="-g"
4468  fi
4469else
4470  if test "$GXX" = yes; then
4471    CXXFLAGS="-O2"
4472  else
4473    CXXFLAGS=
4474  fi
4475fi
4476ac_ext=c
4477ac_cpp='$CPP $CPPFLAGS'
4478ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4479ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4480ac_compiler_gnu=$ac_cv_c_compiler_gnu
4481
4482depcc="$CXX"  am_compiler_list=
4483
4484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4485$as_echo_n "checking dependency style of $depcc... " >&6; }
4486if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4487  $as_echo_n "(cached) " >&6
4488else
4489  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4490  # We make a subdir and do the tests there.  Otherwise we can end up
4491  # making bogus files that we don't know about and never remove.  For
4492  # instance it was reported that on HP-UX the gcc test will end up
4493  # making a dummy file named 'D' -- because '-MD' means "put the output
4494  # in D".
4495  rm -rf conftest.dir
4496  mkdir conftest.dir
4497  # Copy depcomp to subdir because otherwise we won't find it if we're
4498  # using a relative directory.
4499  cp "$am_depcomp" conftest.dir
4500  cd conftest.dir
4501  # We will build objects and dependencies in a subdirectory because
4502  # it helps to detect inapplicable dependency modes.  For instance
4503  # both Tru64's cc and ICC support -MD to output dependencies as a
4504  # side effect of compilation, but ICC will put the dependencies in
4505  # the current directory while Tru64 will put them in the object
4506  # directory.
4507  mkdir sub
4508
4509  am_cv_CXX_dependencies_compiler_type=none
4510  if test "$am_compiler_list" = ""; then
4511     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4512  fi
4513  am__universal=false
4514  case " $depcc " in #(
4515     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4516     esac
4517
4518  for depmode in $am_compiler_list; do
4519    # Setup a source with many dependencies, because some compilers
4520    # like to wrap large dependency lists on column 80 (with \), and
4521    # we should not choose a depcomp mode which is confused by this.
4522    #
4523    # We need to recreate these files for each test, as the compiler may
4524    # overwrite some of them when testing with obscure command lines.
4525    # This happens at least with the AIX C compiler.
4526    : > sub/conftest.c
4527    for i in 1 2 3 4 5 6; do
4528      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4529      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4530      # Solaris 10 /bin/sh.
4531      echo '/* dummy */' > sub/conftst$i.h
4532    done
4533    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4534
4535    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4536    # mode.  It turns out that the SunPro C++ compiler does not properly
4537    # handle '-M -o', and we need to detect this.  Also, some Intel
4538    # versions had trouble with output in subdirs.
4539    am__obj=sub/conftest.${OBJEXT-o}
4540    am__minus_obj="-o $am__obj"
4541    case $depmode in
4542    gcc)
4543      # This depmode causes a compiler race in universal mode.
4544      test "$am__universal" = false || continue
4545      ;;
4546    nosideeffect)
4547      # After this tag, mechanisms are not by side-effect, so they'll
4548      # only be used when explicitly requested.
4549      if test "x$enable_dependency_tracking" = xyes; then
4550	continue
4551      else
4552	break
4553      fi
4554      ;;
4555    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4556      # This compiler won't grok '-c -o', but also, the minuso test has
4557      # not run yet.  These depmodes are late enough in the game, and
4558      # so weak that their functioning should not be impacted.
4559      am__obj=conftest.${OBJEXT-o}
4560      am__minus_obj=
4561      ;;
4562    none) break ;;
4563    esac
4564    if depmode=$depmode \
4565       source=sub/conftest.c object=$am__obj \
4566       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4567       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4568         >/dev/null 2>conftest.err &&
4569       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4570       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4571       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4572       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4573      # icc doesn't choke on unknown options, it will just issue warnings
4574      # or remarks (even with -Werror).  So we grep stderr for any message
4575      # that says an option was ignored or not supported.
4576      # When given -MP, icc 7.0 and 7.1 complain thusly:
4577      #   icc: Command line warning: ignoring option '-M'; no argument required
4578      # The diagnosis changed in icc 8.0:
4579      #   icc: Command line remark: option '-MP' not supported
4580      if (grep 'ignoring option' conftest.err ||
4581          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4582        am_cv_CXX_dependencies_compiler_type=$depmode
4583        break
4584      fi
4585    fi
4586  done
4587
4588  cd ..
4589  rm -rf conftest.dir
4590else
4591  am_cv_CXX_dependencies_compiler_type=none
4592fi
4593
4594fi
4595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4596$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4597CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4598
4599 if
4600  test "x$enable_dependency_tracking" != xno \
4601  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4602  am__fastdepCXX_TRUE=
4603  am__fastdepCXX_FALSE='#'
4604else
4605  am__fastdepCXX_TRUE='#'
4606  am__fastdepCXX_FALSE=
4607fi
4608
4609
4610
4611  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4612$as_echo_n "checking whether NLS is requested... " >&6; }
4613    # Check whether --enable-nls was given.
4614if test "${enable_nls+set}" = set; then :
4615  enableval=$enable_nls; USE_NLS=$enableval
4616else
4617  USE_NLS=yes
4618fi
4619
4620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4621$as_echo "$USE_NLS" >&6; }
4622
4623
4624
4625
4626
4627case "$am__api_version" in
4628    1.01234)
4629	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4630    ;;
4631    *)
4632    ;;
4633esac
4634
4635INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4636INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4637INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4638if test -n "0.35.0"; then
4639    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
4640$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
4641    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4642$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4643    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4644	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
4645fi
4646
4647# Extract the first word of "intltool-update", so it can be a program name with args.
4648set dummy intltool-update; ac_word=$2
4649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4650$as_echo_n "checking for $ac_word... " >&6; }
4651if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4652  $as_echo_n "(cached) " >&6
4653else
4654  case $INTLTOOL_UPDATE in
4655  [\\/]* | ?:[\\/]*)
4656  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4657  ;;
4658  *)
4659  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660for as_dir in $PATH
4661do
4662  IFS=$as_save_IFS
4663  test -z "$as_dir" && as_dir=.
4664    for ac_exec_ext in '' $ac_executable_extensions; do
4665  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4667    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668    break 2
4669  fi
4670done
4671  done
4672IFS=$as_save_IFS
4673
4674  ;;
4675esac
4676fi
4677INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4678if test -n "$INTLTOOL_UPDATE"; then
4679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4680$as_echo "$INTLTOOL_UPDATE" >&6; }
4681else
4682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683$as_echo "no" >&6; }
4684fi
4685
4686
4687# Extract the first word of "intltool-merge", so it can be a program name with args.
4688set dummy intltool-merge; ac_word=$2
4689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4690$as_echo_n "checking for $ac_word... " >&6; }
4691if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4692  $as_echo_n "(cached) " >&6
4693else
4694  case $INTLTOOL_MERGE in
4695  [\\/]* | ?:[\\/]*)
4696  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4697  ;;
4698  *)
4699  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700for as_dir in $PATH
4701do
4702  IFS=$as_save_IFS
4703  test -z "$as_dir" && as_dir=.
4704    for ac_exec_ext in '' $ac_executable_extensions; do
4705  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4706    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4707    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4708    break 2
4709  fi
4710done
4711  done
4712IFS=$as_save_IFS
4713
4714  ;;
4715esac
4716fi
4717INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4718if test -n "$INTLTOOL_MERGE"; then
4719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4720$as_echo "$INTLTOOL_MERGE" >&6; }
4721else
4722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723$as_echo "no" >&6; }
4724fi
4725
4726
4727# Extract the first word of "intltool-extract", so it can be a program name with args.
4728set dummy intltool-extract; ac_word=$2
4729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4730$as_echo_n "checking for $ac_word... " >&6; }
4731if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4732  $as_echo_n "(cached) " >&6
4733else
4734  case $INTLTOOL_EXTRACT in
4735  [\\/]* | ?:[\\/]*)
4736  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4737  ;;
4738  *)
4739  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740for as_dir in $PATH
4741do
4742  IFS=$as_save_IFS
4743  test -z "$as_dir" && as_dir=.
4744    for ac_exec_ext in '' $ac_executable_extensions; do
4745  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4746    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4747    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4748    break 2
4749  fi
4750done
4751  done
4752IFS=$as_save_IFS
4753
4754  ;;
4755esac
4756fi
4757INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4758if test -n "$INTLTOOL_EXTRACT"; then
4759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4760$as_echo "$INTLTOOL_EXTRACT" >&6; }
4761else
4762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763$as_echo "no" >&6; }
4764fi
4765
4766
4767if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4768    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4769fi
4770
4771if test -z "$AM_DEFAULT_VERBOSITY"; then
4772  AM_DEFAULT_VERBOSITY=1
4773fi
4774
4775
4776INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
4777INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
4778INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
4779
4780
4781
4782
4783INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
4784intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
4785intltool__v_merge_options_0='-q'
4786
4787
4788
4789
4790  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 $< $@'
4791INTLTOOL_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 $< $@'
4792     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 $< $@'
4793     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 $< $@'
4794      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 $< $@'
4795     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 $< $@'
4796   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 $< $@'
4797    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 $< $@'
4798INTLTOOL_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 $< $@'
4799       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 $< $@'
4800      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 $< $@'
4801if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
4802      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 $< $@'
4803else
4804      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'
4805fi
4806      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 $< $@'
4807      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 $< $@'
4808    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 $< $@'
4809  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 $< $@'
4810    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 $< $@'
4811    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 $< $@'
4812   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 $< $@'
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910# Check the gettext tools to make sure they are GNU
4911# Extract the first word of "xgettext", so it can be a program name with args.
4912set dummy xgettext; ac_word=$2
4913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4914$as_echo_n "checking for $ac_word... " >&6; }
4915if ${ac_cv_path_XGETTEXT+:} false; then :
4916  $as_echo_n "(cached) " >&6
4917else
4918  case $XGETTEXT in
4919  [\\/]* | ?:[\\/]*)
4920  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4921  ;;
4922  *)
4923  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4924for as_dir in $PATH
4925do
4926  IFS=$as_save_IFS
4927  test -z "$as_dir" && as_dir=.
4928    for ac_exec_ext in '' $ac_executable_extensions; do
4929  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4930    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4931    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4932    break 2
4933  fi
4934done
4935  done
4936IFS=$as_save_IFS
4937
4938  ;;
4939esac
4940fi
4941XGETTEXT=$ac_cv_path_XGETTEXT
4942if test -n "$XGETTEXT"; then
4943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4944$as_echo "$XGETTEXT" >&6; }
4945else
4946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947$as_echo "no" >&6; }
4948fi
4949
4950
4951# Extract the first word of "msgmerge", so it can be a program name with args.
4952set dummy msgmerge; ac_word=$2
4953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954$as_echo_n "checking for $ac_word... " >&6; }
4955if ${ac_cv_path_MSGMERGE+:} false; then :
4956  $as_echo_n "(cached) " >&6
4957else
4958  case $MSGMERGE in
4959  [\\/]* | ?:[\\/]*)
4960  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4961  ;;
4962  *)
4963  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4964for as_dir in $PATH
4965do
4966  IFS=$as_save_IFS
4967  test -z "$as_dir" && as_dir=.
4968    for ac_exec_ext in '' $ac_executable_extensions; do
4969  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4970    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4971    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4972    break 2
4973  fi
4974done
4975  done
4976IFS=$as_save_IFS
4977
4978  ;;
4979esac
4980fi
4981MSGMERGE=$ac_cv_path_MSGMERGE
4982if test -n "$MSGMERGE"; then
4983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4984$as_echo "$MSGMERGE" >&6; }
4985else
4986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4987$as_echo "no" >&6; }
4988fi
4989
4990
4991# Extract the first word of "msgfmt", so it can be a program name with args.
4992set dummy msgfmt; ac_word=$2
4993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4994$as_echo_n "checking for $ac_word... " >&6; }
4995if ${ac_cv_path_MSGFMT+:} false; then :
4996  $as_echo_n "(cached) " >&6
4997else
4998  case $MSGFMT in
4999  [\\/]* | ?:[\\/]*)
5000  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5001  ;;
5002  *)
5003  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004for as_dir in $PATH
5005do
5006  IFS=$as_save_IFS
5007  test -z "$as_dir" && as_dir=.
5008    for ac_exec_ext in '' $ac_executable_extensions; do
5009  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5010    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5011    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012    break 2
5013  fi
5014done
5015  done
5016IFS=$as_save_IFS
5017
5018  ;;
5019esac
5020fi
5021MSGFMT=$ac_cv_path_MSGFMT
5022if test -n "$MSGFMT"; then
5023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5024$as_echo "$MSGFMT" >&6; }
5025else
5026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027$as_echo "no" >&6; }
5028fi
5029
5030
5031# Extract the first word of "gmsgfmt", so it can be a program name with args.
5032set dummy gmsgfmt; ac_word=$2
5033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034$as_echo_n "checking for $ac_word... " >&6; }
5035if ${ac_cv_path_GMSGFMT+:} false; then :
5036  $as_echo_n "(cached) " >&6
5037else
5038  case $GMSGFMT in
5039  [\\/]* | ?:[\\/]*)
5040  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5041  ;;
5042  *)
5043  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044for as_dir in $PATH
5045do
5046  IFS=$as_save_IFS
5047  test -z "$as_dir" && as_dir=.
5048    for ac_exec_ext in '' $ac_executable_extensions; do
5049  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5050    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5051    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052    break 2
5053  fi
5054done
5055  done
5056IFS=$as_save_IFS
5057
5058  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5059  ;;
5060esac
5061fi
5062GMSGFMT=$ac_cv_path_GMSGFMT
5063if test -n "$GMSGFMT"; then
5064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5065$as_echo "$GMSGFMT" >&6; }
5066else
5067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068$as_echo "no" >&6; }
5069fi
5070
5071
5072if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5073    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5074fi
5075xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5076mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5077mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5078if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5079    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5080fi
5081
5082# Extract the first word of "perl", so it can be a program name with args.
5083set dummy perl; ac_word=$2
5084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5085$as_echo_n "checking for $ac_word... " >&6; }
5086if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
5087  $as_echo_n "(cached) " >&6
5088else
5089  case $INTLTOOL_PERL in
5090  [\\/]* | ?:[\\/]*)
5091  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
5092  ;;
5093  *)
5094  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095for as_dir in $PATH
5096do
5097  IFS=$as_save_IFS
5098  test -z "$as_dir" && as_dir=.
5099    for ac_exec_ext in '' $ac_executable_extensions; do
5100  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5101    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
5102    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5103    break 2
5104  fi
5105done
5106  done
5107IFS=$as_save_IFS
5108
5109  ;;
5110esac
5111fi
5112INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
5113if test -n "$INTLTOOL_PERL"; then
5114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5115$as_echo "$INTLTOOL_PERL" >&6; }
5116else
5117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118$as_echo "no" >&6; }
5119fi
5120
5121
5122if test -z "$INTLTOOL_PERL"; then
5123   as_fn_error $? "perl not found" "$LINENO" 5
5124fi
5125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5126$as_echo_n "checking for perl >= 5.8.1... " >&6; }
5127$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5128if test $? -ne 0; then
5129   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
5130else
5131   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
5132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5133$as_echo "$IT_PERL_VERSION" >&6; }
5134fi
5135if test "x" != "xno-xml"; then
5136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5137$as_echo_n "checking for XML::Parser... " >&6; }
5138   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5139       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5140$as_echo "ok" >&6; }
5141   else
5142       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
5143   fi
5144fi
5145
5146# Substitute ALL_LINGUAS so we can use it in po/Makefile
5147
5148
5149# Set DATADIRNAME correctly if it is not set yet
5150# (copied from glib-gettext.m4)
5151if test -z "$DATADIRNAME"; then
5152  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153/* end confdefs.h.  */
5154
5155int
5156main ()
5157{
5158extern int _nl_msg_cat_cntr;
5159                       return _nl_msg_cat_cntr
5160  ;
5161  return 0;
5162}
5163_ACEOF
5164if ac_fn_c_try_link "$LINENO"; then :
5165  DATADIRNAME=share
5166else
5167  case $host in
5168    *-*-solaris*)
5169                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5170if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5171  DATADIRNAME=share
5172else
5173  DATADIRNAME=share
5174fi
5175
5176    ;;
5177    *)
5178    DATADIRNAME=share
5179    ;;
5180    esac
5181fi
5182rm -f core conftest.err conftest.$ac_objext \
5183    conftest$ac_exeext conftest.$ac_ext
5184fi
5185
5186
5187
5188
5189
5190case `pwd` in
5191  *\ * | *\	*)
5192    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5193$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5194esac
5195
5196
5197
5198macro_version='2.4.2'
5199macro_revision='1.3337'
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213ltmain="$ac_aux_dir/ltmain.sh"
5214
5215# Make sure we can run config.sub.
5216$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5217  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5218
5219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5220$as_echo_n "checking build system type... " >&6; }
5221if ${ac_cv_build+:} false; then :
5222  $as_echo_n "(cached) " >&6
5223else
5224  ac_build_alias=$build_alias
5225test "x$ac_build_alias" = x &&
5226  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5227test "x$ac_build_alias" = x &&
5228  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5229ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5230  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5231
5232fi
5233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5234$as_echo "$ac_cv_build" >&6; }
5235case $ac_cv_build in
5236*-*-*) ;;
5237*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5238esac
5239build=$ac_cv_build
5240ac_save_IFS=$IFS; IFS='-'
5241set x $ac_cv_build
5242shift
5243build_cpu=$1
5244build_vendor=$2
5245shift; shift
5246# Remember, the first character of IFS is used to create $*,
5247# except with old shells:
5248build_os=$*
5249IFS=$ac_save_IFS
5250case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5251
5252
5253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5254$as_echo_n "checking host system type... " >&6; }
5255if ${ac_cv_host+:} false; then :
5256  $as_echo_n "(cached) " >&6
5257else
5258  if test "x$host_alias" = x; then
5259  ac_cv_host=$ac_cv_build
5260else
5261  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5262    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5263fi
5264
5265fi
5266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5267$as_echo "$ac_cv_host" >&6; }
5268case $ac_cv_host in
5269*-*-*) ;;
5270*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5271esac
5272host=$ac_cv_host
5273ac_save_IFS=$IFS; IFS='-'
5274set x $ac_cv_host
5275shift
5276host_cpu=$1
5277host_vendor=$2
5278shift; shift
5279# Remember, the first character of IFS is used to create $*,
5280# except with old shells:
5281host_os=$*
5282IFS=$ac_save_IFS
5283case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5284
5285
5286# Backslashify metacharacters that are still active within
5287# double-quoted strings.
5288sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5289
5290# Same as above, but do not quote variable references.
5291double_quote_subst='s/\(["`\\]\)/\\\1/g'
5292
5293# Sed substitution to delay expansion of an escaped shell variable in a
5294# double_quote_subst'ed string.
5295delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5296
5297# Sed substitution to delay expansion of an escaped single quote.
5298delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5299
5300# Sed substitution to avoid accidental globbing in evaled expressions
5301no_glob_subst='s/\*/\\\*/g'
5302
5303ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5304ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5305ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5306
5307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5308$as_echo_n "checking how to print strings... " >&6; }
5309# Test print first, because it will be a builtin if present.
5310if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5311   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5312  ECHO='print -r --'
5313elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5314  ECHO='printf %s\n'
5315else
5316  # Use this function as a fallback that always works.
5317  func_fallback_echo ()
5318  {
5319    eval 'cat <<_LTECHO_EOF
5320$1
5321_LTECHO_EOF'
5322  }
5323  ECHO='func_fallback_echo'
5324fi
5325
5326# func_echo_all arg...
5327# Invoke $ECHO with all args, space-separated.
5328func_echo_all ()
5329{
5330    $ECHO ""
5331}
5332
5333case "$ECHO" in
5334  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5335$as_echo "printf" >&6; } ;;
5336  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5337$as_echo "print -r" >&6; } ;;
5338  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5339$as_echo "cat" >&6; } ;;
5340esac
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5356$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5357if ${ac_cv_path_SED+:} false; then :
5358  $as_echo_n "(cached) " >&6
5359else
5360            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5361     for ac_i in 1 2 3 4 5 6 7; do
5362       ac_script="$ac_script$as_nl$ac_script"
5363     done
5364     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5365     { ac_script=; unset ac_script;}
5366     if test -z "$SED"; then
5367  ac_path_SED_found=false
5368  # Loop through the user's path and test for each of PROGNAME-LIST
5369  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370for as_dir in $PATH
5371do
5372  IFS=$as_save_IFS
5373  test -z "$as_dir" && as_dir=.
5374    for ac_prog in sed gsed; do
5375    for ac_exec_ext in '' $ac_executable_extensions; do
5376      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5377      as_fn_executable_p "$ac_path_SED" || continue
5378# Check for GNU ac_path_SED and select it if it is found.
5379  # Check for GNU $ac_path_SED
5380case `"$ac_path_SED" --version 2>&1` in
5381*GNU*)
5382  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5383*)
5384  ac_count=0
5385  $as_echo_n 0123456789 >"conftest.in"
5386  while :
5387  do
5388    cat "conftest.in" "conftest.in" >"conftest.tmp"
5389    mv "conftest.tmp" "conftest.in"
5390    cp "conftest.in" "conftest.nl"
5391    $as_echo '' >> "conftest.nl"
5392    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5393    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5394    as_fn_arith $ac_count + 1 && ac_count=$as_val
5395    if test $ac_count -gt ${ac_path_SED_max-0}; then
5396      # Best one so far, save it but keep looking for a better one
5397      ac_cv_path_SED="$ac_path_SED"
5398      ac_path_SED_max=$ac_count
5399    fi
5400    # 10*(2^10) chars as input seems more than enough
5401    test $ac_count -gt 10 && break
5402  done
5403  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5404esac
5405
5406      $ac_path_SED_found && break 3
5407    done
5408  done
5409  done
5410IFS=$as_save_IFS
5411  if test -z "$ac_cv_path_SED"; then
5412    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5413  fi
5414else
5415  ac_cv_path_SED=$SED
5416fi
5417
5418fi
5419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5420$as_echo "$ac_cv_path_SED" >&6; }
5421 SED="$ac_cv_path_SED"
5422  rm -f conftest.sed
5423
5424test -z "$SED" && SED=sed
5425Xsed="$SED -e 1s/^X//"
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5438$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5439if ${ac_cv_path_GREP+:} false; then :
5440  $as_echo_n "(cached) " >&6
5441else
5442  if test -z "$GREP"; then
5443  ac_path_GREP_found=false
5444  # Loop through the user's path and test for each of PROGNAME-LIST
5445  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5447do
5448  IFS=$as_save_IFS
5449  test -z "$as_dir" && as_dir=.
5450    for ac_prog in grep ggrep; do
5451    for ac_exec_ext in '' $ac_executable_extensions; do
5452      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5453      as_fn_executable_p "$ac_path_GREP" || continue
5454# Check for GNU ac_path_GREP and select it if it is found.
5455  # Check for GNU $ac_path_GREP
5456case `"$ac_path_GREP" --version 2>&1` in
5457*GNU*)
5458  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5459*)
5460  ac_count=0
5461  $as_echo_n 0123456789 >"conftest.in"
5462  while :
5463  do
5464    cat "conftest.in" "conftest.in" >"conftest.tmp"
5465    mv "conftest.tmp" "conftest.in"
5466    cp "conftest.in" "conftest.nl"
5467    $as_echo 'GREP' >> "conftest.nl"
5468    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5469    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5470    as_fn_arith $ac_count + 1 && ac_count=$as_val
5471    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5472      # Best one so far, save it but keep looking for a better one
5473      ac_cv_path_GREP="$ac_path_GREP"
5474      ac_path_GREP_max=$ac_count
5475    fi
5476    # 10*(2^10) chars as input seems more than enough
5477    test $ac_count -gt 10 && break
5478  done
5479  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5480esac
5481
5482      $ac_path_GREP_found && break 3
5483    done
5484  done
5485  done
5486IFS=$as_save_IFS
5487  if test -z "$ac_cv_path_GREP"; then
5488    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5489  fi
5490else
5491  ac_cv_path_GREP=$GREP
5492fi
5493
5494fi
5495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5496$as_echo "$ac_cv_path_GREP" >&6; }
5497 GREP="$ac_cv_path_GREP"
5498
5499
5500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5501$as_echo_n "checking for egrep... " >&6; }
5502if ${ac_cv_path_EGREP+:} false; then :
5503  $as_echo_n "(cached) " >&6
5504else
5505  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5506   then ac_cv_path_EGREP="$GREP -E"
5507   else
5508     if test -z "$EGREP"; then
5509  ac_path_EGREP_found=false
5510  # Loop through the user's path and test for each of PROGNAME-LIST
5511  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5513do
5514  IFS=$as_save_IFS
5515  test -z "$as_dir" && as_dir=.
5516    for ac_prog in egrep; do
5517    for ac_exec_ext in '' $ac_executable_extensions; do
5518      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5519      as_fn_executable_p "$ac_path_EGREP" || continue
5520# Check for GNU ac_path_EGREP and select it if it is found.
5521  # Check for GNU $ac_path_EGREP
5522case `"$ac_path_EGREP" --version 2>&1` in
5523*GNU*)
5524  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5525*)
5526  ac_count=0
5527  $as_echo_n 0123456789 >"conftest.in"
5528  while :
5529  do
5530    cat "conftest.in" "conftest.in" >"conftest.tmp"
5531    mv "conftest.tmp" "conftest.in"
5532    cp "conftest.in" "conftest.nl"
5533    $as_echo 'EGREP' >> "conftest.nl"
5534    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5535    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5536    as_fn_arith $ac_count + 1 && ac_count=$as_val
5537    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5538      # Best one so far, save it but keep looking for a better one
5539      ac_cv_path_EGREP="$ac_path_EGREP"
5540      ac_path_EGREP_max=$ac_count
5541    fi
5542    # 10*(2^10) chars as input seems more than enough
5543    test $ac_count -gt 10 && break
5544  done
5545  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5546esac
5547
5548      $ac_path_EGREP_found && break 3
5549    done
5550  done
5551  done
5552IFS=$as_save_IFS
5553  if test -z "$ac_cv_path_EGREP"; then
5554    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5555  fi
5556else
5557  ac_cv_path_EGREP=$EGREP
5558fi
5559
5560   fi
5561fi
5562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5563$as_echo "$ac_cv_path_EGREP" >&6; }
5564 EGREP="$ac_cv_path_EGREP"
5565
5566
5567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5568$as_echo_n "checking for fgrep... " >&6; }
5569if ${ac_cv_path_FGREP+:} false; then :
5570  $as_echo_n "(cached) " >&6
5571else
5572  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5573   then ac_cv_path_FGREP="$GREP -F"
5574   else
5575     if test -z "$FGREP"; then
5576  ac_path_FGREP_found=false
5577  # Loop through the user's path and test for each of PROGNAME-LIST
5578  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5580do
5581  IFS=$as_save_IFS
5582  test -z "$as_dir" && as_dir=.
5583    for ac_prog in fgrep; do
5584    for ac_exec_ext in '' $ac_executable_extensions; do
5585      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5586      as_fn_executable_p "$ac_path_FGREP" || continue
5587# Check for GNU ac_path_FGREP and select it if it is found.
5588  # Check for GNU $ac_path_FGREP
5589case `"$ac_path_FGREP" --version 2>&1` in
5590*GNU*)
5591  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5592*)
5593  ac_count=0
5594  $as_echo_n 0123456789 >"conftest.in"
5595  while :
5596  do
5597    cat "conftest.in" "conftest.in" >"conftest.tmp"
5598    mv "conftest.tmp" "conftest.in"
5599    cp "conftest.in" "conftest.nl"
5600    $as_echo 'FGREP' >> "conftest.nl"
5601    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5602    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5603    as_fn_arith $ac_count + 1 && ac_count=$as_val
5604    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5605      # Best one so far, save it but keep looking for a better one
5606      ac_cv_path_FGREP="$ac_path_FGREP"
5607      ac_path_FGREP_max=$ac_count
5608    fi
5609    # 10*(2^10) chars as input seems more than enough
5610    test $ac_count -gt 10 && break
5611  done
5612  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5613esac
5614
5615      $ac_path_FGREP_found && break 3
5616    done
5617  done
5618  done
5619IFS=$as_save_IFS
5620  if test -z "$ac_cv_path_FGREP"; then
5621    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5622  fi
5623else
5624  ac_cv_path_FGREP=$FGREP
5625fi
5626
5627   fi
5628fi
5629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5630$as_echo "$ac_cv_path_FGREP" >&6; }
5631 FGREP="$ac_cv_path_FGREP"
5632
5633
5634test -z "$GREP" && GREP=grep
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654# Check whether --with-gnu-ld was given.
5655if test "${with_gnu_ld+set}" = set; then :
5656  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5657else
5658  with_gnu_ld=no
5659fi
5660
5661ac_prog=ld
5662if test "$GCC" = yes; then
5663  # Check if gcc -print-prog-name=ld gives a path.
5664  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5665$as_echo_n "checking for ld used by $CC... " >&6; }
5666  case $host in
5667  *-*-mingw*)
5668    # gcc leaves a trailing carriage return which upsets mingw
5669    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5670  *)
5671    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5672  esac
5673  case $ac_prog in
5674    # Accept absolute paths.
5675    [\\/]* | ?:[\\/]*)
5676      re_direlt='/[^/][^/]*/\.\./'
5677      # Canonicalize the pathname of ld
5678      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5679      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5680	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5681      done
5682      test -z "$LD" && LD="$ac_prog"
5683      ;;
5684  "")
5685    # If it fails, then pretend we aren't using GCC.
5686    ac_prog=ld
5687    ;;
5688  *)
5689    # If it is relative, then search for the first ld in PATH.
5690    with_gnu_ld=unknown
5691    ;;
5692  esac
5693elif test "$with_gnu_ld" = yes; then
5694  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5695$as_echo_n "checking for GNU ld... " >&6; }
5696else
5697  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5698$as_echo_n "checking for non-GNU ld... " >&6; }
5699fi
5700if ${lt_cv_path_LD+:} false; then :
5701  $as_echo_n "(cached) " >&6
5702else
5703  if test -z "$LD"; then
5704  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5705  for ac_dir in $PATH; do
5706    IFS="$lt_save_ifs"
5707    test -z "$ac_dir" && ac_dir=.
5708    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5709      lt_cv_path_LD="$ac_dir/$ac_prog"
5710      # Check to see if the program is GNU ld.  I'd rather use --version,
5711      # but apparently some variants of GNU ld only accept -v.
5712      # Break only if it was the GNU/non-GNU ld that we prefer.
5713      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5714      *GNU* | *'with BFD'*)
5715	test "$with_gnu_ld" != no && break
5716	;;
5717      *)
5718	test "$with_gnu_ld" != yes && break
5719	;;
5720      esac
5721    fi
5722  done
5723  IFS="$lt_save_ifs"
5724else
5725  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5726fi
5727fi
5728
5729LD="$lt_cv_path_LD"
5730if test -n "$LD"; then
5731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5732$as_echo "$LD" >&6; }
5733else
5734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735$as_echo "no" >&6; }
5736fi
5737test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5739$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5740if ${lt_cv_prog_gnu_ld+:} false; then :
5741  $as_echo_n "(cached) " >&6
5742else
5743  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5744case `$LD -v 2>&1 </dev/null` in
5745*GNU* | *'with BFD'*)
5746  lt_cv_prog_gnu_ld=yes
5747  ;;
5748*)
5749  lt_cv_prog_gnu_ld=no
5750  ;;
5751esac
5752fi
5753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5754$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5755with_gnu_ld=$lt_cv_prog_gnu_ld
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5766$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5767if ${lt_cv_path_NM+:} false; then :
5768  $as_echo_n "(cached) " >&6
5769else
5770  if test -n "$NM"; then
5771  # Let the user override the test.
5772  lt_cv_path_NM="$NM"
5773else
5774  lt_nm_to_check="${ac_tool_prefix}nm"
5775  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5776    lt_nm_to_check="$lt_nm_to_check nm"
5777  fi
5778  for lt_tmp_nm in $lt_nm_to_check; do
5779    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5780    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5781      IFS="$lt_save_ifs"
5782      test -z "$ac_dir" && ac_dir=.
5783      tmp_nm="$ac_dir/$lt_tmp_nm"
5784      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5785	# Check to see if the nm accepts a BSD-compat flag.
5786	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5787	#   nm: unknown option "B" ignored
5788	# Tru64's nm complains that /dev/null is an invalid object file
5789	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5790	*/dev/null* | *'Invalid file or object type'*)
5791	  lt_cv_path_NM="$tmp_nm -B"
5792	  break
5793	  ;;
5794	*)
5795	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5796	  */dev/null*)
5797	    lt_cv_path_NM="$tmp_nm -p"
5798	    break
5799	    ;;
5800	  *)
5801	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5802	    continue # so that we can try to find one that supports BSD flags
5803	    ;;
5804	  esac
5805	  ;;
5806	esac
5807      fi
5808    done
5809    IFS="$lt_save_ifs"
5810  done
5811  : ${lt_cv_path_NM=no}
5812fi
5813fi
5814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5815$as_echo "$lt_cv_path_NM" >&6; }
5816if test "$lt_cv_path_NM" != "no"; then
5817  NM="$lt_cv_path_NM"
5818else
5819  # Didn't find any BSD compatible name lister, look for dumpbin.
5820  if test -n "$DUMPBIN"; then :
5821    # Let the user override the test.
5822  else
5823    if test -n "$ac_tool_prefix"; then
5824  for ac_prog in dumpbin "link -dump"
5825  do
5826    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5827set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829$as_echo_n "checking for $ac_word... " >&6; }
5830if ${ac_cv_prog_DUMPBIN+:} false; then :
5831  $as_echo_n "(cached) " >&6
5832else
5833  if test -n "$DUMPBIN"; then
5834  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5835else
5836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837for as_dir in $PATH
5838do
5839  IFS=$as_save_IFS
5840  test -z "$as_dir" && as_dir=.
5841    for ac_exec_ext in '' $ac_executable_extensions; do
5842  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5844    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845    break 2
5846  fi
5847done
5848  done
5849IFS=$as_save_IFS
5850
5851fi
5852fi
5853DUMPBIN=$ac_cv_prog_DUMPBIN
5854if test -n "$DUMPBIN"; then
5855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5856$as_echo "$DUMPBIN" >&6; }
5857else
5858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859$as_echo "no" >&6; }
5860fi
5861
5862
5863    test -n "$DUMPBIN" && break
5864  done
5865fi
5866if test -z "$DUMPBIN"; then
5867  ac_ct_DUMPBIN=$DUMPBIN
5868  for ac_prog in dumpbin "link -dump"
5869do
5870  # Extract the first word of "$ac_prog", so it can be a program name with args.
5871set dummy $ac_prog; ac_word=$2
5872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873$as_echo_n "checking for $ac_word... " >&6; }
5874if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5875  $as_echo_n "(cached) " >&6
5876else
5877  if test -n "$ac_ct_DUMPBIN"; then
5878  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5879else
5880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881for as_dir in $PATH
5882do
5883  IFS=$as_save_IFS
5884  test -z "$as_dir" && as_dir=.
5885    for ac_exec_ext in '' $ac_executable_extensions; do
5886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5887    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889    break 2
5890  fi
5891done
5892  done
5893IFS=$as_save_IFS
5894
5895fi
5896fi
5897ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5898if test -n "$ac_ct_DUMPBIN"; then
5899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5900$as_echo "$ac_ct_DUMPBIN" >&6; }
5901else
5902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903$as_echo "no" >&6; }
5904fi
5905
5906
5907  test -n "$ac_ct_DUMPBIN" && break
5908done
5909
5910  if test "x$ac_ct_DUMPBIN" = x; then
5911    DUMPBIN=":"
5912  else
5913    case $cross_compiling:$ac_tool_warned in
5914yes:)
5915{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5916$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5917ac_tool_warned=yes ;;
5918esac
5919    DUMPBIN=$ac_ct_DUMPBIN
5920  fi
5921fi
5922
5923    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5924    *COFF*)
5925      DUMPBIN="$DUMPBIN -symbols"
5926      ;;
5927    *)
5928      DUMPBIN=:
5929      ;;
5930    esac
5931  fi
5932
5933  if test "$DUMPBIN" != ":"; then
5934    NM="$DUMPBIN"
5935  fi
5936fi
5937test -z "$NM" && NM=nm
5938
5939
5940
5941
5942
5943
5944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5945$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5946if ${lt_cv_nm_interface+:} false; then :
5947  $as_echo_n "(cached) " >&6
5948else
5949  lt_cv_nm_interface="BSD nm"
5950  echo "int some_variable = 0;" > conftest.$ac_ext
5951  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5952  (eval "$ac_compile" 2>conftest.err)
5953  cat conftest.err >&5
5954  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5955  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5956  cat conftest.err >&5
5957  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5958  cat conftest.out >&5
5959  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5960    lt_cv_nm_interface="MS dumpbin"
5961  fi
5962  rm -f conftest*
5963fi
5964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5965$as_echo "$lt_cv_nm_interface" >&6; }
5966
5967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5968$as_echo_n "checking whether ln -s works... " >&6; }
5969LN_S=$as_ln_s
5970if test "$LN_S" = "ln -s"; then
5971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5972$as_echo "yes" >&6; }
5973else
5974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5975$as_echo "no, using $LN_S" >&6; }
5976fi
5977
5978# find the maximum length of command line arguments
5979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5980$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5981if ${lt_cv_sys_max_cmd_len+:} false; then :
5982  $as_echo_n "(cached) " >&6
5983else
5984    i=0
5985  teststring="ABCD"
5986
5987  case $build_os in
5988  msdosdjgpp*)
5989    # On DJGPP, this test can blow up pretty badly due to problems in libc
5990    # (any single argument exceeding 2000 bytes causes a buffer overrun
5991    # during glob expansion).  Even if it were fixed, the result of this
5992    # check would be larger than it should be.
5993    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5994    ;;
5995
5996  gnu*)
5997    # Under GNU Hurd, this test is not required because there is
5998    # no limit to the length of command line arguments.
5999    # Libtool will interpret -1 as no limit whatsoever
6000    lt_cv_sys_max_cmd_len=-1;
6001    ;;
6002
6003  cygwin* | mingw* | cegcc*)
6004    # On Win9x/ME, this test blows up -- it succeeds, but takes
6005    # about 5 minutes as the teststring grows exponentially.
6006    # Worse, since 9x/ME are not pre-emptively multitasking,
6007    # you end up with a "frozen" computer, even though with patience
6008    # the test eventually succeeds (with a max line length of 256k).
6009    # Instead, let's just punt: use the minimum linelength reported by
6010    # all of the supported platforms: 8192 (on NT/2K/XP).
6011    lt_cv_sys_max_cmd_len=8192;
6012    ;;
6013
6014  mint*)
6015    # On MiNT this can take a long time and run out of memory.
6016    lt_cv_sys_max_cmd_len=8192;
6017    ;;
6018
6019  amigaos*)
6020    # On AmigaOS with pdksh, this test takes hours, literally.
6021    # So we just punt and use a minimum line length of 8192.
6022    lt_cv_sys_max_cmd_len=8192;
6023    ;;
6024
6025  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6026    # This has been around since 386BSD, at least.  Likely further.
6027    if test -x /sbin/sysctl; then
6028      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6029    elif test -x /usr/sbin/sysctl; then
6030      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6031    else
6032      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6033    fi
6034    # And add a safety zone
6035    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6036    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6037    ;;
6038
6039  interix*)
6040    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6041    lt_cv_sys_max_cmd_len=196608
6042    ;;
6043
6044  os2*)
6045    # The test takes a long time on OS/2.
6046    lt_cv_sys_max_cmd_len=8192
6047    ;;
6048
6049  osf*)
6050    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6051    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6052    # nice to cause kernel panics so lets avoid the loop below.
6053    # First set a reasonable default.
6054    lt_cv_sys_max_cmd_len=16384
6055    #
6056    if test -x /sbin/sysconfig; then
6057      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6058        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6059      esac
6060    fi
6061    ;;
6062  sco3.2v5*)
6063    lt_cv_sys_max_cmd_len=102400
6064    ;;
6065  sysv5* | sco5v6* | sysv4.2uw2*)
6066    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6067    if test -n "$kargmax"; then
6068      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6069    else
6070      lt_cv_sys_max_cmd_len=32768
6071    fi
6072    ;;
6073  *)
6074    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6075    if test -n "$lt_cv_sys_max_cmd_len"; then
6076      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6077      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6078    else
6079      # Make teststring a little bigger before we do anything with it.
6080      # a 1K string should be a reasonable start.
6081      for i in 1 2 3 4 5 6 7 8 ; do
6082        teststring=$teststring$teststring
6083      done
6084      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6085      # If test is not a shell built-in, we'll probably end up computing a
6086      # maximum length that is only half of the actual maximum length, but
6087      # we can't tell.
6088      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6089	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6090	      test $i != 17 # 1/2 MB should be enough
6091      do
6092        i=`expr $i + 1`
6093        teststring=$teststring$teststring
6094      done
6095      # Only check the string length outside the loop.
6096      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6097      teststring=
6098      # Add a significant safety factor because C++ compilers can tack on
6099      # massive amounts of additional arguments before passing them to the
6100      # linker.  It appears as though 1/2 is a usable value.
6101      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6102    fi
6103    ;;
6104  esac
6105
6106fi
6107
6108if test -n $lt_cv_sys_max_cmd_len ; then
6109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6110$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6111else
6112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6113$as_echo "none" >&6; }
6114fi
6115max_cmd_len=$lt_cv_sys_max_cmd_len
6116
6117
6118
6119
6120
6121
6122: ${CP="cp -f"}
6123: ${MV="mv -f"}
6124: ${RM="rm -f"}
6125
6126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6127$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6128# Try some XSI features
6129xsi_shell=no
6130( _lt_dummy="a/b/c"
6131  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6132      = c,a/b,b/c, \
6133    && eval 'test $(( 1 + 1 )) -eq 2 \
6134    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6135  && xsi_shell=yes
6136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6137$as_echo "$xsi_shell" >&6; }
6138
6139
6140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6141$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6142lt_shell_append=no
6143( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6144    >/dev/null 2>&1 \
6145  && lt_shell_append=yes
6146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6147$as_echo "$lt_shell_append" >&6; }
6148
6149
6150if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6151  lt_unset=unset
6152else
6153  lt_unset=false
6154fi
6155
6156
6157
6158
6159
6160# test EBCDIC or ASCII
6161case `echo X|tr X '\101'` in
6162 A) # ASCII based system
6163    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6164  lt_SP2NL='tr \040 \012'
6165  lt_NL2SP='tr \015\012 \040\040'
6166  ;;
6167 *) # EBCDIC based system
6168  lt_SP2NL='tr \100 \n'
6169  lt_NL2SP='tr \r\n \100\100'
6170  ;;
6171esac
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6182$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6183if ${lt_cv_to_host_file_cmd+:} false; then :
6184  $as_echo_n "(cached) " >&6
6185else
6186  case $host in
6187  *-*-mingw* )
6188    case $build in
6189      *-*-mingw* ) # actually msys
6190        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6191        ;;
6192      *-*-cygwin* )
6193        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6194        ;;
6195      * ) # otherwise, assume *nix
6196        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6197        ;;
6198    esac
6199    ;;
6200  *-*-cygwin* )
6201    case $build in
6202      *-*-mingw* ) # actually msys
6203        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6204        ;;
6205      *-*-cygwin* )
6206        lt_cv_to_host_file_cmd=func_convert_file_noop
6207        ;;
6208      * ) # otherwise, assume *nix
6209        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6210        ;;
6211    esac
6212    ;;
6213  * ) # unhandled hosts (and "normal" native builds)
6214    lt_cv_to_host_file_cmd=func_convert_file_noop
6215    ;;
6216esac
6217
6218fi
6219
6220to_host_file_cmd=$lt_cv_to_host_file_cmd
6221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6222$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6223
6224
6225
6226
6227
6228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6229$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6230if ${lt_cv_to_tool_file_cmd+:} false; then :
6231  $as_echo_n "(cached) " >&6
6232else
6233  #assume ordinary cross tools, or native build.
6234lt_cv_to_tool_file_cmd=func_convert_file_noop
6235case $host in
6236  *-*-mingw* )
6237    case $build in
6238      *-*-mingw* ) # actually msys
6239        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6240        ;;
6241    esac
6242    ;;
6243esac
6244
6245fi
6246
6247to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6249$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6250
6251
6252
6253
6254
6255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6256$as_echo_n "checking for $LD option to reload object files... " >&6; }
6257if ${lt_cv_ld_reload_flag+:} false; then :
6258  $as_echo_n "(cached) " >&6
6259else
6260  lt_cv_ld_reload_flag='-r'
6261fi
6262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6263$as_echo "$lt_cv_ld_reload_flag" >&6; }
6264reload_flag=$lt_cv_ld_reload_flag
6265case $reload_flag in
6266"" | " "*) ;;
6267*) reload_flag=" $reload_flag" ;;
6268esac
6269reload_cmds='$LD$reload_flag -o $output$reload_objs'
6270case $host_os in
6271  cygwin* | mingw* | pw32* | cegcc*)
6272    if test "$GCC" != yes; then
6273      reload_cmds=false
6274    fi
6275    ;;
6276  darwin*)
6277    if test "$GCC" = yes; then
6278      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6279    else
6280      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6281    fi
6282    ;;
6283esac
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293if test -n "$ac_tool_prefix"; then
6294  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6295set dummy ${ac_tool_prefix}objdump; ac_word=$2
6296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6297$as_echo_n "checking for $ac_word... " >&6; }
6298if ${ac_cv_prog_OBJDUMP+:} false; then :
6299  $as_echo_n "(cached) " >&6
6300else
6301  if test -n "$OBJDUMP"; then
6302  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6303else
6304as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305for as_dir in $PATH
6306do
6307  IFS=$as_save_IFS
6308  test -z "$as_dir" && as_dir=.
6309    for ac_exec_ext in '' $ac_executable_extensions; do
6310  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6311    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6312    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6313    break 2
6314  fi
6315done
6316  done
6317IFS=$as_save_IFS
6318
6319fi
6320fi
6321OBJDUMP=$ac_cv_prog_OBJDUMP
6322if test -n "$OBJDUMP"; then
6323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6324$as_echo "$OBJDUMP" >&6; }
6325else
6326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6327$as_echo "no" >&6; }
6328fi
6329
6330
6331fi
6332if test -z "$ac_cv_prog_OBJDUMP"; then
6333  ac_ct_OBJDUMP=$OBJDUMP
6334  # Extract the first word of "objdump", so it can be a program name with args.
6335set dummy objdump; ac_word=$2
6336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6337$as_echo_n "checking for $ac_word... " >&6; }
6338if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6339  $as_echo_n "(cached) " >&6
6340else
6341  if test -n "$ac_ct_OBJDUMP"; then
6342  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6343else
6344as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6345for as_dir in $PATH
6346do
6347  IFS=$as_save_IFS
6348  test -z "$as_dir" && as_dir=.
6349    for ac_exec_ext in '' $ac_executable_extensions; do
6350  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6351    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6352    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6353    break 2
6354  fi
6355done
6356  done
6357IFS=$as_save_IFS
6358
6359fi
6360fi
6361ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6362if test -n "$ac_ct_OBJDUMP"; then
6363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6364$as_echo "$ac_ct_OBJDUMP" >&6; }
6365else
6366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6367$as_echo "no" >&6; }
6368fi
6369
6370  if test "x$ac_ct_OBJDUMP" = x; then
6371    OBJDUMP="false"
6372  else
6373    case $cross_compiling:$ac_tool_warned in
6374yes:)
6375{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6376$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6377ac_tool_warned=yes ;;
6378esac
6379    OBJDUMP=$ac_ct_OBJDUMP
6380  fi
6381else
6382  OBJDUMP="$ac_cv_prog_OBJDUMP"
6383fi
6384
6385test -z "$OBJDUMP" && OBJDUMP=objdump
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6396$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6397if ${lt_cv_deplibs_check_method+:} false; then :
6398  $as_echo_n "(cached) " >&6
6399else
6400  lt_cv_file_magic_cmd='$MAGIC_CMD'
6401lt_cv_file_magic_test_file=
6402lt_cv_deplibs_check_method='unknown'
6403# Need to set the preceding variable on all platforms that support
6404# interlibrary dependencies.
6405# 'none' -- dependencies not supported.
6406# `unknown' -- same as none, but documents that we really don't know.
6407# 'pass_all' -- all dependencies passed with no checks.
6408# 'test_compile' -- check by making test program.
6409# 'file_magic [[regex]]' -- check by looking for files in library path
6410# which responds to the $file_magic_cmd with a given extended regex.
6411# If you have `file' or equivalent on your system and you're not sure
6412# whether `pass_all' will *always* work, you probably want this one.
6413
6414case $host_os in
6415aix[4-9]*)
6416  lt_cv_deplibs_check_method=pass_all
6417  ;;
6418
6419beos*)
6420  lt_cv_deplibs_check_method=pass_all
6421  ;;
6422
6423bsdi[45]*)
6424  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6425  lt_cv_file_magic_cmd='/usr/bin/file -L'
6426  lt_cv_file_magic_test_file=/shlib/libc.so
6427  ;;
6428
6429cygwin*)
6430  # func_win32_libid is a shell function defined in ltmain.sh
6431  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6432  lt_cv_file_magic_cmd='func_win32_libid'
6433  ;;
6434
6435mingw* | pw32*)
6436  # Base MSYS/MinGW do not provide the 'file' command needed by
6437  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6438  # unless we find 'file', for example because we are cross-compiling.
6439  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6440  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6441    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6442    lt_cv_file_magic_cmd='func_win32_libid'
6443  else
6444    # Keep this pattern in sync with the one in func_win32_libid.
6445    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6446    lt_cv_file_magic_cmd='$OBJDUMP -f'
6447  fi
6448  ;;
6449
6450cegcc*)
6451  # use the weaker test based on 'objdump'. See mingw*.
6452  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6453  lt_cv_file_magic_cmd='$OBJDUMP -f'
6454  ;;
6455
6456darwin* | rhapsody*)
6457  lt_cv_deplibs_check_method=pass_all
6458  ;;
6459
6460freebsd* | dragonfly*)
6461  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6462    case $host_cpu in
6463    i*86 )
6464      # Not sure whether the presence of OpenBSD here was a mistake.
6465      # Let's accept both of them until this is cleared up.
6466      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6467      lt_cv_file_magic_cmd=/usr/bin/file
6468      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6469      ;;
6470    esac
6471  else
6472    lt_cv_deplibs_check_method=pass_all
6473  fi
6474  ;;
6475
6476gnu*)
6477  lt_cv_deplibs_check_method=pass_all
6478  ;;
6479
6480haiku*)
6481  lt_cv_deplibs_check_method=pass_all
6482  ;;
6483
6484hpux10.20* | hpux11*)
6485  lt_cv_file_magic_cmd=/usr/bin/file
6486  case $host_cpu in
6487  ia64*)
6488    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6489    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6490    ;;
6491  hppa*64*)
6492    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]'
6493    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6494    ;;
6495  *)
6496    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6497    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6498    ;;
6499  esac
6500  ;;
6501
6502interix[3-9]*)
6503  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6504  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6505  ;;
6506
6507irix5* | irix6* | nonstopux*)
6508  case $LD in
6509  *-32|*"-32 ") libmagic=32-bit;;
6510  *-n32|*"-n32 ") libmagic=N32;;
6511  *-64|*"-64 ") libmagic=64-bit;;
6512  *) libmagic=never-match;;
6513  esac
6514  lt_cv_deplibs_check_method=pass_all
6515  ;;
6516
6517# This must be glibc/ELF.
6518linux* | k*bsd*-gnu | kopensolaris*-gnu)
6519  lt_cv_deplibs_check_method=pass_all
6520  ;;
6521
6522netbsd*)
6523  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6524    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6525  else
6526    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6527  fi
6528  ;;
6529
6530newos6*)
6531  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6532  lt_cv_file_magic_cmd=/usr/bin/file
6533  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6534  ;;
6535
6536*nto* | *qnx*)
6537  lt_cv_deplibs_check_method=pass_all
6538  ;;
6539
6540openbsd*)
6541  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6542    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6543  else
6544    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6545  fi
6546  ;;
6547
6548osf3* | osf4* | osf5*)
6549  lt_cv_deplibs_check_method=pass_all
6550  ;;
6551
6552rdos*)
6553  lt_cv_deplibs_check_method=pass_all
6554  ;;
6555
6556solaris*)
6557  lt_cv_deplibs_check_method=pass_all
6558  ;;
6559
6560sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6561  lt_cv_deplibs_check_method=pass_all
6562  ;;
6563
6564sysv4 | sysv4.3*)
6565  case $host_vendor in
6566  motorola)
6567    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]'
6568    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6569    ;;
6570  ncr)
6571    lt_cv_deplibs_check_method=pass_all
6572    ;;
6573  sequent)
6574    lt_cv_file_magic_cmd='/bin/file'
6575    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6576    ;;
6577  sni)
6578    lt_cv_file_magic_cmd='/bin/file'
6579    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6580    lt_cv_file_magic_test_file=/lib/libc.so
6581    ;;
6582  siemens)
6583    lt_cv_deplibs_check_method=pass_all
6584    ;;
6585  pc)
6586    lt_cv_deplibs_check_method=pass_all
6587    ;;
6588  esac
6589  ;;
6590
6591tpf*)
6592  lt_cv_deplibs_check_method=pass_all
6593  ;;
6594esac
6595
6596fi
6597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6598$as_echo "$lt_cv_deplibs_check_method" >&6; }
6599
6600file_magic_glob=
6601want_nocaseglob=no
6602if test "$build" = "$host"; then
6603  case $host_os in
6604  mingw* | pw32*)
6605    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6606      want_nocaseglob=yes
6607    else
6608      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6609    fi
6610    ;;
6611  esac
6612fi
6613
6614file_magic_cmd=$lt_cv_file_magic_cmd
6615deplibs_check_method=$lt_cv_deplibs_check_method
6616test -z "$deplibs_check_method" && deplibs_check_method=unknown
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639if test -n "$ac_tool_prefix"; then
6640  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6641set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6643$as_echo_n "checking for $ac_word... " >&6; }
6644if ${ac_cv_prog_DLLTOOL+:} false; then :
6645  $as_echo_n "(cached) " >&6
6646else
6647  if test -n "$DLLTOOL"; then
6648  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6649else
6650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6651for as_dir in $PATH
6652do
6653  IFS=$as_save_IFS
6654  test -z "$as_dir" && as_dir=.
6655    for ac_exec_ext in '' $ac_executable_extensions; do
6656  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6657    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6658    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6659    break 2
6660  fi
6661done
6662  done
6663IFS=$as_save_IFS
6664
6665fi
6666fi
6667DLLTOOL=$ac_cv_prog_DLLTOOL
6668if test -n "$DLLTOOL"; then
6669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6670$as_echo "$DLLTOOL" >&6; }
6671else
6672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6673$as_echo "no" >&6; }
6674fi
6675
6676
6677fi
6678if test -z "$ac_cv_prog_DLLTOOL"; then
6679  ac_ct_DLLTOOL=$DLLTOOL
6680  # Extract the first word of "dlltool", so it can be a program name with args.
6681set dummy dlltool; ac_word=$2
6682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6683$as_echo_n "checking for $ac_word... " >&6; }
6684if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6685  $as_echo_n "(cached) " >&6
6686else
6687  if test -n "$ac_ct_DLLTOOL"; then
6688  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6689else
6690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691for as_dir in $PATH
6692do
6693  IFS=$as_save_IFS
6694  test -z "$as_dir" && as_dir=.
6695    for ac_exec_ext in '' $ac_executable_extensions; do
6696  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6697    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6698    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6699    break 2
6700  fi
6701done
6702  done
6703IFS=$as_save_IFS
6704
6705fi
6706fi
6707ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6708if test -n "$ac_ct_DLLTOOL"; then
6709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6710$as_echo "$ac_ct_DLLTOOL" >&6; }
6711else
6712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6713$as_echo "no" >&6; }
6714fi
6715
6716  if test "x$ac_ct_DLLTOOL" = x; then
6717    DLLTOOL="false"
6718  else
6719    case $cross_compiling:$ac_tool_warned in
6720yes:)
6721{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6722$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6723ac_tool_warned=yes ;;
6724esac
6725    DLLTOOL=$ac_ct_DLLTOOL
6726  fi
6727else
6728  DLLTOOL="$ac_cv_prog_DLLTOOL"
6729fi
6730
6731test -z "$DLLTOOL" && DLLTOOL=dlltool
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6743$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6744if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6745  $as_echo_n "(cached) " >&6
6746else
6747  lt_cv_sharedlib_from_linklib_cmd='unknown'
6748
6749case $host_os in
6750cygwin* | mingw* | pw32* | cegcc*)
6751  # two different shell functions defined in ltmain.sh
6752  # decide which to use based on capabilities of $DLLTOOL
6753  case `$DLLTOOL --help 2>&1` in
6754  *--identify-strict*)
6755    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6756    ;;
6757  *)
6758    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6759    ;;
6760  esac
6761  ;;
6762*)
6763  # fallback: assume linklib IS sharedlib
6764  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6765  ;;
6766esac
6767
6768fi
6769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6770$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6771sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6772test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6773
6774
6775
6776
6777
6778
6779
6780if test -n "$ac_tool_prefix"; then
6781  for ac_prog in ar
6782  do
6783    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6784set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786$as_echo_n "checking for $ac_word... " >&6; }
6787if ${ac_cv_prog_AR+:} false; then :
6788  $as_echo_n "(cached) " >&6
6789else
6790  if test -n "$AR"; then
6791  ac_cv_prog_AR="$AR" # Let the user override the test.
6792else
6793as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794for as_dir in $PATH
6795do
6796  IFS=$as_save_IFS
6797  test -z "$as_dir" && as_dir=.
6798    for ac_exec_ext in '' $ac_executable_extensions; do
6799  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6800    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6801    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802    break 2
6803  fi
6804done
6805  done
6806IFS=$as_save_IFS
6807
6808fi
6809fi
6810AR=$ac_cv_prog_AR
6811if test -n "$AR"; then
6812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6813$as_echo "$AR" >&6; }
6814else
6815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816$as_echo "no" >&6; }
6817fi
6818
6819
6820    test -n "$AR" && break
6821  done
6822fi
6823if test -z "$AR"; then
6824  ac_ct_AR=$AR
6825  for ac_prog in ar
6826do
6827  # Extract the first word of "$ac_prog", so it can be a program name with args.
6828set dummy $ac_prog; ac_word=$2
6829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6830$as_echo_n "checking for $ac_word... " >&6; }
6831if ${ac_cv_prog_ac_ct_AR+:} false; then :
6832  $as_echo_n "(cached) " >&6
6833else
6834  if test -n "$ac_ct_AR"; then
6835  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6836else
6837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6838for as_dir in $PATH
6839do
6840  IFS=$as_save_IFS
6841  test -z "$as_dir" && as_dir=.
6842    for ac_exec_ext in '' $ac_executable_extensions; do
6843  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6844    ac_cv_prog_ac_ct_AR="$ac_prog"
6845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6846    break 2
6847  fi
6848done
6849  done
6850IFS=$as_save_IFS
6851
6852fi
6853fi
6854ac_ct_AR=$ac_cv_prog_ac_ct_AR
6855if test -n "$ac_ct_AR"; then
6856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6857$as_echo "$ac_ct_AR" >&6; }
6858else
6859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6860$as_echo "no" >&6; }
6861fi
6862
6863
6864  test -n "$ac_ct_AR" && break
6865done
6866
6867  if test "x$ac_ct_AR" = x; then
6868    AR="false"
6869  else
6870    case $cross_compiling:$ac_tool_warned in
6871yes:)
6872{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6873$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6874ac_tool_warned=yes ;;
6875esac
6876    AR=$ac_ct_AR
6877  fi
6878fi
6879
6880: ${AR=ar}
6881: ${AR_FLAGS=cru}
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6894$as_echo_n "checking for archiver @FILE support... " >&6; }
6895if ${lt_cv_ar_at_file+:} false; then :
6896  $as_echo_n "(cached) " >&6
6897else
6898  lt_cv_ar_at_file=no
6899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6900/* end confdefs.h.  */
6901
6902int
6903main ()
6904{
6905
6906  ;
6907  return 0;
6908}
6909_ACEOF
6910if ac_fn_c_try_compile "$LINENO"; then :
6911  echo conftest.$ac_objext > conftest.lst
6912      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6913      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6914  (eval $lt_ar_try) 2>&5
6915  ac_status=$?
6916  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6917  test $ac_status = 0; }
6918      if test "$ac_status" -eq 0; then
6919	# Ensure the archiver fails upon bogus file names.
6920	rm -f conftest.$ac_objext libconftest.a
6921	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6922  (eval $lt_ar_try) 2>&5
6923  ac_status=$?
6924  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6925  test $ac_status = 0; }
6926	if test "$ac_status" -ne 0; then
6927          lt_cv_ar_at_file=@
6928        fi
6929      fi
6930      rm -f conftest.* libconftest.a
6931
6932fi
6933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6934
6935fi
6936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6937$as_echo "$lt_cv_ar_at_file" >&6; }
6938
6939if test "x$lt_cv_ar_at_file" = xno; then
6940  archiver_list_spec=
6941else
6942  archiver_list_spec=$lt_cv_ar_at_file
6943fi
6944
6945
6946
6947
6948
6949
6950
6951if test -n "$ac_tool_prefix"; then
6952  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6953set dummy ${ac_tool_prefix}strip; ac_word=$2
6954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6955$as_echo_n "checking for $ac_word... " >&6; }
6956if ${ac_cv_prog_STRIP+:} false; then :
6957  $as_echo_n "(cached) " >&6
6958else
6959  if test -n "$STRIP"; then
6960  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6961else
6962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6963for as_dir in $PATH
6964do
6965  IFS=$as_save_IFS
6966  test -z "$as_dir" && as_dir=.
6967    for ac_exec_ext in '' $ac_executable_extensions; do
6968  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6969    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6970    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971    break 2
6972  fi
6973done
6974  done
6975IFS=$as_save_IFS
6976
6977fi
6978fi
6979STRIP=$ac_cv_prog_STRIP
6980if test -n "$STRIP"; then
6981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6982$as_echo "$STRIP" >&6; }
6983else
6984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6985$as_echo "no" >&6; }
6986fi
6987
6988
6989fi
6990if test -z "$ac_cv_prog_STRIP"; then
6991  ac_ct_STRIP=$STRIP
6992  # Extract the first word of "strip", so it can be a program name with args.
6993set dummy strip; ac_word=$2
6994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6995$as_echo_n "checking for $ac_word... " >&6; }
6996if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6997  $as_echo_n "(cached) " >&6
6998else
6999  if test -n "$ac_ct_STRIP"; then
7000  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7001else
7002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7003for as_dir in $PATH
7004do
7005  IFS=$as_save_IFS
7006  test -z "$as_dir" && as_dir=.
7007    for ac_exec_ext in '' $ac_executable_extensions; do
7008  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7009    ac_cv_prog_ac_ct_STRIP="strip"
7010    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011    break 2
7012  fi
7013done
7014  done
7015IFS=$as_save_IFS
7016
7017fi
7018fi
7019ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7020if test -n "$ac_ct_STRIP"; then
7021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7022$as_echo "$ac_ct_STRIP" >&6; }
7023else
7024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025$as_echo "no" >&6; }
7026fi
7027
7028  if test "x$ac_ct_STRIP" = x; then
7029    STRIP=":"
7030  else
7031    case $cross_compiling:$ac_tool_warned in
7032yes:)
7033{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7034$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7035ac_tool_warned=yes ;;
7036esac
7037    STRIP=$ac_ct_STRIP
7038  fi
7039else
7040  STRIP="$ac_cv_prog_STRIP"
7041fi
7042
7043test -z "$STRIP" && STRIP=:
7044
7045
7046
7047
7048
7049
7050if test -n "$ac_tool_prefix"; then
7051  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7052set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054$as_echo_n "checking for $ac_word... " >&6; }
7055if ${ac_cv_prog_RANLIB+:} false; then :
7056  $as_echo_n "(cached) " >&6
7057else
7058  if test -n "$RANLIB"; then
7059  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7060else
7061as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7062for as_dir in $PATH
7063do
7064  IFS=$as_save_IFS
7065  test -z "$as_dir" && as_dir=.
7066    for ac_exec_ext in '' $ac_executable_extensions; do
7067  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7068    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7069    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7070    break 2
7071  fi
7072done
7073  done
7074IFS=$as_save_IFS
7075
7076fi
7077fi
7078RANLIB=$ac_cv_prog_RANLIB
7079if test -n "$RANLIB"; then
7080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7081$as_echo "$RANLIB" >&6; }
7082else
7083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084$as_echo "no" >&6; }
7085fi
7086
7087
7088fi
7089if test -z "$ac_cv_prog_RANLIB"; then
7090  ac_ct_RANLIB=$RANLIB
7091  # Extract the first word of "ranlib", so it can be a program name with args.
7092set dummy ranlib; ac_word=$2
7093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094$as_echo_n "checking for $ac_word... " >&6; }
7095if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7096  $as_echo_n "(cached) " >&6
7097else
7098  if test -n "$ac_ct_RANLIB"; then
7099  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7100else
7101as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102for as_dir in $PATH
7103do
7104  IFS=$as_save_IFS
7105  test -z "$as_dir" && as_dir=.
7106    for ac_exec_ext in '' $ac_executable_extensions; do
7107  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7108    ac_cv_prog_ac_ct_RANLIB="ranlib"
7109    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7110    break 2
7111  fi
7112done
7113  done
7114IFS=$as_save_IFS
7115
7116fi
7117fi
7118ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7119if test -n "$ac_ct_RANLIB"; then
7120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7121$as_echo "$ac_ct_RANLIB" >&6; }
7122else
7123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124$as_echo "no" >&6; }
7125fi
7126
7127  if test "x$ac_ct_RANLIB" = x; then
7128    RANLIB=":"
7129  else
7130    case $cross_compiling:$ac_tool_warned in
7131yes:)
7132{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7133$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7134ac_tool_warned=yes ;;
7135esac
7136    RANLIB=$ac_ct_RANLIB
7137  fi
7138else
7139  RANLIB="$ac_cv_prog_RANLIB"
7140fi
7141
7142test -z "$RANLIB" && RANLIB=:
7143
7144
7145
7146
7147
7148
7149# Determine commands to create old-style static archives.
7150old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7151old_postinstall_cmds='chmod 644 $oldlib'
7152old_postuninstall_cmds=
7153
7154if test -n "$RANLIB"; then
7155  case $host_os in
7156  openbsd*)
7157    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7158    ;;
7159  *)
7160    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7161    ;;
7162  esac
7163  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7164fi
7165
7166case $host_os in
7167  darwin*)
7168    lock_old_archive_extraction=yes ;;
7169  *)
7170    lock_old_archive_extraction=no ;;
7171esac
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211# If no C compiler was specified, use CC.
7212LTCC=${LTCC-"$CC"}
7213
7214# If no C compiler flags were specified, use CFLAGS.
7215LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7216
7217# Allow CC to be a program name with arguments.
7218compiler=$CC
7219
7220
7221# Check for command to grab the raw symbol name followed by C symbol from nm.
7222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7223$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7224if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7225  $as_echo_n "(cached) " >&6
7226else
7227
7228# These are sane defaults that work on at least a few old systems.
7229# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7230
7231# Character class describing NM global symbol codes.
7232symcode='[BCDEGRST]'
7233
7234# Regexp to match symbols that can be accessed directly from C.
7235sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7236
7237# Define system-specific variables.
7238case $host_os in
7239aix*)
7240  symcode='[BCDT]'
7241  ;;
7242cygwin* | mingw* | pw32* | cegcc*)
7243  symcode='[ABCDGISTW]'
7244  ;;
7245hpux*)
7246  if test "$host_cpu" = ia64; then
7247    symcode='[ABCDEGRST]'
7248  fi
7249  ;;
7250irix* | nonstopux*)
7251  symcode='[BCDEGRST]'
7252  ;;
7253osf*)
7254  symcode='[BCDEGQRST]'
7255  ;;
7256solaris*)
7257  symcode='[BDRT]'
7258  ;;
7259sco3.2v5*)
7260  symcode='[DT]'
7261  ;;
7262sysv4.2uw2*)
7263  symcode='[DT]'
7264  ;;
7265sysv5* | sco5v6* | unixware* | OpenUNIX*)
7266  symcode='[ABDT]'
7267  ;;
7268sysv4)
7269  symcode='[DFNSTU]'
7270  ;;
7271esac
7272
7273# If we're using GNU nm, then use its standard symbol codes.
7274case `$NM -V 2>&1` in
7275*GNU* | *'with BFD'*)
7276  symcode='[ABCDGIRSTW]' ;;
7277esac
7278
7279# Transform an extracted symbol line into a proper C declaration.
7280# Some systems (esp. on ia64) link data and code symbols differently,
7281# so use this general approach.
7282lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7283
7284# Transform an extracted symbol line into symbol name and symbol address
7285lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7286lt_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'"
7287
7288# Handle CRLF in mingw tool chain
7289opt_cr=
7290case $build_os in
7291mingw*)
7292  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7293  ;;
7294esac
7295
7296# Try without a prefix underscore, then with it.
7297for ac_symprfx in "" "_"; do
7298
7299  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7300  symxfrm="\\1 $ac_symprfx\\2 \\2"
7301
7302  # Write the raw and C identifiers.
7303  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7304    # Fake it for dumpbin and say T for any non-static function
7305    # and D for any global variable.
7306    # Also find C++ and __fastcall symbols from MSVC++,
7307    # which start with @ or ?.
7308    lt_cv_sys_global_symbol_pipe="$AWK '"\
7309"     {last_section=section; section=\$ 3};"\
7310"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7311"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7312"     \$ 0!~/External *\|/{next};"\
7313"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7314"     {if(hide[section]) next};"\
7315"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7316"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7317"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7318"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7319"     ' prfx=^$ac_symprfx"
7320  else
7321    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7322  fi
7323  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7324
7325  # Check to see that the pipe works correctly.
7326  pipe_works=no
7327
7328  rm -f conftest*
7329  cat > conftest.$ac_ext <<_LT_EOF
7330#ifdef __cplusplus
7331extern "C" {
7332#endif
7333char nm_test_var;
7334void nm_test_func(void);
7335void nm_test_func(void){}
7336#ifdef __cplusplus
7337}
7338#endif
7339int main(){nm_test_var='a';nm_test_func();return(0);}
7340_LT_EOF
7341
7342  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7343  (eval $ac_compile) 2>&5
7344  ac_status=$?
7345  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7346  test $ac_status = 0; }; then
7347    # Now try to grab the symbols.
7348    nlist=conftest.nm
7349    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7350  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7351  ac_status=$?
7352  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7353  test $ac_status = 0; } && test -s "$nlist"; then
7354      # Try sorting and uniquifying the output.
7355      if sort "$nlist" | uniq > "$nlist"T; then
7356	mv -f "$nlist"T "$nlist"
7357      else
7358	rm -f "$nlist"T
7359      fi
7360
7361      # Make sure that we snagged all the symbols we need.
7362      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7363	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7364	  cat <<_LT_EOF > conftest.$ac_ext
7365/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7366#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7367/* DATA imports from DLLs on WIN32 con't be const, because runtime
7368   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7369# define LT_DLSYM_CONST
7370#elif defined(__osf__)
7371/* This system does not cope well with relocations in const data.  */
7372# define LT_DLSYM_CONST
7373#else
7374# define LT_DLSYM_CONST const
7375#endif
7376
7377#ifdef __cplusplus
7378extern "C" {
7379#endif
7380
7381_LT_EOF
7382	  # Now generate the symbol file.
7383	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7384
7385	  cat <<_LT_EOF >> conftest.$ac_ext
7386
7387/* The mapping between symbol names and symbols.  */
7388LT_DLSYM_CONST struct {
7389  const char *name;
7390  void       *address;
7391}
7392lt__PROGRAM__LTX_preloaded_symbols[] =
7393{
7394  { "@PROGRAM@", (void *) 0 },
7395_LT_EOF
7396	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7397	  cat <<\_LT_EOF >> conftest.$ac_ext
7398  {0, (void *) 0}
7399};
7400
7401/* This works around a problem in FreeBSD linker */
7402#ifdef FREEBSD_WORKAROUND
7403static const void *lt_preloaded_setup() {
7404  return lt__PROGRAM__LTX_preloaded_symbols;
7405}
7406#endif
7407
7408#ifdef __cplusplus
7409}
7410#endif
7411_LT_EOF
7412	  # Now try linking the two files.
7413	  mv conftest.$ac_objext conftstm.$ac_objext
7414	  lt_globsym_save_LIBS=$LIBS
7415	  lt_globsym_save_CFLAGS=$CFLAGS
7416	  LIBS="conftstm.$ac_objext"
7417	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7418	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7419  (eval $ac_link) 2>&5
7420  ac_status=$?
7421  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7422  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7423	    pipe_works=yes
7424	  fi
7425	  LIBS=$lt_globsym_save_LIBS
7426	  CFLAGS=$lt_globsym_save_CFLAGS
7427	else
7428	  echo "cannot find nm_test_func in $nlist" >&5
7429	fi
7430      else
7431	echo "cannot find nm_test_var in $nlist" >&5
7432      fi
7433    else
7434      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7435    fi
7436  else
7437    echo "$progname: failed program was:" >&5
7438    cat conftest.$ac_ext >&5
7439  fi
7440  rm -rf conftest* conftst*
7441
7442  # Do not use the global_symbol_pipe unless it works.
7443  if test "$pipe_works" = yes; then
7444    break
7445  else
7446    lt_cv_sys_global_symbol_pipe=
7447  fi
7448done
7449
7450fi
7451
7452if test -z "$lt_cv_sys_global_symbol_pipe"; then
7453  lt_cv_sys_global_symbol_to_cdecl=
7454fi
7455if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7457$as_echo "failed" >&6; }
7458else
7459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7460$as_echo "ok" >&6; }
7461fi
7462
7463# Response file support.
7464if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7465  nm_file_list_spec='@'
7466elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7467  nm_file_list_spec='@'
7468fi
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7497$as_echo_n "checking for sysroot... " >&6; }
7498
7499# Check whether --with-sysroot was given.
7500if test "${with_sysroot+set}" = set; then :
7501  withval=$with_sysroot;
7502else
7503  with_sysroot=no
7504fi
7505
7506
7507lt_sysroot=
7508case ${with_sysroot} in #(
7509 yes)
7510   if test "$GCC" = yes; then
7511     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7512   fi
7513   ;; #(
7514 /*)
7515   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7516   ;; #(
7517 no|'')
7518   ;; #(
7519 *)
7520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7521$as_echo "${with_sysroot}" >&6; }
7522   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7523   ;;
7524esac
7525
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7527$as_echo "${lt_sysroot:-no}" >&6; }
7528
7529
7530
7531
7532
7533# Check whether --enable-libtool-lock was given.
7534if test "${enable_libtool_lock+set}" = set; then :
7535  enableval=$enable_libtool_lock;
7536fi
7537
7538test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7539
7540# Some flags need to be propagated to the compiler or linker for good
7541# libtool support.
7542case $host in
7543ia64-*-hpux*)
7544  # Find out which ABI we are using.
7545  echo 'int i;' > conftest.$ac_ext
7546  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7547  (eval $ac_compile) 2>&5
7548  ac_status=$?
7549  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7550  test $ac_status = 0; }; then
7551    case `/usr/bin/file conftest.$ac_objext` in
7552      *ELF-32*)
7553	HPUX_IA64_MODE="32"
7554	;;
7555      *ELF-64*)
7556	HPUX_IA64_MODE="64"
7557	;;
7558    esac
7559  fi
7560  rm -rf conftest*
7561  ;;
7562*-*-irix6*)
7563  # Find out which ABI we are using.
7564  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7565  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7566  (eval $ac_compile) 2>&5
7567  ac_status=$?
7568  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7569  test $ac_status = 0; }; then
7570    if test "$lt_cv_prog_gnu_ld" = yes; then
7571      case `/usr/bin/file conftest.$ac_objext` in
7572	*32-bit*)
7573	  LD="${LD-ld} -melf32bsmip"
7574	  ;;
7575	*N32*)
7576	  LD="${LD-ld} -melf32bmipn32"
7577	  ;;
7578	*64-bit*)
7579	  LD="${LD-ld} -melf64bmip"
7580	;;
7581      esac
7582    else
7583      case `/usr/bin/file conftest.$ac_objext` in
7584	*32-bit*)
7585	  LD="${LD-ld} -32"
7586	  ;;
7587	*N32*)
7588	  LD="${LD-ld} -n32"
7589	  ;;
7590	*64-bit*)
7591	  LD="${LD-ld} -64"
7592	  ;;
7593      esac
7594    fi
7595  fi
7596  rm -rf conftest*
7597  ;;
7598
7599x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7600s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7601  # Find out which ABI we are using.
7602  echo 'int i;' > conftest.$ac_ext
7603  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7604  (eval $ac_compile) 2>&5
7605  ac_status=$?
7606  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7607  test $ac_status = 0; }; then
7608    case `/usr/bin/file conftest.o` in
7609      *32-bit*)
7610	case $host in
7611	  x86_64-*kfreebsd*-gnu)
7612	    LD="${LD-ld} -m elf_i386_fbsd"
7613	    ;;
7614	  x86_64-*linux*)
7615	    LD="${LD-ld} -m elf_i386"
7616	    ;;
7617	  powerpc64le-*linux*)
7618	    LD="${LD-ld} -m elf32lppclinux"
7619	    ;;
7620	  powerpc64-*linux*)
7621	    LD="${LD-ld} -m elf32ppclinux"
7622	    ;;
7623	  s390x-*linux*)
7624	    LD="${LD-ld} -m elf_s390"
7625	    ;;
7626	  sparc64-*linux*)
7627	    LD="${LD-ld} -m elf32_sparc"
7628	    ;;
7629	esac
7630	;;
7631      *64-bit*)
7632	case $host in
7633	  x86_64-*kfreebsd*-gnu)
7634	    LD="${LD-ld} -m elf_x86_64_fbsd"
7635	    ;;
7636	  x86_64-*linux*)
7637	    LD="${LD-ld} -m elf_x86_64"
7638	    ;;
7639	  powerpcle-*linux*)
7640	    LD="${LD-ld} -m elf64lppc"
7641	    ;;
7642	  powerpc-*linux*)
7643	    LD="${LD-ld} -m elf64ppc"
7644	    ;;
7645	  s390*-*linux*|s390*-*tpf*)
7646	    LD="${LD-ld} -m elf64_s390"
7647	    ;;
7648	  sparc*-*linux*)
7649	    LD="${LD-ld} -m elf64_sparc"
7650	    ;;
7651	esac
7652	;;
7653    esac
7654  fi
7655  rm -rf conftest*
7656  ;;
7657
7658*-*-sco3.2v5*)
7659  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7660  SAVE_CFLAGS="$CFLAGS"
7661  CFLAGS="$CFLAGS -belf"
7662  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7663$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7664if ${lt_cv_cc_needs_belf+:} false; then :
7665  $as_echo_n "(cached) " >&6
7666else
7667  ac_ext=c
7668ac_cpp='$CPP $CPPFLAGS'
7669ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7670ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7671ac_compiler_gnu=$ac_cv_c_compiler_gnu
7672
7673     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7674/* end confdefs.h.  */
7675
7676int
7677main ()
7678{
7679
7680  ;
7681  return 0;
7682}
7683_ACEOF
7684if ac_fn_c_try_link "$LINENO"; then :
7685  lt_cv_cc_needs_belf=yes
7686else
7687  lt_cv_cc_needs_belf=no
7688fi
7689rm -f core conftest.err conftest.$ac_objext \
7690    conftest$ac_exeext conftest.$ac_ext
7691     ac_ext=c
7692ac_cpp='$CPP $CPPFLAGS'
7693ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7694ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7695ac_compiler_gnu=$ac_cv_c_compiler_gnu
7696
7697fi
7698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7699$as_echo "$lt_cv_cc_needs_belf" >&6; }
7700  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7701    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7702    CFLAGS="$SAVE_CFLAGS"
7703  fi
7704  ;;
7705*-*solaris*)
7706  # Find out which ABI we are using.
7707  echo 'int i;' > conftest.$ac_ext
7708  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7709  (eval $ac_compile) 2>&5
7710  ac_status=$?
7711  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7712  test $ac_status = 0; }; then
7713    case `/usr/bin/file conftest.o` in
7714    *64-bit*)
7715      case $lt_cv_prog_gnu_ld in
7716      yes*)
7717        case $host in
7718        i?86-*-solaris*)
7719          LD="${LD-ld} -m elf_x86_64"
7720          ;;
7721        sparc*-*-solaris*)
7722          LD="${LD-ld} -m elf64_sparc"
7723          ;;
7724        esac
7725        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7726        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7727          LD="${LD-ld}_sol2"
7728        fi
7729        ;;
7730      *)
7731	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7732	  LD="${LD-ld} -64"
7733	fi
7734	;;
7735      esac
7736      ;;
7737    esac
7738  fi
7739  rm -rf conftest*
7740  ;;
7741esac
7742
7743need_locks="$enable_libtool_lock"
7744
7745if test -n "$ac_tool_prefix"; then
7746  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7747set dummy ${ac_tool_prefix}mt; ac_word=$2
7748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7749$as_echo_n "checking for $ac_word... " >&6; }
7750if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7751  $as_echo_n "(cached) " >&6
7752else
7753  if test -n "$MANIFEST_TOOL"; then
7754  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7755else
7756as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757for as_dir in $PATH
7758do
7759  IFS=$as_save_IFS
7760  test -z "$as_dir" && as_dir=.
7761    for ac_exec_ext in '' $ac_executable_extensions; do
7762  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7763    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7764    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7765    break 2
7766  fi
7767done
7768  done
7769IFS=$as_save_IFS
7770
7771fi
7772fi
7773MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7774if test -n "$MANIFEST_TOOL"; then
7775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7776$as_echo "$MANIFEST_TOOL" >&6; }
7777else
7778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7779$as_echo "no" >&6; }
7780fi
7781
7782
7783fi
7784if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7785  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7786  # Extract the first word of "mt", so it can be a program name with args.
7787set dummy mt; ac_word=$2
7788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7789$as_echo_n "checking for $ac_word... " >&6; }
7790if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7791  $as_echo_n "(cached) " >&6
7792else
7793  if test -n "$ac_ct_MANIFEST_TOOL"; then
7794  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7795else
7796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7797for as_dir in $PATH
7798do
7799  IFS=$as_save_IFS
7800  test -z "$as_dir" && as_dir=.
7801    for ac_exec_ext in '' $ac_executable_extensions; do
7802  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7803    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7804    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7805    break 2
7806  fi
7807done
7808  done
7809IFS=$as_save_IFS
7810
7811fi
7812fi
7813ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7814if test -n "$ac_ct_MANIFEST_TOOL"; then
7815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7816$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7817else
7818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7819$as_echo "no" >&6; }
7820fi
7821
7822  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7823    MANIFEST_TOOL=":"
7824  else
7825    case $cross_compiling:$ac_tool_warned in
7826yes:)
7827{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7828$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7829ac_tool_warned=yes ;;
7830esac
7831    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7832  fi
7833else
7834  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7835fi
7836
7837test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7839$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7840if ${lt_cv_path_mainfest_tool+:} false; then :
7841  $as_echo_n "(cached) " >&6
7842else
7843  lt_cv_path_mainfest_tool=no
7844  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7845  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7846  cat conftest.err >&5
7847  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7848    lt_cv_path_mainfest_tool=yes
7849  fi
7850  rm -f conftest*
7851fi
7852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7853$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7854if test "x$lt_cv_path_mainfest_tool" != xyes; then
7855  MANIFEST_TOOL=:
7856fi
7857
7858
7859
7860
7861
7862
7863  case $host_os in
7864    rhapsody* | darwin*)
7865    if test -n "$ac_tool_prefix"; then
7866  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7867set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7869$as_echo_n "checking for $ac_word... " >&6; }
7870if ${ac_cv_prog_DSYMUTIL+:} false; then :
7871  $as_echo_n "(cached) " >&6
7872else
7873  if test -n "$DSYMUTIL"; then
7874  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7875else
7876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7877for as_dir in $PATH
7878do
7879  IFS=$as_save_IFS
7880  test -z "$as_dir" && as_dir=.
7881    for ac_exec_ext in '' $ac_executable_extensions; do
7882  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7883    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7884    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7885    break 2
7886  fi
7887done
7888  done
7889IFS=$as_save_IFS
7890
7891fi
7892fi
7893DSYMUTIL=$ac_cv_prog_DSYMUTIL
7894if test -n "$DSYMUTIL"; then
7895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7896$as_echo "$DSYMUTIL" >&6; }
7897else
7898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7899$as_echo "no" >&6; }
7900fi
7901
7902
7903fi
7904if test -z "$ac_cv_prog_DSYMUTIL"; then
7905  ac_ct_DSYMUTIL=$DSYMUTIL
7906  # Extract the first word of "dsymutil", so it can be a program name with args.
7907set dummy dsymutil; ac_word=$2
7908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7909$as_echo_n "checking for $ac_word... " >&6; }
7910if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7911  $as_echo_n "(cached) " >&6
7912else
7913  if test -n "$ac_ct_DSYMUTIL"; then
7914  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7915else
7916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7917for as_dir in $PATH
7918do
7919  IFS=$as_save_IFS
7920  test -z "$as_dir" && as_dir=.
7921    for ac_exec_ext in '' $ac_executable_extensions; do
7922  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7923    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7924    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7925    break 2
7926  fi
7927done
7928  done
7929IFS=$as_save_IFS
7930
7931fi
7932fi
7933ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7934if test -n "$ac_ct_DSYMUTIL"; then
7935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7936$as_echo "$ac_ct_DSYMUTIL" >&6; }
7937else
7938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7939$as_echo "no" >&6; }
7940fi
7941
7942  if test "x$ac_ct_DSYMUTIL" = x; then
7943    DSYMUTIL=":"
7944  else
7945    case $cross_compiling:$ac_tool_warned in
7946yes:)
7947{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7948$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7949ac_tool_warned=yes ;;
7950esac
7951    DSYMUTIL=$ac_ct_DSYMUTIL
7952  fi
7953else
7954  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7955fi
7956
7957    if test -n "$ac_tool_prefix"; then
7958  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7959set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961$as_echo_n "checking for $ac_word... " >&6; }
7962if ${ac_cv_prog_NMEDIT+:} false; then :
7963  $as_echo_n "(cached) " >&6
7964else
7965  if test -n "$NMEDIT"; then
7966  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7967else
7968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969for as_dir in $PATH
7970do
7971  IFS=$as_save_IFS
7972  test -z "$as_dir" && as_dir=.
7973    for ac_exec_ext in '' $ac_executable_extensions; do
7974  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7976    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7977    break 2
7978  fi
7979done
7980  done
7981IFS=$as_save_IFS
7982
7983fi
7984fi
7985NMEDIT=$ac_cv_prog_NMEDIT
7986if test -n "$NMEDIT"; then
7987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7988$as_echo "$NMEDIT" >&6; }
7989else
7990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991$as_echo "no" >&6; }
7992fi
7993
7994
7995fi
7996if test -z "$ac_cv_prog_NMEDIT"; then
7997  ac_ct_NMEDIT=$NMEDIT
7998  # Extract the first word of "nmedit", so it can be a program name with args.
7999set dummy nmedit; ac_word=$2
8000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8001$as_echo_n "checking for $ac_word... " >&6; }
8002if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8003  $as_echo_n "(cached) " >&6
8004else
8005  if test -n "$ac_ct_NMEDIT"; then
8006  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8007else
8008as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009for as_dir in $PATH
8010do
8011  IFS=$as_save_IFS
8012  test -z "$as_dir" && as_dir=.
8013    for ac_exec_ext in '' $ac_executable_extensions; do
8014  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8015    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8016    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8017    break 2
8018  fi
8019done
8020  done
8021IFS=$as_save_IFS
8022
8023fi
8024fi
8025ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8026if test -n "$ac_ct_NMEDIT"; then
8027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8028$as_echo "$ac_ct_NMEDIT" >&6; }
8029else
8030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031$as_echo "no" >&6; }
8032fi
8033
8034  if test "x$ac_ct_NMEDIT" = x; then
8035    NMEDIT=":"
8036  else
8037    case $cross_compiling:$ac_tool_warned in
8038yes:)
8039{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8040$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8041ac_tool_warned=yes ;;
8042esac
8043    NMEDIT=$ac_ct_NMEDIT
8044  fi
8045else
8046  NMEDIT="$ac_cv_prog_NMEDIT"
8047fi
8048
8049    if test -n "$ac_tool_prefix"; then
8050  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8051set dummy ${ac_tool_prefix}lipo; ac_word=$2
8052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053$as_echo_n "checking for $ac_word... " >&6; }
8054if ${ac_cv_prog_LIPO+:} false; then :
8055  $as_echo_n "(cached) " >&6
8056else
8057  if test -n "$LIPO"; then
8058  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8059else
8060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061for as_dir in $PATH
8062do
8063  IFS=$as_save_IFS
8064  test -z "$as_dir" && as_dir=.
8065    for ac_exec_ext in '' $ac_executable_extensions; do
8066  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8068    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069    break 2
8070  fi
8071done
8072  done
8073IFS=$as_save_IFS
8074
8075fi
8076fi
8077LIPO=$ac_cv_prog_LIPO
8078if test -n "$LIPO"; then
8079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8080$as_echo "$LIPO" >&6; }
8081else
8082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083$as_echo "no" >&6; }
8084fi
8085
8086
8087fi
8088if test -z "$ac_cv_prog_LIPO"; then
8089  ac_ct_LIPO=$LIPO
8090  # Extract the first word of "lipo", so it can be a program name with args.
8091set dummy lipo; ac_word=$2
8092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8093$as_echo_n "checking for $ac_word... " >&6; }
8094if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8095  $as_echo_n "(cached) " >&6
8096else
8097  if test -n "$ac_ct_LIPO"; then
8098  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8099else
8100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8101for as_dir in $PATH
8102do
8103  IFS=$as_save_IFS
8104  test -z "$as_dir" && as_dir=.
8105    for ac_exec_ext in '' $ac_executable_extensions; do
8106  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8107    ac_cv_prog_ac_ct_LIPO="lipo"
8108    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8109    break 2
8110  fi
8111done
8112  done
8113IFS=$as_save_IFS
8114
8115fi
8116fi
8117ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8118if test -n "$ac_ct_LIPO"; then
8119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8120$as_echo "$ac_ct_LIPO" >&6; }
8121else
8122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8123$as_echo "no" >&6; }
8124fi
8125
8126  if test "x$ac_ct_LIPO" = x; then
8127    LIPO=":"
8128  else
8129    case $cross_compiling:$ac_tool_warned in
8130yes:)
8131{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8132$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8133ac_tool_warned=yes ;;
8134esac
8135    LIPO=$ac_ct_LIPO
8136  fi
8137else
8138  LIPO="$ac_cv_prog_LIPO"
8139fi
8140
8141    if test -n "$ac_tool_prefix"; then
8142  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8143set dummy ${ac_tool_prefix}otool; ac_word=$2
8144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8145$as_echo_n "checking for $ac_word... " >&6; }
8146if ${ac_cv_prog_OTOOL+:} false; then :
8147  $as_echo_n "(cached) " >&6
8148else
8149  if test -n "$OTOOL"; then
8150  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8151else
8152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8153for as_dir in $PATH
8154do
8155  IFS=$as_save_IFS
8156  test -z "$as_dir" && as_dir=.
8157    for ac_exec_ext in '' $ac_executable_extensions; do
8158  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8159    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8160    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8161    break 2
8162  fi
8163done
8164  done
8165IFS=$as_save_IFS
8166
8167fi
8168fi
8169OTOOL=$ac_cv_prog_OTOOL
8170if test -n "$OTOOL"; then
8171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8172$as_echo "$OTOOL" >&6; }
8173else
8174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8175$as_echo "no" >&6; }
8176fi
8177
8178
8179fi
8180if test -z "$ac_cv_prog_OTOOL"; then
8181  ac_ct_OTOOL=$OTOOL
8182  # Extract the first word of "otool", so it can be a program name with args.
8183set dummy otool; ac_word=$2
8184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8185$as_echo_n "checking for $ac_word... " >&6; }
8186if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8187  $as_echo_n "(cached) " >&6
8188else
8189  if test -n "$ac_ct_OTOOL"; then
8190  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8191else
8192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8193for as_dir in $PATH
8194do
8195  IFS=$as_save_IFS
8196  test -z "$as_dir" && as_dir=.
8197    for ac_exec_ext in '' $ac_executable_extensions; do
8198  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8199    ac_cv_prog_ac_ct_OTOOL="otool"
8200    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8201    break 2
8202  fi
8203done
8204  done
8205IFS=$as_save_IFS
8206
8207fi
8208fi
8209ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8210if test -n "$ac_ct_OTOOL"; then
8211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8212$as_echo "$ac_ct_OTOOL" >&6; }
8213else
8214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8215$as_echo "no" >&6; }
8216fi
8217
8218  if test "x$ac_ct_OTOOL" = x; then
8219    OTOOL=":"
8220  else
8221    case $cross_compiling:$ac_tool_warned in
8222yes:)
8223{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8224$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8225ac_tool_warned=yes ;;
8226esac
8227    OTOOL=$ac_ct_OTOOL
8228  fi
8229else
8230  OTOOL="$ac_cv_prog_OTOOL"
8231fi
8232
8233    if test -n "$ac_tool_prefix"; then
8234  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8235set dummy ${ac_tool_prefix}otool64; ac_word=$2
8236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8237$as_echo_n "checking for $ac_word... " >&6; }
8238if ${ac_cv_prog_OTOOL64+:} false; then :
8239  $as_echo_n "(cached) " >&6
8240else
8241  if test -n "$OTOOL64"; then
8242  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8243else
8244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8245for as_dir in $PATH
8246do
8247  IFS=$as_save_IFS
8248  test -z "$as_dir" && as_dir=.
8249    for ac_exec_ext in '' $ac_executable_extensions; do
8250  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8251    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8252    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8253    break 2
8254  fi
8255done
8256  done
8257IFS=$as_save_IFS
8258
8259fi
8260fi
8261OTOOL64=$ac_cv_prog_OTOOL64
8262if test -n "$OTOOL64"; then
8263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8264$as_echo "$OTOOL64" >&6; }
8265else
8266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8267$as_echo "no" >&6; }
8268fi
8269
8270
8271fi
8272if test -z "$ac_cv_prog_OTOOL64"; then
8273  ac_ct_OTOOL64=$OTOOL64
8274  # Extract the first word of "otool64", so it can be a program name with args.
8275set dummy otool64; ac_word=$2
8276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8277$as_echo_n "checking for $ac_word... " >&6; }
8278if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8279  $as_echo_n "(cached) " >&6
8280else
8281  if test -n "$ac_ct_OTOOL64"; then
8282  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8283else
8284as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8285for as_dir in $PATH
8286do
8287  IFS=$as_save_IFS
8288  test -z "$as_dir" && as_dir=.
8289    for ac_exec_ext in '' $ac_executable_extensions; do
8290  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8291    ac_cv_prog_ac_ct_OTOOL64="otool64"
8292    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8293    break 2
8294  fi
8295done
8296  done
8297IFS=$as_save_IFS
8298
8299fi
8300fi
8301ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8302if test -n "$ac_ct_OTOOL64"; then
8303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8304$as_echo "$ac_ct_OTOOL64" >&6; }
8305else
8306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8307$as_echo "no" >&6; }
8308fi
8309
8310  if test "x$ac_ct_OTOOL64" = x; then
8311    OTOOL64=":"
8312  else
8313    case $cross_compiling:$ac_tool_warned in
8314yes:)
8315{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8316$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8317ac_tool_warned=yes ;;
8318esac
8319    OTOOL64=$ac_ct_OTOOL64
8320  fi
8321else
8322  OTOOL64="$ac_cv_prog_OTOOL64"
8323fi
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8352$as_echo_n "checking for -single_module linker flag... " >&6; }
8353if ${lt_cv_apple_cc_single_mod+:} false; then :
8354  $as_echo_n "(cached) " >&6
8355else
8356  lt_cv_apple_cc_single_mod=no
8357      if test -z "${LT_MULTI_MODULE}"; then
8358	# By default we will add the -single_module flag. You can override
8359	# by either setting the environment variable LT_MULTI_MODULE
8360	# non-empty at configure time, or by adding -multi_module to the
8361	# link flags.
8362	rm -rf libconftest.dylib*
8363	echo "int foo(void){return 1;}" > conftest.c
8364	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8365-dynamiclib -Wl,-single_module conftest.c" >&5
8366	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8367	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8368        _lt_result=$?
8369	# If there is a non-empty error log, and "single_module"
8370	# appears in it, assume the flag caused a linker warning
8371        if test -s conftest.err && $GREP single_module conftest.err; then
8372	  cat conftest.err >&5
8373	# Otherwise, if the output was created with a 0 exit code from
8374	# the compiler, it worked.
8375	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8376	  lt_cv_apple_cc_single_mod=yes
8377	else
8378	  cat conftest.err >&5
8379	fi
8380	rm -rf libconftest.dylib*
8381	rm -f conftest.*
8382      fi
8383fi
8384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8385$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8386
8387    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8388$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8389if ${lt_cv_ld_exported_symbols_list+:} false; then :
8390  $as_echo_n "(cached) " >&6
8391else
8392  lt_cv_ld_exported_symbols_list=no
8393      save_LDFLAGS=$LDFLAGS
8394      echo "_main" > conftest.sym
8395      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397/* end confdefs.h.  */
8398
8399int
8400main ()
8401{
8402
8403  ;
8404  return 0;
8405}
8406_ACEOF
8407if ac_fn_c_try_link "$LINENO"; then :
8408  lt_cv_ld_exported_symbols_list=yes
8409else
8410  lt_cv_ld_exported_symbols_list=no
8411fi
8412rm -f core conftest.err conftest.$ac_objext \
8413    conftest$ac_exeext conftest.$ac_ext
8414	LDFLAGS="$save_LDFLAGS"
8415
8416fi
8417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8418$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8419
8420    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8421$as_echo_n "checking for -force_load linker flag... " >&6; }
8422if ${lt_cv_ld_force_load+:} false; then :
8423  $as_echo_n "(cached) " >&6
8424else
8425  lt_cv_ld_force_load=no
8426      cat > conftest.c << _LT_EOF
8427int forced_loaded() { return 2;}
8428_LT_EOF
8429      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8430      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8431      echo "$AR cru libconftest.a conftest.o" >&5
8432      $AR cru libconftest.a conftest.o 2>&5
8433      echo "$RANLIB libconftest.a" >&5
8434      $RANLIB libconftest.a 2>&5
8435      cat > conftest.c << _LT_EOF
8436int main() { return 0;}
8437_LT_EOF
8438      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8439      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8440      _lt_result=$?
8441      if test -s conftest.err && $GREP force_load conftest.err; then
8442	cat conftest.err >&5
8443      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8444	lt_cv_ld_force_load=yes
8445      else
8446	cat conftest.err >&5
8447      fi
8448        rm -f conftest.err libconftest.a conftest conftest.c
8449        rm -rf conftest.dSYM
8450
8451fi
8452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8453$as_echo "$lt_cv_ld_force_load" >&6; }
8454    case $host_os in
8455    rhapsody* | darwin1.[012])
8456      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8457    darwin1.*)
8458      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8459    darwin*) # darwin 5.x on
8460      # if running on 10.5 or later, the deployment target defaults
8461      # to the OS version, if on x86, and 10.4, the deployment
8462      # target defaults to 10.4. Don't you love it?
8463      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8464	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8465	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8466	10.[012]*)
8467	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8468	10.*)
8469	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8470      esac
8471    ;;
8472  esac
8473    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8474      _lt_dar_single_mod='$single_module'
8475    fi
8476    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8477      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8478    else
8479      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8480    fi
8481    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8482      _lt_dsymutil='~$DSYMUTIL $lib || :'
8483    else
8484      _lt_dsymutil=
8485    fi
8486    ;;
8487  esac
8488
8489ac_ext=c
8490ac_cpp='$CPP $CPPFLAGS'
8491ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8492ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8493ac_compiler_gnu=$ac_cv_c_compiler_gnu
8494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8495$as_echo_n "checking how to run the C preprocessor... " >&6; }
8496# On Suns, sometimes $CPP names a directory.
8497if test -n "$CPP" && test -d "$CPP"; then
8498  CPP=
8499fi
8500if test -z "$CPP"; then
8501  if ${ac_cv_prog_CPP+:} false; then :
8502  $as_echo_n "(cached) " >&6
8503else
8504      # Double quotes because CPP needs to be expanded
8505    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8506    do
8507      ac_preproc_ok=false
8508for ac_c_preproc_warn_flag in '' yes
8509do
8510  # Use a header file that comes with gcc, so configuring glibc
8511  # with a fresh cross-compiler works.
8512  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8513  # <limits.h> exists even on freestanding compilers.
8514  # On the NeXT, cc -E runs the code through the compiler's parser,
8515  # not just through cpp. "Syntax error" is here to catch this case.
8516  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517/* end confdefs.h.  */
8518#ifdef __STDC__
8519# include <limits.h>
8520#else
8521# include <assert.h>
8522#endif
8523		     Syntax error
8524_ACEOF
8525if ac_fn_c_try_cpp "$LINENO"; then :
8526
8527else
8528  # Broken: fails on valid input.
8529continue
8530fi
8531rm -f conftest.err conftest.i conftest.$ac_ext
8532
8533  # OK, works on sane cases.  Now check whether nonexistent headers
8534  # can be detected and how.
8535  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536/* end confdefs.h.  */
8537#include <ac_nonexistent.h>
8538_ACEOF
8539if ac_fn_c_try_cpp "$LINENO"; then :
8540  # Broken: success on invalid input.
8541continue
8542else
8543  # Passes both tests.
8544ac_preproc_ok=:
8545break
8546fi
8547rm -f conftest.err conftest.i conftest.$ac_ext
8548
8549done
8550# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8551rm -f conftest.i conftest.err conftest.$ac_ext
8552if $ac_preproc_ok; then :
8553  break
8554fi
8555
8556    done
8557    ac_cv_prog_CPP=$CPP
8558
8559fi
8560  CPP=$ac_cv_prog_CPP
8561else
8562  ac_cv_prog_CPP=$CPP
8563fi
8564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8565$as_echo "$CPP" >&6; }
8566ac_preproc_ok=false
8567for ac_c_preproc_warn_flag in '' yes
8568do
8569  # Use a header file that comes with gcc, so configuring glibc
8570  # with a fresh cross-compiler works.
8571  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8572  # <limits.h> exists even on freestanding compilers.
8573  # On the NeXT, cc -E runs the code through the compiler's parser,
8574  # not just through cpp. "Syntax error" is here to catch this case.
8575  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8576/* end confdefs.h.  */
8577#ifdef __STDC__
8578# include <limits.h>
8579#else
8580# include <assert.h>
8581#endif
8582		     Syntax error
8583_ACEOF
8584if ac_fn_c_try_cpp "$LINENO"; then :
8585
8586else
8587  # Broken: fails on valid input.
8588continue
8589fi
8590rm -f conftest.err conftest.i conftest.$ac_ext
8591
8592  # OK, works on sane cases.  Now check whether nonexistent headers
8593  # can be detected and how.
8594  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595/* end confdefs.h.  */
8596#include <ac_nonexistent.h>
8597_ACEOF
8598if ac_fn_c_try_cpp "$LINENO"; then :
8599  # Broken: success on invalid input.
8600continue
8601else
8602  # Passes both tests.
8603ac_preproc_ok=:
8604break
8605fi
8606rm -f conftest.err conftest.i conftest.$ac_ext
8607
8608done
8609# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8610rm -f conftest.i conftest.err conftest.$ac_ext
8611if $ac_preproc_ok; then :
8612
8613else
8614  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8615$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8616as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8617See \`config.log' for more details" "$LINENO" 5; }
8618fi
8619
8620ac_ext=c
8621ac_cpp='$CPP $CPPFLAGS'
8622ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8623ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8624ac_compiler_gnu=$ac_cv_c_compiler_gnu
8625
8626
8627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8628$as_echo_n "checking for ANSI C header files... " >&6; }
8629if ${ac_cv_header_stdc+:} false; then :
8630  $as_echo_n "(cached) " >&6
8631else
8632  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8633/* end confdefs.h.  */
8634#include <stdlib.h>
8635#include <stdarg.h>
8636#include <string.h>
8637#include <float.h>
8638
8639int
8640main ()
8641{
8642
8643  ;
8644  return 0;
8645}
8646_ACEOF
8647if ac_fn_c_try_compile "$LINENO"; then :
8648  ac_cv_header_stdc=yes
8649else
8650  ac_cv_header_stdc=no
8651fi
8652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8653
8654if test $ac_cv_header_stdc = yes; then
8655  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8656  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8657/* end confdefs.h.  */
8658#include <string.h>
8659
8660_ACEOF
8661if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8662  $EGREP "memchr" >/dev/null 2>&1; then :
8663
8664else
8665  ac_cv_header_stdc=no
8666fi
8667rm -f conftest*
8668
8669fi
8670
8671if test $ac_cv_header_stdc = yes; then
8672  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8673  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8674/* end confdefs.h.  */
8675#include <stdlib.h>
8676
8677_ACEOF
8678if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8679  $EGREP "free" >/dev/null 2>&1; then :
8680
8681else
8682  ac_cv_header_stdc=no
8683fi
8684rm -f conftest*
8685
8686fi
8687
8688if test $ac_cv_header_stdc = yes; then
8689  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8690  if test "$cross_compiling" = yes; then :
8691  :
8692else
8693  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8694/* end confdefs.h.  */
8695#include <ctype.h>
8696#include <stdlib.h>
8697#if ((' ' & 0x0FF) == 0x020)
8698# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8699# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8700#else
8701# define ISLOWER(c) \
8702		   (('a' <= (c) && (c) <= 'i') \
8703		     || ('j' <= (c) && (c) <= 'r') \
8704		     || ('s' <= (c) && (c) <= 'z'))
8705# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8706#endif
8707
8708#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8709int
8710main ()
8711{
8712  int i;
8713  for (i = 0; i < 256; i++)
8714    if (XOR (islower (i), ISLOWER (i))
8715	|| toupper (i) != TOUPPER (i))
8716      return 2;
8717  return 0;
8718}
8719_ACEOF
8720if ac_fn_c_try_run "$LINENO"; then :
8721
8722else
8723  ac_cv_header_stdc=no
8724fi
8725rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8726  conftest.$ac_objext conftest.beam conftest.$ac_ext
8727fi
8728
8729fi
8730fi
8731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8732$as_echo "$ac_cv_header_stdc" >&6; }
8733if test $ac_cv_header_stdc = yes; then
8734
8735$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8736
8737fi
8738
8739# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8740for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8741		  inttypes.h stdint.h unistd.h
8742do :
8743  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8744ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8745"
8746if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8747  cat >>confdefs.h <<_ACEOF
8748#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8749_ACEOF
8750
8751fi
8752
8753done
8754
8755
8756for ac_header in dlfcn.h
8757do :
8758  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8759"
8760if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8761  cat >>confdefs.h <<_ACEOF
8762#define HAVE_DLFCN_H 1
8763_ACEOF
8764
8765fi
8766
8767done
8768
8769
8770
8771
8772func_stripname_cnf ()
8773{
8774  case ${2} in
8775  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8776  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8777  esac
8778} # func_stripname_cnf
8779
8780
8781
8782
8783
8784# Set options
8785
8786
8787
8788        enable_dlopen=no
8789
8790
8791  enable_win32_dll=no
8792
8793
8794            # Check whether --enable-shared was given.
8795if test "${enable_shared+set}" = set; then :
8796  enableval=$enable_shared; p=${PACKAGE-default}
8797    case $enableval in
8798    yes) enable_shared=yes ;;
8799    no) enable_shared=no ;;
8800    *)
8801      enable_shared=no
8802      # Look at the argument we got.  We use all the common list separators.
8803      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8804      for pkg in $enableval; do
8805	IFS="$lt_save_ifs"
8806	if test "X$pkg" = "X$p"; then
8807	  enable_shared=yes
8808	fi
8809      done
8810      IFS="$lt_save_ifs"
8811      ;;
8812    esac
8813else
8814  enable_shared=yes
8815fi
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825  # Check whether --enable-static was given.
8826if test "${enable_static+set}" = set; then :
8827  enableval=$enable_static; p=${PACKAGE-default}
8828    case $enableval in
8829    yes) enable_static=yes ;;
8830    no) enable_static=no ;;
8831    *)
8832     enable_static=no
8833      # Look at the argument we got.  We use all the common list separators.
8834      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8835      for pkg in $enableval; do
8836	IFS="$lt_save_ifs"
8837	if test "X$pkg" = "X$p"; then
8838	  enable_static=yes
8839	fi
8840      done
8841      IFS="$lt_save_ifs"
8842      ;;
8843    esac
8844else
8845  enable_static=yes
8846fi
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857# Check whether --with-pic was given.
8858if test "${with_pic+set}" = set; then :
8859  withval=$with_pic; lt_p=${PACKAGE-default}
8860    case $withval in
8861    yes|no) pic_mode=$withval ;;
8862    *)
8863      pic_mode=default
8864      # Look at the argument we got.  We use all the common list separators.
8865      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8866      for lt_pkg in $withval; do
8867	IFS="$lt_save_ifs"
8868	if test "X$lt_pkg" = "X$lt_p"; then
8869	  pic_mode=yes
8870	fi
8871      done
8872      IFS="$lt_save_ifs"
8873      ;;
8874    esac
8875else
8876  pic_mode=default
8877fi
8878
8879
8880test -z "$pic_mode" && pic_mode=default
8881
8882
8883
8884
8885
8886
8887
8888  # Check whether --enable-fast-install was given.
8889if test "${enable_fast_install+set}" = set; then :
8890  enableval=$enable_fast_install; p=${PACKAGE-default}
8891    case $enableval in
8892    yes) enable_fast_install=yes ;;
8893    no) enable_fast_install=no ;;
8894    *)
8895      enable_fast_install=no
8896      # Look at the argument we got.  We use all the common list separators.
8897      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8898      for pkg in $enableval; do
8899	IFS="$lt_save_ifs"
8900	if test "X$pkg" = "X$p"; then
8901	  enable_fast_install=yes
8902	fi
8903      done
8904      IFS="$lt_save_ifs"
8905      ;;
8906    esac
8907else
8908  enable_fast_install=yes
8909fi
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921# This can be used to rebuild libtool when needed
8922LIBTOOL_DEPS="$ltmain"
8923
8924# Always use our own libtool.
8925LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956test -z "$LN_S" && LN_S="ln -s"
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971if test -n "${ZSH_VERSION+set}" ; then
8972   setopt NO_GLOB_SUBST
8973fi
8974
8975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8976$as_echo_n "checking for objdir... " >&6; }
8977if ${lt_cv_objdir+:} false; then :
8978  $as_echo_n "(cached) " >&6
8979else
8980  rm -f .libs 2>/dev/null
8981mkdir .libs 2>/dev/null
8982if test -d .libs; then
8983  lt_cv_objdir=.libs
8984else
8985  # MS-DOS does not allow filenames that begin with a dot.
8986  lt_cv_objdir=_libs
8987fi
8988rmdir .libs 2>/dev/null
8989fi
8990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8991$as_echo "$lt_cv_objdir" >&6; }
8992objdir=$lt_cv_objdir
8993
8994
8995
8996
8997
8998cat >>confdefs.h <<_ACEOF
8999#define LT_OBJDIR "$lt_cv_objdir/"
9000_ACEOF
9001
9002
9003
9004
9005case $host_os in
9006aix3*)
9007  # AIX sometimes has problems with the GCC collect2 program.  For some
9008  # reason, if we set the COLLECT_NAMES environment variable, the problems
9009  # vanish in a puff of smoke.
9010  if test "X${COLLECT_NAMES+set}" != Xset; then
9011    COLLECT_NAMES=
9012    export COLLECT_NAMES
9013  fi
9014  ;;
9015esac
9016
9017# Global variables:
9018ofile=libtool
9019can_build_shared=yes
9020
9021# All known linkers require a `.a' archive for static linking (except MSVC,
9022# which needs '.lib').
9023libext=a
9024
9025with_gnu_ld="$lt_cv_prog_gnu_ld"
9026
9027old_CC="$CC"
9028old_CFLAGS="$CFLAGS"
9029
9030# Set sane defaults for various variables
9031test -z "$CC" && CC=cc
9032test -z "$LTCC" && LTCC=$CC
9033test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9034test -z "$LD" && LD=ld
9035test -z "$ac_objext" && ac_objext=o
9036
9037for cc_temp in $compiler""; do
9038  case $cc_temp in
9039    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9040    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9041    \-*) ;;
9042    *) break;;
9043  esac
9044done
9045cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9046
9047
9048# Only perform the check for file, if the check method requires it
9049test -z "$MAGIC_CMD" && MAGIC_CMD=file
9050case $deplibs_check_method in
9051file_magic*)
9052  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9053    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9054$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9055if ${lt_cv_path_MAGIC_CMD+:} false; then :
9056  $as_echo_n "(cached) " >&6
9057else
9058  case $MAGIC_CMD in
9059[\\/*] |  ?:[\\/]*)
9060  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9061  ;;
9062*)
9063  lt_save_MAGIC_CMD="$MAGIC_CMD"
9064  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9065  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9066  for ac_dir in $ac_dummy; do
9067    IFS="$lt_save_ifs"
9068    test -z "$ac_dir" && ac_dir=.
9069    if test -f $ac_dir/${ac_tool_prefix}file; then
9070      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9071      if test -n "$file_magic_test_file"; then
9072	case $deplibs_check_method in
9073	"file_magic "*)
9074	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9075	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9076	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9077	    $EGREP "$file_magic_regex" > /dev/null; then
9078	    :
9079	  else
9080	    cat <<_LT_EOF 1>&2
9081
9082*** Warning: the command libtool uses to detect shared libraries,
9083*** $file_magic_cmd, produces output that libtool cannot recognize.
9084*** The result is that libtool may fail to recognize shared libraries
9085*** as such.  This will affect the creation of libtool libraries that
9086*** depend on shared libraries, but programs linked with such libtool
9087*** libraries will work regardless of this problem.  Nevertheless, you
9088*** may want to report the problem to your system manager and/or to
9089*** bug-libtool@gnu.org
9090
9091_LT_EOF
9092	  fi ;;
9093	esac
9094      fi
9095      break
9096    fi
9097  done
9098  IFS="$lt_save_ifs"
9099  MAGIC_CMD="$lt_save_MAGIC_CMD"
9100  ;;
9101esac
9102fi
9103
9104MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9105if test -n "$MAGIC_CMD"; then
9106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9107$as_echo "$MAGIC_CMD" >&6; }
9108else
9109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9110$as_echo "no" >&6; }
9111fi
9112
9113
9114
9115
9116
9117if test -z "$lt_cv_path_MAGIC_CMD"; then
9118  if test -n "$ac_tool_prefix"; then
9119    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9120$as_echo_n "checking for file... " >&6; }
9121if ${lt_cv_path_MAGIC_CMD+:} false; then :
9122  $as_echo_n "(cached) " >&6
9123else
9124  case $MAGIC_CMD in
9125[\\/*] |  ?:[\\/]*)
9126  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9127  ;;
9128*)
9129  lt_save_MAGIC_CMD="$MAGIC_CMD"
9130  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9131  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9132  for ac_dir in $ac_dummy; do
9133    IFS="$lt_save_ifs"
9134    test -z "$ac_dir" && ac_dir=.
9135    if test -f $ac_dir/file; then
9136      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9137      if test -n "$file_magic_test_file"; then
9138	case $deplibs_check_method in
9139	"file_magic "*)
9140	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9141	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9142	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9143	    $EGREP "$file_magic_regex" > /dev/null; then
9144	    :
9145	  else
9146	    cat <<_LT_EOF 1>&2
9147
9148*** Warning: the command libtool uses to detect shared libraries,
9149*** $file_magic_cmd, produces output that libtool cannot recognize.
9150*** The result is that libtool may fail to recognize shared libraries
9151*** as such.  This will affect the creation of libtool libraries that
9152*** depend on shared libraries, but programs linked with such libtool
9153*** libraries will work regardless of this problem.  Nevertheless, you
9154*** may want to report the problem to your system manager and/or to
9155*** bug-libtool@gnu.org
9156
9157_LT_EOF
9158	  fi ;;
9159	esac
9160      fi
9161      break
9162    fi
9163  done
9164  IFS="$lt_save_ifs"
9165  MAGIC_CMD="$lt_save_MAGIC_CMD"
9166  ;;
9167esac
9168fi
9169
9170MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9171if test -n "$MAGIC_CMD"; then
9172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9173$as_echo "$MAGIC_CMD" >&6; }
9174else
9175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9176$as_echo "no" >&6; }
9177fi
9178
9179
9180  else
9181    MAGIC_CMD=:
9182  fi
9183fi
9184
9185  fi
9186  ;;
9187esac
9188
9189# Use C for the default configuration in the libtool script
9190
9191lt_save_CC="$CC"
9192ac_ext=c
9193ac_cpp='$CPP $CPPFLAGS'
9194ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9195ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9196ac_compiler_gnu=$ac_cv_c_compiler_gnu
9197
9198
9199# Source file extension for C test sources.
9200ac_ext=c
9201
9202# Object file extension for compiled C test sources.
9203objext=o
9204objext=$objext
9205
9206# Code to be used in simple compile tests
9207lt_simple_compile_test_code="int some_variable = 0;"
9208
9209# Code to be used in simple link tests
9210lt_simple_link_test_code='int main(){return(0);}'
9211
9212
9213
9214
9215
9216
9217
9218# If no C compiler was specified, use CC.
9219LTCC=${LTCC-"$CC"}
9220
9221# If no C compiler flags were specified, use CFLAGS.
9222LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9223
9224# Allow CC to be a program name with arguments.
9225compiler=$CC
9226
9227# Save the default compiler, since it gets overwritten when the other
9228# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9229compiler_DEFAULT=$CC
9230
9231# save warnings/boilerplate of simple test code
9232ac_outfile=conftest.$ac_objext
9233echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9234eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9235_lt_compiler_boilerplate=`cat conftest.err`
9236$RM conftest*
9237
9238ac_outfile=conftest.$ac_objext
9239echo "$lt_simple_link_test_code" >conftest.$ac_ext
9240eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9241_lt_linker_boilerplate=`cat conftest.err`
9242$RM -r conftest*
9243
9244
9245## CAVEAT EMPTOR:
9246## There is no encapsulation within the following macros, do not change
9247## the running order or otherwise move them around unless you know exactly
9248## what you are doing...
9249if test -n "$compiler"; then
9250
9251lt_prog_compiler_no_builtin_flag=
9252
9253if test "$GCC" = yes; then
9254  case $cc_basename in
9255  nvcc*)
9256    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9257  *)
9258    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9259  esac
9260
9261  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9262$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9263if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9264  $as_echo_n "(cached) " >&6
9265else
9266  lt_cv_prog_compiler_rtti_exceptions=no
9267   ac_outfile=conftest.$ac_objext
9268   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9269   lt_compiler_flag="-fno-rtti -fno-exceptions"
9270   # Insert the option either (1) after the last *FLAGS variable, or
9271   # (2) before a word containing "conftest.", or (3) at the end.
9272   # Note that $ac_compile itself does not contain backslashes and begins
9273   # with a dollar sign (not a hyphen), so the echo should work correctly.
9274   # The option is referenced via a variable to avoid confusing sed.
9275   lt_compile=`echo "$ac_compile" | $SED \
9276   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9277   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9278   -e 's:$: $lt_compiler_flag:'`
9279   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9280   (eval "$lt_compile" 2>conftest.err)
9281   ac_status=$?
9282   cat conftest.err >&5
9283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284   if (exit $ac_status) && test -s "$ac_outfile"; then
9285     # The compiler can only warn and ignore the option if not recognized
9286     # So say no if there are warnings other than the usual output.
9287     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9288     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9289     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9290       lt_cv_prog_compiler_rtti_exceptions=yes
9291     fi
9292   fi
9293   $RM conftest*
9294
9295fi
9296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9297$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9298
9299if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9300    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9301else
9302    :
9303fi
9304
9305fi
9306
9307
9308
9309
9310
9311
9312  lt_prog_compiler_wl=
9313lt_prog_compiler_pic=
9314lt_prog_compiler_static=
9315
9316
9317  if test "$GCC" = yes; then
9318    lt_prog_compiler_wl='-Wl,'
9319    lt_prog_compiler_static='-static'
9320
9321    case $host_os in
9322      aix*)
9323      # All AIX code is PIC.
9324      if test "$host_cpu" = ia64; then
9325	# AIX 5 now supports IA64 processor
9326	lt_prog_compiler_static='-Bstatic'
9327      fi
9328      ;;
9329
9330    amigaos*)
9331      case $host_cpu in
9332      powerpc)
9333            # see comment about AmigaOS4 .so support
9334            lt_prog_compiler_pic='-fPIC'
9335        ;;
9336      m68k)
9337            # FIXME: we need at least 68020 code to build shared libraries, but
9338            # adding the `-m68020' flag to GCC prevents building anything better,
9339            # like `-m68040'.
9340            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9341        ;;
9342      esac
9343      ;;
9344
9345    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9346      # PIC is the default for these OSes.
9347      ;;
9348
9349    mingw* | cygwin* | pw32* | os2* | cegcc*)
9350      # This hack is so that the source file can tell whether it is being
9351      # built for inclusion in a dll (and should export symbols for example).
9352      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9353      # (--disable-auto-import) libraries
9354      lt_prog_compiler_pic='-DDLL_EXPORT'
9355      ;;
9356
9357    darwin* | rhapsody*)
9358      # PIC is the default on this platform
9359      # Common symbols not allowed in MH_DYLIB files
9360      lt_prog_compiler_pic='-fno-common'
9361      ;;
9362
9363    haiku*)
9364      # PIC is the default for Haiku.
9365      # The "-static" flag exists, but is broken.
9366      lt_prog_compiler_static=
9367      ;;
9368
9369    hpux*)
9370      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9371      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9372      # sets the default TLS model and affects inlining.
9373      case $host_cpu in
9374      hppa*64*)
9375	# +Z the default
9376	;;
9377      *)
9378	lt_prog_compiler_pic='-fPIC'
9379	;;
9380      esac
9381      ;;
9382
9383    interix[3-9]*)
9384      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9385      # Instead, we relocate shared libraries at runtime.
9386      ;;
9387
9388    msdosdjgpp*)
9389      # Just because we use GCC doesn't mean we suddenly get shared libraries
9390      # on systems that don't support them.
9391      lt_prog_compiler_can_build_shared=no
9392      enable_shared=no
9393      ;;
9394
9395    *nto* | *qnx*)
9396      # QNX uses GNU C++, but need to define -shared option too, otherwise
9397      # it will coredump.
9398      lt_prog_compiler_pic='-fPIC -shared'
9399      ;;
9400
9401    sysv4*MP*)
9402      if test -d /usr/nec; then
9403	lt_prog_compiler_pic=-Kconform_pic
9404      fi
9405      ;;
9406
9407    *)
9408      lt_prog_compiler_pic='-fPIC'
9409      ;;
9410    esac
9411
9412    case $cc_basename in
9413    nvcc*) # Cuda Compiler Driver 2.2
9414      lt_prog_compiler_wl='-Xlinker '
9415      if test -n "$lt_prog_compiler_pic"; then
9416        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9417      fi
9418      ;;
9419    esac
9420  else
9421    # PORTME Check for flag to pass linker flags through the system compiler.
9422    case $host_os in
9423    aix*)
9424      lt_prog_compiler_wl='-Wl,'
9425      if test "$host_cpu" = ia64; then
9426	# AIX 5 now supports IA64 processor
9427	lt_prog_compiler_static='-Bstatic'
9428      else
9429	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9430      fi
9431      ;;
9432
9433    mingw* | cygwin* | pw32* | os2* | cegcc*)
9434      # This hack is so that the source file can tell whether it is being
9435      # built for inclusion in a dll (and should export symbols for example).
9436      lt_prog_compiler_pic='-DDLL_EXPORT'
9437      ;;
9438
9439    hpux9* | hpux10* | hpux11*)
9440      lt_prog_compiler_wl='-Wl,'
9441      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9442      # not for PA HP-UX.
9443      case $host_cpu in
9444      hppa*64*|ia64*)
9445	# +Z the default
9446	;;
9447      *)
9448	lt_prog_compiler_pic='+Z'
9449	;;
9450      esac
9451      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9452      lt_prog_compiler_static='${wl}-a ${wl}archive'
9453      ;;
9454
9455    irix5* | irix6* | nonstopux*)
9456      lt_prog_compiler_wl='-Wl,'
9457      # PIC (with -KPIC) is the default.
9458      lt_prog_compiler_static='-non_shared'
9459      ;;
9460
9461    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9462      case $cc_basename in
9463      # old Intel for x86_64 which still supported -KPIC.
9464      ecc*)
9465	lt_prog_compiler_wl='-Wl,'
9466	lt_prog_compiler_pic='-KPIC'
9467	lt_prog_compiler_static='-static'
9468        ;;
9469      # icc used to be incompatible with GCC.
9470      # ICC 10 doesn't accept -KPIC any more.
9471      icc* | ifort*)
9472	lt_prog_compiler_wl='-Wl,'
9473	lt_prog_compiler_pic='-fPIC'
9474	lt_prog_compiler_static='-static'
9475        ;;
9476      # Lahey Fortran 8.1.
9477      lf95*)
9478	lt_prog_compiler_wl='-Wl,'
9479	lt_prog_compiler_pic='--shared'
9480	lt_prog_compiler_static='--static'
9481	;;
9482      nagfor*)
9483	# NAG Fortran compiler
9484	lt_prog_compiler_wl='-Wl,-Wl,,'
9485	lt_prog_compiler_pic='-PIC'
9486	lt_prog_compiler_static='-Bstatic'
9487	;;
9488      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9489        # Portland Group compilers (*not* the Pentium gcc compiler,
9490	# which looks to be a dead project)
9491	lt_prog_compiler_wl='-Wl,'
9492	lt_prog_compiler_pic='-fpic'
9493	lt_prog_compiler_static='-Bstatic'
9494        ;;
9495      ccc*)
9496        lt_prog_compiler_wl='-Wl,'
9497        # All Alpha code is PIC.
9498        lt_prog_compiler_static='-non_shared'
9499        ;;
9500      xl* | bgxl* | bgf* | mpixl*)
9501	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9502	lt_prog_compiler_wl='-Wl,'
9503	lt_prog_compiler_pic='-qpic'
9504	lt_prog_compiler_static='-qstaticlink'
9505	;;
9506      *)
9507	case `$CC -V 2>&1 | sed 5q` in
9508	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9509	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9510	  lt_prog_compiler_pic='-KPIC'
9511	  lt_prog_compiler_static='-Bstatic'
9512	  lt_prog_compiler_wl=''
9513	  ;;
9514	*Sun\ F* | *Sun*Fortran*)
9515	  lt_prog_compiler_pic='-KPIC'
9516	  lt_prog_compiler_static='-Bstatic'
9517	  lt_prog_compiler_wl='-Qoption ld '
9518	  ;;
9519	*Sun\ C*)
9520	  # Sun C 5.9
9521	  lt_prog_compiler_pic='-KPIC'
9522	  lt_prog_compiler_static='-Bstatic'
9523	  lt_prog_compiler_wl='-Wl,'
9524	  ;;
9525        *Intel*\ [CF]*Compiler*)
9526	  lt_prog_compiler_wl='-Wl,'
9527	  lt_prog_compiler_pic='-fPIC'
9528	  lt_prog_compiler_static='-static'
9529	  ;;
9530	*Portland\ Group*)
9531	  lt_prog_compiler_wl='-Wl,'
9532	  lt_prog_compiler_pic='-fpic'
9533	  lt_prog_compiler_static='-Bstatic'
9534	  ;;
9535	esac
9536	;;
9537      esac
9538      ;;
9539
9540    newsos6)
9541      lt_prog_compiler_pic='-KPIC'
9542      lt_prog_compiler_static='-Bstatic'
9543      ;;
9544
9545    *nto* | *qnx*)
9546      # QNX uses GNU C++, but need to define -shared option too, otherwise
9547      # it will coredump.
9548      lt_prog_compiler_pic='-fPIC -shared'
9549      ;;
9550
9551    osf3* | osf4* | osf5*)
9552      lt_prog_compiler_wl='-Wl,'
9553      # All OSF/1 code is PIC.
9554      lt_prog_compiler_static='-non_shared'
9555      ;;
9556
9557    rdos*)
9558      lt_prog_compiler_static='-non_shared'
9559      ;;
9560
9561    solaris*)
9562      lt_prog_compiler_pic='-KPIC'
9563      lt_prog_compiler_static='-Bstatic'
9564      case $cc_basename in
9565      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9566	lt_prog_compiler_wl='-Qoption ld ';;
9567      *)
9568	lt_prog_compiler_wl='-Wl,';;
9569      esac
9570      ;;
9571
9572    sunos4*)
9573      lt_prog_compiler_wl='-Qoption ld '
9574      lt_prog_compiler_pic='-PIC'
9575      lt_prog_compiler_static='-Bstatic'
9576      ;;
9577
9578    sysv4 | sysv4.2uw2* | sysv4.3*)
9579      lt_prog_compiler_wl='-Wl,'
9580      lt_prog_compiler_pic='-KPIC'
9581      lt_prog_compiler_static='-Bstatic'
9582      ;;
9583
9584    sysv4*MP*)
9585      if test -d /usr/nec ;then
9586	lt_prog_compiler_pic='-Kconform_pic'
9587	lt_prog_compiler_static='-Bstatic'
9588      fi
9589      ;;
9590
9591    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9592      lt_prog_compiler_wl='-Wl,'
9593      lt_prog_compiler_pic='-KPIC'
9594      lt_prog_compiler_static='-Bstatic'
9595      ;;
9596
9597    unicos*)
9598      lt_prog_compiler_wl='-Wl,'
9599      lt_prog_compiler_can_build_shared=no
9600      ;;
9601
9602    uts4*)
9603      lt_prog_compiler_pic='-pic'
9604      lt_prog_compiler_static='-Bstatic'
9605      ;;
9606
9607    *)
9608      lt_prog_compiler_can_build_shared=no
9609      ;;
9610    esac
9611  fi
9612
9613case $host_os in
9614  # For platforms which do not support PIC, -DPIC is meaningless:
9615  *djgpp*)
9616    lt_prog_compiler_pic=
9617    ;;
9618  *)
9619    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9620    ;;
9621esac
9622
9623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9624$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9625if ${lt_cv_prog_compiler_pic+:} false; then :
9626  $as_echo_n "(cached) " >&6
9627else
9628  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9629fi
9630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9631$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9632lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9633
9634#
9635# Check to make sure the PIC flag actually works.
9636#
9637if test -n "$lt_prog_compiler_pic"; then
9638  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9639$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9640if ${lt_cv_prog_compiler_pic_works+:} false; then :
9641  $as_echo_n "(cached) " >&6
9642else
9643  lt_cv_prog_compiler_pic_works=no
9644   ac_outfile=conftest.$ac_objext
9645   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9646   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9647   # Insert the option either (1) after the last *FLAGS variable, or
9648   # (2) before a word containing "conftest.", or (3) at the end.
9649   # Note that $ac_compile itself does not contain backslashes and begins
9650   # with a dollar sign (not a hyphen), so the echo should work correctly.
9651   # The option is referenced via a variable to avoid confusing sed.
9652   lt_compile=`echo "$ac_compile" | $SED \
9653   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9654   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9655   -e 's:$: $lt_compiler_flag:'`
9656   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9657   (eval "$lt_compile" 2>conftest.err)
9658   ac_status=$?
9659   cat conftest.err >&5
9660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661   if (exit $ac_status) && test -s "$ac_outfile"; then
9662     # The compiler can only warn and ignore the option if not recognized
9663     # So say no if there are warnings other than the usual output.
9664     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9665     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9666     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9667       lt_cv_prog_compiler_pic_works=yes
9668     fi
9669   fi
9670   $RM conftest*
9671
9672fi
9673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9674$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9675
9676if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9677    case $lt_prog_compiler_pic in
9678     "" | " "*) ;;
9679     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9680     esac
9681else
9682    lt_prog_compiler_pic=
9683     lt_prog_compiler_can_build_shared=no
9684fi
9685
9686fi
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698#
9699# Check to make sure the static flag actually works.
9700#
9701wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9703$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9704if ${lt_cv_prog_compiler_static_works+:} false; then :
9705  $as_echo_n "(cached) " >&6
9706else
9707  lt_cv_prog_compiler_static_works=no
9708   save_LDFLAGS="$LDFLAGS"
9709   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9710   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9711   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9712     # The linker can only warn and ignore the option if not recognized
9713     # So say no if there are warnings
9714     if test -s conftest.err; then
9715       # Append any errors to the config.log.
9716       cat conftest.err 1>&5
9717       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9718       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9719       if diff conftest.exp conftest.er2 >/dev/null; then
9720         lt_cv_prog_compiler_static_works=yes
9721       fi
9722     else
9723       lt_cv_prog_compiler_static_works=yes
9724     fi
9725   fi
9726   $RM -r conftest*
9727   LDFLAGS="$save_LDFLAGS"
9728
9729fi
9730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9731$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9732
9733if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9734    :
9735else
9736    lt_prog_compiler_static=
9737fi
9738
9739
9740
9741
9742
9743
9744
9745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9746$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9747if ${lt_cv_prog_compiler_c_o+:} false; then :
9748  $as_echo_n "(cached) " >&6
9749else
9750  lt_cv_prog_compiler_c_o=no
9751   $RM -r conftest 2>/dev/null
9752   mkdir conftest
9753   cd conftest
9754   mkdir out
9755   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9756
9757   lt_compiler_flag="-o out/conftest2.$ac_objext"
9758   # Insert the option either (1) after the last *FLAGS variable, or
9759   # (2) before a word containing "conftest.", or (3) at the end.
9760   # Note that $ac_compile itself does not contain backslashes and begins
9761   # with a dollar sign (not a hyphen), so the echo should work correctly.
9762   lt_compile=`echo "$ac_compile" | $SED \
9763   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9764   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9765   -e 's:$: $lt_compiler_flag:'`
9766   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9767   (eval "$lt_compile" 2>out/conftest.err)
9768   ac_status=$?
9769   cat out/conftest.err >&5
9770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9772   then
9773     # The compiler can only warn and ignore the option if not recognized
9774     # So say no if there are warnings
9775     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9776     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9777     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9778       lt_cv_prog_compiler_c_o=yes
9779     fi
9780   fi
9781   chmod u+w . 2>&5
9782   $RM conftest*
9783   # SGI C++ compiler will create directory out/ii_files/ for
9784   # template instantiation
9785   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9786   $RM out/* && rmdir out
9787   cd ..
9788   $RM -r conftest
9789   $RM conftest*
9790
9791fi
9792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9793$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9794
9795
9796
9797
9798
9799
9800  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9801$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9802if ${lt_cv_prog_compiler_c_o+:} false; then :
9803  $as_echo_n "(cached) " >&6
9804else
9805  lt_cv_prog_compiler_c_o=no
9806   $RM -r conftest 2>/dev/null
9807   mkdir conftest
9808   cd conftest
9809   mkdir out
9810   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9811
9812   lt_compiler_flag="-o out/conftest2.$ac_objext"
9813   # Insert the option either (1) after the last *FLAGS variable, or
9814   # (2) before a word containing "conftest.", or (3) at the end.
9815   # Note that $ac_compile itself does not contain backslashes and begins
9816   # with a dollar sign (not a hyphen), so the echo should work correctly.
9817   lt_compile=`echo "$ac_compile" | $SED \
9818   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9819   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9820   -e 's:$: $lt_compiler_flag:'`
9821   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9822   (eval "$lt_compile" 2>out/conftest.err)
9823   ac_status=$?
9824   cat out/conftest.err >&5
9825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9827   then
9828     # The compiler can only warn and ignore the option if not recognized
9829     # So say no if there are warnings
9830     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9831     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9832     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9833       lt_cv_prog_compiler_c_o=yes
9834     fi
9835   fi
9836   chmod u+w . 2>&5
9837   $RM conftest*
9838   # SGI C++ compiler will create directory out/ii_files/ for
9839   # template instantiation
9840   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9841   $RM out/* && rmdir out
9842   cd ..
9843   $RM -r conftest
9844   $RM conftest*
9845
9846fi
9847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9848$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9849
9850
9851
9852
9853hard_links="nottested"
9854if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9855  # do not overwrite the value of need_locks provided by the user
9856  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9857$as_echo_n "checking if we can lock with hard links... " >&6; }
9858  hard_links=yes
9859  $RM conftest*
9860  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9861  touch conftest.a
9862  ln conftest.a conftest.b 2>&5 || hard_links=no
9863  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9865$as_echo "$hard_links" >&6; }
9866  if test "$hard_links" = no; then
9867    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9868$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9869    need_locks=warn
9870  fi
9871else
9872  need_locks=no
9873fi
9874
9875
9876
9877
9878
9879
9880  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9881$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9882
9883  runpath_var=
9884  allow_undefined_flag=
9885  always_export_symbols=no
9886  archive_cmds=
9887  archive_expsym_cmds=
9888  compiler_needs_object=no
9889  enable_shared_with_static_runtimes=no
9890  export_dynamic_flag_spec=
9891  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9892  hardcode_automatic=no
9893  hardcode_direct=no
9894  hardcode_direct_absolute=no
9895  hardcode_libdir_flag_spec=
9896  hardcode_libdir_separator=
9897  hardcode_minus_L=no
9898  hardcode_shlibpath_var=unsupported
9899  inherit_rpath=no
9900  link_all_deplibs=unknown
9901  module_cmds=
9902  module_expsym_cmds=
9903  old_archive_from_new_cmds=
9904  old_archive_from_expsyms_cmds=
9905  thread_safe_flag_spec=
9906  whole_archive_flag_spec=
9907  # include_expsyms should be a list of space-separated symbols to be *always*
9908  # included in the symbol list
9909  include_expsyms=
9910  # exclude_expsyms can be an extended regexp of symbols to exclude
9911  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9912  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9913  # as well as any symbol that contains `d'.
9914  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9915  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9916  # platforms (ab)use it in PIC code, but their linkers get confused if
9917  # the symbol is explicitly referenced.  Since portable code cannot
9918  # rely on this symbol name, it's probably fine to never include it in
9919  # preloaded symbol tables.
9920  # Exclude shared library initialization/finalization symbols.
9921  extract_expsyms_cmds=
9922
9923  case $host_os in
9924  cygwin* | mingw* | pw32* | cegcc*)
9925    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9926    # When not using gcc, we currently assume that we are using
9927    # Microsoft Visual C++.
9928    if test "$GCC" != yes; then
9929      with_gnu_ld=no
9930    fi
9931    ;;
9932  interix*)
9933    # we just hope/assume this is gcc and not c89 (= MSVC++)
9934    with_gnu_ld=yes
9935    ;;
9936  openbsd*)
9937    with_gnu_ld=no
9938    ;;
9939  esac
9940
9941  ld_shlibs=yes
9942
9943  # On some targets, GNU ld is compatible enough with the native linker
9944  # that we're better off using the native interface for both.
9945  lt_use_gnu_ld_interface=no
9946  if test "$with_gnu_ld" = yes; then
9947    case $host_os in
9948      aix*)
9949	# The AIX port of GNU ld has always aspired to compatibility
9950	# with the native linker.  However, as the warning in the GNU ld
9951	# block says, versions before 2.19.5* couldn't really create working
9952	# shared libraries, regardless of the interface used.
9953	case `$LD -v 2>&1` in
9954	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9955	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9956	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9957	  *)
9958	    lt_use_gnu_ld_interface=yes
9959	    ;;
9960	esac
9961	;;
9962      *)
9963	lt_use_gnu_ld_interface=yes
9964	;;
9965    esac
9966  fi
9967
9968  if test "$lt_use_gnu_ld_interface" = yes; then
9969    # If archive_cmds runs LD, not CC, wlarc should be empty
9970    wlarc='${wl}'
9971
9972    # Set some defaults for GNU ld with shared library support. These
9973    # are reset later if shared libraries are not supported. Putting them
9974    # here allows them to be overridden if necessary.
9975    runpath_var=LD_RUN_PATH
9976    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9977    export_dynamic_flag_spec='${wl}--export-dynamic'
9978    # ancient GNU ld didn't support --whole-archive et. al.
9979    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9980      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9981    else
9982      whole_archive_flag_spec=
9983    fi
9984    supports_anon_versioning=no
9985    case `$LD -v 2>&1` in
9986      *GNU\ gold*) supports_anon_versioning=yes ;;
9987      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9988      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9989      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9990      *\ 2.11.*) ;; # other 2.11 versions
9991      *) supports_anon_versioning=yes ;;
9992    esac
9993
9994    # See if GNU ld supports shared libraries.
9995    case $host_os in
9996    aix[3-9]*)
9997      # On AIX/PPC, the GNU linker is very broken
9998      if test "$host_cpu" != ia64; then
9999	ld_shlibs=no
10000	cat <<_LT_EOF 1>&2
10001
10002*** Warning: the GNU linker, at least up to release 2.19, is reported
10003*** to be unable to reliably create shared libraries on AIX.
10004*** Therefore, libtool is disabling shared libraries support.  If you
10005*** really care for shared libraries, you may want to install binutils
10006*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10007*** You will then need to restart the configuration process.
10008
10009_LT_EOF
10010      fi
10011      ;;
10012
10013    amigaos*)
10014      case $host_cpu in
10015      powerpc)
10016            # see comment about AmigaOS4 .so support
10017            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10018            archive_expsym_cmds=''
10019        ;;
10020      m68k)
10021            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)'
10022            hardcode_libdir_flag_spec='-L$libdir'
10023            hardcode_minus_L=yes
10024        ;;
10025      esac
10026      ;;
10027
10028    beos*)
10029      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10030	allow_undefined_flag=unsupported
10031	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10032	# support --undefined.  This deserves some investigation.  FIXME
10033	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10034      else
10035	ld_shlibs=no
10036      fi
10037      ;;
10038
10039    cygwin* | mingw* | pw32* | cegcc*)
10040      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10041      # as there is no search path for DLLs.
10042      hardcode_libdir_flag_spec='-L$libdir'
10043      export_dynamic_flag_spec='${wl}--export-all-symbols'
10044      allow_undefined_flag=unsupported
10045      always_export_symbols=no
10046      enable_shared_with_static_runtimes=yes
10047      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'
10048      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10049
10050      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10051        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10052	# If the export-symbols file already is a .def file (1st line
10053	# is EXPORTS), use it as is; otherwise, prepend...
10054	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10055	  cp $export_symbols $output_objdir/$soname.def;
10056	else
10057	  echo EXPORTS > $output_objdir/$soname.def;
10058	  cat $export_symbols >> $output_objdir/$soname.def;
10059	fi~
10060	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10061      else
10062	ld_shlibs=no
10063      fi
10064      ;;
10065
10066    haiku*)
10067      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10068      link_all_deplibs=yes
10069      ;;
10070
10071    interix[3-9]*)
10072      hardcode_direct=no
10073      hardcode_shlibpath_var=no
10074      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10075      export_dynamic_flag_spec='${wl}-E'
10076      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10077      # Instead, shared libraries are loaded at an image base (0x10000000 by
10078      # default) and relocated if they conflict, which is a slow very memory
10079      # consuming and fragmenting process.  To avoid this, we pick a random,
10080      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10081      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10082      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10083      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'
10084      ;;
10085
10086    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10087      tmp_diet=no
10088      if test "$host_os" = linux-dietlibc; then
10089	case $cc_basename in
10090	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10091	esac
10092      fi
10093      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10094	 && test "$tmp_diet" = no
10095      then
10096	tmp_addflag=' $pic_flag'
10097	tmp_sharedflag='-shared'
10098	case $cc_basename,$host_cpu in
10099        pgcc*)				# Portland Group C compiler
10100	  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'
10101	  tmp_addflag=' $pic_flag'
10102	  ;;
10103	pgf77* | pgf90* | pgf95* | pgfortran*)
10104					# Portland Group f77 and f90 compilers
10105	  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'
10106	  tmp_addflag=' $pic_flag -Mnomain' ;;
10107	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10108	  tmp_addflag=' -i_dynamic' ;;
10109	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10110	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10111	ifc* | ifort*)			# Intel Fortran compiler
10112	  tmp_addflag=' -nofor_main' ;;
10113	lf95*)				# Lahey Fortran 8.1
10114	  whole_archive_flag_spec=
10115	  tmp_sharedflag='--shared' ;;
10116	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10117	  tmp_sharedflag='-qmkshrobj'
10118	  tmp_addflag= ;;
10119	nvcc*)	# Cuda Compiler Driver 2.2
10120	  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'
10121	  compiler_needs_object=yes
10122	  ;;
10123	esac
10124	case `$CC -V 2>&1 | sed 5q` in
10125	*Sun\ C*)			# Sun C 5.9
10126	  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'
10127	  compiler_needs_object=yes
10128	  tmp_sharedflag='-G' ;;
10129	*Sun\ F*)			# Sun Fortran 8.3
10130	  tmp_sharedflag='-G' ;;
10131	esac
10132	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10133
10134        if test "x$supports_anon_versioning" = xyes; then
10135          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10136	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10137	    echo "local: *; };" >> $output_objdir/$libname.ver~
10138	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10139        fi
10140
10141	case $cc_basename in
10142	xlf* | bgf* | bgxlf* | mpixlf*)
10143	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10144	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10145	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10146	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10147	  if test "x$supports_anon_versioning" = xyes; then
10148	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10149	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10150	      echo "local: *; };" >> $output_objdir/$libname.ver~
10151	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10152	  fi
10153	  ;;
10154	esac
10155      else
10156        ld_shlibs=no
10157      fi
10158      ;;
10159
10160    netbsd*)
10161      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10162	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10163	wlarc=
10164      else
10165	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10166	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10167      fi
10168      ;;
10169
10170    solaris*)
10171      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10172	ld_shlibs=no
10173	cat <<_LT_EOF 1>&2
10174
10175*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10176*** create shared libraries on Solaris systems.  Therefore, libtool
10177*** is disabling shared libraries support.  We urge you to upgrade GNU
10178*** binutils to release 2.9.1 or newer.  Another option is to modify
10179*** your PATH or compiler configuration so that the native linker is
10180*** used, and then restart.
10181
10182_LT_EOF
10183      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10184	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10185	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10186      else
10187	ld_shlibs=no
10188      fi
10189      ;;
10190
10191    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10192      case `$LD -v 2>&1` in
10193        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10194	ld_shlibs=no
10195	cat <<_LT_EOF 1>&2
10196
10197*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10198*** reliably create shared libraries on SCO systems.  Therefore, libtool
10199*** is disabling shared libraries support.  We urge you to upgrade GNU
10200*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10201*** your PATH or compiler configuration so that the native linker is
10202*** used, and then restart.
10203
10204_LT_EOF
10205	;;
10206	*)
10207	  # For security reasons, it is highly recommended that you always
10208	  # use absolute paths for naming shared libraries, and exclude the
10209	  # DT_RUNPATH tag from executables and libraries.  But doing so
10210	  # requires that you compile everything twice, which is a pain.
10211	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10212	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10213	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10214	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10215	  else
10216	    ld_shlibs=no
10217	  fi
10218	;;
10219      esac
10220      ;;
10221
10222    sunos4*)
10223      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10224      wlarc=
10225      hardcode_direct=yes
10226      hardcode_shlibpath_var=no
10227      ;;
10228
10229    *)
10230      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10231	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10232	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10233      else
10234	ld_shlibs=no
10235      fi
10236      ;;
10237    esac
10238
10239    if test "$ld_shlibs" = no; then
10240      runpath_var=
10241      hardcode_libdir_flag_spec=
10242      export_dynamic_flag_spec=
10243      whole_archive_flag_spec=
10244    fi
10245  else
10246    # PORTME fill in a description of your system's linker (not GNU ld)
10247    case $host_os in
10248    aix3*)
10249      allow_undefined_flag=unsupported
10250      always_export_symbols=yes
10251      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'
10252      # Note: this linker hardcodes the directories in LIBPATH if there
10253      # are no directories specified by -L.
10254      hardcode_minus_L=yes
10255      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10256	# Neither direct hardcoding nor static linking is supported with a
10257	# broken collect2.
10258	hardcode_direct=unsupported
10259      fi
10260      ;;
10261
10262    aix[4-9]*)
10263      if test "$host_cpu" = ia64; then
10264	# On IA64, the linker does run time linking by default, so we don't
10265	# have to do anything special.
10266	aix_use_runtimelinking=no
10267	exp_sym_flag='-Bexport'
10268	no_entry_flag=""
10269      else
10270	# If we're using GNU nm, then we don't want the "-C" option.
10271	# -C means demangle to AIX nm, but means don't demangle with GNU nm
10272	# Also, AIX nm treats weak defined symbols like other global
10273	# defined symbols, whereas GNU nm marks them as "W".
10274	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10275	  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'
10276	else
10277	  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'
10278	fi
10279	aix_use_runtimelinking=no
10280
10281	# Test if we are trying to use run time linking or normal
10282	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10283	# need to do runtime linking.
10284	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10285	  for ld_flag in $LDFLAGS; do
10286	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10287	    aix_use_runtimelinking=yes
10288	    break
10289	  fi
10290	  done
10291	  ;;
10292	esac
10293
10294	exp_sym_flag='-bexport'
10295	no_entry_flag='-bnoentry'
10296      fi
10297
10298      # When large executables or shared objects are built, AIX ld can
10299      # have problems creating the table of contents.  If linking a library
10300      # or program results in "error TOC overflow" add -mminimal-toc to
10301      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10302      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10303
10304      archive_cmds=''
10305      hardcode_direct=yes
10306      hardcode_direct_absolute=yes
10307      hardcode_libdir_separator=':'
10308      link_all_deplibs=yes
10309      file_list_spec='${wl}-f,'
10310
10311      if test "$GCC" = yes; then
10312	case $host_os in aix4.[012]|aix4.[012].*)
10313	# We only want to do this on AIX 4.2 and lower, the check
10314	# below for broken collect2 doesn't work under 4.3+
10315	  collect2name=`${CC} -print-prog-name=collect2`
10316	  if test -f "$collect2name" &&
10317	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10318	  then
10319	  # We have reworked collect2
10320	  :
10321	  else
10322	  # We have old collect2
10323	  hardcode_direct=unsupported
10324	  # It fails to find uninstalled libraries when the uninstalled
10325	  # path is not listed in the libpath.  Setting hardcode_minus_L
10326	  # to unsupported forces relinking
10327	  hardcode_minus_L=yes
10328	  hardcode_libdir_flag_spec='-L$libdir'
10329	  hardcode_libdir_separator=
10330	  fi
10331	  ;;
10332	esac
10333	shared_flag='-shared'
10334	if test "$aix_use_runtimelinking" = yes; then
10335	  shared_flag="$shared_flag "'${wl}-G'
10336	fi
10337      else
10338	# not using gcc
10339	if test "$host_cpu" = ia64; then
10340	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10341	# chokes on -Wl,-G. The following line is correct:
10342	  shared_flag='-G'
10343	else
10344	  if test "$aix_use_runtimelinking" = yes; then
10345	    shared_flag='${wl}-G'
10346	  else
10347	    shared_flag='${wl}-bM:SRE'
10348	  fi
10349	fi
10350      fi
10351
10352      export_dynamic_flag_spec='${wl}-bexpall'
10353      # It seems that -bexpall does not export symbols beginning with
10354      # underscore (_), so it is better to generate a list of symbols to export.
10355      always_export_symbols=yes
10356      if test "$aix_use_runtimelinking" = yes; then
10357	# Warning - without using the other runtime loading flags (-brtl),
10358	# -berok will link without error, but may produce a broken library.
10359	allow_undefined_flag='-berok'
10360        # Determine the default libpath from the value encoded in an
10361        # empty executable.
10362        if test "${lt_cv_aix_libpath+set}" = set; then
10363  aix_libpath=$lt_cv_aix_libpath
10364else
10365  if ${lt_cv_aix_libpath_+:} false; then :
10366  $as_echo_n "(cached) " >&6
10367else
10368  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10369/* end confdefs.h.  */
10370
10371int
10372main ()
10373{
10374
10375  ;
10376  return 0;
10377}
10378_ACEOF
10379if ac_fn_c_try_link "$LINENO"; then :
10380
10381  lt_aix_libpath_sed='
10382      /Import File Strings/,/^$/ {
10383	  /^0/ {
10384	      s/^0  *\([^ ]*\) *$/\1/
10385	      p
10386	  }
10387      }'
10388  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10389  # Check for a 64-bit object if we didn't find anything.
10390  if test -z "$lt_cv_aix_libpath_"; then
10391    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10392  fi
10393fi
10394rm -f core conftest.err conftest.$ac_objext \
10395    conftest$ac_exeext conftest.$ac_ext
10396  if test -z "$lt_cv_aix_libpath_"; then
10397    lt_cv_aix_libpath_="/usr/lib:/lib"
10398  fi
10399
10400fi
10401
10402  aix_libpath=$lt_cv_aix_libpath_
10403fi
10404
10405        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10406        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"
10407      else
10408	if test "$host_cpu" = ia64; then
10409	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10410	  allow_undefined_flag="-z nodefs"
10411	  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"
10412	else
10413	 # Determine the default libpath from the value encoded in an
10414	 # empty executable.
10415	 if test "${lt_cv_aix_libpath+set}" = set; then
10416  aix_libpath=$lt_cv_aix_libpath
10417else
10418  if ${lt_cv_aix_libpath_+:} false; then :
10419  $as_echo_n "(cached) " >&6
10420else
10421  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10422/* end confdefs.h.  */
10423
10424int
10425main ()
10426{
10427
10428  ;
10429  return 0;
10430}
10431_ACEOF
10432if ac_fn_c_try_link "$LINENO"; then :
10433
10434  lt_aix_libpath_sed='
10435      /Import File Strings/,/^$/ {
10436	  /^0/ {
10437	      s/^0  *\([^ ]*\) *$/\1/
10438	      p
10439	  }
10440      }'
10441  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10442  # Check for a 64-bit object if we didn't find anything.
10443  if test -z "$lt_cv_aix_libpath_"; then
10444    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10445  fi
10446fi
10447rm -f core conftest.err conftest.$ac_objext \
10448    conftest$ac_exeext conftest.$ac_ext
10449  if test -z "$lt_cv_aix_libpath_"; then
10450    lt_cv_aix_libpath_="/usr/lib:/lib"
10451  fi
10452
10453fi
10454
10455  aix_libpath=$lt_cv_aix_libpath_
10456fi
10457
10458	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10459	  # Warning - without using the other run time loading flags,
10460	  # -berok will link without error, but may produce a broken library.
10461	  no_undefined_flag=' ${wl}-bernotok'
10462	  allow_undefined_flag=' ${wl}-berok'
10463	  if test "$with_gnu_ld" = yes; then
10464	    # We only use this code for GNU lds that support --whole-archive.
10465	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10466	  else
10467	    # Exported symbols can be pulled into shared objects from archives
10468	    whole_archive_flag_spec='$convenience'
10469	  fi
10470	  archive_cmds_need_lc=yes
10471	  # This is similar to how AIX traditionally builds its shared libraries.
10472	  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'
10473	fi
10474      fi
10475      ;;
10476
10477    amigaos*)
10478      case $host_cpu in
10479      powerpc)
10480            # see comment about AmigaOS4 .so support
10481            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10482            archive_expsym_cmds=''
10483        ;;
10484      m68k)
10485            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)'
10486            hardcode_libdir_flag_spec='-L$libdir'
10487            hardcode_minus_L=yes
10488        ;;
10489      esac
10490      ;;
10491
10492    bsdi[45]*)
10493      export_dynamic_flag_spec=-rdynamic
10494      ;;
10495
10496    cygwin* | mingw* | pw32* | cegcc*)
10497      # When not using gcc, we currently assume that we are using
10498      # Microsoft Visual C++.
10499      # hardcode_libdir_flag_spec is actually meaningless, as there is
10500      # no search path for DLLs.
10501      case $cc_basename in
10502      cl*)
10503	# Native MSVC
10504	hardcode_libdir_flag_spec=' '
10505	allow_undefined_flag=unsupported
10506	always_export_symbols=yes
10507	file_list_spec='@'
10508	# Tell ltmain to make .lib files, not .a files.
10509	libext=lib
10510	# Tell ltmain to make .dll files, not .so files.
10511	shrext_cmds=".dll"
10512	# FIXME: Setting linknames here is a bad hack.
10513	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10514	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10515	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10516	  else
10517	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10518	  fi~
10519	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10520	  linknames='
10521	# The linker will not automatically build a static lib if we build a DLL.
10522	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10523	enable_shared_with_static_runtimes=yes
10524	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10525	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10526	# Don't use ranlib
10527	old_postinstall_cmds='chmod 644 $oldlib'
10528	postlink_cmds='lt_outputfile="@OUTPUT@"~
10529	  lt_tool_outputfile="@TOOL_OUTPUT@"~
10530	  case $lt_outputfile in
10531	    *.exe|*.EXE) ;;
10532	    *)
10533	      lt_outputfile="$lt_outputfile.exe"
10534	      lt_tool_outputfile="$lt_tool_outputfile.exe"
10535	      ;;
10536	  esac~
10537	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10538	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10539	    $RM "$lt_outputfile.manifest";
10540	  fi'
10541	;;
10542      *)
10543	# Assume MSVC wrapper
10544	hardcode_libdir_flag_spec=' '
10545	allow_undefined_flag=unsupported
10546	# Tell ltmain to make .lib files, not .a files.
10547	libext=lib
10548	# Tell ltmain to make .dll files, not .so files.
10549	shrext_cmds=".dll"
10550	# FIXME: Setting linknames here is a bad hack.
10551	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10552	# The linker will automatically build a .lib file if we build a DLL.
10553	old_archive_from_new_cmds='true'
10554	# FIXME: Should let the user specify the lib program.
10555	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10556	enable_shared_with_static_runtimes=yes
10557	;;
10558      esac
10559      ;;
10560
10561    darwin* | rhapsody*)
10562
10563
10564  archive_cmds_need_lc=no
10565  hardcode_direct=no
10566  hardcode_automatic=yes
10567  hardcode_shlibpath_var=unsupported
10568  if test "$lt_cv_ld_force_load" = "yes"; then
10569    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\"`'
10570
10571  else
10572    whole_archive_flag_spec=''
10573  fi
10574  link_all_deplibs=yes
10575  allow_undefined_flag="$_lt_dar_allow_undefined"
10576  case $cc_basename in
10577     ifort*) _lt_dar_can_shared=yes ;;
10578     *) _lt_dar_can_shared=$GCC ;;
10579  esac
10580  if test "$_lt_dar_can_shared" = "yes"; then
10581    output_verbose_link_cmd=func_echo_all
10582    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10583    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10584    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}"
10585    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}"
10586
10587  else
10588  ld_shlibs=no
10589  fi
10590
10591      ;;
10592
10593    dgux*)
10594      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10595      hardcode_libdir_flag_spec='-L$libdir'
10596      hardcode_shlibpath_var=no
10597      ;;
10598
10599    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10600    # support.  Future versions do this automatically, but an explicit c++rt0.o
10601    # does not break anything, and helps significantly (at the cost of a little
10602    # extra space).
10603    freebsd2.2*)
10604      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10605      hardcode_libdir_flag_spec='-R$libdir'
10606      hardcode_direct=yes
10607      hardcode_shlibpath_var=no
10608      ;;
10609
10610    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10611    freebsd2.*)
10612      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10613      hardcode_direct=yes
10614      hardcode_minus_L=yes
10615      hardcode_shlibpath_var=no
10616      ;;
10617
10618    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10619    freebsd* | dragonfly*)
10620      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10621      hardcode_libdir_flag_spec='-R$libdir'
10622      hardcode_direct=yes
10623      hardcode_shlibpath_var=no
10624      ;;
10625
10626    hpux9*)
10627      if test "$GCC" = yes; then
10628	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'
10629      else
10630	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'
10631      fi
10632      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10633      hardcode_libdir_separator=:
10634      hardcode_direct=yes
10635
10636      # hardcode_minus_L: Not really in the search PATH,
10637      # but as the default location of the library.
10638      hardcode_minus_L=yes
10639      export_dynamic_flag_spec='${wl}-E'
10640      ;;
10641
10642    hpux10*)
10643      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10644	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10645      else
10646	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10647      fi
10648      if test "$with_gnu_ld" = no; then
10649	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10650	hardcode_libdir_separator=:
10651	hardcode_direct=yes
10652	hardcode_direct_absolute=yes
10653	export_dynamic_flag_spec='${wl}-E'
10654	# hardcode_minus_L: Not really in the search PATH,
10655	# but as the default location of the library.
10656	hardcode_minus_L=yes
10657      fi
10658      ;;
10659
10660    hpux11*)
10661      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10662	case $host_cpu in
10663	hppa*64*)
10664	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10665	  ;;
10666	ia64*)
10667	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10668	  ;;
10669	*)
10670	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10671	  ;;
10672	esac
10673      else
10674	case $host_cpu in
10675	hppa*64*)
10676	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10677	  ;;
10678	ia64*)
10679	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10680	  ;;
10681	*)
10682
10683	  # Older versions of the 11.00 compiler do not understand -b yet
10684	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10685	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10686$as_echo_n "checking if $CC understands -b... " >&6; }
10687if ${lt_cv_prog_compiler__b+:} false; then :
10688  $as_echo_n "(cached) " >&6
10689else
10690  lt_cv_prog_compiler__b=no
10691   save_LDFLAGS="$LDFLAGS"
10692   LDFLAGS="$LDFLAGS -b"
10693   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10694   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10695     # The linker can only warn and ignore the option if not recognized
10696     # So say no if there are warnings
10697     if test -s conftest.err; then
10698       # Append any errors to the config.log.
10699       cat conftest.err 1>&5
10700       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10701       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10702       if diff conftest.exp conftest.er2 >/dev/null; then
10703         lt_cv_prog_compiler__b=yes
10704       fi
10705     else
10706       lt_cv_prog_compiler__b=yes
10707     fi
10708   fi
10709   $RM -r conftest*
10710   LDFLAGS="$save_LDFLAGS"
10711
10712fi
10713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10714$as_echo "$lt_cv_prog_compiler__b" >&6; }
10715
10716if test x"$lt_cv_prog_compiler__b" = xyes; then
10717    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10718else
10719    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10720fi
10721
10722	  ;;
10723	esac
10724      fi
10725      if test "$with_gnu_ld" = no; then
10726	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10727	hardcode_libdir_separator=:
10728
10729	case $host_cpu in
10730	hppa*64*|ia64*)
10731	  hardcode_direct=no
10732	  hardcode_shlibpath_var=no
10733	  ;;
10734	*)
10735	  hardcode_direct=yes
10736	  hardcode_direct_absolute=yes
10737	  export_dynamic_flag_spec='${wl}-E'
10738
10739	  # hardcode_minus_L: Not really in the search PATH,
10740	  # but as the default location of the library.
10741	  hardcode_minus_L=yes
10742	  ;;
10743	esac
10744      fi
10745      ;;
10746
10747    irix5* | irix6* | nonstopux*)
10748      if test "$GCC" = yes; then
10749	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'
10750	# Try to use the -exported_symbol ld option, if it does not
10751	# work, assume that -exports_file does not work either and
10752	# implicitly export all symbols.
10753	# This should be the same for all languages, so no per-tag cache variable.
10754	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10755$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10756if ${lt_cv_irix_exported_symbol+:} false; then :
10757  $as_echo_n "(cached) " >&6
10758else
10759  save_LDFLAGS="$LDFLAGS"
10760	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10761	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10762/* end confdefs.h.  */
10763int foo (void) { return 0; }
10764_ACEOF
10765if ac_fn_c_try_link "$LINENO"; then :
10766  lt_cv_irix_exported_symbol=yes
10767else
10768  lt_cv_irix_exported_symbol=no
10769fi
10770rm -f core conftest.err conftest.$ac_objext \
10771    conftest$ac_exeext conftest.$ac_ext
10772           LDFLAGS="$save_LDFLAGS"
10773fi
10774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10775$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10776	if test "$lt_cv_irix_exported_symbol" = yes; then
10777          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'
10778	fi
10779      else
10780	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'
10781	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'
10782      fi
10783      archive_cmds_need_lc='no'
10784      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10785      hardcode_libdir_separator=:
10786      inherit_rpath=yes
10787      link_all_deplibs=yes
10788      ;;
10789
10790    netbsd*)
10791      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10792	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10793      else
10794	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10795      fi
10796      hardcode_libdir_flag_spec='-R$libdir'
10797      hardcode_direct=yes
10798      hardcode_shlibpath_var=no
10799      ;;
10800
10801    newsos6)
10802      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10803      hardcode_direct=yes
10804      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10805      hardcode_libdir_separator=:
10806      hardcode_shlibpath_var=no
10807      ;;
10808
10809    *nto* | *qnx*)
10810      ;;
10811
10812    openbsd*)
10813      if test -f /usr/libexec/ld.so; then
10814	hardcode_direct=yes
10815	hardcode_shlibpath_var=no
10816	hardcode_direct_absolute=yes
10817	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10818	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10819	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10820	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10821	  export_dynamic_flag_spec='${wl}-E'
10822	else
10823	  case $host_os in
10824	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10825	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10826	     hardcode_libdir_flag_spec='-R$libdir'
10827	     ;;
10828	   *)
10829	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10830	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10831	     ;;
10832	  esac
10833	fi
10834      else
10835	ld_shlibs=no
10836      fi
10837      ;;
10838
10839    os2*)
10840      hardcode_libdir_flag_spec='-L$libdir'
10841      hardcode_minus_L=yes
10842      allow_undefined_flag=unsupported
10843      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'
10844      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10845      ;;
10846
10847    osf3*)
10848      if test "$GCC" = yes; then
10849	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10850	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'
10851      else
10852	allow_undefined_flag=' -expect_unresolved \*'
10853	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'
10854      fi
10855      archive_cmds_need_lc='no'
10856      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10857      hardcode_libdir_separator=:
10858      ;;
10859
10860    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10861      if test "$GCC" = yes; then
10862	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10863	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'
10864	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10865      else
10866	allow_undefined_flag=' -expect_unresolved \*'
10867	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'
10868	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~
10869	$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'
10870
10871	# Both c and cxx compiler support -rpath directly
10872	hardcode_libdir_flag_spec='-rpath $libdir'
10873      fi
10874      archive_cmds_need_lc='no'
10875      hardcode_libdir_separator=:
10876      ;;
10877
10878    solaris*)
10879      no_undefined_flag=' -z defs'
10880      if test "$GCC" = yes; then
10881	wlarc='${wl}'
10882	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10883	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10884	  $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'
10885      else
10886	case `$CC -V 2>&1` in
10887	*"Compilers 5.0"*)
10888	  wlarc=''
10889	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10890	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10891	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10892	  ;;
10893	*)
10894	  wlarc='${wl}'
10895	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10896	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10897	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10898	  ;;
10899	esac
10900      fi
10901      hardcode_libdir_flag_spec='-R$libdir'
10902      hardcode_shlibpath_var=no
10903      case $host_os in
10904      solaris2.[0-5] | solaris2.[0-5].*) ;;
10905      *)
10906	# The compiler driver will combine and reorder linker options,
10907	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10908	# but is careful enough not to reorder.
10909	# Supported since Solaris 2.6 (maybe 2.5.1?)
10910	if test "$GCC" = yes; then
10911	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10912	else
10913	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10914	fi
10915	;;
10916      esac
10917      link_all_deplibs=yes
10918      ;;
10919
10920    sunos4*)
10921      if test "x$host_vendor" = xsequent; then
10922	# Use $CC to link under sequent, because it throws in some extra .o
10923	# files that make .init and .fini sections work.
10924	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10925      else
10926	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10927      fi
10928      hardcode_libdir_flag_spec='-L$libdir'
10929      hardcode_direct=yes
10930      hardcode_minus_L=yes
10931      hardcode_shlibpath_var=no
10932      ;;
10933
10934    sysv4)
10935      case $host_vendor in
10936	sni)
10937	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10938	  hardcode_direct=yes # is this really true???
10939	;;
10940	siemens)
10941	  ## LD is ld it makes a PLAMLIB
10942	  ## CC just makes a GrossModule.
10943	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10944	  reload_cmds='$CC -r -o $output$reload_objs'
10945	  hardcode_direct=no
10946        ;;
10947	motorola)
10948	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10949	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10950	;;
10951      esac
10952      runpath_var='LD_RUN_PATH'
10953      hardcode_shlibpath_var=no
10954      ;;
10955
10956    sysv4.3*)
10957      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10958      hardcode_shlibpath_var=no
10959      export_dynamic_flag_spec='-Bexport'
10960      ;;
10961
10962    sysv4*MP*)
10963      if test -d /usr/nec; then
10964	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10965	hardcode_shlibpath_var=no
10966	runpath_var=LD_RUN_PATH
10967	hardcode_runpath_var=yes
10968	ld_shlibs=yes
10969      fi
10970      ;;
10971
10972    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10973      no_undefined_flag='${wl}-z,text'
10974      archive_cmds_need_lc=no
10975      hardcode_shlibpath_var=no
10976      runpath_var='LD_RUN_PATH'
10977
10978      if test "$GCC" = yes; then
10979	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10980	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10981      else
10982	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10983	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10984      fi
10985      ;;
10986
10987    sysv5* | sco3.2v5* | sco5v6*)
10988      # Note: We can NOT use -z defs as we might desire, because we do not
10989      # link with -lc, and that would cause any symbols used from libc to
10990      # always be unresolved, which means just about no library would
10991      # ever link correctly.  If we're not using GNU ld we use -z text
10992      # though, which does catch some bad symbols but isn't as heavy-handed
10993      # as -z defs.
10994      no_undefined_flag='${wl}-z,text'
10995      allow_undefined_flag='${wl}-z,nodefs'
10996      archive_cmds_need_lc=no
10997      hardcode_shlibpath_var=no
10998      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10999      hardcode_libdir_separator=':'
11000      link_all_deplibs=yes
11001      export_dynamic_flag_spec='${wl}-Bexport'
11002      runpath_var='LD_RUN_PATH'
11003
11004      if test "$GCC" = yes; then
11005	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11006	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11007      else
11008	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11009	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11010      fi
11011      ;;
11012
11013    uts4*)
11014      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11015      hardcode_libdir_flag_spec='-L$libdir'
11016      hardcode_shlibpath_var=no
11017      ;;
11018
11019    *)
11020      ld_shlibs=no
11021      ;;
11022    esac
11023
11024    if test x$host_vendor = xsni; then
11025      case $host in
11026      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11027	export_dynamic_flag_spec='${wl}-Blargedynsym'
11028	;;
11029      esac
11030    fi
11031  fi
11032
11033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11034$as_echo "$ld_shlibs" >&6; }
11035test "$ld_shlibs" = no && can_build_shared=no
11036
11037with_gnu_ld=$with_gnu_ld
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053#
11054# Do we need to explicitly link libc?
11055#
11056case "x$archive_cmds_need_lc" in
11057x|xyes)
11058  # Assume -lc should be added
11059  archive_cmds_need_lc=yes
11060
11061  if test "$enable_shared" = yes && test "$GCC" = yes; then
11062    case $archive_cmds in
11063    *'~'*)
11064      # FIXME: we may have to deal with multi-command sequences.
11065      ;;
11066    '$CC '*)
11067      # Test whether the compiler implicitly links with -lc since on some
11068      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11069      # to ld, don't add -lc before -lgcc.
11070      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11071$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11072if ${lt_cv_archive_cmds_need_lc+:} false; then :
11073  $as_echo_n "(cached) " >&6
11074else
11075  $RM conftest*
11076	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11077
11078	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11079  (eval $ac_compile) 2>&5
11080  ac_status=$?
11081  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11082  test $ac_status = 0; } 2>conftest.err; then
11083	  soname=conftest
11084	  lib=conftest
11085	  libobjs=conftest.$ac_objext
11086	  deplibs=
11087	  wl=$lt_prog_compiler_wl
11088	  pic_flag=$lt_prog_compiler_pic
11089	  compiler_flags=-v
11090	  linker_flags=-v
11091	  verstring=
11092	  output_objdir=.
11093	  libname=conftest
11094	  lt_save_allow_undefined_flag=$allow_undefined_flag
11095	  allow_undefined_flag=
11096	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11097  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11098  ac_status=$?
11099  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11100  test $ac_status = 0; }
11101	  then
11102	    lt_cv_archive_cmds_need_lc=no
11103	  else
11104	    lt_cv_archive_cmds_need_lc=yes
11105	  fi
11106	  allow_undefined_flag=$lt_save_allow_undefined_flag
11107	else
11108	  cat conftest.err 1>&5
11109	fi
11110	$RM conftest*
11111
11112fi
11113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11114$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11115      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11116      ;;
11117    esac
11118  fi
11119  ;;
11120esac
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
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11274$as_echo_n "checking dynamic linker characteristics... " >&6; }
11275
11276if test "$GCC" = yes; then
11277  case $host_os in
11278    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11279    *) lt_awk_arg="/^libraries:/" ;;
11280  esac
11281  case $host_os in
11282    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11283    *) lt_sed_strip_eq="s,=/,/,g" ;;
11284  esac
11285  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11286  case $lt_search_path_spec in
11287  *\;*)
11288    # if the path contains ";" then we assume it to be the separator
11289    # otherwise default to the standard path separator (i.e. ":") - it is
11290    # assumed that no part of a normal pathname contains ";" but that should
11291    # okay in the real world where ";" in dirpaths is itself problematic.
11292    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11293    ;;
11294  *)
11295    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11296    ;;
11297  esac
11298  # Ok, now we have the path, separated by spaces, we can step through it
11299  # and add multilib dir if necessary.
11300  lt_tmp_lt_search_path_spec=
11301  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11302  for lt_sys_path in $lt_search_path_spec; do
11303    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11304      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11305    else
11306      test -d "$lt_sys_path" && \
11307	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11308    fi
11309  done
11310  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11311BEGIN {RS=" "; FS="/|\n";} {
11312  lt_foo="";
11313  lt_count=0;
11314  for (lt_i = NF; lt_i > 0; lt_i--) {
11315    if ($lt_i != "" && $lt_i != ".") {
11316      if ($lt_i == "..") {
11317        lt_count++;
11318      } else {
11319        if (lt_count == 0) {
11320          lt_foo="/" $lt_i lt_foo;
11321        } else {
11322          lt_count--;
11323        }
11324      }
11325    }
11326  }
11327  if (lt_foo != "") { lt_freq[lt_foo]++; }
11328  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11329}'`
11330  # AWK program above erroneously prepends '/' to C:/dos/paths
11331  # for these hosts.
11332  case $host_os in
11333    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11334      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11335  esac
11336  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11337else
11338  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11339fi
11340library_names_spec=
11341libname_spec='lib$name'
11342soname_spec=
11343shrext_cmds=".so"
11344postinstall_cmds=
11345postuninstall_cmds=
11346finish_cmds=
11347finish_eval=
11348shlibpath_var=
11349shlibpath_overrides_runpath=unknown
11350version_type=none
11351dynamic_linker="$host_os ld.so"
11352sys_lib_dlsearch_path_spec="/lib /usr/lib"
11353need_lib_prefix=unknown
11354hardcode_into_libs=no
11355
11356# when you set need_version to no, make sure it does not cause -set_version
11357# flags to be left without arguments
11358need_version=unknown
11359
11360case $host_os in
11361aix3*)
11362  version_type=linux # correct to gnu/linux during the next big refactor
11363  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11364  shlibpath_var=LIBPATH
11365
11366  # AIX 3 has no versioning support, so we append a major version to the name.
11367  soname_spec='${libname}${release}${shared_ext}$major'
11368  ;;
11369
11370aix[4-9]*)
11371  version_type=linux # correct to gnu/linux during the next big refactor
11372  need_lib_prefix=no
11373  need_version=no
11374  hardcode_into_libs=yes
11375  if test "$host_cpu" = ia64; then
11376    # AIX 5 supports IA64
11377    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11378    shlibpath_var=LD_LIBRARY_PATH
11379  else
11380    # With GCC up to 2.95.x, collect2 would create an import file
11381    # for dependence libraries.  The import file would start with
11382    # the line `#! .'.  This would cause the generated library to
11383    # depend on `.', always an invalid library.  This was fixed in
11384    # development snapshots of GCC prior to 3.0.
11385    case $host_os in
11386      aix4 | aix4.[01] | aix4.[01].*)
11387      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11388	   echo ' yes '
11389	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11390	:
11391      else
11392	can_build_shared=no
11393      fi
11394      ;;
11395    esac
11396    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11397    # soname into executable. Probably we can add versioning support to
11398    # collect2, so additional links can be useful in future.
11399    if test "$aix_use_runtimelinking" = yes; then
11400      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11401      # instead of lib<name>.a to let people know that these are not
11402      # typical AIX shared libraries.
11403      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11404    else
11405      # We preserve .a as extension for shared libraries through AIX4.2
11406      # and later when we are not doing run time linking.
11407      library_names_spec='${libname}${release}.a $libname.a'
11408      soname_spec='${libname}${release}${shared_ext}$major'
11409    fi
11410    shlibpath_var=LIBPATH
11411  fi
11412  ;;
11413
11414amigaos*)
11415  case $host_cpu in
11416  powerpc)
11417    # Since July 2007 AmigaOS4 officially supports .so libraries.
11418    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11419    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11420    ;;
11421  m68k)
11422    library_names_spec='$libname.ixlibrary $libname.a'
11423    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11424    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'
11425    ;;
11426  esac
11427  ;;
11428
11429beos*)
11430  library_names_spec='${libname}${shared_ext}'
11431  dynamic_linker="$host_os ld.so"
11432  shlibpath_var=LIBRARY_PATH
11433  ;;
11434
11435bsdi[45]*)
11436  version_type=linux # correct to gnu/linux during the next big refactor
11437  need_version=no
11438  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11439  soname_spec='${libname}${release}${shared_ext}$major'
11440  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11441  shlibpath_var=LD_LIBRARY_PATH
11442  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11443  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11444  # the default ld.so.conf also contains /usr/contrib/lib and
11445  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11446  # libtool to hard-code these into programs
11447  ;;
11448
11449cygwin* | mingw* | pw32* | cegcc*)
11450  version_type=windows
11451  shrext_cmds=".dll"
11452  need_version=no
11453  need_lib_prefix=no
11454
11455  case $GCC,$cc_basename in
11456  yes,*)
11457    # gcc
11458    library_names_spec='$libname.dll.a'
11459    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11460    postinstall_cmds='base_file=`basename \${file}`~
11461      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11462      dldir=$destdir/`dirname \$dlpath`~
11463      test -d \$dldir || mkdir -p \$dldir~
11464      $install_prog $dir/$dlname \$dldir/$dlname~
11465      chmod a+x \$dldir/$dlname~
11466      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11467        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11468      fi'
11469    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11470      dlpath=$dir/\$dldll~
11471       $RM \$dlpath'
11472    shlibpath_overrides_runpath=yes
11473
11474    case $host_os in
11475    cygwin*)
11476      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11477      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11478
11479      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11480      ;;
11481    mingw* | cegcc*)
11482      # MinGW DLLs use traditional 'lib' prefix
11483      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11484      ;;
11485    pw32*)
11486      # pw32 DLLs use 'pw' prefix rather than 'lib'
11487      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11488      ;;
11489    esac
11490    dynamic_linker='Win32 ld.exe'
11491    ;;
11492
11493  *,cl*)
11494    # Native MSVC
11495    libname_spec='$name'
11496    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11497    library_names_spec='${libname}.dll.lib'
11498
11499    case $build_os in
11500    mingw*)
11501      sys_lib_search_path_spec=
11502      lt_save_ifs=$IFS
11503      IFS=';'
11504      for lt_path in $LIB
11505      do
11506        IFS=$lt_save_ifs
11507        # Let DOS variable expansion print the short 8.3 style file name.
11508        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11509        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11510      done
11511      IFS=$lt_save_ifs
11512      # Convert to MSYS style.
11513      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11514      ;;
11515    cygwin*)
11516      # Convert to unix form, then to dos form, then back to unix form
11517      # but this time dos style (no spaces!) so that the unix form looks
11518      # like /cygdrive/c/PROGRA~1:/cygdr...
11519      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11520      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11521      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11522      ;;
11523    *)
11524      sys_lib_search_path_spec="$LIB"
11525      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11526        # It is most probably a Windows format PATH.
11527        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11528      else
11529        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11530      fi
11531      # FIXME: find the short name or the path components, as spaces are
11532      # common. (e.g. "Program Files" -> "PROGRA~1")
11533      ;;
11534    esac
11535
11536    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11537    postinstall_cmds='base_file=`basename \${file}`~
11538      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11539      dldir=$destdir/`dirname \$dlpath`~
11540      test -d \$dldir || mkdir -p \$dldir~
11541      $install_prog $dir/$dlname \$dldir/$dlname'
11542    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11543      dlpath=$dir/\$dldll~
11544       $RM \$dlpath'
11545    shlibpath_overrides_runpath=yes
11546    dynamic_linker='Win32 link.exe'
11547    ;;
11548
11549  *)
11550    # Assume MSVC wrapper
11551    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11552    dynamic_linker='Win32 ld.exe'
11553    ;;
11554  esac
11555  # FIXME: first we should search . and the directory the executable is in
11556  shlibpath_var=PATH
11557  ;;
11558
11559darwin* | rhapsody*)
11560  dynamic_linker="$host_os dyld"
11561  version_type=darwin
11562  need_lib_prefix=no
11563  need_version=no
11564  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11565  soname_spec='${libname}${release}${major}$shared_ext'
11566  shlibpath_overrides_runpath=yes
11567  shlibpath_var=DYLD_LIBRARY_PATH
11568  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11569
11570  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11571  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11572  ;;
11573
11574dgux*)
11575  version_type=linux # correct to gnu/linux during the next big refactor
11576  need_lib_prefix=no
11577  need_version=no
11578  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11579  soname_spec='${libname}${release}${shared_ext}$major'
11580  shlibpath_var=LD_LIBRARY_PATH
11581  ;;
11582
11583freebsd* | dragonfly*)
11584  # DragonFly does not have aout.  When/if they implement a new
11585  # versioning mechanism, adjust this.
11586  if test -x /usr/bin/objformat; then
11587    objformat=`/usr/bin/objformat`
11588  else
11589    case $host_os in
11590    freebsd[23].*) objformat=aout ;;
11591    *) objformat=elf ;;
11592    esac
11593  fi
11594  version_type=freebsd-$objformat
11595  case $version_type in
11596    freebsd-elf*)
11597      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11598      need_version=no
11599      need_lib_prefix=no
11600      ;;
11601    freebsd-*)
11602      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11603      need_version=yes
11604      ;;
11605  esac
11606  shlibpath_var=LD_LIBRARY_PATH
11607  case $host_os in
11608  freebsd2.*)
11609    shlibpath_overrides_runpath=yes
11610    ;;
11611  freebsd3.[01]* | freebsdelf3.[01]*)
11612    shlibpath_overrides_runpath=yes
11613    hardcode_into_libs=yes
11614    ;;
11615  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11616  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11617    shlibpath_overrides_runpath=no
11618    hardcode_into_libs=yes
11619    ;;
11620  *) # from 4.6 on, and DragonFly
11621    shlibpath_overrides_runpath=yes
11622    hardcode_into_libs=yes
11623    ;;
11624  esac
11625  ;;
11626
11627gnu*)
11628  version_type=linux # correct to gnu/linux during the next big refactor
11629  need_lib_prefix=no
11630  need_version=no
11631  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11632  soname_spec='${libname}${release}${shared_ext}$major'
11633  shlibpath_var=LD_LIBRARY_PATH
11634  shlibpath_overrides_runpath=no
11635  hardcode_into_libs=yes
11636  ;;
11637
11638haiku*)
11639  version_type=linux # correct to gnu/linux during the next big refactor
11640  need_lib_prefix=no
11641  need_version=no
11642  dynamic_linker="$host_os runtime_loader"
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  shlibpath_var=LIBRARY_PATH
11646  shlibpath_overrides_runpath=yes
11647  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11648  hardcode_into_libs=yes
11649  ;;
11650
11651hpux9* | hpux10* | hpux11*)
11652  # Give a soname corresponding to the major version so that dld.sl refuses to
11653  # link against other versions.
11654  version_type=sunos
11655  need_lib_prefix=no
11656  need_version=no
11657  case $host_cpu in
11658  ia64*)
11659    shrext_cmds='.so'
11660    hardcode_into_libs=yes
11661    dynamic_linker="$host_os dld.so"
11662    shlibpath_var=LD_LIBRARY_PATH
11663    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11664    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11665    soname_spec='${libname}${release}${shared_ext}$major'
11666    if test "X$HPUX_IA64_MODE" = X32; then
11667      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11668    else
11669      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11670    fi
11671    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11672    ;;
11673  hppa*64*)
11674    shrext_cmds='.sl'
11675    hardcode_into_libs=yes
11676    dynamic_linker="$host_os dld.sl"
11677    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11678    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11679    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11680    soname_spec='${libname}${release}${shared_ext}$major'
11681    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11682    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11683    ;;
11684  *)
11685    shrext_cmds='.sl'
11686    dynamic_linker="$host_os dld.sl"
11687    shlibpath_var=SHLIB_PATH
11688    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11689    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11690    soname_spec='${libname}${release}${shared_ext}$major'
11691    ;;
11692  esac
11693  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11694  postinstall_cmds='chmod 555 $lib'
11695  # or fails outright, so override atomically:
11696  install_override_mode=555
11697  ;;
11698
11699interix[3-9]*)
11700  version_type=linux # correct to gnu/linux during the next big refactor
11701  need_lib_prefix=no
11702  need_version=no
11703  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11704  soname_spec='${libname}${release}${shared_ext}$major'
11705  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11706  shlibpath_var=LD_LIBRARY_PATH
11707  shlibpath_overrides_runpath=no
11708  hardcode_into_libs=yes
11709  ;;
11710
11711irix5* | irix6* | nonstopux*)
11712  case $host_os in
11713    nonstopux*) version_type=nonstopux ;;
11714    *)
11715	if test "$lt_cv_prog_gnu_ld" = yes; then
11716		version_type=linux # correct to gnu/linux during the next big refactor
11717	else
11718		version_type=irix
11719	fi ;;
11720  esac
11721  need_lib_prefix=no
11722  need_version=no
11723  soname_spec='${libname}${release}${shared_ext}$major'
11724  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11725  case $host_os in
11726  irix5* | nonstopux*)
11727    libsuff= shlibsuff=
11728    ;;
11729  *)
11730    case $LD in # libtool.m4 will add one of these switches to LD
11731    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11732      libsuff= shlibsuff= libmagic=32-bit;;
11733    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11734      libsuff=32 shlibsuff=N32 libmagic=N32;;
11735    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11736      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11737    *) libsuff= shlibsuff= libmagic=never-match;;
11738    esac
11739    ;;
11740  esac
11741  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11742  shlibpath_overrides_runpath=no
11743  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11744  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11745  hardcode_into_libs=yes
11746  ;;
11747
11748# No shared lib support for Linux oldld, aout, or coff.
11749linux*oldld* | linux*aout* | linux*coff*)
11750  dynamic_linker=no
11751  ;;
11752
11753# This must be glibc/ELF.
11754linux* | k*bsd*-gnu | kopensolaris*-gnu)
11755  version_type=linux # correct to gnu/linux during the next big refactor
11756  need_lib_prefix=no
11757  need_version=no
11758  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11759  soname_spec='${libname}${release}${shared_ext}$major'
11760  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11761  shlibpath_var=LD_LIBRARY_PATH
11762  shlibpath_overrides_runpath=no
11763
11764  # Some binutils ld are patched to set DT_RUNPATH
11765  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11766  $as_echo_n "(cached) " >&6
11767else
11768  lt_cv_shlibpath_overrides_runpath=no
11769    save_LDFLAGS=$LDFLAGS
11770    save_libdir=$libdir
11771    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11772	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11773    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11774/* end confdefs.h.  */
11775
11776int
11777main ()
11778{
11779
11780  ;
11781  return 0;
11782}
11783_ACEOF
11784if ac_fn_c_try_link "$LINENO"; then :
11785  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11786  lt_cv_shlibpath_overrides_runpath=yes
11787fi
11788fi
11789rm -f core conftest.err conftest.$ac_objext \
11790    conftest$ac_exeext conftest.$ac_ext
11791    LDFLAGS=$save_LDFLAGS
11792    libdir=$save_libdir
11793
11794fi
11795
11796  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11797
11798  # This implies no fast_install, which is unacceptable.
11799  # Some rework will be needed to allow for fast_install
11800  # before this can be enabled.
11801  hardcode_into_libs=yes
11802
11803  # Add ABI-specific directories to the system library path.
11804  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11805
11806  # Append ld.so.conf contents to the search path
11807  if test -f /etc/ld.so.conf; then
11808    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' ' '`
11809    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11810
11811  fi
11812
11813  # We used to test for /lib/ld.so.1 and disable shared libraries on
11814  # powerpc, because MkLinux only supported shared libraries with the
11815  # GNU dynamic linker.  Since this was broken with cross compilers,
11816  # most powerpc-linux boxes support dynamic linking these days and
11817  # people can always --disable-shared, the test was removed, and we
11818  # assume the GNU/Linux dynamic linker is in use.
11819  dynamic_linker='GNU/Linux ld.so'
11820  ;;
11821
11822netbsd*)
11823  version_type=sunos
11824  need_lib_prefix=no
11825  need_version=no
11826  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11827    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11828    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11829    dynamic_linker='NetBSD (a.out) ld.so'
11830  else
11831    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11832    soname_spec='${libname}${release}${shared_ext}$major'
11833    dynamic_linker='NetBSD ld.elf_so'
11834  fi
11835  shlibpath_var=LD_LIBRARY_PATH
11836  shlibpath_overrides_runpath=yes
11837  hardcode_into_libs=yes
11838  ;;
11839
11840newsos6)
11841  version_type=linux # correct to gnu/linux during the next big refactor
11842  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11843  shlibpath_var=LD_LIBRARY_PATH
11844  shlibpath_overrides_runpath=yes
11845  ;;
11846
11847*nto* | *qnx*)
11848  version_type=qnx
11849  need_lib_prefix=no
11850  need_version=no
11851  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11852  soname_spec='${libname}${release}${shared_ext}$major'
11853  shlibpath_var=LD_LIBRARY_PATH
11854  shlibpath_overrides_runpath=no
11855  hardcode_into_libs=yes
11856  dynamic_linker='ldqnx.so'
11857  ;;
11858
11859openbsd*)
11860  version_type=sunos
11861  sys_lib_dlsearch_path_spec="/usr/lib"
11862  need_lib_prefix=no
11863  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11864  case $host_os in
11865    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11866    *)				need_version=no  ;;
11867  esac
11868  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11869  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11870  shlibpath_var=LD_LIBRARY_PATH
11871  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11872    case $host_os in
11873      openbsd2.[89] | openbsd2.[89].*)
11874	shlibpath_overrides_runpath=no
11875	;;
11876      *)
11877	shlibpath_overrides_runpath=yes
11878	;;
11879      esac
11880  else
11881    shlibpath_overrides_runpath=yes
11882  fi
11883  ;;
11884
11885os2*)
11886  libname_spec='$name'
11887  shrext_cmds=".dll"
11888  need_lib_prefix=no
11889  library_names_spec='$libname${shared_ext} $libname.a'
11890  dynamic_linker='OS/2 ld.exe'
11891  shlibpath_var=LIBPATH
11892  ;;
11893
11894osf3* | osf4* | osf5*)
11895  version_type=osf
11896  need_lib_prefix=no
11897  need_version=no
11898  soname_spec='${libname}${release}${shared_ext}$major'
11899  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11900  shlibpath_var=LD_LIBRARY_PATH
11901  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11902  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11903  ;;
11904
11905rdos*)
11906  dynamic_linker=no
11907  ;;
11908
11909solaris*)
11910  version_type=linux # correct to gnu/linux during the next big refactor
11911  need_lib_prefix=no
11912  need_version=no
11913  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11914  soname_spec='${libname}${release}${shared_ext}$major'
11915  shlibpath_var=LD_LIBRARY_PATH
11916  shlibpath_overrides_runpath=yes
11917  hardcode_into_libs=yes
11918  # ldd complains unless libraries are executable
11919  postinstall_cmds='chmod +x $lib'
11920  ;;
11921
11922sunos4*)
11923  version_type=sunos
11924  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11925  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11926  shlibpath_var=LD_LIBRARY_PATH
11927  shlibpath_overrides_runpath=yes
11928  if test "$with_gnu_ld" = yes; then
11929    need_lib_prefix=no
11930  fi
11931  need_version=yes
11932  ;;
11933
11934sysv4 | sysv4.3*)
11935  version_type=linux # correct to gnu/linux during the next big refactor
11936  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11937  soname_spec='${libname}${release}${shared_ext}$major'
11938  shlibpath_var=LD_LIBRARY_PATH
11939  case $host_vendor in
11940    sni)
11941      shlibpath_overrides_runpath=no
11942      need_lib_prefix=no
11943      runpath_var=LD_RUN_PATH
11944      ;;
11945    siemens)
11946      need_lib_prefix=no
11947      ;;
11948    motorola)
11949      need_lib_prefix=no
11950      need_version=no
11951      shlibpath_overrides_runpath=no
11952      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11953      ;;
11954  esac
11955  ;;
11956
11957sysv4*MP*)
11958  if test -d /usr/nec ;then
11959    version_type=linux # correct to gnu/linux during the next big refactor
11960    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11961    soname_spec='$libname${shared_ext}.$major'
11962    shlibpath_var=LD_LIBRARY_PATH
11963  fi
11964  ;;
11965
11966sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11967  version_type=freebsd-elf
11968  need_lib_prefix=no
11969  need_version=no
11970  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11971  soname_spec='${libname}${release}${shared_ext}$major'
11972  shlibpath_var=LD_LIBRARY_PATH
11973  shlibpath_overrides_runpath=yes
11974  hardcode_into_libs=yes
11975  if test "$with_gnu_ld" = yes; then
11976    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11977  else
11978    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11979    case $host_os in
11980      sco3.2v5*)
11981        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11982	;;
11983    esac
11984  fi
11985  sys_lib_dlsearch_path_spec='/usr/lib'
11986  ;;
11987
11988tpf*)
11989  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11990  version_type=linux # correct to gnu/linux during the next big refactor
11991  need_lib_prefix=no
11992  need_version=no
11993  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11994  shlibpath_var=LD_LIBRARY_PATH
11995  shlibpath_overrides_runpath=no
11996  hardcode_into_libs=yes
11997  ;;
11998
11999uts4*)
12000  version_type=linux # correct to gnu/linux during the next big refactor
12001  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12002  soname_spec='${libname}${release}${shared_ext}$major'
12003  shlibpath_var=LD_LIBRARY_PATH
12004  ;;
12005
12006*)
12007  dynamic_linker=no
12008  ;;
12009esac
12010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12011$as_echo "$dynamic_linker" >&6; }
12012test "$dynamic_linker" = no && can_build_shared=no
12013
12014variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12015if test "$GCC" = yes; then
12016  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12017fi
12018
12019if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12020  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12021fi
12022if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12023  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12024fi
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
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12118$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12119hardcode_action=
12120if test -n "$hardcode_libdir_flag_spec" ||
12121   test -n "$runpath_var" ||
12122   test "X$hardcode_automatic" = "Xyes" ; then
12123
12124  # We can hardcode non-existent directories.
12125  if test "$hardcode_direct" != no &&
12126     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12127     # have to relink, otherwise we might link with an installed library
12128     # when we should be linking with a yet-to-be-installed one
12129     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12130     test "$hardcode_minus_L" != no; then
12131    # Linking always hardcodes the temporary library directory.
12132    hardcode_action=relink
12133  else
12134    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12135    hardcode_action=immediate
12136  fi
12137else
12138  # We cannot hardcode anything, or else we can only hardcode existing
12139  # directories.
12140  hardcode_action=unsupported
12141fi
12142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12143$as_echo "$hardcode_action" >&6; }
12144
12145if test "$hardcode_action" = relink ||
12146   test "$inherit_rpath" = yes; then
12147  # Fast installation is not supported
12148  enable_fast_install=no
12149elif test "$shlibpath_overrides_runpath" = yes ||
12150     test "$enable_shared" = no; then
12151  # Fast installation is not necessary
12152  enable_fast_install=needless
12153fi
12154
12155
12156
12157
12158
12159
12160  if test "x$enable_dlopen" != xyes; then
12161  enable_dlopen=unknown
12162  enable_dlopen_self=unknown
12163  enable_dlopen_self_static=unknown
12164else
12165  lt_cv_dlopen=no
12166  lt_cv_dlopen_libs=
12167
12168  case $host_os in
12169  beos*)
12170    lt_cv_dlopen="load_add_on"
12171    lt_cv_dlopen_libs=
12172    lt_cv_dlopen_self=yes
12173    ;;
12174
12175  mingw* | pw32* | cegcc*)
12176    lt_cv_dlopen="LoadLibrary"
12177    lt_cv_dlopen_libs=
12178    ;;
12179
12180  cygwin*)
12181    lt_cv_dlopen="dlopen"
12182    lt_cv_dlopen_libs=
12183    ;;
12184
12185  darwin*)
12186  # if libdl is installed we need to link against it
12187    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12188$as_echo_n "checking for dlopen in -ldl... " >&6; }
12189if ${ac_cv_lib_dl_dlopen+:} false; then :
12190  $as_echo_n "(cached) " >&6
12191else
12192  ac_check_lib_save_LIBS=$LIBS
12193LIBS="-ldl  $LIBS"
12194cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12195/* end confdefs.h.  */
12196
12197/* Override any GCC internal prototype to avoid an error.
12198   Use char because int might match the return type of a GCC
12199   builtin and then its argument prototype would still apply.  */
12200#ifdef __cplusplus
12201extern "C"
12202#endif
12203char dlopen ();
12204int
12205main ()
12206{
12207return dlopen ();
12208  ;
12209  return 0;
12210}
12211_ACEOF
12212if ac_fn_c_try_link "$LINENO"; then :
12213  ac_cv_lib_dl_dlopen=yes
12214else
12215  ac_cv_lib_dl_dlopen=no
12216fi
12217rm -f core conftest.err conftest.$ac_objext \
12218    conftest$ac_exeext conftest.$ac_ext
12219LIBS=$ac_check_lib_save_LIBS
12220fi
12221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12222$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12223if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12224  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12225else
12226
12227    lt_cv_dlopen="dyld"
12228    lt_cv_dlopen_libs=
12229    lt_cv_dlopen_self=yes
12230
12231fi
12232
12233    ;;
12234
12235  *)
12236    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12237if test "x$ac_cv_func_shl_load" = xyes; then :
12238  lt_cv_dlopen="shl_load"
12239else
12240  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12241$as_echo_n "checking for shl_load in -ldld... " >&6; }
12242if ${ac_cv_lib_dld_shl_load+:} false; then :
12243  $as_echo_n "(cached) " >&6
12244else
12245  ac_check_lib_save_LIBS=$LIBS
12246LIBS="-ldld  $LIBS"
12247cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12248/* end confdefs.h.  */
12249
12250/* Override any GCC internal prototype to avoid an error.
12251   Use char because int might match the return type of a GCC
12252   builtin and then its argument prototype would still apply.  */
12253#ifdef __cplusplus
12254extern "C"
12255#endif
12256char shl_load ();
12257int
12258main ()
12259{
12260return shl_load ();
12261  ;
12262  return 0;
12263}
12264_ACEOF
12265if ac_fn_c_try_link "$LINENO"; then :
12266  ac_cv_lib_dld_shl_load=yes
12267else
12268  ac_cv_lib_dld_shl_load=no
12269fi
12270rm -f core conftest.err conftest.$ac_objext \
12271    conftest$ac_exeext conftest.$ac_ext
12272LIBS=$ac_check_lib_save_LIBS
12273fi
12274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12275$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12276if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12277  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12278else
12279  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12280if test "x$ac_cv_func_dlopen" = xyes; then :
12281  lt_cv_dlopen="dlopen"
12282else
12283  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12284$as_echo_n "checking for dlopen in -ldl... " >&6; }
12285if ${ac_cv_lib_dl_dlopen+:} false; then :
12286  $as_echo_n "(cached) " >&6
12287else
12288  ac_check_lib_save_LIBS=$LIBS
12289LIBS="-ldl  $LIBS"
12290cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12291/* end confdefs.h.  */
12292
12293/* Override any GCC internal prototype to avoid an error.
12294   Use char because int might match the return type of a GCC
12295   builtin and then its argument prototype would still apply.  */
12296#ifdef __cplusplus
12297extern "C"
12298#endif
12299char dlopen ();
12300int
12301main ()
12302{
12303return dlopen ();
12304  ;
12305  return 0;
12306}
12307_ACEOF
12308if ac_fn_c_try_link "$LINENO"; then :
12309  ac_cv_lib_dl_dlopen=yes
12310else
12311  ac_cv_lib_dl_dlopen=no
12312fi
12313rm -f core conftest.err conftest.$ac_objext \
12314    conftest$ac_exeext conftest.$ac_ext
12315LIBS=$ac_check_lib_save_LIBS
12316fi
12317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12318$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12319if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12320  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12321else
12322  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12323$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12324if ${ac_cv_lib_svld_dlopen+:} false; then :
12325  $as_echo_n "(cached) " >&6
12326else
12327  ac_check_lib_save_LIBS=$LIBS
12328LIBS="-lsvld  $LIBS"
12329cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330/* end confdefs.h.  */
12331
12332/* Override any GCC internal prototype to avoid an error.
12333   Use char because int might match the return type of a GCC
12334   builtin and then its argument prototype would still apply.  */
12335#ifdef __cplusplus
12336extern "C"
12337#endif
12338char dlopen ();
12339int
12340main ()
12341{
12342return dlopen ();
12343  ;
12344  return 0;
12345}
12346_ACEOF
12347if ac_fn_c_try_link "$LINENO"; then :
12348  ac_cv_lib_svld_dlopen=yes
12349else
12350  ac_cv_lib_svld_dlopen=no
12351fi
12352rm -f core conftest.err conftest.$ac_objext \
12353    conftest$ac_exeext conftest.$ac_ext
12354LIBS=$ac_check_lib_save_LIBS
12355fi
12356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12357$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12358if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12359  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12360else
12361  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12362$as_echo_n "checking for dld_link in -ldld... " >&6; }
12363if ${ac_cv_lib_dld_dld_link+:} false; then :
12364  $as_echo_n "(cached) " >&6
12365else
12366  ac_check_lib_save_LIBS=$LIBS
12367LIBS="-ldld  $LIBS"
12368cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12369/* end confdefs.h.  */
12370
12371/* Override any GCC internal prototype to avoid an error.
12372   Use char because int might match the return type of a GCC
12373   builtin and then its argument prototype would still apply.  */
12374#ifdef __cplusplus
12375extern "C"
12376#endif
12377char dld_link ();
12378int
12379main ()
12380{
12381return dld_link ();
12382  ;
12383  return 0;
12384}
12385_ACEOF
12386if ac_fn_c_try_link "$LINENO"; then :
12387  ac_cv_lib_dld_dld_link=yes
12388else
12389  ac_cv_lib_dld_dld_link=no
12390fi
12391rm -f core conftest.err conftest.$ac_objext \
12392    conftest$ac_exeext conftest.$ac_ext
12393LIBS=$ac_check_lib_save_LIBS
12394fi
12395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12396$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12397if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12398  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12399fi
12400
12401
12402fi
12403
12404
12405fi
12406
12407
12408fi
12409
12410
12411fi
12412
12413
12414fi
12415
12416    ;;
12417  esac
12418
12419  if test "x$lt_cv_dlopen" != xno; then
12420    enable_dlopen=yes
12421  else
12422    enable_dlopen=no
12423  fi
12424
12425  case $lt_cv_dlopen in
12426  dlopen)
12427    save_CPPFLAGS="$CPPFLAGS"
12428    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12429
12430    save_LDFLAGS="$LDFLAGS"
12431    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12432
12433    save_LIBS="$LIBS"
12434    LIBS="$lt_cv_dlopen_libs $LIBS"
12435
12436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12437$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12438if ${lt_cv_dlopen_self+:} false; then :
12439  $as_echo_n "(cached) " >&6
12440else
12441  	  if test "$cross_compiling" = yes; then :
12442  lt_cv_dlopen_self=cross
12443else
12444  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12445  lt_status=$lt_dlunknown
12446  cat > conftest.$ac_ext <<_LT_EOF
12447#line $LINENO "configure"
12448#include "confdefs.h"
12449
12450#if HAVE_DLFCN_H
12451#include <dlfcn.h>
12452#endif
12453
12454#include <stdio.h>
12455
12456#ifdef RTLD_GLOBAL
12457#  define LT_DLGLOBAL		RTLD_GLOBAL
12458#else
12459#  ifdef DL_GLOBAL
12460#    define LT_DLGLOBAL		DL_GLOBAL
12461#  else
12462#    define LT_DLGLOBAL		0
12463#  endif
12464#endif
12465
12466/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12467   find out it does not work in some platform. */
12468#ifndef LT_DLLAZY_OR_NOW
12469#  ifdef RTLD_LAZY
12470#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12471#  else
12472#    ifdef DL_LAZY
12473#      define LT_DLLAZY_OR_NOW		DL_LAZY
12474#    else
12475#      ifdef RTLD_NOW
12476#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12477#      else
12478#        ifdef DL_NOW
12479#          define LT_DLLAZY_OR_NOW	DL_NOW
12480#        else
12481#          define LT_DLLAZY_OR_NOW	0
12482#        endif
12483#      endif
12484#    endif
12485#  endif
12486#endif
12487
12488/* When -fvisbility=hidden is used, assume the code has been annotated
12489   correspondingly for the symbols needed.  */
12490#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12491int fnord () __attribute__((visibility("default")));
12492#endif
12493
12494int fnord () { return 42; }
12495int main ()
12496{
12497  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12498  int status = $lt_dlunknown;
12499
12500  if (self)
12501    {
12502      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12503      else
12504        {
12505	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12506          else puts (dlerror ());
12507	}
12508      /* dlclose (self); */
12509    }
12510  else
12511    puts (dlerror ());
12512
12513  return status;
12514}
12515_LT_EOF
12516  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12517  (eval $ac_link) 2>&5
12518  ac_status=$?
12519  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12520  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12521    (./conftest; exit; ) >&5 2>/dev/null
12522    lt_status=$?
12523    case x$lt_status in
12524      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12525      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12526      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12527    esac
12528  else :
12529    # compilation failed
12530    lt_cv_dlopen_self=no
12531  fi
12532fi
12533rm -fr conftest*
12534
12535
12536fi
12537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12538$as_echo "$lt_cv_dlopen_self" >&6; }
12539
12540    if test "x$lt_cv_dlopen_self" = xyes; then
12541      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12542      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12543$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12544if ${lt_cv_dlopen_self_static+:} false; then :
12545  $as_echo_n "(cached) " >&6
12546else
12547  	  if test "$cross_compiling" = yes; then :
12548  lt_cv_dlopen_self_static=cross
12549else
12550  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12551  lt_status=$lt_dlunknown
12552  cat > conftest.$ac_ext <<_LT_EOF
12553#line $LINENO "configure"
12554#include "confdefs.h"
12555
12556#if HAVE_DLFCN_H
12557#include <dlfcn.h>
12558#endif
12559
12560#include <stdio.h>
12561
12562#ifdef RTLD_GLOBAL
12563#  define LT_DLGLOBAL		RTLD_GLOBAL
12564#else
12565#  ifdef DL_GLOBAL
12566#    define LT_DLGLOBAL		DL_GLOBAL
12567#  else
12568#    define LT_DLGLOBAL		0
12569#  endif
12570#endif
12571
12572/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12573   find out it does not work in some platform. */
12574#ifndef LT_DLLAZY_OR_NOW
12575#  ifdef RTLD_LAZY
12576#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12577#  else
12578#    ifdef DL_LAZY
12579#      define LT_DLLAZY_OR_NOW		DL_LAZY
12580#    else
12581#      ifdef RTLD_NOW
12582#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12583#      else
12584#        ifdef DL_NOW
12585#          define LT_DLLAZY_OR_NOW	DL_NOW
12586#        else
12587#          define LT_DLLAZY_OR_NOW	0
12588#        endif
12589#      endif
12590#    endif
12591#  endif
12592#endif
12593
12594/* When -fvisbility=hidden is used, assume the code has been annotated
12595   correspondingly for the symbols needed.  */
12596#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12597int fnord () __attribute__((visibility("default")));
12598#endif
12599
12600int fnord () { return 42; }
12601int main ()
12602{
12603  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12604  int status = $lt_dlunknown;
12605
12606  if (self)
12607    {
12608      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12609      else
12610        {
12611	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12612          else puts (dlerror ());
12613	}
12614      /* dlclose (self); */
12615    }
12616  else
12617    puts (dlerror ());
12618
12619  return status;
12620}
12621_LT_EOF
12622  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12623  (eval $ac_link) 2>&5
12624  ac_status=$?
12625  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12626  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12627    (./conftest; exit; ) >&5 2>/dev/null
12628    lt_status=$?
12629    case x$lt_status in
12630      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12631      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12632      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12633    esac
12634  else :
12635    # compilation failed
12636    lt_cv_dlopen_self_static=no
12637  fi
12638fi
12639rm -fr conftest*
12640
12641
12642fi
12643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12644$as_echo "$lt_cv_dlopen_self_static" >&6; }
12645    fi
12646
12647    CPPFLAGS="$save_CPPFLAGS"
12648    LDFLAGS="$save_LDFLAGS"
12649    LIBS="$save_LIBS"
12650    ;;
12651  esac
12652
12653  case $lt_cv_dlopen_self in
12654  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12655  *) enable_dlopen_self=unknown ;;
12656  esac
12657
12658  case $lt_cv_dlopen_self_static in
12659  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12660  *) enable_dlopen_self_static=unknown ;;
12661  esac
12662fi
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680striplib=
12681old_striplib=
12682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12683$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12684if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12685  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12686  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12688$as_echo "yes" >&6; }
12689else
12690# FIXME - insert some real tests, host_os isn't really good enough
12691  case $host_os in
12692  darwin*)
12693    if test -n "$STRIP" ; then
12694      striplib="$STRIP -x"
12695      old_striplib="$STRIP -S"
12696      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12697$as_echo "yes" >&6; }
12698    else
12699      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12700$as_echo "no" >&6; }
12701    fi
12702    ;;
12703  *)
12704    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12705$as_echo "no" >&6; }
12706    ;;
12707  esac
12708fi
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721  # Report which library types will actually be built
12722  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12723$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12725$as_echo "$can_build_shared" >&6; }
12726
12727  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12728$as_echo_n "checking whether to build shared libraries... " >&6; }
12729  test "$can_build_shared" = "no" && enable_shared=no
12730
12731  # On AIX, shared libraries and static libraries use the same namespace, and
12732  # are all built from PIC.
12733  case $host_os in
12734  aix3*)
12735    test "$enable_shared" = yes && enable_static=no
12736    if test -n "$RANLIB"; then
12737      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12738      postinstall_cmds='$RANLIB $lib'
12739    fi
12740    ;;
12741
12742  aix[4-9]*)
12743    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12744      test "$enable_shared" = yes && enable_static=no
12745    fi
12746    ;;
12747  esac
12748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12749$as_echo "$enable_shared" >&6; }
12750
12751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12752$as_echo_n "checking whether to build static libraries... " >&6; }
12753  # Make sure either enable_shared or enable_static is yes.
12754  test "$enable_shared" = yes || enable_static=yes
12755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12756$as_echo "$enable_static" >&6; }
12757
12758
12759
12760
12761fi
12762ac_ext=c
12763ac_cpp='$CPP $CPPFLAGS'
12764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12766ac_compiler_gnu=$ac_cv_c_compiler_gnu
12767
12768CC="$lt_save_CC"
12769
12770      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12771    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12772    (test "X$CXX" != "Xg++"))) ; then
12773  ac_ext=cpp
12774ac_cpp='$CXXCPP $CPPFLAGS'
12775ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12776ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12777ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12779$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12780if test -z "$CXXCPP"; then
12781  if ${ac_cv_prog_CXXCPP+:} false; then :
12782  $as_echo_n "(cached) " >&6
12783else
12784      # Double quotes because CXXCPP needs to be expanded
12785    for CXXCPP in "$CXX -E" "/lib/cpp"
12786    do
12787      ac_preproc_ok=false
12788for ac_cxx_preproc_warn_flag in '' yes
12789do
12790  # Use a header file that comes with gcc, so configuring glibc
12791  # with a fresh cross-compiler works.
12792  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12793  # <limits.h> exists even on freestanding compilers.
12794  # On the NeXT, cc -E runs the code through the compiler's parser,
12795  # not just through cpp. "Syntax error" is here to catch this case.
12796  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12797/* end confdefs.h.  */
12798#ifdef __STDC__
12799# include <limits.h>
12800#else
12801# include <assert.h>
12802#endif
12803		     Syntax error
12804_ACEOF
12805if ac_fn_cxx_try_cpp "$LINENO"; then :
12806
12807else
12808  # Broken: fails on valid input.
12809continue
12810fi
12811rm -f conftest.err conftest.i conftest.$ac_ext
12812
12813  # OK, works on sane cases.  Now check whether nonexistent headers
12814  # can be detected and how.
12815  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12816/* end confdefs.h.  */
12817#include <ac_nonexistent.h>
12818_ACEOF
12819if ac_fn_cxx_try_cpp "$LINENO"; then :
12820  # Broken: success on invalid input.
12821continue
12822else
12823  # Passes both tests.
12824ac_preproc_ok=:
12825break
12826fi
12827rm -f conftest.err conftest.i conftest.$ac_ext
12828
12829done
12830# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12831rm -f conftest.i conftest.err conftest.$ac_ext
12832if $ac_preproc_ok; then :
12833  break
12834fi
12835
12836    done
12837    ac_cv_prog_CXXCPP=$CXXCPP
12838
12839fi
12840  CXXCPP=$ac_cv_prog_CXXCPP
12841else
12842  ac_cv_prog_CXXCPP=$CXXCPP
12843fi
12844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12845$as_echo "$CXXCPP" >&6; }
12846ac_preproc_ok=false
12847for ac_cxx_preproc_warn_flag in '' yes
12848do
12849  # Use a header file that comes with gcc, so configuring glibc
12850  # with a fresh cross-compiler works.
12851  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12852  # <limits.h> exists even on freestanding compilers.
12853  # On the NeXT, cc -E runs the code through the compiler's parser,
12854  # not just through cpp. "Syntax error" is here to catch this case.
12855  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856/* end confdefs.h.  */
12857#ifdef __STDC__
12858# include <limits.h>
12859#else
12860# include <assert.h>
12861#endif
12862		     Syntax error
12863_ACEOF
12864if ac_fn_cxx_try_cpp "$LINENO"; then :
12865
12866else
12867  # Broken: fails on valid input.
12868continue
12869fi
12870rm -f conftest.err conftest.i conftest.$ac_ext
12871
12872  # OK, works on sane cases.  Now check whether nonexistent headers
12873  # can be detected and how.
12874  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875/* end confdefs.h.  */
12876#include <ac_nonexistent.h>
12877_ACEOF
12878if ac_fn_cxx_try_cpp "$LINENO"; then :
12879  # Broken: success on invalid input.
12880continue
12881else
12882  # Passes both tests.
12883ac_preproc_ok=:
12884break
12885fi
12886rm -f conftest.err conftest.i conftest.$ac_ext
12887
12888done
12889# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12890rm -f conftest.i conftest.err conftest.$ac_ext
12891if $ac_preproc_ok; then :
12892
12893else
12894  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12895$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12896as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12897See \`config.log' for more details" "$LINENO" 5; }
12898fi
12899
12900ac_ext=c
12901ac_cpp='$CPP $CPPFLAGS'
12902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12904ac_compiler_gnu=$ac_cv_c_compiler_gnu
12905
12906else
12907  _lt_caught_CXX_error=yes
12908fi
12909
12910ac_ext=cpp
12911ac_cpp='$CXXCPP $CPPFLAGS'
12912ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12913ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12914ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12915
12916archive_cmds_need_lc_CXX=no
12917allow_undefined_flag_CXX=
12918always_export_symbols_CXX=no
12919archive_expsym_cmds_CXX=
12920compiler_needs_object_CXX=no
12921export_dynamic_flag_spec_CXX=
12922hardcode_direct_CXX=no
12923hardcode_direct_absolute_CXX=no
12924hardcode_libdir_flag_spec_CXX=
12925hardcode_libdir_separator_CXX=
12926hardcode_minus_L_CXX=no
12927hardcode_shlibpath_var_CXX=unsupported
12928hardcode_automatic_CXX=no
12929inherit_rpath_CXX=no
12930module_cmds_CXX=
12931module_expsym_cmds_CXX=
12932link_all_deplibs_CXX=unknown
12933old_archive_cmds_CXX=$old_archive_cmds
12934reload_flag_CXX=$reload_flag
12935reload_cmds_CXX=$reload_cmds
12936no_undefined_flag_CXX=
12937whole_archive_flag_spec_CXX=
12938enable_shared_with_static_runtimes_CXX=no
12939
12940# Source file extension for C++ test sources.
12941ac_ext=cpp
12942
12943# Object file extension for compiled C++ test sources.
12944objext=o
12945objext_CXX=$objext
12946
12947# No sense in running all these tests if we already determined that
12948# the CXX compiler isn't working.  Some variables (like enable_shared)
12949# are currently assumed to apply to all compilers on this platform,
12950# and will be corrupted by setting them based on a non-working compiler.
12951if test "$_lt_caught_CXX_error" != yes; then
12952  # Code to be used in simple compile tests
12953  lt_simple_compile_test_code="int some_variable = 0;"
12954
12955  # Code to be used in simple link tests
12956  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12957
12958  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12959
12960
12961
12962
12963
12964
12965# If no C compiler was specified, use CC.
12966LTCC=${LTCC-"$CC"}
12967
12968# If no C compiler flags were specified, use CFLAGS.
12969LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12970
12971# Allow CC to be a program name with arguments.
12972compiler=$CC
12973
12974
12975  # save warnings/boilerplate of simple test code
12976  ac_outfile=conftest.$ac_objext
12977echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12978eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12979_lt_compiler_boilerplate=`cat conftest.err`
12980$RM conftest*
12981
12982  ac_outfile=conftest.$ac_objext
12983echo "$lt_simple_link_test_code" >conftest.$ac_ext
12984eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12985_lt_linker_boilerplate=`cat conftest.err`
12986$RM -r conftest*
12987
12988
12989  # Allow CC to be a program name with arguments.
12990  lt_save_CC=$CC
12991  lt_save_CFLAGS=$CFLAGS
12992  lt_save_LD=$LD
12993  lt_save_GCC=$GCC
12994  GCC=$GXX
12995  lt_save_with_gnu_ld=$with_gnu_ld
12996  lt_save_path_LD=$lt_cv_path_LD
12997  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12998    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12999  else
13000    $as_unset lt_cv_prog_gnu_ld
13001  fi
13002  if test -n "${lt_cv_path_LDCXX+set}"; then
13003    lt_cv_path_LD=$lt_cv_path_LDCXX
13004  else
13005    $as_unset lt_cv_path_LD
13006  fi
13007  test -z "${LDCXX+set}" || LD=$LDCXX
13008  CC=${CXX-"c++"}
13009  CFLAGS=$CXXFLAGS
13010  compiler=$CC
13011  compiler_CXX=$CC
13012  for cc_temp in $compiler""; do
13013  case $cc_temp in
13014    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13015    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13016    \-*) ;;
13017    *) break;;
13018  esac
13019done
13020cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13021
13022
13023  if test -n "$compiler"; then
13024    # We don't want -fno-exception when compiling C++ code, so set the
13025    # no_builtin_flag separately
13026    if test "$GXX" = yes; then
13027      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13028    else
13029      lt_prog_compiler_no_builtin_flag_CXX=
13030    fi
13031
13032    if test "$GXX" = yes; then
13033      # Set up default GNU C++ configuration
13034
13035
13036
13037# Check whether --with-gnu-ld was given.
13038if test "${with_gnu_ld+set}" = set; then :
13039  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13040else
13041  with_gnu_ld=no
13042fi
13043
13044ac_prog=ld
13045if test "$GCC" = yes; then
13046  # Check if gcc -print-prog-name=ld gives a path.
13047  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13048$as_echo_n "checking for ld used by $CC... " >&6; }
13049  case $host in
13050  *-*-mingw*)
13051    # gcc leaves a trailing carriage return which upsets mingw
13052    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13053  *)
13054    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13055  esac
13056  case $ac_prog in
13057    # Accept absolute paths.
13058    [\\/]* | ?:[\\/]*)
13059      re_direlt='/[^/][^/]*/\.\./'
13060      # Canonicalize the pathname of ld
13061      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13062      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13063	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13064      done
13065      test -z "$LD" && LD="$ac_prog"
13066      ;;
13067  "")
13068    # If it fails, then pretend we aren't using GCC.
13069    ac_prog=ld
13070    ;;
13071  *)
13072    # If it is relative, then search for the first ld in PATH.
13073    with_gnu_ld=unknown
13074    ;;
13075  esac
13076elif test "$with_gnu_ld" = yes; then
13077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13078$as_echo_n "checking for GNU ld... " >&6; }
13079else
13080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13081$as_echo_n "checking for non-GNU ld... " >&6; }
13082fi
13083if ${lt_cv_path_LD+:} false; then :
13084  $as_echo_n "(cached) " >&6
13085else
13086  if test -z "$LD"; then
13087  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13088  for ac_dir in $PATH; do
13089    IFS="$lt_save_ifs"
13090    test -z "$ac_dir" && ac_dir=.
13091    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13092      lt_cv_path_LD="$ac_dir/$ac_prog"
13093      # Check to see if the program is GNU ld.  I'd rather use --version,
13094      # but apparently some variants of GNU ld only accept -v.
13095      # Break only if it was the GNU/non-GNU ld that we prefer.
13096      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13097      *GNU* | *'with BFD'*)
13098	test "$with_gnu_ld" != no && break
13099	;;
13100      *)
13101	test "$with_gnu_ld" != yes && break
13102	;;
13103      esac
13104    fi
13105  done
13106  IFS="$lt_save_ifs"
13107else
13108  lt_cv_path_LD="$LD" # Let the user override the test with a path.
13109fi
13110fi
13111
13112LD="$lt_cv_path_LD"
13113if test -n "$LD"; then
13114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13115$as_echo "$LD" >&6; }
13116else
13117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13118$as_echo "no" >&6; }
13119fi
13120test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13122$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13123if ${lt_cv_prog_gnu_ld+:} false; then :
13124  $as_echo_n "(cached) " >&6
13125else
13126  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13127case `$LD -v 2>&1 </dev/null` in
13128*GNU* | *'with BFD'*)
13129  lt_cv_prog_gnu_ld=yes
13130  ;;
13131*)
13132  lt_cv_prog_gnu_ld=no
13133  ;;
13134esac
13135fi
13136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13137$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13138with_gnu_ld=$lt_cv_prog_gnu_ld
13139
13140
13141
13142
13143
13144
13145
13146      # Check if GNU C++ uses GNU ld as the underlying linker, since the
13147      # archiving commands below assume that GNU ld is being used.
13148      if test "$with_gnu_ld" = yes; then
13149        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13150        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13151
13152        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13153        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13154
13155        # If archive_cmds runs LD, not CC, wlarc should be empty
13156        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13157        #     investigate it a little bit more. (MM)
13158        wlarc='${wl}'
13159
13160        # ancient GNU ld didn't support --whole-archive et. al.
13161        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13162	  $GREP 'no-whole-archive' > /dev/null; then
13163          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13164        else
13165          whole_archive_flag_spec_CXX=
13166        fi
13167      else
13168        with_gnu_ld=no
13169        wlarc=
13170
13171        # A generic and very simple default shared library creation
13172        # command for GNU C++ for the case where it uses the native
13173        # linker, instead of GNU ld.  If possible, this setting should
13174        # overridden to take advantage of the native linker features on
13175        # the platform it is being used on.
13176        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13177      fi
13178
13179      # Commands to make compiler produce verbose output that lists
13180      # what "hidden" libraries, object files and flags are used when
13181      # linking a shared library.
13182      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13183
13184    else
13185      GXX=no
13186      with_gnu_ld=no
13187      wlarc=
13188    fi
13189
13190    # PORTME: fill in a description of your system's C++ link characteristics
13191    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13192$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13193    ld_shlibs_CXX=yes
13194    case $host_os in
13195      aix3*)
13196        # FIXME: insert proper C++ library support
13197        ld_shlibs_CXX=no
13198        ;;
13199      aix[4-9]*)
13200        if test "$host_cpu" = ia64; then
13201          # On IA64, the linker does run time linking by default, so we don't
13202          # have to do anything special.
13203          aix_use_runtimelinking=no
13204          exp_sym_flag='-Bexport'
13205          no_entry_flag=""
13206        else
13207          aix_use_runtimelinking=no
13208
13209          # Test if we are trying to use run time linking or normal
13210          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13211          # need to do runtime linking.
13212          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13213	    for ld_flag in $LDFLAGS; do
13214	      case $ld_flag in
13215	      *-brtl*)
13216	        aix_use_runtimelinking=yes
13217	        break
13218	        ;;
13219	      esac
13220	    done
13221	    ;;
13222          esac
13223
13224          exp_sym_flag='-bexport'
13225          no_entry_flag='-bnoentry'
13226        fi
13227
13228        # When large executables or shared objects are built, AIX ld can
13229        # have problems creating the table of contents.  If linking a library
13230        # or program results in "error TOC overflow" add -mminimal-toc to
13231        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13232        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13233
13234        archive_cmds_CXX=''
13235        hardcode_direct_CXX=yes
13236        hardcode_direct_absolute_CXX=yes
13237        hardcode_libdir_separator_CXX=':'
13238        link_all_deplibs_CXX=yes
13239        file_list_spec_CXX='${wl}-f,'
13240
13241        if test "$GXX" = yes; then
13242          case $host_os in aix4.[012]|aix4.[012].*)
13243          # We only want to do this on AIX 4.2 and lower, the check
13244          # below for broken collect2 doesn't work under 4.3+
13245	  collect2name=`${CC} -print-prog-name=collect2`
13246	  if test -f "$collect2name" &&
13247	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13248	  then
13249	    # We have reworked collect2
13250	    :
13251	  else
13252	    # We have old collect2
13253	    hardcode_direct_CXX=unsupported
13254	    # It fails to find uninstalled libraries when the uninstalled
13255	    # path is not listed in the libpath.  Setting hardcode_minus_L
13256	    # to unsupported forces relinking
13257	    hardcode_minus_L_CXX=yes
13258	    hardcode_libdir_flag_spec_CXX='-L$libdir'
13259	    hardcode_libdir_separator_CXX=
13260	  fi
13261          esac
13262          shared_flag='-shared'
13263	  if test "$aix_use_runtimelinking" = yes; then
13264	    shared_flag="$shared_flag "'${wl}-G'
13265	  fi
13266        else
13267          # not using gcc
13268          if test "$host_cpu" = ia64; then
13269	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13270	  # chokes on -Wl,-G. The following line is correct:
13271	  shared_flag='-G'
13272          else
13273	    if test "$aix_use_runtimelinking" = yes; then
13274	      shared_flag='${wl}-G'
13275	    else
13276	      shared_flag='${wl}-bM:SRE'
13277	    fi
13278          fi
13279        fi
13280
13281        export_dynamic_flag_spec_CXX='${wl}-bexpall'
13282        # It seems that -bexpall does not export symbols beginning with
13283        # underscore (_), so it is better to generate a list of symbols to
13284	# export.
13285        always_export_symbols_CXX=yes
13286        if test "$aix_use_runtimelinking" = yes; then
13287          # Warning - without using the other runtime loading flags (-brtl),
13288          # -berok will link without error, but may produce a broken library.
13289          allow_undefined_flag_CXX='-berok'
13290          # Determine the default libpath from the value encoded in an empty
13291          # executable.
13292          if test "${lt_cv_aix_libpath+set}" = set; then
13293  aix_libpath=$lt_cv_aix_libpath
13294else
13295  if ${lt_cv_aix_libpath__CXX+:} false; then :
13296  $as_echo_n "(cached) " >&6
13297else
13298  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299/* end confdefs.h.  */
13300
13301int
13302main ()
13303{
13304
13305  ;
13306  return 0;
13307}
13308_ACEOF
13309if ac_fn_cxx_try_link "$LINENO"; then :
13310
13311  lt_aix_libpath_sed='
13312      /Import File Strings/,/^$/ {
13313	  /^0/ {
13314	      s/^0  *\([^ ]*\) *$/\1/
13315	      p
13316	  }
13317      }'
13318  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13319  # Check for a 64-bit object if we didn't find anything.
13320  if test -z "$lt_cv_aix_libpath__CXX"; then
13321    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13322  fi
13323fi
13324rm -f core conftest.err conftest.$ac_objext \
13325    conftest$ac_exeext conftest.$ac_ext
13326  if test -z "$lt_cv_aix_libpath__CXX"; then
13327    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13328  fi
13329
13330fi
13331
13332  aix_libpath=$lt_cv_aix_libpath__CXX
13333fi
13334
13335          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13336
13337          archive_expsym_cmds_CXX='$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"
13338        else
13339          if test "$host_cpu" = ia64; then
13340	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13341	    allow_undefined_flag_CXX="-z nodefs"
13342	    archive_expsym_cmds_CXX="\$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"
13343          else
13344	    # Determine the default libpath from the value encoded in an
13345	    # empty executable.
13346	    if test "${lt_cv_aix_libpath+set}" = set; then
13347  aix_libpath=$lt_cv_aix_libpath
13348else
13349  if ${lt_cv_aix_libpath__CXX+:} false; then :
13350  $as_echo_n "(cached) " >&6
13351else
13352  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353/* end confdefs.h.  */
13354
13355int
13356main ()
13357{
13358
13359  ;
13360  return 0;
13361}
13362_ACEOF
13363if ac_fn_cxx_try_link "$LINENO"; then :
13364
13365  lt_aix_libpath_sed='
13366      /Import File Strings/,/^$/ {
13367	  /^0/ {
13368	      s/^0  *\([^ ]*\) *$/\1/
13369	      p
13370	  }
13371      }'
13372  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13373  # Check for a 64-bit object if we didn't find anything.
13374  if test -z "$lt_cv_aix_libpath__CXX"; then
13375    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13376  fi
13377fi
13378rm -f core conftest.err conftest.$ac_objext \
13379    conftest$ac_exeext conftest.$ac_ext
13380  if test -z "$lt_cv_aix_libpath__CXX"; then
13381    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13382  fi
13383
13384fi
13385
13386  aix_libpath=$lt_cv_aix_libpath__CXX
13387fi
13388
13389	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13390	    # Warning - without using the other run time loading flags,
13391	    # -berok will link without error, but may produce a broken library.
13392	    no_undefined_flag_CXX=' ${wl}-bernotok'
13393	    allow_undefined_flag_CXX=' ${wl}-berok'
13394	    if test "$with_gnu_ld" = yes; then
13395	      # We only use this code for GNU lds that support --whole-archive.
13396	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13397	    else
13398	      # Exported symbols can be pulled into shared objects from archives
13399	      whole_archive_flag_spec_CXX='$convenience'
13400	    fi
13401	    archive_cmds_need_lc_CXX=yes
13402	    # This is similar to how AIX traditionally builds its shared
13403	    # libraries.
13404	    archive_expsym_cmds_CXX="\$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'
13405          fi
13406        fi
13407        ;;
13408
13409      beos*)
13410	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13411	  allow_undefined_flag_CXX=unsupported
13412	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13413	  # support --undefined.  This deserves some investigation.  FIXME
13414	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13415	else
13416	  ld_shlibs_CXX=no
13417	fi
13418	;;
13419
13420      chorus*)
13421        case $cc_basename in
13422          *)
13423	  # FIXME: insert proper C++ library support
13424	  ld_shlibs_CXX=no
13425	  ;;
13426        esac
13427        ;;
13428
13429      cygwin* | mingw* | pw32* | cegcc*)
13430	case $GXX,$cc_basename in
13431	,cl* | no,cl*)
13432	  # Native MSVC
13433	  # hardcode_libdir_flag_spec is actually meaningless, as there is
13434	  # no search path for DLLs.
13435	  hardcode_libdir_flag_spec_CXX=' '
13436	  allow_undefined_flag_CXX=unsupported
13437	  always_export_symbols_CXX=yes
13438	  file_list_spec_CXX='@'
13439	  # Tell ltmain to make .lib files, not .a files.
13440	  libext=lib
13441	  # Tell ltmain to make .dll files, not .so files.
13442	  shrext_cmds=".dll"
13443	  # FIXME: Setting linknames here is a bad hack.
13444	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13445	  archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13446	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13447	    else
13448	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13449	    fi~
13450	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13451	    linknames='
13452	  # The linker will not automatically build a static lib if we build a DLL.
13453	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13454	  enable_shared_with_static_runtimes_CXX=yes
13455	  # Don't use ranlib
13456	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
13457	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13458	    lt_tool_outputfile="@TOOL_OUTPUT@"~
13459	    case $lt_outputfile in
13460	      *.exe|*.EXE) ;;
13461	      *)
13462		lt_outputfile="$lt_outputfile.exe"
13463		lt_tool_outputfile="$lt_tool_outputfile.exe"
13464		;;
13465	    esac~
13466	    func_to_tool_file "$lt_outputfile"~
13467	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13468	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13469	      $RM "$lt_outputfile.manifest";
13470	    fi'
13471	  ;;
13472	*)
13473	  # g++
13474	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13475	  # as there is no search path for DLLs.
13476	  hardcode_libdir_flag_spec_CXX='-L$libdir'
13477	  export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13478	  allow_undefined_flag_CXX=unsupported
13479	  always_export_symbols_CXX=no
13480	  enable_shared_with_static_runtimes_CXX=yes
13481
13482	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13483	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13484	    # If the export-symbols file already is a .def file (1st line
13485	    # is EXPORTS), use it as is; otherwise, prepend...
13486	    archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13487	      cp $export_symbols $output_objdir/$soname.def;
13488	    else
13489	      echo EXPORTS > $output_objdir/$soname.def;
13490	      cat $export_symbols >> $output_objdir/$soname.def;
13491	    fi~
13492	    $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13493	  else
13494	    ld_shlibs_CXX=no
13495	  fi
13496	  ;;
13497	esac
13498	;;
13499      darwin* | rhapsody*)
13500
13501
13502  archive_cmds_need_lc_CXX=no
13503  hardcode_direct_CXX=no
13504  hardcode_automatic_CXX=yes
13505  hardcode_shlibpath_var_CXX=unsupported
13506  if test "$lt_cv_ld_force_load" = "yes"; then
13507    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13508
13509  else
13510    whole_archive_flag_spec_CXX=''
13511  fi
13512  link_all_deplibs_CXX=yes
13513  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13514  case $cc_basename in
13515     ifort*) _lt_dar_can_shared=yes ;;
13516     *) _lt_dar_can_shared=$GCC ;;
13517  esac
13518  if test "$_lt_dar_can_shared" = "yes"; then
13519    output_verbose_link_cmd=func_echo_all
13520    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13521    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13522    archive_expsym_cmds_CXX="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}"
13523    module_expsym_cmds_CXX="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}"
13524       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13525      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13526      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13527    fi
13528
13529  else
13530  ld_shlibs_CXX=no
13531  fi
13532
13533	;;
13534
13535      dgux*)
13536        case $cc_basename in
13537          ec++*)
13538	    # FIXME: insert proper C++ library support
13539	    ld_shlibs_CXX=no
13540	    ;;
13541          ghcx*)
13542	    # Green Hills C++ Compiler
13543	    # FIXME: insert proper C++ library support
13544	    ld_shlibs_CXX=no
13545	    ;;
13546          *)
13547	    # FIXME: insert proper C++ library support
13548	    ld_shlibs_CXX=no
13549	    ;;
13550        esac
13551        ;;
13552
13553      freebsd2.*)
13554        # C++ shared libraries reported to be fairly broken before
13555	# switch to ELF
13556        ld_shlibs_CXX=no
13557        ;;
13558
13559      freebsd-elf*)
13560        archive_cmds_need_lc_CXX=no
13561        ;;
13562
13563      freebsd* | dragonfly*)
13564        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13565        # conventions
13566        ld_shlibs_CXX=yes
13567        ;;
13568
13569      gnu*)
13570        ;;
13571
13572      haiku*)
13573        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13574        link_all_deplibs_CXX=yes
13575        ;;
13576
13577      hpux9*)
13578        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13579        hardcode_libdir_separator_CXX=:
13580        export_dynamic_flag_spec_CXX='${wl}-E'
13581        hardcode_direct_CXX=yes
13582        hardcode_minus_L_CXX=yes # Not in the search PATH,
13583				             # but as the default
13584				             # location of the library.
13585
13586        case $cc_basename in
13587          CC*)
13588            # FIXME: insert proper C++ library support
13589            ld_shlibs_CXX=no
13590            ;;
13591          aCC*)
13592            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13593            # Commands to make compiler produce verbose output that lists
13594            # what "hidden" libraries, object files and flags are used when
13595            # linking a shared library.
13596            #
13597            # There doesn't appear to be a way to prevent this compiler from
13598            # explicitly linking system object files so we need to strip them
13599            # from the output so that they don't get included in the library
13600            # dependencies.
13601            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13602            ;;
13603          *)
13604            if test "$GXX" = yes; then
13605              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13606            else
13607              # FIXME: insert proper C++ library support
13608              ld_shlibs_CXX=no
13609            fi
13610            ;;
13611        esac
13612        ;;
13613
13614      hpux10*|hpux11*)
13615        if test $with_gnu_ld = no; then
13616	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13617	  hardcode_libdir_separator_CXX=:
13618
13619          case $host_cpu in
13620            hppa*64*|ia64*)
13621              ;;
13622            *)
13623	      export_dynamic_flag_spec_CXX='${wl}-E'
13624              ;;
13625          esac
13626        fi
13627        case $host_cpu in
13628          hppa*64*|ia64*)
13629            hardcode_direct_CXX=no
13630            hardcode_shlibpath_var_CXX=no
13631            ;;
13632          *)
13633            hardcode_direct_CXX=yes
13634            hardcode_direct_absolute_CXX=yes
13635            hardcode_minus_L_CXX=yes # Not in the search PATH,
13636					         # but as the default
13637					         # location of the library.
13638            ;;
13639        esac
13640
13641        case $cc_basename in
13642          CC*)
13643	    # FIXME: insert proper C++ library support
13644	    ld_shlibs_CXX=no
13645	    ;;
13646          aCC*)
13647	    case $host_cpu in
13648	      hppa*64*)
13649	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13650	        ;;
13651	      ia64*)
13652	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13653	        ;;
13654	      *)
13655	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13656	        ;;
13657	    esac
13658	    # Commands to make compiler produce verbose output that lists
13659	    # what "hidden" libraries, object files and flags are used when
13660	    # linking a shared library.
13661	    #
13662	    # There doesn't appear to be a way to prevent this compiler from
13663	    # explicitly linking system object files so we need to strip them
13664	    # from the output so that they don't get included in the library
13665	    # dependencies.
13666	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13667	    ;;
13668          *)
13669	    if test "$GXX" = yes; then
13670	      if test $with_gnu_ld = no; then
13671	        case $host_cpu in
13672	          hppa*64*)
13673	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13674	            ;;
13675	          ia64*)
13676	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13677	            ;;
13678	          *)
13679	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13680	            ;;
13681	        esac
13682	      fi
13683	    else
13684	      # FIXME: insert proper C++ library support
13685	      ld_shlibs_CXX=no
13686	    fi
13687	    ;;
13688        esac
13689        ;;
13690
13691      interix[3-9]*)
13692	hardcode_direct_CXX=no
13693	hardcode_shlibpath_var_CXX=no
13694	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13695	export_dynamic_flag_spec_CXX='${wl}-E'
13696	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13697	# Instead, shared libraries are loaded at an image base (0x10000000 by
13698	# default) and relocated if they conflict, which is a slow very memory
13699	# consuming and fragmenting process.  To avoid this, we pick a random,
13700	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13701	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13702	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13703	archive_expsym_cmds_CXX='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'
13704	;;
13705      irix5* | irix6*)
13706        case $cc_basename in
13707          CC*)
13708	    # SGI C++
13709	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13710
13711	    # Archives containing C++ object files must be created using
13712	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13713	    # necessary to make sure instantiated templates are included
13714	    # in the archive.
13715	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13716	    ;;
13717          *)
13718	    if test "$GXX" = yes; then
13719	      if test "$with_gnu_ld" = no; then
13720	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
13721	      else
13722	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13723	      fi
13724	    fi
13725	    link_all_deplibs_CXX=yes
13726	    ;;
13727        esac
13728        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13729        hardcode_libdir_separator_CXX=:
13730        inherit_rpath_CXX=yes
13731        ;;
13732
13733      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13734        case $cc_basename in
13735          KCC*)
13736	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13737
13738	    # KCC will only create a shared library if the output file
13739	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13740	    # to its proper name (with version) after linking.
13741	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13742	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13743	    # Commands to make compiler produce verbose output that lists
13744	    # what "hidden" libraries, object files and flags are used when
13745	    # linking a shared library.
13746	    #
13747	    # There doesn't appear to be a way to prevent this compiler from
13748	    # explicitly linking system object files so we need to strip them
13749	    # from the output so that they don't get included in the library
13750	    # dependencies.
13751	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13752
13753	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13754	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13755
13756	    # Archives containing C++ object files must be created using
13757	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13758	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13759	    ;;
13760	  icpc* | ecpc* )
13761	    # Intel C++
13762	    with_gnu_ld=yes
13763	    # version 8.0 and above of icpc choke on multiply defined symbols
13764	    # if we add $predep_objects and $postdep_objects, however 7.1 and
13765	    # earlier do not add the objects themselves.
13766	    case `$CC -V 2>&1` in
13767	      *"Version 7."*)
13768	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13769		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13770		;;
13771	      *)  # Version 8.0 or newer
13772	        tmp_idyn=
13773	        case $host_cpu in
13774		  ia64*) tmp_idyn=' -i_dynamic';;
13775		esac
13776	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13777		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13778		;;
13779	    esac
13780	    archive_cmds_need_lc_CXX=no
13781	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13782	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13783	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13784	    ;;
13785          pgCC* | pgcpp*)
13786            # Portland Group C++ compiler
13787	    case `$CC -V` in
13788	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13789	      prelink_cmds_CXX='tpldir=Template.dir~
13790		rm -rf $tpldir~
13791		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13792		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13793	      old_archive_cmds_CXX='tpldir=Template.dir~
13794		rm -rf $tpldir~
13795		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13796		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13797		$RANLIB $oldlib'
13798	      archive_cmds_CXX='tpldir=Template.dir~
13799		rm -rf $tpldir~
13800		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13801		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13802	      archive_expsym_cmds_CXX='tpldir=Template.dir~
13803		rm -rf $tpldir~
13804		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13805		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13806	      ;;
13807	    *) # Version 6 and above use weak symbols
13808	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13809	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13810	      ;;
13811	    esac
13812
13813	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13814	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13815	    whole_archive_flag_spec_CXX='${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'
13816            ;;
13817	  cxx*)
13818	    # Compaq C++
13819	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13820	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13821
13822	    runpath_var=LD_RUN_PATH
13823	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13824	    hardcode_libdir_separator_CXX=:
13825
13826	    # Commands to make compiler produce verbose output that lists
13827	    # what "hidden" libraries, object files and flags are used when
13828	    # linking a shared library.
13829	    #
13830	    # There doesn't appear to be a way to prevent this compiler from
13831	    # explicitly linking system object files so we need to strip them
13832	    # from the output so that they don't get included in the library
13833	    # dependencies.
13834	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13835	    ;;
13836	  xl* | mpixl* | bgxl*)
13837	    # IBM XL 8.0 on PPC, with GNU ld
13838	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13839	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13840	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13841	    if test "x$supports_anon_versioning" = xyes; then
13842	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13843		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13844		echo "local: *; };" >> $output_objdir/$libname.ver~
13845		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13846	    fi
13847	    ;;
13848	  *)
13849	    case `$CC -V 2>&1 | sed 5q` in
13850	    *Sun\ C*)
13851	      # Sun C++ 5.9
13852	      no_undefined_flag_CXX=' -zdefs'
13853	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13854	      archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13855	      hardcode_libdir_flag_spec_CXX='-R$libdir'
13856	      whole_archive_flag_spec_CXX='${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'
13857	      compiler_needs_object_CXX=yes
13858
13859	      # Not sure whether something based on
13860	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13861	      # would be better.
13862	      output_verbose_link_cmd='func_echo_all'
13863
13864	      # Archives containing C++ object files must be created using
13865	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13866	      # necessary to make sure instantiated templates are included
13867	      # in the archive.
13868	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13869	      ;;
13870	    esac
13871	    ;;
13872	esac
13873	;;
13874
13875      lynxos*)
13876        # FIXME: insert proper C++ library support
13877	ld_shlibs_CXX=no
13878	;;
13879
13880      m88k*)
13881        # FIXME: insert proper C++ library support
13882        ld_shlibs_CXX=no
13883	;;
13884
13885      mvs*)
13886        case $cc_basename in
13887          cxx*)
13888	    # FIXME: insert proper C++ library support
13889	    ld_shlibs_CXX=no
13890	    ;;
13891	  *)
13892	    # FIXME: insert proper C++ library support
13893	    ld_shlibs_CXX=no
13894	    ;;
13895	esac
13896	;;
13897
13898      netbsd*)
13899        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13900	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13901	  wlarc=
13902	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13903	  hardcode_direct_CXX=yes
13904	  hardcode_shlibpath_var_CXX=no
13905	fi
13906	# Workaround some broken pre-1.5 toolchains
13907	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13908	;;
13909
13910      *nto* | *qnx*)
13911        ld_shlibs_CXX=yes
13912	;;
13913
13914      openbsd2*)
13915        # C++ shared libraries are fairly broken
13916	ld_shlibs_CXX=no
13917	;;
13918
13919      openbsd*)
13920	if test -f /usr/libexec/ld.so; then
13921	  hardcode_direct_CXX=yes
13922	  hardcode_shlibpath_var_CXX=no
13923	  hardcode_direct_absolute_CXX=yes
13924	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13925	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13926	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13927	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13928	    export_dynamic_flag_spec_CXX='${wl}-E'
13929	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13930	  fi
13931	  output_verbose_link_cmd=func_echo_all
13932	else
13933	  ld_shlibs_CXX=no
13934	fi
13935	;;
13936
13937      osf3* | osf4* | osf5*)
13938        case $cc_basename in
13939          KCC*)
13940	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13941
13942	    # KCC will only create a shared library if the output file
13943	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13944	    # to its proper name (with version) after linking.
13945	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13946
13947	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13948	    hardcode_libdir_separator_CXX=:
13949
13950	    # Archives containing C++ object files must be created using
13951	    # the KAI C++ compiler.
13952	    case $host in
13953	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13954	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13955	    esac
13956	    ;;
13957          RCC*)
13958	    # Rational C++ 2.4.1
13959	    # FIXME: insert proper C++ library support
13960	    ld_shlibs_CXX=no
13961	    ;;
13962          cxx*)
13963	    case $host in
13964	      osf3*)
13965	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13966	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13967	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13968		;;
13969	      *)
13970	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13971	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13972	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13973	          echo "-hidden">> $lib.exp~
13974	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13975	          $RM $lib.exp'
13976	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13977		;;
13978	    esac
13979
13980	    hardcode_libdir_separator_CXX=:
13981
13982	    # Commands to make compiler produce verbose output that lists
13983	    # what "hidden" libraries, object files and flags are used when
13984	    # linking a shared library.
13985	    #
13986	    # There doesn't appear to be a way to prevent this compiler from
13987	    # explicitly linking system object files so we need to strip them
13988	    # from the output so that they don't get included in the library
13989	    # dependencies.
13990	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13991	    ;;
13992	  *)
13993	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13994	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13995	      case $host in
13996	        osf3*)
13997	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13998		  ;;
13999	        *)
14000	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
14001		  ;;
14002	      esac
14003
14004	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14005	      hardcode_libdir_separator_CXX=:
14006
14007	      # Commands to make compiler produce verbose output that lists
14008	      # what "hidden" libraries, object files and flags are used when
14009	      # linking a shared library.
14010	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14011
14012	    else
14013	      # FIXME: insert proper C++ library support
14014	      ld_shlibs_CXX=no
14015	    fi
14016	    ;;
14017        esac
14018        ;;
14019
14020      psos*)
14021        # FIXME: insert proper C++ library support
14022        ld_shlibs_CXX=no
14023        ;;
14024
14025      sunos4*)
14026        case $cc_basename in
14027          CC*)
14028	    # Sun C++ 4.x
14029	    # FIXME: insert proper C++ library support
14030	    ld_shlibs_CXX=no
14031	    ;;
14032          lcc*)
14033	    # Lucid
14034	    # FIXME: insert proper C++ library support
14035	    ld_shlibs_CXX=no
14036	    ;;
14037          *)
14038	    # FIXME: insert proper C++ library support
14039	    ld_shlibs_CXX=no
14040	    ;;
14041        esac
14042        ;;
14043
14044      solaris*)
14045        case $cc_basename in
14046          CC* | sunCC*)
14047	    # Sun C++ 4.2, 5.x and Centerline C++
14048            archive_cmds_need_lc_CXX=yes
14049	    no_undefined_flag_CXX=' -zdefs'
14050	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14051	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14052	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14053
14054	    hardcode_libdir_flag_spec_CXX='-R$libdir'
14055	    hardcode_shlibpath_var_CXX=no
14056	    case $host_os in
14057	      solaris2.[0-5] | solaris2.[0-5].*) ;;
14058	      *)
14059		# The compiler driver will combine and reorder linker options,
14060		# but understands `-z linker_flag'.
14061	        # Supported since Solaris 2.6 (maybe 2.5.1?)
14062		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14063	        ;;
14064	    esac
14065	    link_all_deplibs_CXX=yes
14066
14067	    output_verbose_link_cmd='func_echo_all'
14068
14069	    # Archives containing C++ object files must be created using
14070	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14071	    # necessary to make sure instantiated templates are included
14072	    # in the archive.
14073	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14074	    ;;
14075          gcx*)
14076	    # Green Hills C++ Compiler
14077	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14078
14079	    # The C++ compiler must be used to create the archive.
14080	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14081	    ;;
14082          *)
14083	    # GNU C++ compiler with Solaris linker
14084	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14085	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14086	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14087	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14088	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14089		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14090
14091	        # Commands to make compiler produce verbose output that lists
14092	        # what "hidden" libraries, object files and flags are used when
14093	        # linking a shared library.
14094	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14095	      else
14096	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
14097	        # platform.
14098	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14099	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14100		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14101
14102	        # Commands to make compiler produce verbose output that lists
14103	        # what "hidden" libraries, object files and flags are used when
14104	        # linking a shared library.
14105	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14106	      fi
14107
14108	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14109	      case $host_os in
14110		solaris2.[0-5] | solaris2.[0-5].*) ;;
14111		*)
14112		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14113		  ;;
14114	      esac
14115	    fi
14116	    ;;
14117        esac
14118        ;;
14119
14120    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14121      no_undefined_flag_CXX='${wl}-z,text'
14122      archive_cmds_need_lc_CXX=no
14123      hardcode_shlibpath_var_CXX=no
14124      runpath_var='LD_RUN_PATH'
14125
14126      case $cc_basename in
14127        CC*)
14128	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14129	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14130	  ;;
14131	*)
14132	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14133	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14134	  ;;
14135      esac
14136      ;;
14137
14138      sysv5* | sco3.2v5* | sco5v6*)
14139	# Note: We can NOT use -z defs as we might desire, because we do not
14140	# link with -lc, and that would cause any symbols used from libc to
14141	# always be unresolved, which means just about no library would
14142	# ever link correctly.  If we're not using GNU ld we use -z text
14143	# though, which does catch some bad symbols but isn't as heavy-handed
14144	# as -z defs.
14145	no_undefined_flag_CXX='${wl}-z,text'
14146	allow_undefined_flag_CXX='${wl}-z,nodefs'
14147	archive_cmds_need_lc_CXX=no
14148	hardcode_shlibpath_var_CXX=no
14149	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14150	hardcode_libdir_separator_CXX=':'
14151	link_all_deplibs_CXX=yes
14152	export_dynamic_flag_spec_CXX='${wl}-Bexport'
14153	runpath_var='LD_RUN_PATH'
14154
14155	case $cc_basename in
14156          CC*)
14157	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14158	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14159	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14160	      '"$old_archive_cmds_CXX"
14161	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14162	      '"$reload_cmds_CXX"
14163	    ;;
14164	  *)
14165	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14166	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14167	    ;;
14168	esac
14169      ;;
14170
14171      tandem*)
14172        case $cc_basename in
14173          NCC*)
14174	    # NonStop-UX NCC 3.20
14175	    # FIXME: insert proper C++ library support
14176	    ld_shlibs_CXX=no
14177	    ;;
14178          *)
14179	    # FIXME: insert proper C++ library support
14180	    ld_shlibs_CXX=no
14181	    ;;
14182        esac
14183        ;;
14184
14185      vxworks*)
14186        # FIXME: insert proper C++ library support
14187        ld_shlibs_CXX=no
14188        ;;
14189
14190      *)
14191        # FIXME: insert proper C++ library support
14192        ld_shlibs_CXX=no
14193        ;;
14194    esac
14195
14196    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14197$as_echo "$ld_shlibs_CXX" >&6; }
14198    test "$ld_shlibs_CXX" = no && can_build_shared=no
14199
14200    GCC_CXX="$GXX"
14201    LD_CXX="$LD"
14202
14203    ## CAVEAT EMPTOR:
14204    ## There is no encapsulation within the following macros, do not change
14205    ## the running order or otherwise move them around unless you know exactly
14206    ## what you are doing...
14207    # Dependencies to place before and after the object being linked:
14208predep_objects_CXX=
14209postdep_objects_CXX=
14210predeps_CXX=
14211postdeps_CXX=
14212compiler_lib_search_path_CXX=
14213
14214cat > conftest.$ac_ext <<_LT_EOF
14215class Foo
14216{
14217public:
14218  Foo (void) { a = 0; }
14219private:
14220  int a;
14221};
14222_LT_EOF
14223
14224
14225_lt_libdeps_save_CFLAGS=$CFLAGS
14226case "$CC $CFLAGS " in #(
14227*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14228*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14229*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14230esac
14231
14232if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14233  (eval $ac_compile) 2>&5
14234  ac_status=$?
14235  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14236  test $ac_status = 0; }; then
14237  # Parse the compiler output and extract the necessary
14238  # objects, libraries and library flags.
14239
14240  # Sentinel used to keep track of whether or not we are before
14241  # the conftest object file.
14242  pre_test_object_deps_done=no
14243
14244  for p in `eval "$output_verbose_link_cmd"`; do
14245    case ${prev}${p} in
14246
14247    -L* | -R* | -l*)
14248       # Some compilers place space between "-{L,R}" and the path.
14249       # Remove the space.
14250       if test $p = "-L" ||
14251          test $p = "-R"; then
14252	 prev=$p
14253	 continue
14254       fi
14255
14256       # Expand the sysroot to ease extracting the directories later.
14257       if test -z "$prev"; then
14258         case $p in
14259         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14260         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14261         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14262         esac
14263       fi
14264       case $p in
14265       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14266       esac
14267       if test "$pre_test_object_deps_done" = no; then
14268	 case ${prev} in
14269	 -L | -R)
14270	   # Internal compiler library paths should come after those
14271	   # provided the user.  The postdeps already come after the
14272	   # user supplied libs so there is no need to process them.
14273	   if test -z "$compiler_lib_search_path_CXX"; then
14274	     compiler_lib_search_path_CXX="${prev}${p}"
14275	   else
14276	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14277	   fi
14278	   ;;
14279	 # The "-l" case would never come before the object being
14280	 # linked, so don't bother handling this case.
14281	 esac
14282       else
14283	 if test -z "$postdeps_CXX"; then
14284	   postdeps_CXX="${prev}${p}"
14285	 else
14286	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14287	 fi
14288       fi
14289       prev=
14290       ;;
14291
14292    *.lto.$objext) ;; # Ignore GCC LTO objects
14293    *.$objext)
14294       # This assumes that the test object file only shows up
14295       # once in the compiler output.
14296       if test "$p" = "conftest.$objext"; then
14297	 pre_test_object_deps_done=yes
14298	 continue
14299       fi
14300
14301       if test "$pre_test_object_deps_done" = no; then
14302	 if test -z "$predep_objects_CXX"; then
14303	   predep_objects_CXX="$p"
14304	 else
14305	   predep_objects_CXX="$predep_objects_CXX $p"
14306	 fi
14307       else
14308	 if test -z "$postdep_objects_CXX"; then
14309	   postdep_objects_CXX="$p"
14310	 else
14311	   postdep_objects_CXX="$postdep_objects_CXX $p"
14312	 fi
14313       fi
14314       ;;
14315
14316    *) ;; # Ignore the rest.
14317
14318    esac
14319  done
14320
14321  # Clean up.
14322  rm -f a.out a.exe
14323else
14324  echo "libtool.m4: error: problem compiling CXX test program"
14325fi
14326
14327$RM -f confest.$objext
14328CFLAGS=$_lt_libdeps_save_CFLAGS
14329
14330# PORTME: override above test on systems where it is broken
14331case $host_os in
14332interix[3-9]*)
14333  # Interix 3.5 installs completely hosed .la files for C++, so rather than
14334  # hack all around it, let's just trust "g++" to DTRT.
14335  predep_objects_CXX=
14336  postdep_objects_CXX=
14337  postdeps_CXX=
14338  ;;
14339
14340linux*)
14341  case `$CC -V 2>&1 | sed 5q` in
14342  *Sun\ C*)
14343    # Sun C++ 5.9
14344
14345    # The more standards-conforming stlport4 library is
14346    # incompatible with the Cstd library. Avoid specifying
14347    # it if it's in CXXFLAGS. Ignore libCrun as
14348    # -library=stlport4 depends on it.
14349    case " $CXX $CXXFLAGS " in
14350    *" -library=stlport4 "*)
14351      solaris_use_stlport4=yes
14352      ;;
14353    esac
14354
14355    if test "$solaris_use_stlport4" != yes; then
14356      postdeps_CXX='-library=Cstd -library=Crun'
14357    fi
14358    ;;
14359  esac
14360  ;;
14361
14362solaris*)
14363  case $cc_basename in
14364  CC* | sunCC*)
14365    # The more standards-conforming stlport4 library is
14366    # incompatible with the Cstd library. Avoid specifying
14367    # it if it's in CXXFLAGS. Ignore libCrun as
14368    # -library=stlport4 depends on it.
14369    case " $CXX $CXXFLAGS " in
14370    *" -library=stlport4 "*)
14371      solaris_use_stlport4=yes
14372      ;;
14373    esac
14374
14375    # Adding this requires a known-good setup of shared libraries for
14376    # Sun compiler versions before 5.6, else PIC objects from an old
14377    # archive will be linked into the output, leading to subtle bugs.
14378    if test "$solaris_use_stlport4" != yes; then
14379      postdeps_CXX='-library=Cstd -library=Crun'
14380    fi
14381    ;;
14382  esac
14383  ;;
14384esac
14385
14386
14387case " $postdeps_CXX " in
14388*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14389esac
14390 compiler_lib_search_dirs_CXX=
14391if test -n "${compiler_lib_search_path_CXX}"; then
14392 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14393fi
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425    lt_prog_compiler_wl_CXX=
14426lt_prog_compiler_pic_CXX=
14427lt_prog_compiler_static_CXX=
14428
14429
14430  # C++ specific cases for pic, static, wl, etc.
14431  if test "$GXX" = yes; then
14432    lt_prog_compiler_wl_CXX='-Wl,'
14433    lt_prog_compiler_static_CXX='-static'
14434
14435    case $host_os in
14436    aix*)
14437      # All AIX code is PIC.
14438      if test "$host_cpu" = ia64; then
14439	# AIX 5 now supports IA64 processor
14440	lt_prog_compiler_static_CXX='-Bstatic'
14441      fi
14442      ;;
14443
14444    amigaos*)
14445      case $host_cpu in
14446      powerpc)
14447            # see comment about AmigaOS4 .so support
14448            lt_prog_compiler_pic_CXX='-fPIC'
14449        ;;
14450      m68k)
14451            # FIXME: we need at least 68020 code to build shared libraries, but
14452            # adding the `-m68020' flag to GCC prevents building anything better,
14453            # like `-m68040'.
14454            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14455        ;;
14456      esac
14457      ;;
14458
14459    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14460      # PIC is the default for these OSes.
14461      ;;
14462    mingw* | cygwin* | os2* | pw32* | cegcc*)
14463      # This hack is so that the source file can tell whether it is being
14464      # built for inclusion in a dll (and should export symbols for example).
14465      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14466      # (--disable-auto-import) libraries
14467      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14468      ;;
14469    darwin* | rhapsody*)
14470      # PIC is the default on this platform
14471      # Common symbols not allowed in MH_DYLIB files
14472      lt_prog_compiler_pic_CXX='-fno-common'
14473      ;;
14474    *djgpp*)
14475      # DJGPP does not support shared libraries at all
14476      lt_prog_compiler_pic_CXX=
14477      ;;
14478    haiku*)
14479      # PIC is the default for Haiku.
14480      # The "-static" flag exists, but is broken.
14481      lt_prog_compiler_static_CXX=
14482      ;;
14483    interix[3-9]*)
14484      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14485      # Instead, we relocate shared libraries at runtime.
14486      ;;
14487    sysv4*MP*)
14488      if test -d /usr/nec; then
14489	lt_prog_compiler_pic_CXX=-Kconform_pic
14490      fi
14491      ;;
14492    hpux*)
14493      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14494      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14495      # sets the default TLS model and affects inlining.
14496      case $host_cpu in
14497      hppa*64*)
14498	;;
14499      *)
14500	lt_prog_compiler_pic_CXX='-fPIC'
14501	;;
14502      esac
14503      ;;
14504    *qnx* | *nto*)
14505      # QNX uses GNU C++, but need to define -shared option too, otherwise
14506      # it will coredump.
14507      lt_prog_compiler_pic_CXX='-fPIC -shared'
14508      ;;
14509    *)
14510      lt_prog_compiler_pic_CXX='-fPIC'
14511      ;;
14512    esac
14513  else
14514    case $host_os in
14515      aix[4-9]*)
14516	# All AIX code is PIC.
14517	if test "$host_cpu" = ia64; then
14518	  # AIX 5 now supports IA64 processor
14519	  lt_prog_compiler_static_CXX='-Bstatic'
14520	else
14521	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14522	fi
14523	;;
14524      chorus*)
14525	case $cc_basename in
14526	cxch68*)
14527	  # Green Hills C++ Compiler
14528	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14529	  ;;
14530	esac
14531	;;
14532      mingw* | cygwin* | os2* | pw32* | cegcc*)
14533	# This hack is so that the source file can tell whether it is being
14534	# built for inclusion in a dll (and should export symbols for example).
14535	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14536	;;
14537      dgux*)
14538	case $cc_basename in
14539	  ec++*)
14540	    lt_prog_compiler_pic_CXX='-KPIC'
14541	    ;;
14542	  ghcx*)
14543	    # Green Hills C++ Compiler
14544	    lt_prog_compiler_pic_CXX='-pic'
14545	    ;;
14546	  *)
14547	    ;;
14548	esac
14549	;;
14550      freebsd* | dragonfly*)
14551	# FreeBSD uses GNU C++
14552	;;
14553      hpux9* | hpux10* | hpux11*)
14554	case $cc_basename in
14555	  CC*)
14556	    lt_prog_compiler_wl_CXX='-Wl,'
14557	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14558	    if test "$host_cpu" != ia64; then
14559	      lt_prog_compiler_pic_CXX='+Z'
14560	    fi
14561	    ;;
14562	  aCC*)
14563	    lt_prog_compiler_wl_CXX='-Wl,'
14564	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14565	    case $host_cpu in
14566	    hppa*64*|ia64*)
14567	      # +Z the default
14568	      ;;
14569	    *)
14570	      lt_prog_compiler_pic_CXX='+Z'
14571	      ;;
14572	    esac
14573	    ;;
14574	  *)
14575	    ;;
14576	esac
14577	;;
14578      interix*)
14579	# This is c89, which is MS Visual C++ (no shared libs)
14580	# Anyone wants to do a port?
14581	;;
14582      irix5* | irix6* | nonstopux*)
14583	case $cc_basename in
14584	  CC*)
14585	    lt_prog_compiler_wl_CXX='-Wl,'
14586	    lt_prog_compiler_static_CXX='-non_shared'
14587	    # CC pic flag -KPIC is the default.
14588	    ;;
14589	  *)
14590	    ;;
14591	esac
14592	;;
14593      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14594	case $cc_basename in
14595	  KCC*)
14596	    # KAI C++ Compiler
14597	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14598	    lt_prog_compiler_pic_CXX='-fPIC'
14599	    ;;
14600	  ecpc* )
14601	    # old Intel C++ for x86_64 which still supported -KPIC.
14602	    lt_prog_compiler_wl_CXX='-Wl,'
14603	    lt_prog_compiler_pic_CXX='-KPIC'
14604	    lt_prog_compiler_static_CXX='-static'
14605	    ;;
14606	  icpc* )
14607	    # Intel C++, used to be incompatible with GCC.
14608	    # ICC 10 doesn't accept -KPIC any more.
14609	    lt_prog_compiler_wl_CXX='-Wl,'
14610	    lt_prog_compiler_pic_CXX='-fPIC'
14611	    lt_prog_compiler_static_CXX='-static'
14612	    ;;
14613	  pgCC* | pgcpp*)
14614	    # Portland Group C++ compiler
14615	    lt_prog_compiler_wl_CXX='-Wl,'
14616	    lt_prog_compiler_pic_CXX='-fpic'
14617	    lt_prog_compiler_static_CXX='-Bstatic'
14618	    ;;
14619	  cxx*)
14620	    # Compaq C++
14621	    # Make sure the PIC flag is empty.  It appears that all Alpha
14622	    # Linux and Compaq Tru64 Unix objects are PIC.
14623	    lt_prog_compiler_pic_CXX=
14624	    lt_prog_compiler_static_CXX='-non_shared'
14625	    ;;
14626	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14627	    # IBM XL 8.0, 9.0 on PPC and BlueGene
14628	    lt_prog_compiler_wl_CXX='-Wl,'
14629	    lt_prog_compiler_pic_CXX='-qpic'
14630	    lt_prog_compiler_static_CXX='-qstaticlink'
14631	    ;;
14632	  *)
14633	    case `$CC -V 2>&1 | sed 5q` in
14634	    *Sun\ C*)
14635	      # Sun C++ 5.9
14636	      lt_prog_compiler_pic_CXX='-KPIC'
14637	      lt_prog_compiler_static_CXX='-Bstatic'
14638	      lt_prog_compiler_wl_CXX='-Qoption ld '
14639	      ;;
14640	    esac
14641	    ;;
14642	esac
14643	;;
14644      lynxos*)
14645	;;
14646      m88k*)
14647	;;
14648      mvs*)
14649	case $cc_basename in
14650	  cxx*)
14651	    lt_prog_compiler_pic_CXX='-W c,exportall'
14652	    ;;
14653	  *)
14654	    ;;
14655	esac
14656	;;
14657      netbsd*)
14658	;;
14659      *qnx* | *nto*)
14660        # QNX uses GNU C++, but need to define -shared option too, otherwise
14661        # it will coredump.
14662        lt_prog_compiler_pic_CXX='-fPIC -shared'
14663        ;;
14664      osf3* | osf4* | osf5*)
14665	case $cc_basename in
14666	  KCC*)
14667	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14668	    ;;
14669	  RCC*)
14670	    # Rational C++ 2.4.1
14671	    lt_prog_compiler_pic_CXX='-pic'
14672	    ;;
14673	  cxx*)
14674	    # Digital/Compaq C++
14675	    lt_prog_compiler_wl_CXX='-Wl,'
14676	    # Make sure the PIC flag is empty.  It appears that all Alpha
14677	    # Linux and Compaq Tru64 Unix objects are PIC.
14678	    lt_prog_compiler_pic_CXX=
14679	    lt_prog_compiler_static_CXX='-non_shared'
14680	    ;;
14681	  *)
14682	    ;;
14683	esac
14684	;;
14685      psos*)
14686	;;
14687      solaris*)
14688	case $cc_basename in
14689	  CC* | sunCC*)
14690	    # Sun C++ 4.2, 5.x and Centerline C++
14691	    lt_prog_compiler_pic_CXX='-KPIC'
14692	    lt_prog_compiler_static_CXX='-Bstatic'
14693	    lt_prog_compiler_wl_CXX='-Qoption ld '
14694	    ;;
14695	  gcx*)
14696	    # Green Hills C++ Compiler
14697	    lt_prog_compiler_pic_CXX='-PIC'
14698	    ;;
14699	  *)
14700	    ;;
14701	esac
14702	;;
14703      sunos4*)
14704	case $cc_basename in
14705	  CC*)
14706	    # Sun C++ 4.x
14707	    lt_prog_compiler_pic_CXX='-pic'
14708	    lt_prog_compiler_static_CXX='-Bstatic'
14709	    ;;
14710	  lcc*)
14711	    # Lucid
14712	    lt_prog_compiler_pic_CXX='-pic'
14713	    ;;
14714	  *)
14715	    ;;
14716	esac
14717	;;
14718      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14719	case $cc_basename in
14720	  CC*)
14721	    lt_prog_compiler_wl_CXX='-Wl,'
14722	    lt_prog_compiler_pic_CXX='-KPIC'
14723	    lt_prog_compiler_static_CXX='-Bstatic'
14724	    ;;
14725	esac
14726	;;
14727      tandem*)
14728	case $cc_basename in
14729	  NCC*)
14730	    # NonStop-UX NCC 3.20
14731	    lt_prog_compiler_pic_CXX='-KPIC'
14732	    ;;
14733	  *)
14734	    ;;
14735	esac
14736	;;
14737      vxworks*)
14738	;;
14739      *)
14740	lt_prog_compiler_can_build_shared_CXX=no
14741	;;
14742    esac
14743  fi
14744
14745case $host_os in
14746  # For platforms which do not support PIC, -DPIC is meaningless:
14747  *djgpp*)
14748    lt_prog_compiler_pic_CXX=
14749    ;;
14750  *)
14751    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14752    ;;
14753esac
14754
14755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14756$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14757if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14758  $as_echo_n "(cached) " >&6
14759else
14760  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14761fi
14762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14763$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14764lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14765
14766#
14767# Check to make sure the PIC flag actually works.
14768#
14769if test -n "$lt_prog_compiler_pic_CXX"; then
14770  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14771$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14772if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14773  $as_echo_n "(cached) " >&6
14774else
14775  lt_cv_prog_compiler_pic_works_CXX=no
14776   ac_outfile=conftest.$ac_objext
14777   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14778   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14779   # Insert the option either (1) after the last *FLAGS variable, or
14780   # (2) before a word containing "conftest.", or (3) at the end.
14781   # Note that $ac_compile itself does not contain backslashes and begins
14782   # with a dollar sign (not a hyphen), so the echo should work correctly.
14783   # The option is referenced via a variable to avoid confusing sed.
14784   lt_compile=`echo "$ac_compile" | $SED \
14785   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14786   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14787   -e 's:$: $lt_compiler_flag:'`
14788   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14789   (eval "$lt_compile" 2>conftest.err)
14790   ac_status=$?
14791   cat conftest.err >&5
14792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793   if (exit $ac_status) && test -s "$ac_outfile"; then
14794     # The compiler can only warn and ignore the option if not recognized
14795     # So say no if there are warnings other than the usual output.
14796     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14797     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14798     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14799       lt_cv_prog_compiler_pic_works_CXX=yes
14800     fi
14801   fi
14802   $RM conftest*
14803
14804fi
14805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14806$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14807
14808if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14809    case $lt_prog_compiler_pic_CXX in
14810     "" | " "*) ;;
14811     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14812     esac
14813else
14814    lt_prog_compiler_pic_CXX=
14815     lt_prog_compiler_can_build_shared_CXX=no
14816fi
14817
14818fi
14819
14820
14821
14822
14823
14824#
14825# Check to make sure the static flag actually works.
14826#
14827wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14829$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14830if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14831  $as_echo_n "(cached) " >&6
14832else
14833  lt_cv_prog_compiler_static_works_CXX=no
14834   save_LDFLAGS="$LDFLAGS"
14835   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14836   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14837   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14838     # The linker can only warn and ignore the option if not recognized
14839     # So say no if there are warnings
14840     if test -s conftest.err; then
14841       # Append any errors to the config.log.
14842       cat conftest.err 1>&5
14843       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14844       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14845       if diff conftest.exp conftest.er2 >/dev/null; then
14846         lt_cv_prog_compiler_static_works_CXX=yes
14847       fi
14848     else
14849       lt_cv_prog_compiler_static_works_CXX=yes
14850     fi
14851   fi
14852   $RM -r conftest*
14853   LDFLAGS="$save_LDFLAGS"
14854
14855fi
14856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14857$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14858
14859if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14860    :
14861else
14862    lt_prog_compiler_static_CXX=
14863fi
14864
14865
14866
14867
14868    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14869$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14870if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14871  $as_echo_n "(cached) " >&6
14872else
14873  lt_cv_prog_compiler_c_o_CXX=no
14874   $RM -r conftest 2>/dev/null
14875   mkdir conftest
14876   cd conftest
14877   mkdir out
14878   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14879
14880   lt_compiler_flag="-o out/conftest2.$ac_objext"
14881   # Insert the option either (1) after the last *FLAGS variable, or
14882   # (2) before a word containing "conftest.", or (3) at the end.
14883   # Note that $ac_compile itself does not contain backslashes and begins
14884   # with a dollar sign (not a hyphen), so the echo should work correctly.
14885   lt_compile=`echo "$ac_compile" | $SED \
14886   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14887   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14888   -e 's:$: $lt_compiler_flag:'`
14889   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14890   (eval "$lt_compile" 2>out/conftest.err)
14891   ac_status=$?
14892   cat out/conftest.err >&5
14893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14895   then
14896     # The compiler can only warn and ignore the option if not recognized
14897     # So say no if there are warnings
14898     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14899     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14900     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14901       lt_cv_prog_compiler_c_o_CXX=yes
14902     fi
14903   fi
14904   chmod u+w . 2>&5
14905   $RM conftest*
14906   # SGI C++ compiler will create directory out/ii_files/ for
14907   # template instantiation
14908   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14909   $RM out/* && rmdir out
14910   cd ..
14911   $RM -r conftest
14912   $RM conftest*
14913
14914fi
14915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14916$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14917
14918
14919
14920    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14921$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14922if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14923  $as_echo_n "(cached) " >&6
14924else
14925  lt_cv_prog_compiler_c_o_CXX=no
14926   $RM -r conftest 2>/dev/null
14927   mkdir conftest
14928   cd conftest
14929   mkdir out
14930   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14931
14932   lt_compiler_flag="-o out/conftest2.$ac_objext"
14933   # Insert the option either (1) after the last *FLAGS variable, or
14934   # (2) before a word containing "conftest.", or (3) at the end.
14935   # Note that $ac_compile itself does not contain backslashes and begins
14936   # with a dollar sign (not a hyphen), so the echo should work correctly.
14937   lt_compile=`echo "$ac_compile" | $SED \
14938   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14939   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14940   -e 's:$: $lt_compiler_flag:'`
14941   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14942   (eval "$lt_compile" 2>out/conftest.err)
14943   ac_status=$?
14944   cat out/conftest.err >&5
14945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14947   then
14948     # The compiler can only warn and ignore the option if not recognized
14949     # So say no if there are warnings
14950     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14951     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14952     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14953       lt_cv_prog_compiler_c_o_CXX=yes
14954     fi
14955   fi
14956   chmod u+w . 2>&5
14957   $RM conftest*
14958   # SGI C++ compiler will create directory out/ii_files/ for
14959   # template instantiation
14960   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14961   $RM out/* && rmdir out
14962   cd ..
14963   $RM -r conftest
14964   $RM conftest*
14965
14966fi
14967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14968$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14969
14970
14971
14972
14973hard_links="nottested"
14974if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14975  # do not overwrite the value of need_locks provided by the user
14976  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14977$as_echo_n "checking if we can lock with hard links... " >&6; }
14978  hard_links=yes
14979  $RM conftest*
14980  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14981  touch conftest.a
14982  ln conftest.a conftest.b 2>&5 || hard_links=no
14983  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14985$as_echo "$hard_links" >&6; }
14986  if test "$hard_links" = no; then
14987    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14988$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14989    need_locks=warn
14990  fi
14991else
14992  need_locks=no
14993fi
14994
14995
14996
14997    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14998$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14999
15000  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15001  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15002  case $host_os in
15003  aix[4-9]*)
15004    # If we're using GNU nm, then we don't want the "-C" option.
15005    # -C means demangle to AIX nm, but means don't demangle with GNU nm
15006    # Also, AIX nm treats weak defined symbols like other global defined
15007    # symbols, whereas GNU nm marks them as "W".
15008    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15009      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15010    else
15011      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15012    fi
15013    ;;
15014  pw32*)
15015    export_symbols_cmds_CXX="$ltdll_cmds"
15016    ;;
15017  cygwin* | mingw* | cegcc*)
15018    case $cc_basename in
15019    cl*)
15020      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15021      ;;
15022    *)
15023      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15024      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15025      ;;
15026    esac
15027    ;;
15028  *)
15029    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15030    ;;
15031  esac
15032
15033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15034$as_echo "$ld_shlibs_CXX" >&6; }
15035test "$ld_shlibs_CXX" = no && can_build_shared=no
15036
15037with_gnu_ld_CXX=$with_gnu_ld
15038
15039
15040
15041
15042
15043
15044#
15045# Do we need to explicitly link libc?
15046#
15047case "x$archive_cmds_need_lc_CXX" in
15048x|xyes)
15049  # Assume -lc should be added
15050  archive_cmds_need_lc_CXX=yes
15051
15052  if test "$enable_shared" = yes && test "$GCC" = yes; then
15053    case $archive_cmds_CXX in
15054    *'~'*)
15055      # FIXME: we may have to deal with multi-command sequences.
15056      ;;
15057    '$CC '*)
15058      # Test whether the compiler implicitly links with -lc since on some
15059      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15060      # to ld, don't add -lc before -lgcc.
15061      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15062$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15063if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15064  $as_echo_n "(cached) " >&6
15065else
15066  $RM conftest*
15067	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15068
15069	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15070  (eval $ac_compile) 2>&5
15071  ac_status=$?
15072  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15073  test $ac_status = 0; } 2>conftest.err; then
15074	  soname=conftest
15075	  lib=conftest
15076	  libobjs=conftest.$ac_objext
15077	  deplibs=
15078	  wl=$lt_prog_compiler_wl_CXX
15079	  pic_flag=$lt_prog_compiler_pic_CXX
15080	  compiler_flags=-v
15081	  linker_flags=-v
15082	  verstring=
15083	  output_objdir=.
15084	  libname=conftest
15085	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15086	  allow_undefined_flag_CXX=
15087	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15088  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15089  ac_status=$?
15090  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15091  test $ac_status = 0; }
15092	  then
15093	    lt_cv_archive_cmds_need_lc_CXX=no
15094	  else
15095	    lt_cv_archive_cmds_need_lc_CXX=yes
15096	  fi
15097	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15098	else
15099	  cat conftest.err 1>&5
15100	fi
15101	$RM conftest*
15102
15103fi
15104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15105$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15106      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15107      ;;
15108    esac
15109  fi
15110  ;;
15111esac
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15175$as_echo_n "checking dynamic linker characteristics... " >&6; }
15176
15177library_names_spec=
15178libname_spec='lib$name'
15179soname_spec=
15180shrext_cmds=".so"
15181postinstall_cmds=
15182postuninstall_cmds=
15183finish_cmds=
15184finish_eval=
15185shlibpath_var=
15186shlibpath_overrides_runpath=unknown
15187version_type=none
15188dynamic_linker="$host_os ld.so"
15189sys_lib_dlsearch_path_spec="/lib /usr/lib"
15190need_lib_prefix=unknown
15191hardcode_into_libs=no
15192
15193# when you set need_version to no, make sure it does not cause -set_version
15194# flags to be left without arguments
15195need_version=unknown
15196
15197case $host_os in
15198aix3*)
15199  version_type=linux # correct to gnu/linux during the next big refactor
15200  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15201  shlibpath_var=LIBPATH
15202
15203  # AIX 3 has no versioning support, so we append a major version to the name.
15204  soname_spec='${libname}${release}${shared_ext}$major'
15205  ;;
15206
15207aix[4-9]*)
15208  version_type=linux # correct to gnu/linux during the next big refactor
15209  need_lib_prefix=no
15210  need_version=no
15211  hardcode_into_libs=yes
15212  if test "$host_cpu" = ia64; then
15213    # AIX 5 supports IA64
15214    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15215    shlibpath_var=LD_LIBRARY_PATH
15216  else
15217    # With GCC up to 2.95.x, collect2 would create an import file
15218    # for dependence libraries.  The import file would start with
15219    # the line `#! .'.  This would cause the generated library to
15220    # depend on `.', always an invalid library.  This was fixed in
15221    # development snapshots of GCC prior to 3.0.
15222    case $host_os in
15223      aix4 | aix4.[01] | aix4.[01].*)
15224      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15225	   echo ' yes '
15226	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15227	:
15228      else
15229	can_build_shared=no
15230      fi
15231      ;;
15232    esac
15233    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15234    # soname into executable. Probably we can add versioning support to
15235    # collect2, so additional links can be useful in future.
15236    if test "$aix_use_runtimelinking" = yes; then
15237      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15238      # instead of lib<name>.a to let people know that these are not
15239      # typical AIX shared libraries.
15240      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15241    else
15242      # We preserve .a as extension for shared libraries through AIX4.2
15243      # and later when we are not doing run time linking.
15244      library_names_spec='${libname}${release}.a $libname.a'
15245      soname_spec='${libname}${release}${shared_ext}$major'
15246    fi
15247    shlibpath_var=LIBPATH
15248  fi
15249  ;;
15250
15251amigaos*)
15252  case $host_cpu in
15253  powerpc)
15254    # Since July 2007 AmigaOS4 officially supports .so libraries.
15255    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15256    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15257    ;;
15258  m68k)
15259    library_names_spec='$libname.ixlibrary $libname.a'
15260    # Create ${libname}_ixlibrary.a entries in /sys/libs.
15261    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'
15262    ;;
15263  esac
15264  ;;
15265
15266beos*)
15267  library_names_spec='${libname}${shared_ext}'
15268  dynamic_linker="$host_os ld.so"
15269  shlibpath_var=LIBRARY_PATH
15270  ;;
15271
15272bsdi[45]*)
15273  version_type=linux # correct to gnu/linux during the next big refactor
15274  need_version=no
15275  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15276  soname_spec='${libname}${release}${shared_ext}$major'
15277  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15278  shlibpath_var=LD_LIBRARY_PATH
15279  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15280  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15281  # the default ld.so.conf also contains /usr/contrib/lib and
15282  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15283  # libtool to hard-code these into programs
15284  ;;
15285
15286cygwin* | mingw* | pw32* | cegcc*)
15287  version_type=windows
15288  shrext_cmds=".dll"
15289  need_version=no
15290  need_lib_prefix=no
15291
15292  case $GCC,$cc_basename in
15293  yes,*)
15294    # gcc
15295    library_names_spec='$libname.dll.a'
15296    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15297    postinstall_cmds='base_file=`basename \${file}`~
15298      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15299      dldir=$destdir/`dirname \$dlpath`~
15300      test -d \$dldir || mkdir -p \$dldir~
15301      $install_prog $dir/$dlname \$dldir/$dlname~
15302      chmod a+x \$dldir/$dlname~
15303      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15304        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15305      fi'
15306    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15307      dlpath=$dir/\$dldll~
15308       $RM \$dlpath'
15309    shlibpath_overrides_runpath=yes
15310
15311    case $host_os in
15312    cygwin*)
15313      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15314      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15315
15316      ;;
15317    mingw* | cegcc*)
15318      # MinGW DLLs use traditional 'lib' prefix
15319      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15320      ;;
15321    pw32*)
15322      # pw32 DLLs use 'pw' prefix rather than 'lib'
15323      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15324      ;;
15325    esac
15326    dynamic_linker='Win32 ld.exe'
15327    ;;
15328
15329  *,cl*)
15330    # Native MSVC
15331    libname_spec='$name'
15332    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15333    library_names_spec='${libname}.dll.lib'
15334
15335    case $build_os in
15336    mingw*)
15337      sys_lib_search_path_spec=
15338      lt_save_ifs=$IFS
15339      IFS=';'
15340      for lt_path in $LIB
15341      do
15342        IFS=$lt_save_ifs
15343        # Let DOS variable expansion print the short 8.3 style file name.
15344        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15345        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15346      done
15347      IFS=$lt_save_ifs
15348      # Convert to MSYS style.
15349      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15350      ;;
15351    cygwin*)
15352      # Convert to unix form, then to dos form, then back to unix form
15353      # but this time dos style (no spaces!) so that the unix form looks
15354      # like /cygdrive/c/PROGRA~1:/cygdr...
15355      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15356      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15357      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15358      ;;
15359    *)
15360      sys_lib_search_path_spec="$LIB"
15361      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15362        # It is most probably a Windows format PATH.
15363        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15364      else
15365        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15366      fi
15367      # FIXME: find the short name or the path components, as spaces are
15368      # common. (e.g. "Program Files" -> "PROGRA~1")
15369      ;;
15370    esac
15371
15372    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15373    postinstall_cmds='base_file=`basename \${file}`~
15374      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15375      dldir=$destdir/`dirname \$dlpath`~
15376      test -d \$dldir || mkdir -p \$dldir~
15377      $install_prog $dir/$dlname \$dldir/$dlname'
15378    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15379      dlpath=$dir/\$dldll~
15380       $RM \$dlpath'
15381    shlibpath_overrides_runpath=yes
15382    dynamic_linker='Win32 link.exe'
15383    ;;
15384
15385  *)
15386    # Assume MSVC wrapper
15387    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15388    dynamic_linker='Win32 ld.exe'
15389    ;;
15390  esac
15391  # FIXME: first we should search . and the directory the executable is in
15392  shlibpath_var=PATH
15393  ;;
15394
15395darwin* | rhapsody*)
15396  dynamic_linker="$host_os dyld"
15397  version_type=darwin
15398  need_lib_prefix=no
15399  need_version=no
15400  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15401  soname_spec='${libname}${release}${major}$shared_ext'
15402  shlibpath_overrides_runpath=yes
15403  shlibpath_var=DYLD_LIBRARY_PATH
15404  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15405
15406  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15407  ;;
15408
15409dgux*)
15410  version_type=linux # correct to gnu/linux during the next big refactor
15411  need_lib_prefix=no
15412  need_version=no
15413  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15414  soname_spec='${libname}${release}${shared_ext}$major'
15415  shlibpath_var=LD_LIBRARY_PATH
15416  ;;
15417
15418freebsd* | dragonfly*)
15419  # DragonFly does not have aout.  When/if they implement a new
15420  # versioning mechanism, adjust this.
15421  if test -x /usr/bin/objformat; then
15422    objformat=`/usr/bin/objformat`
15423  else
15424    case $host_os in
15425    freebsd[23].*) objformat=aout ;;
15426    *) objformat=elf ;;
15427    esac
15428  fi
15429  version_type=freebsd-$objformat
15430  case $version_type in
15431    freebsd-elf*)
15432      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15433      need_version=no
15434      need_lib_prefix=no
15435      ;;
15436    freebsd-*)
15437      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15438      need_version=yes
15439      ;;
15440  esac
15441  shlibpath_var=LD_LIBRARY_PATH
15442  case $host_os in
15443  freebsd2.*)
15444    shlibpath_overrides_runpath=yes
15445    ;;
15446  freebsd3.[01]* | freebsdelf3.[01]*)
15447    shlibpath_overrides_runpath=yes
15448    hardcode_into_libs=yes
15449    ;;
15450  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15451  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15452    shlibpath_overrides_runpath=no
15453    hardcode_into_libs=yes
15454    ;;
15455  *) # from 4.6 on, and DragonFly
15456    shlibpath_overrides_runpath=yes
15457    hardcode_into_libs=yes
15458    ;;
15459  esac
15460  ;;
15461
15462gnu*)
15463  version_type=linux # correct to gnu/linux during the next big refactor
15464  need_lib_prefix=no
15465  need_version=no
15466  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15467  soname_spec='${libname}${release}${shared_ext}$major'
15468  shlibpath_var=LD_LIBRARY_PATH
15469  shlibpath_overrides_runpath=no
15470  hardcode_into_libs=yes
15471  ;;
15472
15473haiku*)
15474  version_type=linux # correct to gnu/linux during the next big refactor
15475  need_lib_prefix=no
15476  need_version=no
15477  dynamic_linker="$host_os runtime_loader"
15478  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15479  soname_spec='${libname}${release}${shared_ext}$major'
15480  shlibpath_var=LIBRARY_PATH
15481  shlibpath_overrides_runpath=yes
15482  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15483  hardcode_into_libs=yes
15484  ;;
15485
15486hpux9* | hpux10* | hpux11*)
15487  # Give a soname corresponding to the major version so that dld.sl refuses to
15488  # link against other versions.
15489  version_type=sunos
15490  need_lib_prefix=no
15491  need_version=no
15492  case $host_cpu in
15493  ia64*)
15494    shrext_cmds='.so'
15495    hardcode_into_libs=yes
15496    dynamic_linker="$host_os dld.so"
15497    shlibpath_var=LD_LIBRARY_PATH
15498    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15499    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15500    soname_spec='${libname}${release}${shared_ext}$major'
15501    if test "X$HPUX_IA64_MODE" = X32; then
15502      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15503    else
15504      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15505    fi
15506    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15507    ;;
15508  hppa*64*)
15509    shrext_cmds='.sl'
15510    hardcode_into_libs=yes
15511    dynamic_linker="$host_os dld.sl"
15512    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15513    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15514    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15515    soname_spec='${libname}${release}${shared_ext}$major'
15516    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15517    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15518    ;;
15519  *)
15520    shrext_cmds='.sl'
15521    dynamic_linker="$host_os dld.sl"
15522    shlibpath_var=SHLIB_PATH
15523    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15524    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15525    soname_spec='${libname}${release}${shared_ext}$major'
15526    ;;
15527  esac
15528  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15529  postinstall_cmds='chmod 555 $lib'
15530  # or fails outright, so override atomically:
15531  install_override_mode=555
15532  ;;
15533
15534interix[3-9]*)
15535  version_type=linux # correct to gnu/linux during the next big refactor
15536  need_lib_prefix=no
15537  need_version=no
15538  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15539  soname_spec='${libname}${release}${shared_ext}$major'
15540  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15541  shlibpath_var=LD_LIBRARY_PATH
15542  shlibpath_overrides_runpath=no
15543  hardcode_into_libs=yes
15544  ;;
15545
15546irix5* | irix6* | nonstopux*)
15547  case $host_os in
15548    nonstopux*) version_type=nonstopux ;;
15549    *)
15550	if test "$lt_cv_prog_gnu_ld" = yes; then
15551		version_type=linux # correct to gnu/linux during the next big refactor
15552	else
15553		version_type=irix
15554	fi ;;
15555  esac
15556  need_lib_prefix=no
15557  need_version=no
15558  soname_spec='${libname}${release}${shared_ext}$major'
15559  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15560  case $host_os in
15561  irix5* | nonstopux*)
15562    libsuff= shlibsuff=
15563    ;;
15564  *)
15565    case $LD in # libtool.m4 will add one of these switches to LD
15566    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15567      libsuff= shlibsuff= libmagic=32-bit;;
15568    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15569      libsuff=32 shlibsuff=N32 libmagic=N32;;
15570    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15571      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15572    *) libsuff= shlibsuff= libmagic=never-match;;
15573    esac
15574    ;;
15575  esac
15576  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15577  shlibpath_overrides_runpath=no
15578  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15579  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15580  hardcode_into_libs=yes
15581  ;;
15582
15583# No shared lib support for Linux oldld, aout, or coff.
15584linux*oldld* | linux*aout* | linux*coff*)
15585  dynamic_linker=no
15586  ;;
15587
15588# This must be glibc/ELF.
15589linux* | k*bsd*-gnu | kopensolaris*-gnu)
15590  version_type=linux # correct to gnu/linux during the next big refactor
15591  need_lib_prefix=no
15592  need_version=no
15593  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15594  soname_spec='${libname}${release}${shared_ext}$major'
15595  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15596  shlibpath_var=LD_LIBRARY_PATH
15597  shlibpath_overrides_runpath=no
15598
15599  # Some binutils ld are patched to set DT_RUNPATH
15600  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15601  $as_echo_n "(cached) " >&6
15602else
15603  lt_cv_shlibpath_overrides_runpath=no
15604    save_LDFLAGS=$LDFLAGS
15605    save_libdir=$libdir
15606    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15607	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15608    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15609/* end confdefs.h.  */
15610
15611int
15612main ()
15613{
15614
15615  ;
15616  return 0;
15617}
15618_ACEOF
15619if ac_fn_cxx_try_link "$LINENO"; then :
15620  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15621  lt_cv_shlibpath_overrides_runpath=yes
15622fi
15623fi
15624rm -f core conftest.err conftest.$ac_objext \
15625    conftest$ac_exeext conftest.$ac_ext
15626    LDFLAGS=$save_LDFLAGS
15627    libdir=$save_libdir
15628
15629fi
15630
15631  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15632
15633  # This implies no fast_install, which is unacceptable.
15634  # Some rework will be needed to allow for fast_install
15635  # before this can be enabled.
15636  hardcode_into_libs=yes
15637
15638  # Add ABI-specific directories to the system library path.
15639  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
15640
15641  # Append ld.so.conf contents to the search path
15642  if test -f /etc/ld.so.conf; then
15643    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' ' '`
15644    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15645
15646  fi
15647
15648  # We used to test for /lib/ld.so.1 and disable shared libraries on
15649  # powerpc, because MkLinux only supported shared libraries with the
15650  # GNU dynamic linker.  Since this was broken with cross compilers,
15651  # most powerpc-linux boxes support dynamic linking these days and
15652  # people can always --disable-shared, the test was removed, and we
15653  # assume the GNU/Linux dynamic linker is in use.
15654  dynamic_linker='GNU/Linux ld.so'
15655  ;;
15656
15657netbsd*)
15658  version_type=sunos
15659  need_lib_prefix=no
15660  need_version=no
15661  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15662    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15663    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15664    dynamic_linker='NetBSD (a.out) ld.so'
15665  else
15666    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15667    soname_spec='${libname}${release}${shared_ext}$major'
15668    dynamic_linker='NetBSD ld.elf_so'
15669  fi
15670  shlibpath_var=LD_LIBRARY_PATH
15671  shlibpath_overrides_runpath=yes
15672  hardcode_into_libs=yes
15673  ;;
15674
15675newsos6)
15676  version_type=linux # correct to gnu/linux during the next big refactor
15677  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15678  shlibpath_var=LD_LIBRARY_PATH
15679  shlibpath_overrides_runpath=yes
15680  ;;
15681
15682*nto* | *qnx*)
15683  version_type=qnx
15684  need_lib_prefix=no
15685  need_version=no
15686  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15687  soname_spec='${libname}${release}${shared_ext}$major'
15688  shlibpath_var=LD_LIBRARY_PATH
15689  shlibpath_overrides_runpath=no
15690  hardcode_into_libs=yes
15691  dynamic_linker='ldqnx.so'
15692  ;;
15693
15694openbsd*)
15695  version_type=sunos
15696  sys_lib_dlsearch_path_spec="/usr/lib"
15697  need_lib_prefix=no
15698  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15699  case $host_os in
15700    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
15701    *)				need_version=no  ;;
15702  esac
15703  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15704  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15705  shlibpath_var=LD_LIBRARY_PATH
15706  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15707    case $host_os in
15708      openbsd2.[89] | openbsd2.[89].*)
15709	shlibpath_overrides_runpath=no
15710	;;
15711      *)
15712	shlibpath_overrides_runpath=yes
15713	;;
15714      esac
15715  else
15716    shlibpath_overrides_runpath=yes
15717  fi
15718  ;;
15719
15720os2*)
15721  libname_spec='$name'
15722  shrext_cmds=".dll"
15723  need_lib_prefix=no
15724  library_names_spec='$libname${shared_ext} $libname.a'
15725  dynamic_linker='OS/2 ld.exe'
15726  shlibpath_var=LIBPATH
15727  ;;
15728
15729osf3* | osf4* | osf5*)
15730  version_type=osf
15731  need_lib_prefix=no
15732  need_version=no
15733  soname_spec='${libname}${release}${shared_ext}$major'
15734  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15735  shlibpath_var=LD_LIBRARY_PATH
15736  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15737  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15738  ;;
15739
15740rdos*)
15741  dynamic_linker=no
15742  ;;
15743
15744solaris*)
15745  version_type=linux # correct to gnu/linux during the next big refactor
15746  need_lib_prefix=no
15747  need_version=no
15748  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15749  soname_spec='${libname}${release}${shared_ext}$major'
15750  shlibpath_var=LD_LIBRARY_PATH
15751  shlibpath_overrides_runpath=yes
15752  hardcode_into_libs=yes
15753  # ldd complains unless libraries are executable
15754  postinstall_cmds='chmod +x $lib'
15755  ;;
15756
15757sunos4*)
15758  version_type=sunos
15759  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15760  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15761  shlibpath_var=LD_LIBRARY_PATH
15762  shlibpath_overrides_runpath=yes
15763  if test "$with_gnu_ld" = yes; then
15764    need_lib_prefix=no
15765  fi
15766  need_version=yes
15767  ;;
15768
15769sysv4 | sysv4.3*)
15770  version_type=linux # correct to gnu/linux during the next big refactor
15771  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15772  soname_spec='${libname}${release}${shared_ext}$major'
15773  shlibpath_var=LD_LIBRARY_PATH
15774  case $host_vendor in
15775    sni)
15776      shlibpath_overrides_runpath=no
15777      need_lib_prefix=no
15778      runpath_var=LD_RUN_PATH
15779      ;;
15780    siemens)
15781      need_lib_prefix=no
15782      ;;
15783    motorola)
15784      need_lib_prefix=no
15785      need_version=no
15786      shlibpath_overrides_runpath=no
15787      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15788      ;;
15789  esac
15790  ;;
15791
15792sysv4*MP*)
15793  if test -d /usr/nec ;then
15794    version_type=linux # correct to gnu/linux during the next big refactor
15795    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15796    soname_spec='$libname${shared_ext}.$major'
15797    shlibpath_var=LD_LIBRARY_PATH
15798  fi
15799  ;;
15800
15801sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15802  version_type=freebsd-elf
15803  need_lib_prefix=no
15804  need_version=no
15805  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15806  soname_spec='${libname}${release}${shared_ext}$major'
15807  shlibpath_var=LD_LIBRARY_PATH
15808  shlibpath_overrides_runpath=yes
15809  hardcode_into_libs=yes
15810  if test "$with_gnu_ld" = yes; then
15811    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15812  else
15813    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15814    case $host_os in
15815      sco3.2v5*)
15816        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15817	;;
15818    esac
15819  fi
15820  sys_lib_dlsearch_path_spec='/usr/lib'
15821  ;;
15822
15823tpf*)
15824  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15825  version_type=linux # correct to gnu/linux during the next big refactor
15826  need_lib_prefix=no
15827  need_version=no
15828  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15829  shlibpath_var=LD_LIBRARY_PATH
15830  shlibpath_overrides_runpath=no
15831  hardcode_into_libs=yes
15832  ;;
15833
15834uts4*)
15835  version_type=linux # correct to gnu/linux during the next big refactor
15836  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15837  soname_spec='${libname}${release}${shared_ext}$major'
15838  shlibpath_var=LD_LIBRARY_PATH
15839  ;;
15840
15841*)
15842  dynamic_linker=no
15843  ;;
15844esac
15845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15846$as_echo "$dynamic_linker" >&6; }
15847test "$dynamic_linker" = no && can_build_shared=no
15848
15849variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15850if test "$GCC" = yes; then
15851  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15852fi
15853
15854if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15855  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15856fi
15857if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15858  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15859fi
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15899$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15900hardcode_action_CXX=
15901if test -n "$hardcode_libdir_flag_spec_CXX" ||
15902   test -n "$runpath_var_CXX" ||
15903   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15904
15905  # We can hardcode non-existent directories.
15906  if test "$hardcode_direct_CXX" != no &&
15907     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15908     # have to relink, otherwise we might link with an installed library
15909     # when we should be linking with a yet-to-be-installed one
15910     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15911     test "$hardcode_minus_L_CXX" != no; then
15912    # Linking always hardcodes the temporary library directory.
15913    hardcode_action_CXX=relink
15914  else
15915    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15916    hardcode_action_CXX=immediate
15917  fi
15918else
15919  # We cannot hardcode anything, or else we can only hardcode existing
15920  # directories.
15921  hardcode_action_CXX=unsupported
15922fi
15923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15924$as_echo "$hardcode_action_CXX" >&6; }
15925
15926if test "$hardcode_action_CXX" = relink ||
15927   test "$inherit_rpath_CXX" = yes; then
15928  # Fast installation is not supported
15929  enable_fast_install=no
15930elif test "$shlibpath_overrides_runpath" = yes ||
15931     test "$enable_shared" = no; then
15932  # Fast installation is not necessary
15933  enable_fast_install=needless
15934fi
15935
15936
15937
15938
15939
15940
15941
15942  fi # test -n "$compiler"
15943
15944  CC=$lt_save_CC
15945  CFLAGS=$lt_save_CFLAGS
15946  LDCXX=$LD
15947  LD=$lt_save_LD
15948  GCC=$lt_save_GCC
15949  with_gnu_ld=$lt_save_with_gnu_ld
15950  lt_cv_path_LDCXX=$lt_cv_path_LD
15951  lt_cv_path_LD=$lt_save_path_LD
15952  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15953  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15954fi # test "$_lt_caught_CXX_error" != yes
15955
15956ac_ext=c
15957ac_cpp='$CPP $CPPFLAGS'
15958ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15959ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15960ac_compiler_gnu=$ac_cv_c_compiler_gnu
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976        ac_config_commands="$ac_config_commands libtool"
15977
15978
15979
15980
15981# Only expand once:
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15992	if test -n "$ac_tool_prefix"; then
15993  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15994set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15996$as_echo_n "checking for $ac_word... " >&6; }
15997if ${ac_cv_path_PKG_CONFIG+:} false; then :
15998  $as_echo_n "(cached) " >&6
15999else
16000  case $PKG_CONFIG in
16001  [\\/]* | ?:[\\/]*)
16002  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16003  ;;
16004  *)
16005  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16006for as_dir in $PATH
16007do
16008  IFS=$as_save_IFS
16009  test -z "$as_dir" && as_dir=.
16010    for ac_exec_ext in '' $ac_executable_extensions; do
16011  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16012    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16013    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16014    break 2
16015  fi
16016done
16017  done
16018IFS=$as_save_IFS
16019
16020  ;;
16021esac
16022fi
16023PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16024if test -n "$PKG_CONFIG"; then
16025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16026$as_echo "$PKG_CONFIG" >&6; }
16027else
16028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16029$as_echo "no" >&6; }
16030fi
16031
16032
16033fi
16034if test -z "$ac_cv_path_PKG_CONFIG"; then
16035  ac_pt_PKG_CONFIG=$PKG_CONFIG
16036  # Extract the first word of "pkg-config", so it can be a program name with args.
16037set dummy pkg-config; ac_word=$2
16038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16039$as_echo_n "checking for $ac_word... " >&6; }
16040if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16041  $as_echo_n "(cached) " >&6
16042else
16043  case $ac_pt_PKG_CONFIG in
16044  [\\/]* | ?:[\\/]*)
16045  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16046  ;;
16047  *)
16048  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16049for as_dir in $PATH
16050do
16051  IFS=$as_save_IFS
16052  test -z "$as_dir" && as_dir=.
16053    for ac_exec_ext in '' $ac_executable_extensions; do
16054  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16055    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16056    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16057    break 2
16058  fi
16059done
16060  done
16061IFS=$as_save_IFS
16062
16063  ;;
16064esac
16065fi
16066ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16067if test -n "$ac_pt_PKG_CONFIG"; then
16068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16069$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16070else
16071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16072$as_echo "no" >&6; }
16073fi
16074
16075  if test "x$ac_pt_PKG_CONFIG" = x; then
16076    PKG_CONFIG=""
16077  else
16078    case $cross_compiling:$ac_tool_warned in
16079yes:)
16080{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16081$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16082ac_tool_warned=yes ;;
16083esac
16084    PKG_CONFIG=$ac_pt_PKG_CONFIG
16085  fi
16086else
16087  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16088fi
16089
16090fi
16091if test -n "$PKG_CONFIG"; then
16092	_pkg_min_version=0.9.0
16093	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16094$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16095	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16096		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16097$as_echo "yes" >&6; }
16098	else
16099		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16100$as_echo "no" >&6; }
16101		PKG_CONFIG=""
16102	fi
16103fi
16104
16105
16106
16107  gtk_doc_requires="gtk-doc >= 1.9"
16108  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
16109$as_echo_n "checking for gtk-doc... " >&6; }
16110  if test -n "$PKG_CONFIG" && \
16111    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
16112  ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
16113  ac_status=$?
16114  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16115  test $ac_status = 0; }; then
16116  have_gtk_doc=yes
16117else
16118  have_gtk_doc=no
16119fi
16120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
16121$as_echo "$have_gtk_doc" >&6; }
16122
16123  if test "$have_gtk_doc" = "no"; then
16124      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16125  You will not be able to create source packages with 'make dist'
16126  because $gtk_doc_requires is not found." >&5
16127$as_echo "$as_me: WARNING:
16128  You will not be able to create source packages with 'make dist'
16129  because $gtk_doc_requires is not found." >&2;}
16130  fi
16131
16132            # Extract the first word of "gtkdoc-check", so it can be a program name with args.
16133set dummy gtkdoc-check; ac_word=$2
16134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16135$as_echo_n "checking for $ac_word... " >&6; }
16136if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
16137  $as_echo_n "(cached) " >&6
16138else
16139  if test -n "$GTKDOC_CHECK"; then
16140  ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
16141else
16142as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16143for as_dir in $PATH
16144do
16145  IFS=$as_save_IFS
16146  test -z "$as_dir" && as_dir=.
16147    for ac_exec_ext in '' $ac_executable_extensions; do
16148  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16149    ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
16150    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16151    break 2
16152  fi
16153done
16154  done
16155IFS=$as_save_IFS
16156
16157fi
16158fi
16159GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
16160if test -n "$GTKDOC_CHECK"; then
16161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
16162$as_echo "$GTKDOC_CHECK" >&6; }
16163else
16164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16165$as_echo "no" >&6; }
16166fi
16167
16168
16169  # Extract the first word of "gtkdoc-check", so it can be a program name with args.
16170set dummy gtkdoc-check; ac_word=$2
16171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16172$as_echo_n "checking for $ac_word... " >&6; }
16173if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
16174  $as_echo_n "(cached) " >&6
16175else
16176  case $GTKDOC_CHECK_PATH in
16177  [\\/]* | ?:[\\/]*)
16178  ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
16179  ;;
16180  *)
16181  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16182for as_dir in $PATH
16183do
16184  IFS=$as_save_IFS
16185  test -z "$as_dir" && as_dir=.
16186    for ac_exec_ext in '' $ac_executable_extensions; do
16187  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16188    ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
16189    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16190    break 2
16191  fi
16192done
16193  done
16194IFS=$as_save_IFS
16195
16196  ;;
16197esac
16198fi
16199GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
16200if test -n "$GTKDOC_CHECK_PATH"; then
16201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
16202$as_echo "$GTKDOC_CHECK_PATH" >&6; }
16203else
16204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16205$as_echo "no" >&6; }
16206fi
16207
16208
16209  for ac_prog in gtkdoc-rebase
16210do
16211  # Extract the first word of "$ac_prog", so it can be a program name with args.
16212set dummy $ac_prog; ac_word=$2
16213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16214$as_echo_n "checking for $ac_word... " >&6; }
16215if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
16216  $as_echo_n "(cached) " >&6
16217else
16218  case $GTKDOC_REBASE in
16219  [\\/]* | ?:[\\/]*)
16220  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
16221  ;;
16222  *)
16223  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16224for as_dir in $PATH
16225do
16226  IFS=$as_save_IFS
16227  test -z "$as_dir" && as_dir=.
16228    for ac_exec_ext in '' $ac_executable_extensions; do
16229  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16230    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
16231    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16232    break 2
16233  fi
16234done
16235  done
16236IFS=$as_save_IFS
16237
16238  ;;
16239esac
16240fi
16241GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
16242if test -n "$GTKDOC_REBASE"; then
16243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
16244$as_echo "$GTKDOC_REBASE" >&6; }
16245else
16246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16247$as_echo "no" >&6; }
16248fi
16249
16250
16251  test -n "$GTKDOC_REBASE" && break
16252done
16253test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
16254
16255  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
16256set dummy gtkdoc-mkpdf; ac_word=$2
16257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16258$as_echo_n "checking for $ac_word... " >&6; }
16259if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
16260  $as_echo_n "(cached) " >&6
16261else
16262  case $GTKDOC_MKPDF in
16263  [\\/]* | ?:[\\/]*)
16264  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
16265  ;;
16266  *)
16267  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16268for as_dir in $PATH
16269do
16270  IFS=$as_save_IFS
16271  test -z "$as_dir" && as_dir=.
16272    for ac_exec_ext in '' $ac_executable_extensions; do
16273  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16274    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
16275    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16276    break 2
16277  fi
16278done
16279  done
16280IFS=$as_save_IFS
16281
16282  ;;
16283esac
16284fi
16285GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
16286if test -n "$GTKDOC_MKPDF"; then
16287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
16288$as_echo "$GTKDOC_MKPDF" >&6; }
16289else
16290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16291$as_echo "no" >&6; }
16292fi
16293
16294
16295
16296
16297# Check whether --with-html-dir was given.
16298if test "${with_html_dir+set}" = set; then :
16299  withval=$with_html_dir;
16300else
16301  with_html_dir='${datadir}/gtk-doc/html'
16302fi
16303
16304  HTML_DIR="$with_html_dir"
16305
16306
16307    # Check whether --enable-gtk-doc was given.
16308if test "${enable_gtk_doc+set}" = set; then :
16309  enableval=$enable_gtk_doc;
16310else
16311  enable_gtk_doc=no
16312fi
16313
16314
16315  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
16316$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
16317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
16318$as_echo "$enable_gtk_doc" >&6; }
16319
16320  if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
16321    as_fn_error $? "
16322  You must have $gtk_doc_requires installed to build documentation for
16323  $PACKAGE_NAME. Please install gtk-doc or disable building the
16324  documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
16325  fi
16326
16327    if test "x$PACKAGE_NAME" != "xglib"; then
16328
16329pkg_failed=no
16330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
16331$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
16332
16333if test -n "$GTKDOC_DEPS_CFLAGS"; then
16334    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
16335 elif test -n "$PKG_CONFIG"; then
16336    if test -n "$PKG_CONFIG" && \
16337    { { $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
16338  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
16339  ac_status=$?
16340  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16341  test $ac_status = 0; }; then
16342  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
16343		      test "x$?" != "x0" && pkg_failed=yes
16344else
16345  pkg_failed=yes
16346fi
16347 else
16348    pkg_failed=untried
16349fi
16350if test -n "$GTKDOC_DEPS_LIBS"; then
16351    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
16352 elif test -n "$PKG_CONFIG"; then
16353    if test -n "$PKG_CONFIG" && \
16354    { { $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
16355  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
16356  ac_status=$?
16357  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16358  test $ac_status = 0; }; then
16359  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
16360		      test "x$?" != "x0" && pkg_failed=yes
16361else
16362  pkg_failed=yes
16363fi
16364 else
16365    pkg_failed=untried
16366fi
16367
16368
16369
16370if test $pkg_failed = yes; then
16371   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16372$as_echo "no" >&6; }
16373
16374if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16375        _pkg_short_errors_supported=yes
16376else
16377        _pkg_short_errors_supported=no
16378fi
16379        if test $_pkg_short_errors_supported = yes; then
16380	        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`
16381        else
16382	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
16383        fi
16384	# Put the nasty error message in config.log where it belongs
16385	echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
16386
16387	:
16388elif test $pkg_failed = untried; then
16389     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16390$as_echo "no" >&6; }
16391	:
16392else
16393	GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
16394	GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
16395        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16396$as_echo "yes" >&6; }
16397
16398fi
16399  fi
16400
16401    # Check whether --enable-gtk-doc-html was given.
16402if test "${enable_gtk_doc_html+set}" = set; then :
16403  enableval=$enable_gtk_doc_html;
16404else
16405  enable_gtk_doc_html=yes
16406fi
16407
16408    # Check whether --enable-gtk-doc-pdf was given.
16409if test "${enable_gtk_doc_pdf+set}" = set; then :
16410  enableval=$enable_gtk_doc_pdf;
16411else
16412  enable_gtk_doc_pdf=no
16413fi
16414
16415
16416  if test -z "$GTKDOC_MKPDF"; then
16417    enable_gtk_doc_pdf=no
16418  fi
16419
16420  if test -z "$AM_DEFAULT_VERBOSITY"; then
16421    AM_DEFAULT_VERBOSITY=1
16422  fi
16423
16424
16425   if test x$have_gtk_doc = xyes; then
16426  HAVE_GTK_DOC_TRUE=
16427  HAVE_GTK_DOC_FALSE='#'
16428else
16429  HAVE_GTK_DOC_TRUE='#'
16430  HAVE_GTK_DOC_FALSE=
16431fi
16432
16433   if test x$enable_gtk_doc = xyes; then
16434  ENABLE_GTK_DOC_TRUE=
16435  ENABLE_GTK_DOC_FALSE='#'
16436else
16437  ENABLE_GTK_DOC_TRUE='#'
16438  ENABLE_GTK_DOC_FALSE=
16439fi
16440
16441   if test x$enable_gtk_doc_html = xyes; then
16442  GTK_DOC_BUILD_HTML_TRUE=
16443  GTK_DOC_BUILD_HTML_FALSE='#'
16444else
16445  GTK_DOC_BUILD_HTML_TRUE='#'
16446  GTK_DOC_BUILD_HTML_FALSE=
16447fi
16448
16449   if test x$enable_gtk_doc_pdf = xyes; then
16450  GTK_DOC_BUILD_PDF_TRUE=
16451  GTK_DOC_BUILD_PDF_FALSE='#'
16452else
16453  GTK_DOC_BUILD_PDF_TRUE='#'
16454  GTK_DOC_BUILD_PDF_FALSE=
16455fi
16456
16457   if test -n "$LIBTOOL"; then
16458  GTK_DOC_USE_LIBTOOL_TRUE=
16459  GTK_DOC_USE_LIBTOOL_FALSE='#'
16460else
16461  GTK_DOC_USE_LIBTOOL_TRUE='#'
16462  GTK_DOC_USE_LIBTOOL_FALSE=
16463fi
16464
16465   if test -n "$GTKDOC_REBASE"; then
16466  GTK_DOC_USE_REBASE_TRUE=
16467  GTK_DOC_USE_REBASE_FALSE='#'
16468else
16469  GTK_DOC_USE_REBASE_TRUE='#'
16470  GTK_DOC_USE_REBASE_FALSE=
16471fi
16472
16473
16474
16475# Check whether --enable-largefile was given.
16476if test "${enable_largefile+set}" = set; then :
16477  enableval=$enable_largefile;
16478fi
16479
16480if test "$enable_largefile" != no; then
16481
16482  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16483$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16484if ${ac_cv_sys_largefile_CC+:} false; then :
16485  $as_echo_n "(cached) " >&6
16486else
16487  ac_cv_sys_largefile_CC=no
16488     if test "$GCC" != yes; then
16489       ac_save_CC=$CC
16490       while :; do
16491	 # IRIX 6.2 and later do not support large files by default,
16492	 # so use the C compiler's -n32 option if that helps.
16493	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494/* end confdefs.h.  */
16495#include <sys/types.h>
16496 /* Check that off_t can represent 2**63 - 1 correctly.
16497    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16498    since some C++ compilers masquerading as C compilers
16499    incorrectly reject 9223372036854775807.  */
16500#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16501  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16502		       && LARGE_OFF_T % 2147483647 == 1)
16503		      ? 1 : -1];
16504int
16505main ()
16506{
16507
16508  ;
16509  return 0;
16510}
16511_ACEOF
16512	 if ac_fn_c_try_compile "$LINENO"; then :
16513  break
16514fi
16515rm -f core conftest.err conftest.$ac_objext
16516	 CC="$CC -n32"
16517	 if ac_fn_c_try_compile "$LINENO"; then :
16518  ac_cv_sys_largefile_CC=' -n32'; break
16519fi
16520rm -f core conftest.err conftest.$ac_objext
16521	 break
16522       done
16523       CC=$ac_save_CC
16524       rm -f conftest.$ac_ext
16525    fi
16526fi
16527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16528$as_echo "$ac_cv_sys_largefile_CC" >&6; }
16529  if test "$ac_cv_sys_largefile_CC" != no; then
16530    CC=$CC$ac_cv_sys_largefile_CC
16531  fi
16532
16533  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16534$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16535if ${ac_cv_sys_file_offset_bits+:} false; then :
16536  $as_echo_n "(cached) " >&6
16537else
16538  while :; do
16539  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16540/* end confdefs.h.  */
16541#include <sys/types.h>
16542 /* Check that off_t can represent 2**63 - 1 correctly.
16543    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16544    since some C++ compilers masquerading as C compilers
16545    incorrectly reject 9223372036854775807.  */
16546#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16547  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16548		       && LARGE_OFF_T % 2147483647 == 1)
16549		      ? 1 : -1];
16550int
16551main ()
16552{
16553
16554  ;
16555  return 0;
16556}
16557_ACEOF
16558if ac_fn_c_try_compile "$LINENO"; then :
16559  ac_cv_sys_file_offset_bits=no; break
16560fi
16561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16562  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16563/* end confdefs.h.  */
16564#define _FILE_OFFSET_BITS 64
16565#include <sys/types.h>
16566 /* Check that off_t can represent 2**63 - 1 correctly.
16567    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16568    since some C++ compilers masquerading as C compilers
16569    incorrectly reject 9223372036854775807.  */
16570#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16571  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16572		       && LARGE_OFF_T % 2147483647 == 1)
16573		      ? 1 : -1];
16574int
16575main ()
16576{
16577
16578  ;
16579  return 0;
16580}
16581_ACEOF
16582if ac_fn_c_try_compile "$LINENO"; then :
16583  ac_cv_sys_file_offset_bits=64; break
16584fi
16585rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16586  ac_cv_sys_file_offset_bits=unknown
16587  break
16588done
16589fi
16590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16591$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16592case $ac_cv_sys_file_offset_bits in #(
16593  no | unknown) ;;
16594  *)
16595cat >>confdefs.h <<_ACEOF
16596#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16597_ACEOF
16598;;
16599esac
16600rm -rf conftest*
16601  if test $ac_cv_sys_file_offset_bits = unknown; then
16602    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16603$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16604if ${ac_cv_sys_large_files+:} false; then :
16605  $as_echo_n "(cached) " >&6
16606else
16607  while :; do
16608  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16609/* end confdefs.h.  */
16610#include <sys/types.h>
16611 /* Check that off_t can represent 2**63 - 1 correctly.
16612    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16613    since some C++ compilers masquerading as C compilers
16614    incorrectly reject 9223372036854775807.  */
16615#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16616  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16617		       && LARGE_OFF_T % 2147483647 == 1)
16618		      ? 1 : -1];
16619int
16620main ()
16621{
16622
16623  ;
16624  return 0;
16625}
16626_ACEOF
16627if ac_fn_c_try_compile "$LINENO"; then :
16628  ac_cv_sys_large_files=no; break
16629fi
16630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16631  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16632/* end confdefs.h.  */
16633#define _LARGE_FILES 1
16634#include <sys/types.h>
16635 /* Check that off_t can represent 2**63 - 1 correctly.
16636    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16637    since some C++ compilers masquerading as C compilers
16638    incorrectly reject 9223372036854775807.  */
16639#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16640  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16641		       && LARGE_OFF_T % 2147483647 == 1)
16642		      ? 1 : -1];
16643int
16644main ()
16645{
16646
16647  ;
16648  return 0;
16649}
16650_ACEOF
16651if ac_fn_c_try_compile "$LINENO"; then :
16652  ac_cv_sys_large_files=1; break
16653fi
16654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16655  ac_cv_sys_large_files=unknown
16656  break
16657done
16658fi
16659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16660$as_echo "$ac_cv_sys_large_files" >&6; }
16661case $ac_cv_sys_large_files in #(
16662  no | unknown) ;;
16663  *)
16664cat >>confdefs.h <<_ACEOF
16665#define _LARGE_FILES $ac_cv_sys_large_files
16666_ACEOF
16667;;
16668esac
16669rm -rf conftest*
16670  fi
16671
16672
16673fi
16674
16675ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16676if test "x$ac_cv_type_off_t" = xyes; then :
16677
16678else
16679
16680cat >>confdefs.h <<_ACEOF
16681#define off_t long int
16682_ACEOF
16683
16684fi
16685
16686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
16687$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
16688if ${ac_cv_sys_largefile_source+:} false; then :
16689  $as_echo_n "(cached) " >&6
16690else
16691  while :; do
16692  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693/* end confdefs.h.  */
16694#include <sys/types.h> /* for off_t */
16695     #include <stdio.h>
16696int
16697main ()
16698{
16699int (*fp) (FILE *, off_t, int) = fseeko;
16700     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
16701  ;
16702  return 0;
16703}
16704_ACEOF
16705if ac_fn_c_try_link "$LINENO"; then :
16706  ac_cv_sys_largefile_source=no; break
16707fi
16708rm -f core conftest.err conftest.$ac_objext \
16709    conftest$ac_exeext conftest.$ac_ext
16710  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16711/* end confdefs.h.  */
16712#define _LARGEFILE_SOURCE 1
16713#include <sys/types.h> /* for off_t */
16714     #include <stdio.h>
16715int
16716main ()
16717{
16718int (*fp) (FILE *, off_t, int) = fseeko;
16719     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
16720  ;
16721  return 0;
16722}
16723_ACEOF
16724if ac_fn_c_try_link "$LINENO"; then :
16725  ac_cv_sys_largefile_source=1; break
16726fi
16727rm -f core conftest.err conftest.$ac_objext \
16728    conftest$ac_exeext conftest.$ac_ext
16729  ac_cv_sys_largefile_source=unknown
16730  break
16731done
16732fi
16733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
16734$as_echo "$ac_cv_sys_largefile_source" >&6; }
16735case $ac_cv_sys_largefile_source in #(
16736  no | unknown) ;;
16737  *)
16738cat >>confdefs.h <<_ACEOF
16739#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
16740_ACEOF
16741;;
16742esac
16743rm -rf conftest*
16744
16745# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
16746# in glibc 2.1.3, but that breaks too many other things.
16747# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
16748if test $ac_cv_sys_largefile_source != unknown; then
16749
16750$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
16751
16752fi
16753
16754
16755for ac_func in strsep
16756do :
16757  ac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep"
16758if test "x$ac_cv_func_strsep" = xyes; then :
16759  cat >>confdefs.h <<_ACEOF
16760#define HAVE_STRSEP 1
16761_ACEOF
16762
16763fi
16764done
16765
16766
16767# Extract the first word of "pkg-config", so it can be a program name with args.
16768set dummy pkg-config; ac_word=$2
16769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16770$as_echo_n "checking for $ac_word... " >&6; }
16771if ${ac_cv_path_PKG_CONFIG+:} false; then :
16772  $as_echo_n "(cached) " >&6
16773else
16774  case $PKG_CONFIG in
16775  [\\/]* | ?:[\\/]*)
16776  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16777  ;;
16778  *)
16779  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16780for as_dir in $PATH
16781do
16782  IFS=$as_save_IFS
16783  test -z "$as_dir" && as_dir=.
16784    for ac_exec_ext in '' $ac_executable_extensions; do
16785  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16786    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16787    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16788    break 2
16789  fi
16790done
16791  done
16792IFS=$as_save_IFS
16793
16794  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
16795  ;;
16796esac
16797fi
16798PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16799if test -n "$PKG_CONFIG"; then
16800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16801$as_echo "$PKG_CONFIG" >&6; }
16802else
16803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16804$as_echo "no" >&6; }
16805fi
16806
16807
16808
16809GTK_REQUIRED=3.0.0
16810GLIB_REQUIRED=2.32.0
16811
16812
16813pkg_failed=no
16814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
16815$as_echo_n "checking for GTK... " >&6; }
16816
16817if test -n "$GTK_CFLAGS"; then
16818    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
16819 elif test -n "$PKG_CONFIG"; then
16820    if test -n "$PKG_CONFIG" && \
16821    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
16822  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
16823  ac_status=$?
16824  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16825  test $ac_status = 0; }; then
16826  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
16827		      test "x$?" != "x0" && pkg_failed=yes
16828else
16829  pkg_failed=yes
16830fi
16831 else
16832    pkg_failed=untried
16833fi
16834if test -n "$GTK_LIBS"; then
16835    pkg_cv_GTK_LIBS="$GTK_LIBS"
16836 elif test -n "$PKG_CONFIG"; then
16837    if test -n "$PKG_CONFIG" && \
16838    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
16839  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
16840  ac_status=$?
16841  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16842  test $ac_status = 0; }; then
16843  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
16844		      test "x$?" != "x0" && pkg_failed=yes
16845else
16846  pkg_failed=yes
16847fi
16848 else
16849    pkg_failed=untried
16850fi
16851
16852
16853
16854if test $pkg_failed = yes; then
16855   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16856$as_echo "no" >&6; }
16857
16858if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16859        _pkg_short_errors_supported=yes
16860else
16861        _pkg_short_errors_supported=no
16862fi
16863        if test $_pkg_short_errors_supported = yes; then
16864	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
16865        else
16866	        GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
16867        fi
16868	# Put the nasty error message in config.log where it belongs
16869	echo "$GTK_PKG_ERRORS" >&5
16870
16871	as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED) were not met:
16872
16873$GTK_PKG_ERRORS
16874
16875Consider adjusting the PKG_CONFIG_PATH environment variable if you
16876installed software in a non-standard prefix.
16877
16878Alternatively, you may set the environment variables GTK_CFLAGS
16879and GTK_LIBS to avoid the need to call pkg-config.
16880See the pkg-config man page for more details." "$LINENO" 5
16881elif test $pkg_failed = untried; then
16882     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16883$as_echo "no" >&6; }
16884	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16885$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16886as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16887is in your PATH or set the PKG_CONFIG environment variable to the full
16888path to pkg-config.
16889
16890Alternatively, you may set the environment variables GTK_CFLAGS
16891and GTK_LIBS to avoid the need to call pkg-config.
16892See the pkg-config man page for more details.
16893
16894To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16895See \`config.log' for more details" "$LINENO" 5; }
16896else
16897	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
16898	GTK_LIBS=$pkg_cv_GTK_LIBS
16899        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16900$as_echo "yes" >&6; }
16901
16902fi
16903
16904
16905
16906
16907pkg_failed=no
16908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SEAHORSE" >&5
16909$as_echo_n "checking for SEAHORSE... " >&6; }
16910
16911if test -n "$SEAHORSE_CFLAGS"; then
16912    pkg_cv_SEAHORSE_CFLAGS="$SEAHORSE_CFLAGS"
16913 elif test -n "$PKG_CONFIG"; then
16914    if test -n "$PKG_CONFIG" && \
16915    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 gio-2.0 gthread-2.0 >= \$GLIB_REQUIRED gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
16916  ($PKG_CONFIG --exists --print-errors "gmodule-2.0 gio-2.0 gthread-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED") 2>&5
16917  ac_status=$?
16918  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16919  test $ac_status = 0; }; then
16920  pkg_cv_SEAHORSE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 gio-2.0 gthread-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
16921		      test "x$?" != "x0" && pkg_failed=yes
16922else
16923  pkg_failed=yes
16924fi
16925 else
16926    pkg_failed=untried
16927fi
16928if test -n "$SEAHORSE_LIBS"; then
16929    pkg_cv_SEAHORSE_LIBS="$SEAHORSE_LIBS"
16930 elif test -n "$PKG_CONFIG"; then
16931    if test -n "$PKG_CONFIG" && \
16932    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 gio-2.0 gthread-2.0 >= \$GLIB_REQUIRED gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
16933  ($PKG_CONFIG --exists --print-errors "gmodule-2.0 gio-2.0 gthread-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED") 2>&5
16934  ac_status=$?
16935  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16936  test $ac_status = 0; }; then
16937  pkg_cv_SEAHORSE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 gio-2.0 gthread-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
16938		      test "x$?" != "x0" && pkg_failed=yes
16939else
16940  pkg_failed=yes
16941fi
16942 else
16943    pkg_failed=untried
16944fi
16945
16946
16947
16948if test $pkg_failed = yes; then
16949   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16950$as_echo "no" >&6; }
16951
16952if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16953        _pkg_short_errors_supported=yes
16954else
16955        _pkg_short_errors_supported=no
16956fi
16957        if test $_pkg_short_errors_supported = yes; then
16958	        SEAHORSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0 gio-2.0 gthread-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
16959        else
16960	        SEAHORSE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0 gio-2.0 gthread-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
16961        fi
16962	# Put the nasty error message in config.log where it belongs
16963	echo "$SEAHORSE_PKG_ERRORS" >&5
16964
16965	as_fn_error $? "Package requirements (gmodule-2.0 gio-2.0 gthread-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED) were not met:
16966
16967$SEAHORSE_PKG_ERRORS
16968
16969Consider adjusting the PKG_CONFIG_PATH environment variable if you
16970installed software in a non-standard prefix.
16971
16972Alternatively, you may set the environment variables SEAHORSE_CFLAGS
16973and SEAHORSE_LIBS to avoid the need to call pkg-config.
16974See the pkg-config man page for more details." "$LINENO" 5
16975elif test $pkg_failed = untried; then
16976     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16977$as_echo "no" >&6; }
16978	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16979$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16980as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16981is in your PATH or set the PKG_CONFIG environment variable to the full
16982path to pkg-config.
16983
16984Alternatively, you may set the environment variables SEAHORSE_CFLAGS
16985and SEAHORSE_LIBS to avoid the need to call pkg-config.
16986See the pkg-config man page for more details.
16987
16988To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16989See \`config.log' for more details" "$LINENO" 5; }
16990else
16991	SEAHORSE_CFLAGS=$pkg_cv_SEAHORSE_CFLAGS
16992	SEAHORSE_LIBS=$pkg_cv_SEAHORSE_LIBS
16993        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16994$as_echo "yes" >&6; }
16995
16996fi
16997
16998
16999pkg_failed=no
17000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
17001$as_echo_n "checking for SM... " >&6; }
17002
17003if test -n "$SM_CFLAGS"; then
17004    pkg_cv_SM_CFLAGS="$SM_CFLAGS"
17005 elif test -n "$PKG_CONFIG"; then
17006    if test -n "$PKG_CONFIG" && \
17007    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm ice\""; } >&5
17008  ($PKG_CONFIG --exists --print-errors "sm ice") 2>&5
17009  ac_status=$?
17010  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17011  test $ac_status = 0; }; then
17012  pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "sm ice" 2>/dev/null`
17013		      test "x$?" != "x0" && pkg_failed=yes
17014else
17015  pkg_failed=yes
17016fi
17017 else
17018    pkg_failed=untried
17019fi
17020if test -n "$SM_LIBS"; then
17021    pkg_cv_SM_LIBS="$SM_LIBS"
17022 elif test -n "$PKG_CONFIG"; then
17023    if test -n "$PKG_CONFIG" && \
17024    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm ice\""; } >&5
17025  ($PKG_CONFIG --exists --print-errors "sm ice") 2>&5
17026  ac_status=$?
17027  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17028  test $ac_status = 0; }; then
17029  pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "sm ice" 2>/dev/null`
17030		      test "x$?" != "x0" && pkg_failed=yes
17031else
17032  pkg_failed=yes
17033fi
17034 else
17035    pkg_failed=untried
17036fi
17037
17038
17039
17040if test $pkg_failed = yes; then
17041   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17042$as_echo "no" >&6; }
17043
17044if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17045        _pkg_short_errors_supported=yes
17046else
17047        _pkg_short_errors_supported=no
17048fi
17049        if test $_pkg_short_errors_supported = yes; then
17050	        SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sm ice" 2>&1`
17051        else
17052	        SM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sm ice" 2>&1`
17053        fi
17054	# Put the nasty error message in config.log where it belongs
17055	echo "$SM_PKG_ERRORS" >&5
17056
17057	as_fn_error $? "Package requirements (sm ice) were not met:
17058
17059$SM_PKG_ERRORS
17060
17061Consider adjusting the PKG_CONFIG_PATH environment variable if you
17062installed software in a non-standard prefix.
17063
17064Alternatively, you may set the environment variables SM_CFLAGS
17065and SM_LIBS to avoid the need to call pkg-config.
17066See the pkg-config man page for more details." "$LINENO" 5
17067elif test $pkg_failed = untried; then
17068     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17069$as_echo "no" >&6; }
17070	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17071$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17072as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17073is in your PATH or set the PKG_CONFIG environment variable to the full
17074path to pkg-config.
17075
17076Alternatively, you may set the environment variables SM_CFLAGS
17077and SM_LIBS to avoid the need to call pkg-config.
17078See the pkg-config man page for more details.
17079
17080To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17081See \`config.log' for more details" "$LINENO" 5; }
17082else
17083	SM_CFLAGS=$pkg_cv_SM_CFLAGS
17084	SM_LIBS=$pkg_cv_SM_LIBS
17085        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17086$as_echo "yes" >&6; }
17087
17088fi
17089
17090
17091
17092  # Check whether --enable-schemas-compile was given.
17093if test "${enable_schemas_compile+set}" = set; then :
17094  enableval=$enable_schemas_compile; case ${enableval} in
17095                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
17096                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
17097                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
17098                 esac
17099fi
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17110	if test -n "$ac_tool_prefix"; then
17111  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17112set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17114$as_echo_n "checking for $ac_word... " >&6; }
17115if ${ac_cv_path_PKG_CONFIG+:} false; then :
17116  $as_echo_n "(cached) " >&6
17117else
17118  case $PKG_CONFIG in
17119  [\\/]* | ?:[\\/]*)
17120  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17121  ;;
17122  *)
17123  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17124for as_dir in $PATH
17125do
17126  IFS=$as_save_IFS
17127  test -z "$as_dir" && as_dir=.
17128    for ac_exec_ext in '' $ac_executable_extensions; do
17129  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17130    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17131    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17132    break 2
17133  fi
17134done
17135  done
17136IFS=$as_save_IFS
17137
17138  ;;
17139esac
17140fi
17141PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17142if test -n "$PKG_CONFIG"; then
17143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17144$as_echo "$PKG_CONFIG" >&6; }
17145else
17146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17147$as_echo "no" >&6; }
17148fi
17149
17150
17151fi
17152if test -z "$ac_cv_path_PKG_CONFIG"; then
17153  ac_pt_PKG_CONFIG=$PKG_CONFIG
17154  # Extract the first word of "pkg-config", so it can be a program name with args.
17155set dummy pkg-config; ac_word=$2
17156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17157$as_echo_n "checking for $ac_word... " >&6; }
17158if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17159  $as_echo_n "(cached) " >&6
17160else
17161  case $ac_pt_PKG_CONFIG in
17162  [\\/]* | ?:[\\/]*)
17163  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17164  ;;
17165  *)
17166  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17167for as_dir in $PATH
17168do
17169  IFS=$as_save_IFS
17170  test -z "$as_dir" && as_dir=.
17171    for ac_exec_ext in '' $ac_executable_extensions; do
17172  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17173    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17174    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17175    break 2
17176  fi
17177done
17178  done
17179IFS=$as_save_IFS
17180
17181  ;;
17182esac
17183fi
17184ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17185if test -n "$ac_pt_PKG_CONFIG"; then
17186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17187$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17188else
17189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17190$as_echo "no" >&6; }
17191fi
17192
17193  if test "x$ac_pt_PKG_CONFIG" = x; then
17194    PKG_CONFIG=""
17195  else
17196    case $cross_compiling:$ac_tool_warned in
17197yes:)
17198{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17199$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17200ac_tool_warned=yes ;;
17201esac
17202    PKG_CONFIG=$ac_pt_PKG_CONFIG
17203  fi
17204else
17205  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17206fi
17207
17208fi
17209if test -n "$PKG_CONFIG"; then
17210	_pkg_min_version=0.16
17211	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17212$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17213	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17214		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17215$as_echo "yes" >&6; }
17216	else
17217		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17218$as_echo "no" >&6; }
17219		PKG_CONFIG=""
17220	fi
17221fi
17222  gsettingsschemadir=${datadir}/glib-2.0/schemas
17223
17224  if test x$cross_compiling != xyes; then
17225    GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
17226  else
17227    # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
17228set dummy glib-compile-schemas; ac_word=$2
17229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17230$as_echo_n "checking for $ac_word... " >&6; }
17231if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
17232  $as_echo_n "(cached) " >&6
17233else
17234  case $GLIB_COMPILE_SCHEMAS in
17235  [\\/]* | ?:[\\/]*)
17236  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
17237  ;;
17238  *)
17239  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17240for as_dir in $PATH
17241do
17242  IFS=$as_save_IFS
17243  test -z "$as_dir" && as_dir=.
17244    for ac_exec_ext in '' $ac_executable_extensions; do
17245  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17246    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
17247    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17248    break 2
17249  fi
17250done
17251  done
17252IFS=$as_save_IFS
17253
17254  ;;
17255esac
17256fi
17257GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
17258if test -n "$GLIB_COMPILE_SCHEMAS"; then
17259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
17260$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
17261else
17262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17263$as_echo "no" >&6; }
17264fi
17265
17266
17267  fi
17268
17269  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
17270    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
17271  else
17272    :
17273  fi
17274
17275  GSETTINGS_RULES='
17276.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
17277
17278mostlyclean-am: clean-gsettings-schemas
17279
17280gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
17281
17282%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
17283	$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
17284
17285all-am: $(gsettings_SCHEMAS:.xml=.valid)
17286uninstall-am: uninstall-gsettings-schemas
17287install-data-am: install-gsettings-schemas
17288
17289.SECONDARY: $(gsettings_SCHEMAS)
17290
17291install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
17292	@$(NORMAL_INSTALL)
17293	if test -n "$^"; then \
17294		test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
17295		$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
17296		test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
17297	fi
17298
17299uninstall-gsettings-schemas:
17300	@$(NORMAL_UNINSTALL)
17301	@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
17302	files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
17303	test -n "$$files" || exit 0; \
17304	echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
17305	cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
17306	test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
17307
17308clean-gsettings-schemas:
17309	rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
17310
17311ifdef gsettings_ENUM_NAMESPACE
17312$(gsettings__enum_file): $(gsettings_ENUM_FILES)
17313	$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
17314endif
17315'
17316
17317
17318
17319
17320
17321
17322
17323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
17324$as_echo_n "checking for some Win32 platform... " >&6; }
17325case "$host" in
17326  *-*-cygwin*|*-*-mingw*)
17327    platform_win32=yes
17328    ;;
17329  *)
17330    platform_win32=no
17331    ;;
17332esac
17333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
17334$as_echo "$platform_win32" >&6; }
17335 if test "$platform_win32" = "yes"; then
17336  PLATFORM_WIN32_TRUE=
17337  PLATFORM_WIN32_FALSE='#'
17338else
17339  PLATFORM_WIN32_TRUE='#'
17340  PLATFORM_WIN32_FALSE=
17341fi
17342
17343
17344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
17345$as_echo_n "checking for native Win32... " >&6; }
17346case "$host" in
17347  *-*-mingw*)
17348    os_win32=yes
17349    ;;
17350  *)
17351    os_win32=no
17352    ;;
17353esac
17354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
17355$as_echo "$os_win32" >&6; }
17356 if test "$os_win32" = "yes"; then
17357  OS_WIN32_TRUE=
17358  OS_WIN32_FALSE='#'
17359else
17360  OS_WIN32_TRUE='#'
17361  OS_WIN32_FALSE=
17362fi
17363
17364
17365if test "$platform_win32" = "yes" ; then
17366	PLUGIN_LIBTOOL_FLAGS="-module -avoid-version -no-undefined"
17367else
17368	PLUGIN_LIBTOOL_FLAGS="-module -avoid-version"
17369fi
17370
17371
17372
17373# Check whether --enable-gpg-check was given.
17374if test "${enable_gpg_check+set}" = set; then :
17375  enableval=$enable_gpg_check; DO_CHECK=$enableval
17376else
17377  DO_CHECK=yes
17378fi
17379
17380
17381if test	"$DO_CHECK" = "yes"; then
17382	accepted_versions="1.2 1.4 2.0 2.1 2.2 2.3"
17383	for ac_prog in gpg gpg2
17384do
17385  # Extract the first word of "$ac_prog", so it can be a program name with args.
17386set dummy $ac_prog; ac_word=$2
17387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17388$as_echo_n "checking for $ac_word... " >&6; }
17389if ${ac_cv_path_GNUPG+:} false; then :
17390  $as_echo_n "(cached) " >&6
17391else
17392  case $GNUPG in
17393  [\\/]* | ?:[\\/]*)
17394  ac_cv_path_GNUPG="$GNUPG" # Let the user override the test with a path.
17395  ;;
17396  *)
17397  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17398for as_dir in $PATH
17399do
17400  IFS=$as_save_IFS
17401  test -z "$as_dir" && as_dir=.
17402    for ac_exec_ext in '' $ac_executable_extensions; do
17403  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17404    ac_cv_path_GNUPG="$as_dir/$ac_word$ac_exec_ext"
17405    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17406    break 2
17407  fi
17408done
17409  done
17410IFS=$as_save_IFS
17411
17412  ;;
17413esac
17414fi
17415GNUPG=$ac_cv_path_GNUPG
17416if test -n "$GNUPG"; then
17417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPG" >&5
17418$as_echo "$GNUPG" >&6; }
17419else
17420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17421$as_echo "no" >&6; }
17422fi
17423
17424
17425  test -n "$GNUPG" && break
17426done
17427test -n "$GNUPG" || GNUPG="no"
17428
17429
17430cat >>confdefs.h <<_ACEOF
17431#define GNUPG "$GNUPG"
17432_ACEOF
17433
17434	ok="no"
17435	if test "$GNUPG" != "no"; then
17436		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for appropriate GnuPG version" >&5
17437$as_echo_n "checking for appropriate GnuPG version... " >&6; }
17438		gnupg_version=`$GNUPG --version | grep gpg`
17439		major=`echo $gnupg_version | \
17440			sed 's/^gpg (GnuPG) \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
17441		minor=`echo $gnupg_version | \
17442			sed 's/^gpg (GnuPG) \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
17443		micro=`echo $gnupg_version | \
17444			sed 's/^gpg (GnuPG) \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
17445
17446		for ver in $accepted_versions; do
17447			if test "$ver" = "$major.$minor"; then
17448
17449cat >>confdefs.h <<_ACEOF
17450#define GPG_MAJOR $major
17451_ACEOF
17452
17453
17454cat >>confdefs.h <<_ACEOF
17455#define GPG_MINOR $minor
17456_ACEOF
17457
17458
17459cat >>confdefs.h <<_ACEOF
17460#define GPG_MICRO $micro
17461_ACEOF
17462
17463				ok="yes"
17464				break
17465			fi
17466		done
17467	fi
17468
17469	if test "$ok" = "yes"; then
17470		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17471$as_echo "yes" >&6; }
17472		have_gpg="$gnupg_version"
17473	else
17474		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17475$as_echo "no" >&6; }
17476	fi
17477fi
17478
17479ok="no"
17480min_gpgme_version=1.0.0
17481# Extract the first word of "gpgme-config", so it can be a program name with args.
17482set dummy gpgme-config; ac_word=$2
17483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17484$as_echo_n "checking for $ac_word... " >&6; }
17485if ${ac_cv_path_GPGME_CONFIG+:} false; then :
17486  $as_echo_n "(cached) " >&6
17487else
17488  case $GPGME_CONFIG in
17489  [\\/]* | ?:[\\/]*)
17490  ac_cv_path_GPGME_CONFIG="$GPGME_CONFIG" # Let the user override the test with a path.
17491  ;;
17492  *)
17493  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17494for as_dir in $PATH
17495do
17496  IFS=$as_save_IFS
17497  test -z "$as_dir" && as_dir=.
17498    for ac_exec_ext in '' $ac_executable_extensions; do
17499  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17500    ac_cv_path_GPGME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17501    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17502    break 2
17503  fi
17504done
17505  done
17506IFS=$as_save_IFS
17507
17508  test -z "$ac_cv_path_GPGME_CONFIG" && ac_cv_path_GPGME_CONFIG=""failed""
17509  ;;
17510esac
17511fi
17512GPGME_CONFIG=$ac_cv_path_GPGME_CONFIG
17513if test -n "$GPGME_CONFIG"; then
17514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPGME_CONFIG" >&5
17515$as_echo "$GPGME_CONFIG" >&6; }
17516else
17517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17518$as_echo "no" >&6; }
17519fi
17520
17521
17522if test $GPGME_CONFIG != "failed" ; then
17523	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPGME - version >= $min_gpgme_version" >&5
17524$as_echo_n "checking for GPGME - version >= $min_gpgme_version... " >&6; }
17525	req_major=`echo $min_gpgme_version | \
17526		sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
17527	req_minor=`echo $min_gpgme_version | \
17528		sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
17529	req_micro=`echo $min_gpgme_version | \
17530		sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
17531	gpgme_config_version=`$GPGME_CONFIG --version`
17532	major=`echo $gpgme_config_version | \
17533		sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
17534	minor=`echo $gpgme_config_version | \
17535		sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
17536	micro=`echo $gpgme_config_version | \
17537		sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
17538
17539	if test "$major" -eq "$req_major"; then
17540		if test "$minor" -ge "$req_minor"; then
17541			if test "$micro" -ge "$req_micro"; then
17542				ok="yes"
17543			fi
17544		fi
17545	fi
17546fi
17547
17548if test $ok = "yes"; then
17549	GPGME_CFLAGS=`$GPGME_CONFIG --cflags`
17550	GPGME_LIBS=`$GPGME_CONFIG --libs`
17551	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17552$as_echo "yes" >&6; }
17553	have_gpgme="$gpgme_config_version"
17554else
17555	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17556$as_echo "no" >&6; }
17557fi
17558
17559if test -z "$have_gpg"; then
17560	as_fn_error $? "Appropriate version of GnuPG not found. Please install one of versions: $accepted_versions" "$LINENO" 5
17561fi
17562
17563if test -z "$have_gpgme"; then
17564	as_fn_error $? "GPGME $min_gpgme_version or later needed" "$LINENO" 5
17565fi
17566
17567SEAHORSE_CFLAGS="$SEAHORSE_CFLAGS $GPGME_CFLAGS"
17568SEAHORSE_LIBS="$SEAHORSE_LIBS $GPGME_LIBS"
17569
17570
17571DBUS_GLIB_REQUIRED=0.35
17572
17573
17574pkg_failed=no
17575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
17576$as_echo_n "checking for DBUS... " >&6; }
17577
17578if test -n "$DBUS_CFLAGS"; then
17579    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
17580 elif test -n "$PKG_CONFIG"; then
17581    if test -n "$PKG_CONFIG" && \
17582    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\""; } >&5
17583  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED") 2>&5
17584  ac_status=$?
17585  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17586  test $ac_status = 0; }; then
17587  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>/dev/null`
17588		      test "x$?" != "x0" && pkg_failed=yes
17589else
17590  pkg_failed=yes
17591fi
17592 else
17593    pkg_failed=untried
17594fi
17595if test -n "$DBUS_LIBS"; then
17596    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
17597 elif test -n "$PKG_CONFIG"; then
17598    if test -n "$PKG_CONFIG" && \
17599    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\""; } >&5
17600  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED") 2>&5
17601  ac_status=$?
17602  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17603  test $ac_status = 0; }; then
17604  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>/dev/null`
17605		      test "x$?" != "x0" && pkg_failed=yes
17606else
17607  pkg_failed=yes
17608fi
17609 else
17610    pkg_failed=untried
17611fi
17612
17613
17614
17615if test $pkg_failed = yes; then
17616   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17617$as_echo "no" >&6; }
17618
17619if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17620        _pkg_short_errors_supported=yes
17621else
17622        _pkg_short_errors_supported=no
17623fi
17624        if test $_pkg_short_errors_supported = yes; then
17625	        DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>&1`
17626        else
17627	        DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>&1`
17628        fi
17629	# Put the nasty error message in config.log where it belongs
17630	echo "$DBUS_PKG_ERRORS" >&5
17631
17632	enable_dbus=no
17633elif test $pkg_failed = untried; then
17634     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17635$as_echo "no" >&6; }
17636	enable_dbus=no
17637else
17638	DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
17639	DBUS_LIBS=$pkg_cv_DBUS_LIBS
17640        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17641$as_echo "yes" >&6; }
17642	enable_dbus=yes
17643fi
17644if test "$enable_dbus" = "no"; then
17645    as_fn_error $? "dbus or dbus-glib-1 bindings not found." "$LINENO" 5
17646fi
17647
17648
17649
17650
17651# Extract the first word of "dbus-binding-tool", so it can be a program name with args.
17652set dummy dbus-binding-tool; ac_word=$2
17653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17654$as_echo_n "checking for $ac_word... " >&6; }
17655if ${ac_cv_path_DBUS_BINDING_TOOL+:} false; then :
17656  $as_echo_n "(cached) " >&6
17657else
17658  case $DBUS_BINDING_TOOL in
17659  [\\/]* | ?:[\\/]*)
17660  ac_cv_path_DBUS_BINDING_TOOL="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
17661  ;;
17662  *)
17663  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17664for as_dir in $PATH
17665do
17666  IFS=$as_save_IFS
17667  test -z "$as_dir" && as_dir=.
17668    for ac_exec_ext in '' $ac_executable_extensions; do
17669  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17670    ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
17671    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17672    break 2
17673  fi
17674done
17675  done
17676IFS=$as_save_IFS
17677
17678  test -z "$ac_cv_path_DBUS_BINDING_TOOL" && ac_cv_path_DBUS_BINDING_TOOL="no"
17679  ;;
17680esac
17681fi
17682DBUS_BINDING_TOOL=$ac_cv_path_DBUS_BINDING_TOOL
17683if test -n "$DBUS_BINDING_TOOL"; then
17684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_BINDING_TOOL" >&5
17685$as_echo "$DBUS_BINDING_TOOL" >&6; }
17686else
17687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17688$as_echo "no" >&6; }
17689fi
17690
17691
17692if test x$DBUS_BINDING_TOOL = "xno" ; then
17693    as_fn_error $? "dbus-binding-tool executable not found in your path - should be installed with dbus glib bindings" "$LINENO" 5
17694fi
17695
17696SEAHORSE_CFLAGS="$SEAHORSE_CFLAGS $DBUS_CFLAGS"
17697SEAHORSE_LIBS="$SEAHORSE_LIBS $DBUS_LIBS"
17698
17699
17700LIBNOTIFY_REQUIRED=0.3
17701
17702# Allow libnotify to be disabled
17703# Check whether --enable-libnotify was given.
17704if test "${enable_libnotify+set}" = set; then :
17705  enableval=$enable_libnotify;
17706fi
17707
17708
17709if test "x$enable_libnotify" = "xno"; then
17710    echo "disabling libnotify support"
17711else
17712
17713
17714pkg_failed=no
17715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
17716$as_echo_n "checking for LIBNOTIFY... " >&6; }
17717
17718if test -n "$LIBNOTIFY_CFLAGS"; then
17719    pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
17720 elif test -n "$PKG_CONFIG"; then
17721    if test -n "$PKG_CONFIG" && \
17722    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5
17723  ($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
17724  ac_status=$?
17725  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17726  test $ac_status = 0; }; then
17727  pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
17728		      test "x$?" != "x0" && pkg_failed=yes
17729else
17730  pkg_failed=yes
17731fi
17732 else
17733    pkg_failed=untried
17734fi
17735if test -n "$LIBNOTIFY_LIBS"; then
17736    pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
17737 elif test -n "$PKG_CONFIG"; then
17738    if test -n "$PKG_CONFIG" && \
17739    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5
17740  ($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
17741  ac_status=$?
17742  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17743  test $ac_status = 0; }; then
17744  pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
17745		      test "x$?" != "x0" && pkg_failed=yes
17746else
17747  pkg_failed=yes
17748fi
17749 else
17750    pkg_failed=untried
17751fi
17752
17753
17754
17755if test $pkg_failed = yes; then
17756   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17757$as_echo "no" >&6; }
17758
17759if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17760        _pkg_short_errors_supported=yes
17761else
17762        _pkg_short_errors_supported=no
17763fi
17764        if test $_pkg_short_errors_supported = yes; then
17765	        LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify >= $LIBNOTIFY_REQUIRED" 2>&1`
17766        else
17767	        LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify >= $LIBNOTIFY_REQUIRED" 2>&1`
17768        fi
17769	# Put the nasty error message in config.log where it belongs
17770	echo "$LIBNOTIFY_PKG_ERRORS" >&5
17771
17772	enable_libnotify=no
17773elif test $pkg_failed = untried; then
17774     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17775$as_echo "no" >&6; }
17776	enable_libnotify=no
17777else
17778	LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
17779	LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
17780        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17781$as_echo "yes" >&6; }
17782	enable_libnotify=yes
17783fi
17784    if test "$enable_libnotify" = "yes"; then
17785
17786
17787$as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h
17788
17789
17790        SEAHORSE_CFLAGS="$SEAHORSE_CFLAGS $LIBNOTIFY_CFLAGS"
17791        SEAHORSE_LIBS="$SEAHORSE_LIBS $LIBNOTIFY_LIBS"
17792    fi
17793fi
17794
17795
17796# Debug mode
17797# Check whether --enable-debug was given.
17798if test "${enable_debug+set}" = set; then :
17799  enableval=$enable_debug;
17800fi
17801
17802
17803if test "$enable_debug" = "yes"; then
17804  CFLAGS="$CFLAGS -g -O0 -DBONOBO_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall"
17805
17806cat >>confdefs.h <<_ACEOF
17807#define _DEBUG 1
17808_ACEOF
17809
17810  echo "enabling debug compile mode"
17811else
17812    echo "disabling debug compile mode"
17813fi
17814
17815# Fatal Messages mode
17816# Check whether --enable-fatal-messages was given.
17817if test "${enable_fatal_messages+set}" = set; then :
17818  enableval=$enable_fatal_messages;
17819fi
17820
17821
17822if test "$enable_fatal_messages" = "yes" && test "$enable_debug" = "yes"; then
17823    CFLAGS="$CFLAGS -Wall -Werror"
17824
17825cat >>confdefs.h <<_ACEOF
17826#define FATAL_MESSAGES 1
17827_ACEOF
17828
17829    echo "enabling fatal runtime messages"
17830fi
17831
17832
17833
17834pkg_failed=no
17835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_KEYRING" >&5
17836$as_echo_n "checking for GNOME_KEYRING... " >&6; }
17837
17838if test -n "$GNOME_KEYRING_CFLAGS"; then
17839    pkg_cv_GNOME_KEYRING_CFLAGS="$GNOME_KEYRING_CFLAGS"
17840 elif test -n "$PKG_CONFIG"; then
17841    if test -n "$PKG_CONFIG" && \
17842    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1 >= 2.25.5\""; } >&5
17843  ($PKG_CONFIG --exists --print-errors "gnome-keyring-1 >= 2.25.5") 2>&5
17844  ac_status=$?
17845  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17846  test $ac_status = 0; }; then
17847  pkg_cv_GNOME_KEYRING_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1 >= 2.25.5" 2>/dev/null`
17848		      test "x$?" != "x0" && pkg_failed=yes
17849else
17850  pkg_failed=yes
17851fi
17852 else
17853    pkg_failed=untried
17854fi
17855if test -n "$GNOME_KEYRING_LIBS"; then
17856    pkg_cv_GNOME_KEYRING_LIBS="$GNOME_KEYRING_LIBS"
17857 elif test -n "$PKG_CONFIG"; then
17858    if test -n "$PKG_CONFIG" && \
17859    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1 >= 2.25.5\""; } >&5
17860  ($PKG_CONFIG --exists --print-errors "gnome-keyring-1 >= 2.25.5") 2>&5
17861  ac_status=$?
17862  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17863  test $ac_status = 0; }; then
17864  pkg_cv_GNOME_KEYRING_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1 >= 2.25.5" 2>/dev/null`
17865		      test "x$?" != "x0" && pkg_failed=yes
17866else
17867  pkg_failed=yes
17868fi
17869 else
17870    pkg_failed=untried
17871fi
17872
17873
17874
17875if test $pkg_failed = yes; then
17876   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17877$as_echo "no" >&6; }
17878
17879if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17880        _pkg_short_errors_supported=yes
17881else
17882        _pkg_short_errors_supported=no
17883fi
17884        if test $_pkg_short_errors_supported = yes; then
17885	        GNOME_KEYRING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-keyring-1 >= 2.25.5" 2>&1`
17886        else
17887	        GNOME_KEYRING_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-keyring-1 >= 2.25.5" 2>&1`
17888        fi
17889	# Put the nasty error message in config.log where it belongs
17890	echo "$GNOME_KEYRING_PKG_ERRORS" >&5
17891
17892	enable_gnome_keyring=no
17893elif test $pkg_failed = untried; then
17894     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17895$as_echo "no" >&6; }
17896	enable_gnome_keyring=no
17897else
17898	GNOME_KEYRING_CFLAGS=$pkg_cv_GNOME_KEYRING_CFLAGS
17899	GNOME_KEYRING_LIBS=$pkg_cv_GNOME_KEYRING_LIBS
17900        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17901$as_echo "yes" >&6; }
17902	enable_gnome_keyring=yes
17903fi
17904
17905if test "$enable_gnome_keyring" = "no"; then
17906	as_fn_error $? "gnome-keyring library or headers not found." "$LINENO" 5
17907fi
17908
17909SEAHORSE_CFLAGS="$SEAHORSE_CFLAGS $GNOME_KEYRING_CFLAGS"
17910SEAHORSE_LIBS="$SEAHORSE_LIBS $GNOME_KEYRING_LIBS"
17911
17912
17913LIBCRYPTUI_LT_RELEASE=$LIBCRYPTUI_CURRENT:$LIBCRYPTUI_REVISION:$LIBCRYPTUI_AGE
17914
17915
17916LIBCRYPTUI_MAJOR=$LIBCRYPTUI_CURRENT.$LIBCRYPTUI_REVISION
17917
17918
17919
17920pkg_failed=no
17921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTUI" >&5
17922$as_echo_n "checking for LIBCRYPTUI... " >&6; }
17923
17924if test -n "$LIBCRYPTUI_CFLAGS"; then
17925    pkg_cv_LIBCRYPTUI_CFLAGS="$LIBCRYPTUI_CFLAGS"
17926 elif test -n "$PKG_CONFIG"; then
17927    if test -n "$PKG_CONFIG" && \
17928    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
17929  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
17930  ac_status=$?
17931  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17932  test $ac_status = 0; }; then
17933  pkg_cv_LIBCRYPTUI_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
17934		      test "x$?" != "x0" && pkg_failed=yes
17935else
17936  pkg_failed=yes
17937fi
17938 else
17939    pkg_failed=untried
17940fi
17941if test -n "$LIBCRYPTUI_LIBS"; then
17942    pkg_cv_LIBCRYPTUI_LIBS="$LIBCRYPTUI_LIBS"
17943 elif test -n "$PKG_CONFIG"; then
17944    if test -n "$PKG_CONFIG" && \
17945    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
17946  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
17947  ac_status=$?
17948  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17949  test $ac_status = 0; }; then
17950  pkg_cv_LIBCRYPTUI_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
17951		      test "x$?" != "x0" && pkg_failed=yes
17952else
17953  pkg_failed=yes
17954fi
17955 else
17956    pkg_failed=untried
17957fi
17958
17959
17960
17961if test $pkg_failed = yes; then
17962   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17963$as_echo "no" >&6; }
17964
17965if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17966        _pkg_short_errors_supported=yes
17967else
17968        _pkg_short_errors_supported=no
17969fi
17970        if test $_pkg_short_errors_supported = yes; then
17971	        LIBCRYPTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
17972        else
17973	        LIBCRYPTUI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
17974        fi
17975	# Put the nasty error message in config.log where it belongs
17976	echo "$LIBCRYPTUI_PKG_ERRORS" >&5
17977
17978	as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED) were not met:
17979
17980$LIBCRYPTUI_PKG_ERRORS
17981
17982Consider adjusting the PKG_CONFIG_PATH environment variable if you
17983installed software in a non-standard prefix.
17984
17985Alternatively, you may set the environment variables LIBCRYPTUI_CFLAGS
17986and LIBCRYPTUI_LIBS to avoid the need to call pkg-config.
17987See the pkg-config man page for more details." "$LINENO" 5
17988elif test $pkg_failed = untried; then
17989     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17990$as_echo "no" >&6; }
17991	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17992$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17993as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17994is in your PATH or set the PKG_CONFIG environment variable to the full
17995path to pkg-config.
17996
17997Alternatively, you may set the environment variables LIBCRYPTUI_CFLAGS
17998and LIBCRYPTUI_LIBS to avoid the need to call pkg-config.
17999See the pkg-config man page for more details.
18000
18001To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18002See \`config.log' for more details" "$LINENO" 5; }
18003else
18004	LIBCRYPTUI_CFLAGS=$pkg_cv_LIBCRYPTUI_CFLAGS
18005	LIBCRYPTUI_LIBS=$pkg_cv_LIBCRYPTUI_LIBS
18006        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18007$as_echo "yes" >&6; }
18008
18009fi
18010
18011cryptuitargetlib=libcryptui.la
18012
18013
18014LIBCRYPTUI_CFLAGS="$LIBCRYPTUI_CFLAGS $DBUS_CFLAGS"
18015LIBCRYPTUI_LIBS="$LIBCRYPTUI_LIBS $DBUS_LIBS"
18016
18017
18018
18019GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
18020ATK_PREFIX="`$PKG_CONFIG --variable=prefix atk`"
18021PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`"
18022CAIRO_PREFIX="`pkg-config --variable=prefix cairo`"
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033                # Check whether --enable-introspection was given.
18034if test "${enable_introspection+set}" = set; then :
18035  enableval=$enable_introspection;
18036else
18037  enable_introspection=auto
18038fi
18039
18040
18041    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
18042$as_echo_n "checking for gobject-introspection... " >&6; }
18043
18044        case $enable_introspection in #(
18045  no) :
18046            found_introspection="no (disabled, use --enable-introspection to enable)"
18047     ;; #(
18048      yes) :
18049            if test -n "$PKG_CONFIG" && \
18050    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
18051  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
18052  ac_status=$?
18053  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18054  test $ac_status = 0; }; then
18055  :
18056else
18057  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
18058fi
18059        if test -n "$PKG_CONFIG" && \
18060    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\""; } >&5
18061  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
18062  ac_status=$?
18063  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18064  test $ac_status = 0; }; then
18065  found_introspection=yes
18066else
18067  as_fn_error $? "You need to have gobject-introspection >= 0.6.4 installed to build libcryptui" "$LINENO" 5
18068fi
18069     ;; #(
18070      auto) :
18071            if test -n "$PKG_CONFIG" && \
18072    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\""; } >&5
18073  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
18074  ac_status=$?
18075  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18076  test $ac_status = 0; }; then
18077  found_introspection=yes
18078else
18079  found_introspection=no
18080fi
18081     ;; #(
18082  *) :
18083                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
18084     ;;
18085esac
18086    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
18087$as_echo "$found_introspection" >&6; }
18088
18089    INTROSPECTION_SCANNER=
18090    INTROSPECTION_COMPILER=
18091    INTROSPECTION_GENERATE=
18092    INTROSPECTION_GIRDIR=
18093    INTROSPECTION_TYPELIBDIR=
18094    if test "x$found_introspection" = "xyes"; then
18095       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
18096       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
18097       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
18098       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
18099       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
18100       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
18101       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
18102    fi
18103
18104
18105
18106
18107
18108
18109
18110
18111     if test "x$found_introspection" = "xyes"; then
18112  HAVE_INTROSPECTION_TRUE=
18113  HAVE_INTROSPECTION_FALSE='#'
18114else
18115  HAVE_INTROSPECTION_TRUE='#'
18116  HAVE_INTROSPECTION_FALSE=
18117fi
18118
18119
18120
18121
18122
18123
18124
18125
18126# Extract the first word of "glib-genmarshal", so it can be a program name with args.
18127set dummy glib-genmarshal; ac_word=$2
18128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18129$as_echo_n "checking for $ac_word... " >&6; }
18130if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
18131  $as_echo_n "(cached) " >&6
18132else
18133  case $GLIB_GENMARSHAL in
18134  [\\/]* | ?:[\\/]*)
18135  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
18136  ;;
18137  *)
18138  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18139for as_dir in $PATH
18140do
18141  IFS=$as_save_IFS
18142  test -z "$as_dir" && as_dir=.
18143    for ac_exec_ext in '' $ac_executable_extensions; do
18144  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18145    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
18146    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18147    break 2
18148  fi
18149done
18150  done
18151IFS=$as_save_IFS
18152
18153  ;;
18154esac
18155fi
18156GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
18157if test -n "$GLIB_GENMARSHAL"; then
18158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
18159$as_echo "$GLIB_GENMARSHAL" >&6; }
18160else
18161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18162$as_echo "no" >&6; }
18163fi
18164
18165
18166
18167# Check whether --enable-update-mime-database was given.
18168if test "${enable_update_mime_database+set}" = set; then :
18169  enableval=$enable_update_mime_database;
18170fi
18171
18172 if test "$enable_update_mime_database" != "no"; then
18173  UPDATE_MIME_DATABASE_TRUE=
18174  UPDATE_MIME_DATABASE_FALSE='#'
18175else
18176  UPDATE_MIME_DATABASE_TRUE='#'
18177  UPDATE_MIME_DATABASE_FALSE=
18178fi
18179
18180
18181
18182GETTEXT_PACKAGE=cryptui
18183
18184
18185cat >>confdefs.h <<_ACEOF
18186#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
18187_ACEOF
18188
18189
18190
18191   for ac_header in locale.h
18192do :
18193  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
18194if test "x$ac_cv_header_locale_h" = xyes; then :
18195  cat >>confdefs.h <<_ACEOF
18196#define HAVE_LOCALE_H 1
18197_ACEOF
18198
18199fi
18200
18201done
18202
18203    if test $ac_cv_header_locale_h = yes; then
18204    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
18205$as_echo_n "checking for LC_MESSAGES... " >&6; }
18206if ${am_cv_val_LC_MESSAGES+:} false; then :
18207  $as_echo_n "(cached) " >&6
18208else
18209  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18210/* end confdefs.h.  */
18211#include <locale.h>
18212int
18213main ()
18214{
18215return LC_MESSAGES
18216  ;
18217  return 0;
18218}
18219_ACEOF
18220if ac_fn_c_try_link "$LINENO"; then :
18221  am_cv_val_LC_MESSAGES=yes
18222else
18223  am_cv_val_LC_MESSAGES=no
18224fi
18225rm -f core conftest.err conftest.$ac_objext \
18226    conftest$ac_exeext conftest.$ac_ext
18227fi
18228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
18229$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
18230    if test $am_cv_val_LC_MESSAGES = yes; then
18231
18232$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
18233
18234    fi
18235  fi
18236     USE_NLS=yes
18237
18238
18239    gt_cv_have_gettext=no
18240
18241    CATOBJEXT=NONE
18242    XGETTEXT=:
18243    INTLLIBS=
18244
18245    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
18246if test "x$ac_cv_header_libintl_h" = xyes; then :
18247  gt_cv_func_dgettext_libintl="no"
18248      libintl_extra_libs=""
18249
18250      #
18251      # First check in libc
18252      #
18253      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
18254$as_echo_n "checking for ngettext in libc... " >&6; }
18255if ${gt_cv_func_ngettext_libc+:} false; then :
18256  $as_echo_n "(cached) " >&6
18257else
18258  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18259/* end confdefs.h.  */
18260
18261#include <libintl.h>
18262
18263int
18264main ()
18265{
18266return !ngettext ("","", 1)
18267  ;
18268  return 0;
18269}
18270_ACEOF
18271if ac_fn_c_try_link "$LINENO"; then :
18272  gt_cv_func_ngettext_libc=yes
18273else
18274  gt_cv_func_ngettext_libc=no
18275fi
18276rm -f core conftest.err conftest.$ac_objext \
18277    conftest$ac_exeext conftest.$ac_ext
18278
18279fi
18280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
18281$as_echo "$gt_cv_func_ngettext_libc" >&6; }
18282
18283      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
18284	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
18285$as_echo_n "checking for dgettext in libc... " >&6; }
18286if ${gt_cv_func_dgettext_libc+:} false; then :
18287  $as_echo_n "(cached) " >&6
18288else
18289  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18290/* end confdefs.h.  */
18291
18292#include <libintl.h>
18293
18294int
18295main ()
18296{
18297return !dgettext ("","")
18298  ;
18299  return 0;
18300}
18301_ACEOF
18302if ac_fn_c_try_link "$LINENO"; then :
18303  gt_cv_func_dgettext_libc=yes
18304else
18305  gt_cv_func_dgettext_libc=no
18306fi
18307rm -f core conftest.err conftest.$ac_objext \
18308    conftest$ac_exeext conftest.$ac_ext
18309
18310fi
18311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
18312$as_echo "$gt_cv_func_dgettext_libc" >&6; }
18313      fi
18314
18315      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
18316        for ac_func in bind_textdomain_codeset
18317do :
18318  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18319if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
18320  cat >>confdefs.h <<_ACEOF
18321#define HAVE_BIND_TEXTDOMAIN_CODESET 1
18322_ACEOF
18323
18324fi
18325done
18326
18327      fi
18328
18329      #
18330      # If we don't have everything we want, check in libintl
18331      #
18332      if test "$gt_cv_func_dgettext_libc" != "yes" \
18333	 || test "$gt_cv_func_ngettext_libc" != "yes" \
18334         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
18335
18336        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
18337$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
18338if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
18339  $as_echo_n "(cached) " >&6
18340else
18341  ac_check_lib_save_LIBS=$LIBS
18342LIBS="-lintl  $LIBS"
18343cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18344/* end confdefs.h.  */
18345
18346/* Override any GCC internal prototype to avoid an error.
18347   Use char because int might match the return type of a GCC
18348   builtin and then its argument prototype would still apply.  */
18349#ifdef __cplusplus
18350extern "C"
18351#endif
18352char bindtextdomain ();
18353int
18354main ()
18355{
18356return bindtextdomain ();
18357  ;
18358  return 0;
18359}
18360_ACEOF
18361if ac_fn_c_try_link "$LINENO"; then :
18362  ac_cv_lib_intl_bindtextdomain=yes
18363else
18364  ac_cv_lib_intl_bindtextdomain=no
18365fi
18366rm -f core conftest.err conftest.$ac_objext \
18367    conftest$ac_exeext conftest.$ac_ext
18368LIBS=$ac_check_lib_save_LIBS
18369fi
18370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
18371$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
18372if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
18373  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
18374$as_echo_n "checking for ngettext in -lintl... " >&6; }
18375if ${ac_cv_lib_intl_ngettext+:} false; then :
18376  $as_echo_n "(cached) " >&6
18377else
18378  ac_check_lib_save_LIBS=$LIBS
18379LIBS="-lintl  $LIBS"
18380cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18381/* end confdefs.h.  */
18382
18383/* Override any GCC internal prototype to avoid an error.
18384   Use char because int might match the return type of a GCC
18385   builtin and then its argument prototype would still apply.  */
18386#ifdef __cplusplus
18387extern "C"
18388#endif
18389char ngettext ();
18390int
18391main ()
18392{
18393return ngettext ();
18394  ;
18395  return 0;
18396}
18397_ACEOF
18398if ac_fn_c_try_link "$LINENO"; then :
18399  ac_cv_lib_intl_ngettext=yes
18400else
18401  ac_cv_lib_intl_ngettext=no
18402fi
18403rm -f core conftest.err conftest.$ac_objext \
18404    conftest$ac_exeext conftest.$ac_ext
18405LIBS=$ac_check_lib_save_LIBS
18406fi
18407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
18408$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
18409if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
18410  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
18411$as_echo_n "checking for dgettext in -lintl... " >&6; }
18412if ${ac_cv_lib_intl_dgettext+:} false; then :
18413  $as_echo_n "(cached) " >&6
18414else
18415  ac_check_lib_save_LIBS=$LIBS
18416LIBS="-lintl  $LIBS"
18417cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18418/* end confdefs.h.  */
18419
18420/* Override any GCC internal prototype to avoid an error.
18421   Use char because int might match the return type of a GCC
18422   builtin and then its argument prototype would still apply.  */
18423#ifdef __cplusplus
18424extern "C"
18425#endif
18426char dgettext ();
18427int
18428main ()
18429{
18430return dgettext ();
18431  ;
18432  return 0;
18433}
18434_ACEOF
18435if ac_fn_c_try_link "$LINENO"; then :
18436  ac_cv_lib_intl_dgettext=yes
18437else
18438  ac_cv_lib_intl_dgettext=no
18439fi
18440rm -f core conftest.err conftest.$ac_objext \
18441    conftest$ac_exeext conftest.$ac_ext
18442LIBS=$ac_check_lib_save_LIBS
18443fi
18444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
18445$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
18446if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
18447  gt_cv_func_dgettext_libintl=yes
18448fi
18449
18450fi
18451
18452fi
18453
18454
18455	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
18456	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
18457$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
18458	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
18459$as_echo "" >&6; }
18460  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
18461$as_echo_n "checking for ngettext in -lintl... " >&6; }
18462if ${ac_cv_lib_intl_ngettext+:} false; then :
18463  $as_echo_n "(cached) " >&6
18464else
18465  ac_check_lib_save_LIBS=$LIBS
18466LIBS="-lintl -liconv $LIBS"
18467cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18468/* end confdefs.h.  */
18469
18470/* Override any GCC internal prototype to avoid an error.
18471   Use char because int might match the return type of a GCC
18472   builtin and then its argument prototype would still apply.  */
18473#ifdef __cplusplus
18474extern "C"
18475#endif
18476char ngettext ();
18477int
18478main ()
18479{
18480return ngettext ();
18481  ;
18482  return 0;
18483}
18484_ACEOF
18485if ac_fn_c_try_link "$LINENO"; then :
18486  ac_cv_lib_intl_ngettext=yes
18487else
18488  ac_cv_lib_intl_ngettext=no
18489fi
18490rm -f core conftest.err conftest.$ac_objext \
18491    conftest$ac_exeext conftest.$ac_ext
18492LIBS=$ac_check_lib_save_LIBS
18493fi
18494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
18495$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
18496if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
18497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
18498$as_echo_n "checking for dcgettext in -lintl... " >&6; }
18499if ${ac_cv_lib_intl_dcgettext+:} false; then :
18500  $as_echo_n "(cached) " >&6
18501else
18502  ac_check_lib_save_LIBS=$LIBS
18503LIBS="-lintl -liconv $LIBS"
18504cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18505/* end confdefs.h.  */
18506
18507/* Override any GCC internal prototype to avoid an error.
18508   Use char because int might match the return type of a GCC
18509   builtin and then its argument prototype would still apply.  */
18510#ifdef __cplusplus
18511extern "C"
18512#endif
18513char dcgettext ();
18514int
18515main ()
18516{
18517return dcgettext ();
18518  ;
18519  return 0;
18520}
18521_ACEOF
18522if ac_fn_c_try_link "$LINENO"; then :
18523  ac_cv_lib_intl_dcgettext=yes
18524else
18525  ac_cv_lib_intl_dcgettext=no
18526fi
18527rm -f core conftest.err conftest.$ac_objext \
18528    conftest$ac_exeext conftest.$ac_ext
18529LIBS=$ac_check_lib_save_LIBS
18530fi
18531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
18532$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
18533if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
18534  gt_cv_func_dgettext_libintl=yes
18535			libintl_extra_libs=-liconv
18536else
18537  :
18538fi
18539
18540else
18541  :
18542fi
18543
18544        fi
18545
18546        #
18547        # If we found libintl, then check in it for bind_textdomain_codeset();
18548        # we'll prefer libc if neither have bind_textdomain_codeset(),
18549        # and both have dgettext and ngettext
18550        #
18551        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
18552          glib_save_LIBS="$LIBS"
18553          LIBS="$LIBS -lintl $libintl_extra_libs"
18554          unset ac_cv_func_bind_textdomain_codeset
18555          for ac_func in bind_textdomain_codeset
18556do :
18557  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18558if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
18559  cat >>confdefs.h <<_ACEOF
18560#define HAVE_BIND_TEXTDOMAIN_CODESET 1
18561_ACEOF
18562
18563fi
18564done
18565
18566          LIBS="$glib_save_LIBS"
18567
18568          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
18569            gt_cv_func_dgettext_libc=no
18570          else
18571            if test "$gt_cv_func_dgettext_libc" = "yes" \
18572		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
18573              gt_cv_func_dgettext_libintl=no
18574            fi
18575          fi
18576        fi
18577      fi
18578
18579      if test "$gt_cv_func_dgettext_libc" = "yes" \
18580	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
18581        gt_cv_have_gettext=yes
18582      fi
18583
18584      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
18585        INTLLIBS="-lintl $libintl_extra_libs"
18586      fi
18587
18588      if test "$gt_cv_have_gettext" = "yes"; then
18589
18590$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
18591
18592	# Extract the first word of "msgfmt", so it can be a program name with args.
18593set dummy msgfmt; ac_word=$2
18594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18595$as_echo_n "checking for $ac_word... " >&6; }
18596if ${ac_cv_path_MSGFMT+:} false; then :
18597  $as_echo_n "(cached) " >&6
18598else
18599  case "$MSGFMT" in
18600  /*)
18601  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
18602  ;;
18603  *)
18604  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
18605  for ac_dir in $PATH; do
18606    test -z "$ac_dir" && ac_dir=.
18607    if test -f $ac_dir/$ac_word; then
18608      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
18609	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
18610	break
18611      fi
18612    fi
18613  done
18614  IFS="$ac_save_ifs"
18615  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
18616  ;;
18617esac
18618fi
18619MSGFMT="$ac_cv_path_MSGFMT"
18620if test "$MSGFMT" != "no"; then
18621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
18622$as_echo "$MSGFMT" >&6; }
18623else
18624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18625$as_echo "no" >&6; }
18626fi
18627	if test "$MSGFMT" != "no"; then
18628          glib_save_LIBS="$LIBS"
18629          LIBS="$LIBS $INTLLIBS"
18630	  for ac_func in dcgettext
18631do :
18632  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
18633if test "x$ac_cv_func_dcgettext" = xyes; then :
18634  cat >>confdefs.h <<_ACEOF
18635#define HAVE_DCGETTEXT 1
18636_ACEOF
18637
18638fi
18639done
18640
18641	  MSGFMT_OPTS=
18642	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
18643$as_echo_n "checking if msgfmt accepts -c... " >&6; }
18644	  cat >conftest.foo <<_ACEOF
18645
18646msgid ""
18647msgstr ""
18648"Content-Type: text/plain; charset=UTF-8\n"
18649"Project-Id-Version: test 1.0\n"
18650"PO-Revision-Date: 2007-02-15 12:01+0100\n"
18651"Last-Translator: test <foo@bar.xx>\n"
18652"Language-Team: C <LL@li.org>\n"
18653"MIME-Version: 1.0\n"
18654"Content-Transfer-Encoding: 8bit\n"
18655
18656_ACEOF
18657if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
18658  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
18659  ac_status=$?
18660  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18661  test $ac_status = 0; }; then
18662  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18663$as_echo "yes" >&6; }
18664else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18665$as_echo "no" >&6; }
18666echo "$as_me: failed input was:" >&5
18667sed 's/^/| /' conftest.foo >&5
18668fi
18669
18670	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
18671set dummy gmsgfmt; ac_word=$2
18672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18673$as_echo_n "checking for $ac_word... " >&6; }
18674if ${ac_cv_path_GMSGFMT+:} false; then :
18675  $as_echo_n "(cached) " >&6
18676else
18677  case $GMSGFMT in
18678  [\\/]* | ?:[\\/]*)
18679  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
18680  ;;
18681  *)
18682  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18683for as_dir in $PATH
18684do
18685  IFS=$as_save_IFS
18686  test -z "$as_dir" && as_dir=.
18687    for ac_exec_ext in '' $ac_executable_extensions; do
18688  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18689    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
18690    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18691    break 2
18692  fi
18693done
18694  done
18695IFS=$as_save_IFS
18696
18697  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
18698  ;;
18699esac
18700fi
18701GMSGFMT=$ac_cv_path_GMSGFMT
18702if test -n "$GMSGFMT"; then
18703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
18704$as_echo "$GMSGFMT" >&6; }
18705else
18706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18707$as_echo "no" >&6; }
18708fi
18709
18710
18711	  # Extract the first word of "xgettext", so it can be a program name with args.
18712set dummy xgettext; ac_word=$2
18713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18714$as_echo_n "checking for $ac_word... " >&6; }
18715if ${ac_cv_path_XGETTEXT+:} false; then :
18716  $as_echo_n "(cached) " >&6
18717else
18718  case "$XGETTEXT" in
18719  /*)
18720  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
18721  ;;
18722  *)
18723  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
18724  for ac_dir in $PATH; do
18725    test -z "$ac_dir" && ac_dir=.
18726    if test -f $ac_dir/$ac_word; then
18727      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
18728	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
18729	break
18730      fi
18731    fi
18732  done
18733  IFS="$ac_save_ifs"
18734  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
18735  ;;
18736esac
18737fi
18738XGETTEXT="$ac_cv_path_XGETTEXT"
18739if test "$XGETTEXT" != ":"; then
18740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
18741$as_echo "$XGETTEXT" >&6; }
18742else
18743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18744$as_echo "no" >&6; }
18745fi
18746
18747	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748/* end confdefs.h.  */
18749
18750int
18751main ()
18752{
18753extern int _nl_msg_cat_cntr;
18754			 return _nl_msg_cat_cntr
18755  ;
18756  return 0;
18757}
18758_ACEOF
18759if ac_fn_c_try_link "$LINENO"; then :
18760  CATOBJEXT=.gmo
18761             DATADIRNAME=share
18762else
18763  case $host in
18764	    *-*-solaris*)
18765	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18766if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
18767  CATOBJEXT=.gmo
18768               DATADIRNAME=share
18769else
18770  CATOBJEXT=.mo
18771               DATADIRNAME=share
18772fi
18773
18774	    ;;
18775	    *-*-openbsd*)
18776	    CATOBJEXT=.mo
18777            DATADIRNAME=share
18778	    ;;
18779	    *)
18780	    CATOBJEXT=.mo
18781            DATADIRNAME=share
18782	    ;;
18783	    esac
18784fi
18785rm -f core conftest.err conftest.$ac_objext \
18786    conftest$ac_exeext conftest.$ac_ext
18787          LIBS="$glib_save_LIBS"
18788	  INSTOBJEXT=.mo
18789	else
18790	  gt_cv_have_gettext=no
18791	fi
18792      fi
18793
18794fi
18795
18796
18797
18798    if test "$gt_cv_have_gettext" = "yes" ; then
18799
18800$as_echo "#define ENABLE_NLS 1" >>confdefs.h
18801
18802    fi
18803
18804        if test "$XGETTEXT" != ":"; then
18805                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
18806        : ;
18807      else
18808        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
18809$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
18810        XGETTEXT=":"
18811      fi
18812    fi
18813
18814    # We need to process the po/ directory.
18815    POSUB=po
18816
18817    ac_config_commands="$ac_config_commands default-1"
18818
18819
18820                for lang in $ALL_LINGUAS; do
18821      GMOFILES="$GMOFILES $lang.gmo"
18822      POFILES="$POFILES $lang.po"
18823    done
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837   if test "$gt_cv_have_gettext" = "yes"; then
18838     if test "x$ALL_LINGUAS" = "x"; then
18839       LINGUAS=
18840     else
18841       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
18842$as_echo_n "checking for catalogs to be installed... " >&6; }
18843       NEW_LINGUAS=
18844       for presentlang in $ALL_LINGUAS; do
18845         useit=no
18846         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
18847           desiredlanguages="$LINGUAS"
18848         else
18849           desiredlanguages="$ALL_LINGUAS"
18850         fi
18851         for desiredlang in $desiredlanguages; do
18852 	   # Use the presentlang catalog if desiredlang is
18853           #   a. equal to presentlang, or
18854           #   b. a variant of presentlang (because in this case,
18855           #      presentlang can be used as a fallback for messages
18856           #      which are not translated in the desiredlang catalog).
18857           case "$desiredlang" in
18858             "$presentlang"*) useit=yes;;
18859           esac
18860         done
18861         if test $useit = yes; then
18862           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
18863         fi
18864       done
18865       LINGUAS=$NEW_LINGUAS
18866       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
18867$as_echo "$LINGUAS" >&6; }
18868     fi
18869
18870          if test -n "$LINGUAS"; then
18871       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
18872     fi
18873   fi
18874
18875            MKINSTALLDIRS=
18876   if test -n "$ac_aux_dir"; then
18877     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
18878   fi
18879   if test -z "$MKINSTALLDIRS"; then
18880     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
18881   fi
18882
18883
18884         test -d po || mkdir po
18885   if test "x$srcdir" != "x."; then
18886     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
18887       posrcprefix="$srcdir/"
18888     else
18889       posrcprefix="../$srcdir/"
18890     fi
18891   else
18892     posrcprefix="../"
18893   fi
18894   rm -f po/POTFILES
18895   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
18896	< $srcdir/po/POTFILES.in > po/POTFILES
18897
18898
18899## here we get the flags we'll actually use
18900
18901pkg_failed=no
18902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGG" >&5
18903$as_echo_n "checking for EGG... " >&6; }
18904
18905if test -n "$EGG_CFLAGS"; then
18906    pkg_cv_EGG_CFLAGS="$EGG_CFLAGS"
18907 elif test -n "$PKG_CONFIG"; then
18908    if test -n "$PKG_CONFIG" && \
18909    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
18910  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
18911  ac_status=$?
18912  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18913  test $ac_status = 0; }; then
18914  pkg_cv_EGG_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
18915		      test "x$?" != "x0" && pkg_failed=yes
18916else
18917  pkg_failed=yes
18918fi
18919 else
18920    pkg_failed=untried
18921fi
18922if test -n "$EGG_LIBS"; then
18923    pkg_cv_EGG_LIBS="$EGG_LIBS"
18924 elif test -n "$PKG_CONFIG"; then
18925    if test -n "$PKG_CONFIG" && \
18926    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
18927  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
18928  ac_status=$?
18929  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18930  test $ac_status = 0; }; then
18931  pkg_cv_EGG_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
18932		      test "x$?" != "x0" && pkg_failed=yes
18933else
18934  pkg_failed=yes
18935fi
18936 else
18937    pkg_failed=untried
18938fi
18939
18940
18941
18942if test $pkg_failed = yes; then
18943   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18944$as_echo "no" >&6; }
18945
18946if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18947        _pkg_short_errors_supported=yes
18948else
18949        _pkg_short_errors_supported=no
18950fi
18951        if test $_pkg_short_errors_supported = yes; then
18952	        EGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
18953        else
18954	        EGG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
18955        fi
18956	# Put the nasty error message in config.log where it belongs
18957	echo "$EGG_PKG_ERRORS" >&5
18958
18959	as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED) were not met:
18960
18961$EGG_PKG_ERRORS
18962
18963Consider adjusting the PKG_CONFIG_PATH environment variable if you
18964installed software in a non-standard prefix.
18965
18966Alternatively, you may set the environment variables EGG_CFLAGS
18967and EGG_LIBS to avoid the need to call pkg-config.
18968See the pkg-config man page for more details." "$LINENO" 5
18969elif test $pkg_failed = untried; then
18970     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18971$as_echo "no" >&6; }
18972	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18973$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18974as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18975is in your PATH or set the PKG_CONFIG environment variable to the full
18976path to pkg-config.
18977
18978Alternatively, you may set the environment variables EGG_CFLAGS
18979and EGG_LIBS to avoid the need to call pkg-config.
18980See the pkg-config man page for more details.
18981
18982To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18983See \`config.log' for more details" "$LINENO" 5; }
18984else
18985	EGG_CFLAGS=$pkg_cv_EGG_CFLAGS
18986	EGG_LIBS=$pkg_cv_EGG_LIBS
18987        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18988$as_echo "yes" >&6; }
18989
18990fi
18991
18992
18993
18994
18995pkg_failed=no
18996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGG_SMCLIENT" >&5
18997$as_echo_n "checking for EGG_SMCLIENT... " >&6; }
18998
18999if test -n "$EGG_SMCLIENT_CFLAGS"; then
19000    pkg_cv_EGG_SMCLIENT_CFLAGS="$EGG_SMCLIENT_CFLAGS"
19001 elif test -n "$PKG_CONFIG"; then
19002    if test -n "$PKG_CONFIG" && \
19003    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
19004  ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
19005  ac_status=$?
19006  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19007  test $ac_status = 0; }; then
19008  pkg_cv_EGG_SMCLIENT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
19009		      test "x$?" != "x0" && pkg_failed=yes
19010else
19011  pkg_failed=yes
19012fi
19013 else
19014    pkg_failed=untried
19015fi
19016if test -n "$EGG_SMCLIENT_LIBS"; then
19017    pkg_cv_EGG_SMCLIENT_LIBS="$EGG_SMCLIENT_LIBS"
19018 elif test -n "$PKG_CONFIG"; then
19019    if test -n "$PKG_CONFIG" && \
19020    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
19021  ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
19022  ac_status=$?
19023  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19024  test $ac_status = 0; }; then
19025  pkg_cv_EGG_SMCLIENT_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
19026		      test "x$?" != "x0" && pkg_failed=yes
19027else
19028  pkg_failed=yes
19029fi
19030 else
19031    pkg_failed=untried
19032fi
19033
19034
19035
19036if test $pkg_failed = yes; then
19037   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19038$as_echo "no" >&6; }
19039
19040if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19041        _pkg_short_errors_supported=yes
19042else
19043        _pkg_short_errors_supported=no
19044fi
19045        if test $_pkg_short_errors_supported = yes; then
19046	        EGG_SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
19047        else
19048	        EGG_SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
19049        fi
19050	# Put the nasty error message in config.log where it belongs
19051	echo "$EGG_SMCLIENT_PKG_ERRORS" >&5
19052
19053	as_fn_error $? "Package requirements (gtk+-3.0) were not met:
19054
19055$EGG_SMCLIENT_PKG_ERRORS
19056
19057Consider adjusting the PKG_CONFIG_PATH environment variable if you
19058installed software in a non-standard prefix.
19059
19060Alternatively, you may set the environment variables EGG_SMCLIENT_CFLAGS
19061and EGG_SMCLIENT_LIBS to avoid the need to call pkg-config.
19062See the pkg-config man page for more details." "$LINENO" 5
19063elif test $pkg_failed = untried; then
19064     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19065$as_echo "no" >&6; }
19066	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19067$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19068as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19069is in your PATH or set the PKG_CONFIG environment variable to the full
19070path to pkg-config.
19071
19072Alternatively, you may set the environment variables EGG_SMCLIENT_CFLAGS
19073and EGG_SMCLIENT_LIBS to avoid the need to call pkg-config.
19074See the pkg-config man page for more details.
19075
19076To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19077See \`config.log' for more details" "$LINENO" 5; }
19078else
19079	EGG_SMCLIENT_CFLAGS=$pkg_cv_EGG_SMCLIENT_CFLAGS
19080	EGG_SMCLIENT_LIBS=$pkg_cv_EGG_SMCLIENT_LIBS
19081        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19082$as_echo "yes" >&6; }
19083
19084fi
19085
19086
19087
19088
19089ac_config_files="$ac_config_files Makefile libcryptui/cryptui.pc libcryptui/Makefile libcryptui/tests/Makefile libegg/Makefile po/Makefile.in data/Makefile pixmaps/Makefile pixmaps/22x22/Makefile pixmaps/48x48/Makefile pixmaps/scalable/Makefile daemon/Makefile reference/Makefile reference/libcryptui/Makefile reference/libcryptui/version.xml"
19090
19091cat >confcache <<\_ACEOF
19092# This file is a shell script that caches the results of configure
19093# tests run on this system so they can be shared between configure
19094# scripts and configure runs, see configure's option --config-cache.
19095# It is not useful on other systems.  If it contains results you don't
19096# want to keep, you may remove or edit it.
19097#
19098# config.status only pays attention to the cache file if you give it
19099# the --recheck option to rerun configure.
19100#
19101# `ac_cv_env_foo' variables (set or unset) will be overridden when
19102# loading this file, other *unset* `ac_cv_foo' will be assigned the
19103# following values.
19104
19105_ACEOF
19106
19107# The following way of writing the cache mishandles newlines in values,
19108# but we know of no workaround that is simple, portable, and efficient.
19109# So, we kill variables containing newlines.
19110# Ultrix sh set writes to stderr and can't be redirected directly,
19111# and sets the high bit in the cache file unless we assign to the vars.
19112(
19113  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19114    eval ac_val=\$$ac_var
19115    case $ac_val in #(
19116    *${as_nl}*)
19117      case $ac_var in #(
19118      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19119$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19120      esac
19121      case $ac_var in #(
19122      _ | IFS | as_nl) ;; #(
19123      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19124      *) { eval $ac_var=; unset $ac_var;} ;;
19125      esac ;;
19126    esac
19127  done
19128
19129  (set) 2>&1 |
19130    case $as_nl`(ac_space=' '; set) 2>&1` in #(
19131    *${as_nl}ac_space=\ *)
19132      # `set' does not quote correctly, so add quotes: double-quote
19133      # substitution turns \\\\ into \\, and sed turns \\ into \.
19134      sed -n \
19135	"s/'/'\\\\''/g;
19136	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19137      ;; #(
19138    *)
19139      # `set' quotes correctly as required by POSIX, so do not add quotes.
19140      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19141      ;;
19142    esac |
19143    sort
19144) |
19145  sed '
19146     /^ac_cv_env_/b end
19147     t clear
19148     :clear
19149     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19150     t end
19151     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19152     :end' >>confcache
19153if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19154  if test -w "$cache_file"; then
19155    if test "x$cache_file" != "x/dev/null"; then
19156      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19157$as_echo "$as_me: updating cache $cache_file" >&6;}
19158      if test ! -f "$cache_file" || test -h "$cache_file"; then
19159	cat confcache >"$cache_file"
19160      else
19161        case $cache_file in #(
19162        */* | ?:*)
19163	  mv -f confcache "$cache_file"$$ &&
19164	  mv -f "$cache_file"$$ "$cache_file" ;; #(
19165        *)
19166	  mv -f confcache "$cache_file" ;;
19167	esac
19168      fi
19169    fi
19170  else
19171    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19172$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19173  fi
19174fi
19175rm -f confcache
19176
19177test "x$prefix" = xNONE && prefix=$ac_default_prefix
19178# Let make expand exec_prefix.
19179test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19180
19181DEFS=-DHAVE_CONFIG_H
19182
19183ac_libobjs=
19184ac_ltlibobjs=
19185for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19186  # 1. Remove the extension, and $U if already installed.
19187  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19188  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19189  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19190  #    will be set to the directory where LIBOBJS objects are built.
19191  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19192  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19193done
19194LIBOBJS=$ac_libobjs
19195
19196LTLIBOBJS=$ac_ltlibobjs
19197
19198
19199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19200$as_echo_n "checking that generated files are newer than configure... " >&6; }
19201   if test -n "$am_sleep_pid"; then
19202     # Hide warnings about reused PIDs.
19203     wait $am_sleep_pid 2>/dev/null
19204   fi
19205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19206$as_echo "done" >&6; }
19207 if test -n "$EXEEXT"; then
19208  am__EXEEXT_TRUE=
19209  am__EXEEXT_FALSE='#'
19210else
19211  am__EXEEXT_TRUE='#'
19212  am__EXEEXT_FALSE=
19213fi
19214
19215if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19216  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19217Usually this means the macro was only invoked conditionally." "$LINENO" 5
19218fi
19219if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19220  as_fn_error $? "conditional \"AMDEP\" was never defined.
19221Usually this means the macro was only invoked conditionally." "$LINENO" 5
19222fi
19223if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19224  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19225Usually this means the macro was only invoked conditionally." "$LINENO" 5
19226fi
19227if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19228  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19229Usually this means the macro was only invoked conditionally." "$LINENO" 5
19230fi
19231
19232  ac_config_commands="$ac_config_commands po/stamp-it"
19233
19234
19235if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
19236  as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
19237Usually this means the macro was only invoked conditionally." "$LINENO" 5
19238fi
19239if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
19240  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
19241Usually this means the macro was only invoked conditionally." "$LINENO" 5
19242fi
19243if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
19244  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
19245Usually this means the macro was only invoked conditionally." "$LINENO" 5
19246fi
19247if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
19248  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
19249Usually this means the macro was only invoked conditionally." "$LINENO" 5
19250fi
19251if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
19252  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
19253Usually this means the macro was only invoked conditionally." "$LINENO" 5
19254fi
19255if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
19256  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
19257Usually this means the macro was only invoked conditionally." "$LINENO" 5
19258fi
19259if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
19260  as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
19261Usually this means the macro was only invoked conditionally." "$LINENO" 5
19262fi
19263if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
19264  as_fn_error $? "conditional \"OS_WIN32\" was never defined.
19265Usually this means the macro was only invoked conditionally." "$LINENO" 5
19266fi
19267if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
19268  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
19269Usually this means the macro was only invoked conditionally." "$LINENO" 5
19270fi
19271if test -z "${UPDATE_MIME_DATABASE_TRUE}" && test -z "${UPDATE_MIME_DATABASE_FALSE}"; then
19272  as_fn_error $? "conditional \"UPDATE_MIME_DATABASE\" was never defined.
19273Usually this means the macro was only invoked conditionally." "$LINENO" 5
19274fi
19275
19276: "${CONFIG_STATUS=./config.status}"
19277ac_write_fail=0
19278ac_clean_files_save=$ac_clean_files
19279ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19280{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19281$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19282as_write_fail=0
19283cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19284#! $SHELL
19285# Generated by $as_me.
19286# Run this file to recreate the current configuration.
19287# Compiler output produced by configure, useful for debugging
19288# configure, is in config.log if it exists.
19289
19290debug=false
19291ac_cs_recheck=false
19292ac_cs_silent=false
19293
19294SHELL=\${CONFIG_SHELL-$SHELL}
19295export SHELL
19296_ASEOF
19297cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19298## -------------------- ##
19299## M4sh Initialization. ##
19300## -------------------- ##
19301
19302# Be more Bourne compatible
19303DUALCASE=1; export DUALCASE # for MKS sh
19304if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19305  emulate sh
19306  NULLCMD=:
19307  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19308  # is contrary to our usage.  Disable this feature.
19309  alias -g '${1+"$@"}'='"$@"'
19310  setopt NO_GLOB_SUBST
19311else
19312  case `(set -o) 2>/dev/null` in #(
19313  *posix*) :
19314    set -o posix ;; #(
19315  *) :
19316     ;;
19317esac
19318fi
19319
19320
19321as_nl='
19322'
19323export as_nl
19324# Printing a long string crashes Solaris 7 /usr/bin/printf.
19325as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19326as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19327as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19328# Prefer a ksh shell builtin over an external printf program on Solaris,
19329# but without wasting forks for bash or zsh.
19330if test -z "$BASH_VERSION$ZSH_VERSION" \
19331    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19332  as_echo='print -r --'
19333  as_echo_n='print -rn --'
19334elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19335  as_echo='printf %s\n'
19336  as_echo_n='printf %s'
19337else
19338  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19339    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19340    as_echo_n='/usr/ucb/echo -n'
19341  else
19342    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19343    as_echo_n_body='eval
19344      arg=$1;
19345      case $arg in #(
19346      *"$as_nl"*)
19347	expr "X$arg" : "X\\(.*\\)$as_nl";
19348	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19349      esac;
19350      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19351    '
19352    export as_echo_n_body
19353    as_echo_n='sh -c $as_echo_n_body as_echo'
19354  fi
19355  export as_echo_body
19356  as_echo='sh -c $as_echo_body as_echo'
19357fi
19358
19359# The user is always right.
19360if test "${PATH_SEPARATOR+set}" != set; then
19361  PATH_SEPARATOR=:
19362  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19363    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19364      PATH_SEPARATOR=';'
19365  }
19366fi
19367
19368
19369# IFS
19370# We need space, tab and new line, in precisely that order.  Quoting is
19371# there to prevent editors from complaining about space-tab.
19372# (If _AS_PATH_WALK were called with IFS unset, it would disable word
19373# splitting by setting IFS to empty value.)
19374IFS=" ""	$as_nl"
19375
19376# Find who we are.  Look in the path if we contain no directory separator.
19377as_myself=
19378case $0 in #((
19379  *[\\/]* ) as_myself=$0 ;;
19380  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19381for as_dir in $PATH
19382do
19383  IFS=$as_save_IFS
19384  test -z "$as_dir" && as_dir=.
19385    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19386  done
19387IFS=$as_save_IFS
19388
19389     ;;
19390esac
19391# We did not find ourselves, most probably we were run as `sh COMMAND'
19392# in which case we are not to be found in the path.
19393if test "x$as_myself" = x; then
19394  as_myself=$0
19395fi
19396if test ! -f "$as_myself"; then
19397  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19398  exit 1
19399fi
19400
19401# Unset variables that we do not need and which cause bugs (e.g. in
19402# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
19403# suppresses any "Segmentation fault" message there.  '((' could
19404# trigger a bug in pdksh 5.2.14.
19405for as_var in BASH_ENV ENV MAIL MAILPATH
19406do eval test x\${$as_var+set} = xset \
19407  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19408done
19409PS1='$ '
19410PS2='> '
19411PS4='+ '
19412
19413# NLS nuisances.
19414LC_ALL=C
19415export LC_ALL
19416LANGUAGE=C
19417export LANGUAGE
19418
19419# CDPATH.
19420(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19421
19422
19423# as_fn_error STATUS ERROR [LINENO LOG_FD]
19424# ----------------------------------------
19425# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19426# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19427# script with STATUS, using 1 if that was 0.
19428as_fn_error ()
19429{
19430  as_status=$1; test $as_status -eq 0 && as_status=1
19431  if test "$4"; then
19432    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19433    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19434  fi
19435  $as_echo "$as_me: error: $2" >&2
19436  as_fn_exit $as_status
19437} # as_fn_error
19438
19439
19440# as_fn_set_status STATUS
19441# -----------------------
19442# Set $? to STATUS, without forking.
19443as_fn_set_status ()
19444{
19445  return $1
19446} # as_fn_set_status
19447
19448# as_fn_exit STATUS
19449# -----------------
19450# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19451as_fn_exit ()
19452{
19453  set +e
19454  as_fn_set_status $1
19455  exit $1
19456} # as_fn_exit
19457
19458# as_fn_unset VAR
19459# ---------------
19460# Portably unset VAR.
19461as_fn_unset ()
19462{
19463  { eval $1=; unset $1;}
19464}
19465as_unset=as_fn_unset
19466# as_fn_append VAR VALUE
19467# ----------------------
19468# Append the text in VALUE to the end of the definition contained in VAR. Take
19469# advantage of any shell optimizations that allow amortized linear growth over
19470# repeated appends, instead of the typical quadratic growth present in naive
19471# implementations.
19472if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19473  eval 'as_fn_append ()
19474  {
19475    eval $1+=\$2
19476  }'
19477else
19478  as_fn_append ()
19479  {
19480    eval $1=\$$1\$2
19481  }
19482fi # as_fn_append
19483
19484# as_fn_arith ARG...
19485# ------------------
19486# Perform arithmetic evaluation on the ARGs, and store the result in the
19487# global $as_val. Take advantage of shells that can avoid forks. The arguments
19488# must be portable across $(()) and expr.
19489if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19490  eval 'as_fn_arith ()
19491  {
19492    as_val=$(( $* ))
19493  }'
19494else
19495  as_fn_arith ()
19496  {
19497    as_val=`expr "$@" || test $? -eq 1`
19498  }
19499fi # as_fn_arith
19500
19501
19502if expr a : '\(a\)' >/dev/null 2>&1 &&
19503   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19504  as_expr=expr
19505else
19506  as_expr=false
19507fi
19508
19509if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19510  as_basename=basename
19511else
19512  as_basename=false
19513fi
19514
19515if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19516  as_dirname=dirname
19517else
19518  as_dirname=false
19519fi
19520
19521as_me=`$as_basename -- "$0" ||
19522$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19523	 X"$0" : 'X\(//\)$' \| \
19524	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19525$as_echo X/"$0" |
19526    sed '/^.*\/\([^/][^/]*\)\/*$/{
19527	    s//\1/
19528	    q
19529	  }
19530	  /^X\/\(\/\/\)$/{
19531	    s//\1/
19532	    q
19533	  }
19534	  /^X\/\(\/\).*/{
19535	    s//\1/
19536	    q
19537	  }
19538	  s/.*/./; q'`
19539
19540# Avoid depending upon Character Ranges.
19541as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19542as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19543as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19544as_cr_digits='0123456789'
19545as_cr_alnum=$as_cr_Letters$as_cr_digits
19546
19547ECHO_C= ECHO_N= ECHO_T=
19548case `echo -n x` in #(((((
19549-n*)
19550  case `echo 'xy\c'` in
19551  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
19552  xy)  ECHO_C='\c';;
19553  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
19554       ECHO_T='	';;
19555  esac;;
19556*)
19557  ECHO_N='-n';;
19558esac
19559
19560rm -f conf$$ conf$$.exe conf$$.file
19561if test -d conf$$.dir; then
19562  rm -f conf$$.dir/conf$$.file
19563else
19564  rm -f conf$$.dir
19565  mkdir conf$$.dir 2>/dev/null
19566fi
19567if (echo >conf$$.file) 2>/dev/null; then
19568  if ln -s conf$$.file conf$$ 2>/dev/null; then
19569    as_ln_s='ln -s'
19570    # ... but there are two gotchas:
19571    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19572    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19573    # In both cases, we have to default to `cp -pR'.
19574    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19575      as_ln_s='cp -pR'
19576  elif ln conf$$.file conf$$ 2>/dev/null; then
19577    as_ln_s=ln
19578  else
19579    as_ln_s='cp -pR'
19580  fi
19581else
19582  as_ln_s='cp -pR'
19583fi
19584rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19585rmdir conf$$.dir 2>/dev/null
19586
19587
19588# as_fn_mkdir_p
19589# -------------
19590# Create "$as_dir" as a directory, including parents if necessary.
19591as_fn_mkdir_p ()
19592{
19593
19594  case $as_dir in #(
19595  -*) as_dir=./$as_dir;;
19596  esac
19597  test -d "$as_dir" || eval $as_mkdir_p || {
19598    as_dirs=
19599    while :; do
19600      case $as_dir in #(
19601      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19602      *) as_qdir=$as_dir;;
19603      esac
19604      as_dirs="'$as_qdir' $as_dirs"
19605      as_dir=`$as_dirname -- "$as_dir" ||
19606$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19607	 X"$as_dir" : 'X\(//\)[^/]' \| \
19608	 X"$as_dir" : 'X\(//\)$' \| \
19609	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19610$as_echo X"$as_dir" |
19611    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19612	    s//\1/
19613	    q
19614	  }
19615	  /^X\(\/\/\)[^/].*/{
19616	    s//\1/
19617	    q
19618	  }
19619	  /^X\(\/\/\)$/{
19620	    s//\1/
19621	    q
19622	  }
19623	  /^X\(\/\).*/{
19624	    s//\1/
19625	    q
19626	  }
19627	  s/.*/./; q'`
19628      test -d "$as_dir" && break
19629    done
19630    test -z "$as_dirs" || eval "mkdir $as_dirs"
19631  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19632
19633
19634} # as_fn_mkdir_p
19635if mkdir -p . 2>/dev/null; then
19636  as_mkdir_p='mkdir -p "$as_dir"'
19637else
19638  test -d ./-p && rmdir ./-p
19639  as_mkdir_p=false
19640fi
19641
19642
19643# as_fn_executable_p FILE
19644# -----------------------
19645# Test if FILE is an executable regular file.
19646as_fn_executable_p ()
19647{
19648  test -f "$1" && test -x "$1"
19649} # as_fn_executable_p
19650as_test_x='test -x'
19651as_executable_p=as_fn_executable_p
19652
19653# Sed expression to map a string onto a valid CPP name.
19654as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19655
19656# Sed expression to map a string onto a valid variable name.
19657as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19658
19659
19660exec 6>&1
19661## ----------------------------------- ##
19662## Main body of $CONFIG_STATUS script. ##
19663## ----------------------------------- ##
19664_ASEOF
19665test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19666
19667cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19668# Save the log message, to keep $0 and so on meaningful, and to
19669# report actual input values of CONFIG_FILES etc. instead of their
19670# values after options handling.
19671ac_log="
19672This file was extended by libcryptui $as_me 3.12.2, which was
19673generated by GNU Autoconf 2.69.  Invocation command line was
19674
19675  CONFIG_FILES    = $CONFIG_FILES
19676  CONFIG_HEADERS  = $CONFIG_HEADERS
19677  CONFIG_LINKS    = $CONFIG_LINKS
19678  CONFIG_COMMANDS = $CONFIG_COMMANDS
19679  $ $0 $@
19680
19681on `(hostname || uname -n) 2>/dev/null | sed 1q`
19682"
19683
19684_ACEOF
19685
19686case $ac_config_files in *"
19687"*) set x $ac_config_files; shift; ac_config_files=$*;;
19688esac
19689
19690case $ac_config_headers in *"
19691"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19692esac
19693
19694
19695cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19696# Files that config.status was made for.
19697config_files="$ac_config_files"
19698config_headers="$ac_config_headers"
19699config_commands="$ac_config_commands"
19700
19701_ACEOF
19702
19703cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19704ac_cs_usage="\
19705\`$as_me' instantiates files and other configuration actions
19706from templates according to the current configuration.  Unless the files
19707and actions are specified as TAGs, all are instantiated by default.
19708
19709Usage: $0 [OPTION]... [TAG]...
19710
19711  -h, --help       print this help, then exit
19712  -V, --version    print version number and configuration settings, then exit
19713      --config     print configuration, then exit
19714  -q, --quiet, --silent
19715                   do not print progress messages
19716  -d, --debug      don't remove temporary files
19717      --recheck    update $as_me by reconfiguring in the same conditions
19718      --file=FILE[:TEMPLATE]
19719                   instantiate the configuration file FILE
19720      --header=FILE[:TEMPLATE]
19721                   instantiate the configuration header FILE
19722
19723Configuration files:
19724$config_files
19725
19726Configuration headers:
19727$config_headers
19728
19729Configuration commands:
19730$config_commands
19731
19732Report bugs to the package provider."
19733
19734_ACEOF
19735cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19736ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19737ac_cs_version="\\
19738libcryptui config.status 3.12.2
19739configured by $0, generated by GNU Autoconf 2.69,
19740  with options \\"\$ac_cs_config\\"
19741
19742Copyright (C) 2012 Free Software Foundation, Inc.
19743This config.status script is free software; the Free Software Foundation
19744gives unlimited permission to copy, distribute and modify it."
19745
19746ac_pwd='$ac_pwd'
19747srcdir='$srcdir'
19748INSTALL='$INSTALL'
19749MKDIR_P='$MKDIR_P'
19750AWK='$AWK'
19751test -n "\$AWK" || AWK=awk
19752_ACEOF
19753
19754cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19755# The default lists apply if the user does not specify any file.
19756ac_need_defaults=:
19757while test $# != 0
19758do
19759  case $1 in
19760  --*=?*)
19761    ac_option=`expr "X$1" : 'X\([^=]*\)='`
19762    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19763    ac_shift=:
19764    ;;
19765  --*=)
19766    ac_option=`expr "X$1" : 'X\([^=]*\)='`
19767    ac_optarg=
19768    ac_shift=:
19769    ;;
19770  *)
19771    ac_option=$1
19772    ac_optarg=$2
19773    ac_shift=shift
19774    ;;
19775  esac
19776
19777  case $ac_option in
19778  # Handling of the options.
19779  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19780    ac_cs_recheck=: ;;
19781  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19782    $as_echo "$ac_cs_version"; exit ;;
19783  --config | --confi | --conf | --con | --co | --c )
19784    $as_echo "$ac_cs_config"; exit ;;
19785  --debug | --debu | --deb | --de | --d | -d )
19786    debug=: ;;
19787  --file | --fil | --fi | --f )
19788    $ac_shift
19789    case $ac_optarg in
19790    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19791    '') as_fn_error $? "missing file argument" ;;
19792    esac
19793    as_fn_append CONFIG_FILES " '$ac_optarg'"
19794    ac_need_defaults=false;;
19795  --header | --heade | --head | --hea )
19796    $ac_shift
19797    case $ac_optarg in
19798    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19799    esac
19800    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19801    ac_need_defaults=false;;
19802  --he | --h)
19803    # Conflict between --help and --header
19804    as_fn_error $? "ambiguous option: \`$1'
19805Try \`$0 --help' for more information.";;
19806  --help | --hel | -h )
19807    $as_echo "$ac_cs_usage"; exit ;;
19808  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19809  | -silent | --silent | --silen | --sile | --sil | --si | --s)
19810    ac_cs_silent=: ;;
19811
19812  # This is an error.
19813  -*) as_fn_error $? "unrecognized option: \`$1'
19814Try \`$0 --help' for more information." ;;
19815
19816  *) as_fn_append ac_config_targets " $1"
19817     ac_need_defaults=false ;;
19818
19819  esac
19820  shift
19821done
19822
19823ac_configure_extra_args=
19824
19825if $ac_cs_silent; then
19826  exec 6>/dev/null
19827  ac_configure_extra_args="$ac_configure_extra_args --silent"
19828fi
19829
19830_ACEOF
19831cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19832if \$ac_cs_recheck; then
19833  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19834  shift
19835  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19836  CONFIG_SHELL='$SHELL'
19837  export CONFIG_SHELL
19838  exec "\$@"
19839fi
19840
19841_ACEOF
19842cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19843exec 5>>config.log
19844{
19845  echo
19846  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19847## Running $as_me. ##
19848_ASBOX
19849  $as_echo "$ac_log"
19850} >&5
19851
19852_ACEOF
19853cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19854#
19855# INIT-COMMANDS
19856#
19857AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19858
19859
19860# The HP-UX ksh and POSIX shell print the target directory to stdout
19861# if CDPATH is set.
19862(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19863
19864sed_quote_subst='$sed_quote_subst'
19865double_quote_subst='$double_quote_subst'
19866delay_variable_subst='$delay_variable_subst'
19867macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19868macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19869enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19870enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19871pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19872enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19873SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19874ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19875PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19876host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19877host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19878host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19879build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19880build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19881build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19882SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19883Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19884GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19885EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19886FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19887LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19888NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19889LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19890max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19891ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19892exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19893lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19894lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19895lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19896lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19897lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19898reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19899reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19900OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19901deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19902file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19903file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19904want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19905DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19906sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19907AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19908AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19909archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19910STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19911RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19912old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19913old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19914old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19915lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19916CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19917CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19918compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19919GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19920lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19921lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19922lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19923lt_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"`'
19924nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19925lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19926objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19927MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19928lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19929lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19930lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19931lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19932lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19933need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19934MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19935DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19936NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19937LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19938OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19939OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19940libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19941shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19942extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19943archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19944enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19945export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19946whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19947compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19948old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19949old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19950archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19951archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19952module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19953module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19954with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19955allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19956no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19957hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19958hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19959hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19960hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19961hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19962hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19963hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19964inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19965link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19966always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19967export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19968exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19969include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19970prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19971postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19972file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19973variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19974need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19975need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19976version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19977runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19978shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19979shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19980libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19981library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19982soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19983install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19984postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19985postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19986finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19987finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19988hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19989sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19990sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19991hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19992enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19993enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19994enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19995old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19996striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19997compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
19998predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
19999postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20000predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20001postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20002compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20003LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20004reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20005reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20006old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20007compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20008GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20009lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20010lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20011lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20012lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20013lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20014archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20015enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20016export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20017whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20018compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20019old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20020old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20021archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20022archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20023module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20024module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20025with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20026allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20027no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20028hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20029hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20030hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20031hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20032hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20033hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20034hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20035inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20036link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20037always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20038export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20039exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20040include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20041prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20042postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20043file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20044hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20045compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20046predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20047postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20048predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20049postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20050compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20051
20052LTCC='$LTCC'
20053LTCFLAGS='$LTCFLAGS'
20054compiler='$compiler_DEFAULT'
20055
20056# A function that is used when there is no print builtin or printf.
20057func_fallback_echo ()
20058{
20059  eval 'cat <<_LTECHO_EOF
20060\$1
20061_LTECHO_EOF'
20062}
20063
20064# Quote evaled strings.
20065for var in SHELL \
20066ECHO \
20067PATH_SEPARATOR \
20068SED \
20069GREP \
20070EGREP \
20071FGREP \
20072LD \
20073NM \
20074LN_S \
20075lt_SP2NL \
20076lt_NL2SP \
20077reload_flag \
20078OBJDUMP \
20079deplibs_check_method \
20080file_magic_cmd \
20081file_magic_glob \
20082want_nocaseglob \
20083DLLTOOL \
20084sharedlib_from_linklib_cmd \
20085AR \
20086AR_FLAGS \
20087archiver_list_spec \
20088STRIP \
20089RANLIB \
20090CC \
20091CFLAGS \
20092compiler \
20093lt_cv_sys_global_symbol_pipe \
20094lt_cv_sys_global_symbol_to_cdecl \
20095lt_cv_sys_global_symbol_to_c_name_address \
20096lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20097nm_file_list_spec \
20098lt_prog_compiler_no_builtin_flag \
20099lt_prog_compiler_pic \
20100lt_prog_compiler_wl \
20101lt_prog_compiler_static \
20102lt_cv_prog_compiler_c_o \
20103need_locks \
20104MANIFEST_TOOL \
20105DSYMUTIL \
20106NMEDIT \
20107LIPO \
20108OTOOL \
20109OTOOL64 \
20110shrext_cmds \
20111export_dynamic_flag_spec \
20112whole_archive_flag_spec \
20113compiler_needs_object \
20114with_gnu_ld \
20115allow_undefined_flag \
20116no_undefined_flag \
20117hardcode_libdir_flag_spec \
20118hardcode_libdir_separator \
20119exclude_expsyms \
20120include_expsyms \
20121file_list_spec \
20122variables_saved_for_relink \
20123libname_spec \
20124library_names_spec \
20125soname_spec \
20126install_override_mode \
20127finish_eval \
20128old_striplib \
20129striplib \
20130compiler_lib_search_dirs \
20131predep_objects \
20132postdep_objects \
20133predeps \
20134postdeps \
20135compiler_lib_search_path \
20136LD_CXX \
20137reload_flag_CXX \
20138compiler_CXX \
20139lt_prog_compiler_no_builtin_flag_CXX \
20140lt_prog_compiler_pic_CXX \
20141lt_prog_compiler_wl_CXX \
20142lt_prog_compiler_static_CXX \
20143lt_cv_prog_compiler_c_o_CXX \
20144export_dynamic_flag_spec_CXX \
20145whole_archive_flag_spec_CXX \
20146compiler_needs_object_CXX \
20147with_gnu_ld_CXX \
20148allow_undefined_flag_CXX \
20149no_undefined_flag_CXX \
20150hardcode_libdir_flag_spec_CXX \
20151hardcode_libdir_separator_CXX \
20152exclude_expsyms_CXX \
20153include_expsyms_CXX \
20154file_list_spec_CXX \
20155compiler_lib_search_dirs_CXX \
20156predep_objects_CXX \
20157postdep_objects_CXX \
20158predeps_CXX \
20159postdeps_CXX \
20160compiler_lib_search_path_CXX; do
20161    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20162    *[\\\\\\\`\\"\\\$]*)
20163      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20164      ;;
20165    *)
20166      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20167      ;;
20168    esac
20169done
20170
20171# Double-quote double-evaled strings.
20172for var in reload_cmds \
20173old_postinstall_cmds \
20174old_postuninstall_cmds \
20175old_archive_cmds \
20176extract_expsyms_cmds \
20177old_archive_from_new_cmds \
20178old_archive_from_expsyms_cmds \
20179archive_cmds \
20180archive_expsym_cmds \
20181module_cmds \
20182module_expsym_cmds \
20183export_symbols_cmds \
20184prelink_cmds \
20185postlink_cmds \
20186postinstall_cmds \
20187postuninstall_cmds \
20188finish_cmds \
20189sys_lib_search_path_spec \
20190sys_lib_dlsearch_path_spec \
20191reload_cmds_CXX \
20192old_archive_cmds_CXX \
20193old_archive_from_new_cmds_CXX \
20194old_archive_from_expsyms_cmds_CXX \
20195archive_cmds_CXX \
20196archive_expsym_cmds_CXX \
20197module_cmds_CXX \
20198module_expsym_cmds_CXX \
20199export_symbols_cmds_CXX \
20200prelink_cmds_CXX \
20201postlink_cmds_CXX; do
20202    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20203    *[\\\\\\\`\\"\\\$]*)
20204      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20205      ;;
20206    *)
20207      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20208      ;;
20209    esac
20210done
20211
20212ac_aux_dir='$ac_aux_dir'
20213xsi_shell='$xsi_shell'
20214lt_shell_append='$lt_shell_append'
20215
20216# See if we are running on zsh, and set the options which allow our
20217# commands through without removal of \ escapes INIT.
20218if test -n "\${ZSH_VERSION+set}" ; then
20219   setopt NO_GLOB_SUBST
20220fi
20221
20222
20223    PACKAGE='$PACKAGE'
20224    VERSION='$VERSION'
20225    TIMESTAMP='$TIMESTAMP'
20226    RM='$RM'
20227    ofile='$ofile'
20228
20229
20230
20231
20232
20233
20234
20235_ACEOF
20236
20237cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20238
20239# Handling of arguments.
20240for ac_config_target in $ac_config_targets
20241do
20242  case $ac_config_target in
20243    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20244    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20245    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20246    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
20247    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20248    "libcryptui/cryptui.pc") CONFIG_FILES="$CONFIG_FILES libcryptui/cryptui.pc" ;;
20249    "libcryptui/Makefile") CONFIG_FILES="$CONFIG_FILES libcryptui/Makefile" ;;
20250    "libcryptui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES libcryptui/tests/Makefile" ;;
20251    "libegg/Makefile") CONFIG_FILES="$CONFIG_FILES libegg/Makefile" ;;
20252    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
20253    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
20254    "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
20255    "pixmaps/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/22x22/Makefile" ;;
20256    "pixmaps/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/48x48/Makefile" ;;
20257    "pixmaps/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/scalable/Makefile" ;;
20258    "daemon/Makefile") CONFIG_FILES="$CONFIG_FILES daemon/Makefile" ;;
20259    "reference/Makefile") CONFIG_FILES="$CONFIG_FILES reference/Makefile" ;;
20260    "reference/libcryptui/Makefile") CONFIG_FILES="$CONFIG_FILES reference/libcryptui/Makefile" ;;
20261    "reference/libcryptui/version.xml") CONFIG_FILES="$CONFIG_FILES reference/libcryptui/version.xml" ;;
20262    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
20263
20264  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20265  esac
20266done
20267
20268
20269# If the user did not use the arguments to specify the items to instantiate,
20270# then the envvar interface is used.  Set only those that are not.
20271# We use the long form for the default assignment because of an extremely
20272# bizarre bug on SunOS 4.1.3.
20273if $ac_need_defaults; then
20274  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20275  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20276  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20277fi
20278
20279# Have a temporary directory for convenience.  Make it in the build tree
20280# simply because there is no reason against having it here, and in addition,
20281# creating and moving files from /tmp can sometimes cause problems.
20282# Hook for its removal unless debugging.
20283# Note that there is a small window in which the directory will not be cleaned:
20284# after its creation but before its name has been assigned to `$tmp'.
20285$debug ||
20286{
20287  tmp= ac_tmp=
20288  trap 'exit_status=$?
20289  : "${ac_tmp:=$tmp}"
20290  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20291' 0
20292  trap 'as_fn_exit 1' 1 2 13 15
20293}
20294# Create a (secure) tmp directory for tmp files.
20295
20296{
20297  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20298  test -d "$tmp"
20299}  ||
20300{
20301  tmp=./conf$$-$RANDOM
20302  (umask 077 && mkdir "$tmp")
20303} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20304ac_tmp=$tmp
20305
20306# Set up the scripts for CONFIG_FILES section.
20307# No need to generate them if there are no CONFIG_FILES.
20308# This happens for instance with `./config.status config.h'.
20309if test -n "$CONFIG_FILES"; then
20310
20311
20312ac_cr=`echo X | tr X '\015'`
20313# On cygwin, bash can eat \r inside `` if the user requested igncr.
20314# But we know of no other shell where ac_cr would be empty at this
20315# point, so we can use a bashism as a fallback.
20316if test "x$ac_cr" = x; then
20317  eval ac_cr=\$\'\\r\'
20318fi
20319ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20320if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20321  ac_cs_awk_cr='\\r'
20322else
20323  ac_cs_awk_cr=$ac_cr
20324fi
20325
20326echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20327_ACEOF
20328
20329
20330{
20331  echo "cat >conf$$subs.awk <<_ACEOF" &&
20332  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20333  echo "_ACEOF"
20334} >conf$$subs.sh ||
20335  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20336ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20337ac_delim='%!_!# '
20338for ac_last_try in false false false false false :; do
20339  . ./conf$$subs.sh ||
20340    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20341
20342  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20343  if test $ac_delim_n = $ac_delim_num; then
20344    break
20345  elif $ac_last_try; then
20346    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20347  else
20348    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20349  fi
20350done
20351rm -f conf$$subs.sh
20352
20353cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20354cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20355_ACEOF
20356sed -n '
20357h
20358s/^/S["/; s/!.*/"]=/
20359p
20360g
20361s/^[^!]*!//
20362:repl
20363t repl
20364s/'"$ac_delim"'$//
20365t delim
20366:nl
20367h
20368s/\(.\{148\}\)..*/\1/
20369t more1
20370s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20371p
20372n
20373b repl
20374:more1
20375s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20376p
20377g
20378s/.\{148\}//
20379t nl
20380:delim
20381h
20382s/\(.\{148\}\)..*/\1/
20383t more2
20384s/["\\]/\\&/g; s/^/"/; s/$/"/
20385p
20386b
20387:more2
20388s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20389p
20390g
20391s/.\{148\}//
20392t delim
20393' <conf$$subs.awk | sed '
20394/^[^""]/{
20395  N
20396  s/\n//
20397}
20398' >>$CONFIG_STATUS || ac_write_fail=1
20399rm -f conf$$subs.awk
20400cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20401_ACAWK
20402cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20403  for (key in S) S_is_set[key] = 1
20404  FS = ""
20405
20406}
20407{
20408  line = $ 0
20409  nfields = split(line, field, "@")
20410  substed = 0
20411  len = length(field[1])
20412  for (i = 2; i < nfields; i++) {
20413    key = field[i]
20414    keylen = length(key)
20415    if (S_is_set[key]) {
20416      value = S[key]
20417      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20418      len += length(value) + length(field[++i])
20419      substed = 1
20420    } else
20421      len += 1 + keylen
20422  }
20423
20424  print line
20425}
20426
20427_ACAWK
20428_ACEOF
20429cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20430if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20431  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20432else
20433  cat
20434fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20435  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20436_ACEOF
20437
20438# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20439# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20440# trailing colons and then remove the whole line if VPATH becomes empty
20441# (actually we leave an empty line to preserve line numbers).
20442if test "x$srcdir" = x.; then
20443  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
20444h
20445s///
20446s/^/:/
20447s/[	 ]*$/:/
20448s/:\$(srcdir):/:/g
20449s/:\${srcdir}:/:/g
20450s/:@srcdir@:/:/g
20451s/^:*//
20452s/:*$//
20453x
20454s/\(=[	 ]*\).*/\1/
20455G
20456s/\n//
20457s/^[^=]*=[	 ]*$//
20458}'
20459fi
20460
20461cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20462fi # test -n "$CONFIG_FILES"
20463
20464# Set up the scripts for CONFIG_HEADERS section.
20465# No need to generate them if there are no CONFIG_HEADERS.
20466# This happens for instance with `./config.status Makefile'.
20467if test -n "$CONFIG_HEADERS"; then
20468cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20469BEGIN {
20470_ACEOF
20471
20472# Transform confdefs.h into an awk script `defines.awk', embedded as
20473# here-document in config.status, that substitutes the proper values into
20474# config.h.in to produce config.h.
20475
20476# Create a delimiter string that does not exist in confdefs.h, to ease
20477# handling of long lines.
20478ac_delim='%!_!# '
20479for ac_last_try in false false :; do
20480  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20481  if test -z "$ac_tt"; then
20482    break
20483  elif $ac_last_try; then
20484    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20485  else
20486    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20487  fi
20488done
20489
20490# For the awk script, D is an array of macro values keyed by name,
20491# likewise P contains macro parameters if any.  Preserve backslash
20492# newline sequences.
20493
20494ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20495sed -n '
20496s/.\{148\}/&'"$ac_delim"'/g
20497t rset
20498:rset
20499s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
20500t def
20501d
20502:def
20503s/\\$//
20504t bsnl
20505s/["\\]/\\&/g
20506s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
20507D["\1"]=" \3"/p
20508s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
20509d
20510:bsnl
20511s/["\\]/\\&/g
20512s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
20513D["\1"]=" \3\\\\\\n"\\/p
20514t cont
20515s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20516t cont
20517d
20518:cont
20519n
20520s/.\{148\}/&'"$ac_delim"'/g
20521t clear
20522:clear
20523s/\\$//
20524t bsnlc
20525s/["\\]/\\&/g; s/^/"/; s/$/"/p
20526d
20527:bsnlc
20528s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20529b cont
20530' <confdefs.h | sed '
20531s/'"$ac_delim"'/"\\\
20532"/g' >>$CONFIG_STATUS || ac_write_fail=1
20533
20534cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20535  for (key in D) D_is_set[key] = 1
20536  FS = ""
20537}
20538/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20539  line = \$ 0
20540  split(line, arg, " ")
20541  if (arg[1] == "#") {
20542    defundef = arg[2]
20543    mac1 = arg[3]
20544  } else {
20545    defundef = substr(arg[1], 2)
20546    mac1 = arg[2]
20547  }
20548  split(mac1, mac2, "(") #)
20549  macro = mac2[1]
20550  prefix = substr(line, 1, index(line, defundef) - 1)
20551  if (D_is_set[macro]) {
20552    # Preserve the white space surrounding the "#".
20553    print prefix "define", macro P[macro] D[macro]
20554    next
20555  } else {
20556    # Replace #undef with comments.  This is necessary, for example,
20557    # in the case of _POSIX_SOURCE, which is predefined and required
20558    # on some systems where configure will not decide to define it.
20559    if (defundef == "undef") {
20560      print "/*", prefix defundef, macro, "*/"
20561      next
20562    }
20563  }
20564}
20565{ print }
20566_ACAWK
20567_ACEOF
20568cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20569  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20570fi # test -n "$CONFIG_HEADERS"
20571
20572
20573eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
20574shift
20575for ac_tag
20576do
20577  case $ac_tag in
20578  :[FHLC]) ac_mode=$ac_tag; continue;;
20579  esac
20580  case $ac_mode$ac_tag in
20581  :[FHL]*:*);;
20582  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20583  :[FH]-) ac_tag=-:-;;
20584  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20585  esac
20586  ac_save_IFS=$IFS
20587  IFS=:
20588  set x $ac_tag
20589  IFS=$ac_save_IFS
20590  shift
20591  ac_file=$1
20592  shift
20593
20594  case $ac_mode in
20595  :L) ac_source=$1;;
20596  :[FH])
20597    ac_file_inputs=
20598    for ac_f
20599    do
20600      case $ac_f in
20601      -) ac_f="$ac_tmp/stdin";;
20602      *) # Look for the file first in the build tree, then in the source tree
20603	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
20604	 # because $ac_f cannot contain `:'.
20605	 test -f "$ac_f" ||
20606	   case $ac_f in
20607	   [\\/$]*) false;;
20608	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20609	   esac ||
20610	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20611      esac
20612      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20613      as_fn_append ac_file_inputs " '$ac_f'"
20614    done
20615
20616    # Let's still pretend it is `configure' which instantiates (i.e., don't
20617    # use $as_me), people would be surprised to read:
20618    #    /* config.h.  Generated by config.status.  */
20619    configure_input='Generated from '`
20620	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20621	`' by configure.'
20622    if test x"$ac_file" != x-; then
20623      configure_input="$ac_file.  $configure_input"
20624      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20625$as_echo "$as_me: creating $ac_file" >&6;}
20626    fi
20627    # Neutralize special characters interpreted by sed in replacement strings.
20628    case $configure_input in #(
20629    *\&* | *\|* | *\\* )
20630       ac_sed_conf_input=`$as_echo "$configure_input" |
20631       sed 's/[\\\\&|]/\\\\&/g'`;; #(
20632    *) ac_sed_conf_input=$configure_input;;
20633    esac
20634
20635    case $ac_tag in
20636    *:-:* | *:-) cat >"$ac_tmp/stdin" \
20637      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20638    esac
20639    ;;
20640  esac
20641
20642  ac_dir=`$as_dirname -- "$ac_file" ||
20643$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20644	 X"$ac_file" : 'X\(//\)[^/]' \| \
20645	 X"$ac_file" : 'X\(//\)$' \| \
20646	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20647$as_echo X"$ac_file" |
20648    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20649	    s//\1/
20650	    q
20651	  }
20652	  /^X\(\/\/\)[^/].*/{
20653	    s//\1/
20654	    q
20655	  }
20656	  /^X\(\/\/\)$/{
20657	    s//\1/
20658	    q
20659	  }
20660	  /^X\(\/\).*/{
20661	    s//\1/
20662	    q
20663	  }
20664	  s/.*/./; q'`
20665  as_dir="$ac_dir"; as_fn_mkdir_p
20666  ac_builddir=.
20667
20668case "$ac_dir" in
20669.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20670*)
20671  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20672  # A ".." for each directory in $ac_dir_suffix.
20673  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20674  case $ac_top_builddir_sub in
20675  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20676  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20677  esac ;;
20678esac
20679ac_abs_top_builddir=$ac_pwd
20680ac_abs_builddir=$ac_pwd$ac_dir_suffix
20681# for backward compatibility:
20682ac_top_builddir=$ac_top_build_prefix
20683
20684case $srcdir in
20685  .)  # We are building in place.
20686    ac_srcdir=.
20687    ac_top_srcdir=$ac_top_builddir_sub
20688    ac_abs_top_srcdir=$ac_pwd ;;
20689  [\\/]* | ?:[\\/]* )  # Absolute name.
20690    ac_srcdir=$srcdir$ac_dir_suffix;
20691    ac_top_srcdir=$srcdir
20692    ac_abs_top_srcdir=$srcdir ;;
20693  *) # Relative name.
20694    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20695    ac_top_srcdir=$ac_top_build_prefix$srcdir
20696    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20697esac
20698ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20699
20700
20701  case $ac_mode in
20702  :F)
20703  #
20704  # CONFIG_FILE
20705  #
20706
20707  case $INSTALL in
20708  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20709  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20710  esac
20711  ac_MKDIR_P=$MKDIR_P
20712  case $MKDIR_P in
20713  [\\/$]* | ?:[\\/]* ) ;;
20714  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20715  esac
20716_ACEOF
20717
20718cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20719# If the template does not know about datarootdir, expand it.
20720# FIXME: This hack should be removed a few years after 2.60.
20721ac_datarootdir_hack=; ac_datarootdir_seen=
20722ac_sed_dataroot='
20723/datarootdir/ {
20724  p
20725  q
20726}
20727/@datadir@/p
20728/@docdir@/p
20729/@infodir@/p
20730/@localedir@/p
20731/@mandir@/p'
20732case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20733*datarootdir*) ac_datarootdir_seen=yes;;
20734*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20735  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20736$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20737_ACEOF
20738cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20739  ac_datarootdir_hack='
20740  s&@datadir@&$datadir&g
20741  s&@docdir@&$docdir&g
20742  s&@infodir@&$infodir&g
20743  s&@localedir@&$localedir&g
20744  s&@mandir@&$mandir&g
20745  s&\\\${datarootdir}&$datarootdir&g' ;;
20746esac
20747_ACEOF
20748
20749# Neutralize VPATH when `$srcdir' = `.'.
20750# Shell code in configure.ac might set extrasub.
20751# FIXME: do we really want to maintain this feature?
20752cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20753ac_sed_extra="$ac_vpsub
20754$extrasub
20755_ACEOF
20756cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20757:t
20758/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20759s|@configure_input@|$ac_sed_conf_input|;t t
20760s&@top_builddir@&$ac_top_builddir_sub&;t t
20761s&@top_build_prefix@&$ac_top_build_prefix&;t t
20762s&@srcdir@&$ac_srcdir&;t t
20763s&@abs_srcdir@&$ac_abs_srcdir&;t t
20764s&@top_srcdir@&$ac_top_srcdir&;t t
20765s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20766s&@builddir@&$ac_builddir&;t t
20767s&@abs_builddir@&$ac_abs_builddir&;t t
20768s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20769s&@INSTALL@&$ac_INSTALL&;t t
20770s&@MKDIR_P@&$ac_MKDIR_P&;t t
20771$ac_datarootdir_hack
20772"
20773eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20774  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20775
20776test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20777  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20778  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
20779      "$ac_tmp/out"`; test -z "$ac_out"; } &&
20780  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20781which seems to be undefined.  Please make sure it is defined" >&5
20782$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20783which seems to be undefined.  Please make sure it is defined" >&2;}
20784
20785  rm -f "$ac_tmp/stdin"
20786  case $ac_file in
20787  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20788  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20789  esac \
20790  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20791 ;;
20792  :H)
20793  #
20794  # CONFIG_HEADER
20795  #
20796  if test x"$ac_file" != x-; then
20797    {
20798      $as_echo "/* $configure_input  */" \
20799      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20800    } >"$ac_tmp/config.h" \
20801      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20802    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20803      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20804$as_echo "$as_me: $ac_file is unchanged" >&6;}
20805    else
20806      rm -f "$ac_file"
20807      mv "$ac_tmp/config.h" "$ac_file" \
20808	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
20809    fi
20810  else
20811    $as_echo "/* $configure_input  */" \
20812      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20813      || as_fn_error $? "could not create -" "$LINENO" 5
20814  fi
20815# Compute "$ac_file"'s index in $config_headers.
20816_am_arg="$ac_file"
20817_am_stamp_count=1
20818for _am_header in $config_headers :; do
20819  case $_am_header in
20820    $_am_arg | $_am_arg:* )
20821      break ;;
20822    * )
20823      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20824  esac
20825done
20826echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20827$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20828	 X"$_am_arg" : 'X\(//\)[^/]' \| \
20829	 X"$_am_arg" : 'X\(//\)$' \| \
20830	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20831$as_echo X"$_am_arg" |
20832    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20833	    s//\1/
20834	    q
20835	  }
20836	  /^X\(\/\/\)[^/].*/{
20837	    s//\1/
20838	    q
20839	  }
20840	  /^X\(\/\/\)$/{
20841	    s//\1/
20842	    q
20843	  }
20844	  /^X\(\/\).*/{
20845	    s//\1/
20846	    q
20847	  }
20848	  s/.*/./; q'`/stamp-h$_am_stamp_count
20849 ;;
20850
20851  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20852$as_echo "$as_me: executing $ac_file commands" >&6;}
20853 ;;
20854  esac
20855
20856
20857  case $ac_file$ac_mode in
20858    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20859  # Older Autoconf quotes --file arguments for eval, but not when files
20860  # are listed without --file.  Let's play safe and only enable the eval
20861  # if we detect the quoting.
20862  case $CONFIG_FILES in
20863  *\'*) eval set x "$CONFIG_FILES" ;;
20864  *)   set x $CONFIG_FILES ;;
20865  esac
20866  shift
20867  for mf
20868  do
20869    # Strip MF so we end up with the name of the file.
20870    mf=`echo "$mf" | sed -e 's/:.*$//'`
20871    # Check whether this is an Automake generated Makefile or not.
20872    # We used to match only the files named 'Makefile.in', but
20873    # some people rename them; so instead we look at the file content.
20874    # Grep'ing the first line is not enough: some people post-process
20875    # each Makefile.in and add a new line on top of each file to say so.
20876    # Grep'ing the whole file is not good either: AIX grep has a line
20877    # limit of 2048, but all sed's we know have understand at least 4000.
20878    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20879      dirpart=`$as_dirname -- "$mf" ||
20880$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20881	 X"$mf" : 'X\(//\)[^/]' \| \
20882	 X"$mf" : 'X\(//\)$' \| \
20883	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20884$as_echo X"$mf" |
20885    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20886	    s//\1/
20887	    q
20888	  }
20889	  /^X\(\/\/\)[^/].*/{
20890	    s//\1/
20891	    q
20892	  }
20893	  /^X\(\/\/\)$/{
20894	    s//\1/
20895	    q
20896	  }
20897	  /^X\(\/\).*/{
20898	    s//\1/
20899	    q
20900	  }
20901	  s/.*/./; q'`
20902    else
20903      continue
20904    fi
20905    # Extract the definition of DEPDIR, am__include, and am__quote
20906    # from the Makefile without running 'make'.
20907    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20908    test -z "$DEPDIR" && continue
20909    am__include=`sed -n 's/^am__include = //p' < "$mf"`
20910    test -z "$am__include" && continue
20911    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20912    # Find all dependency output files, they are included files with
20913    # $(DEPDIR) in their names.  We invoke sed twice because it is the
20914    # simplest approach to changing $(DEPDIR) to its actual value in the
20915    # expansion.
20916    for file in `sed -n "
20917      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20918	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20919      # Make sure the directory exists.
20920      test -f "$dirpart/$file" && continue
20921      fdir=`$as_dirname -- "$file" ||
20922$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20923	 X"$file" : 'X\(//\)[^/]' \| \
20924	 X"$file" : 'X\(//\)$' \| \
20925	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20926$as_echo X"$file" |
20927    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20928	    s//\1/
20929	    q
20930	  }
20931	  /^X\(\/\/\)[^/].*/{
20932	    s//\1/
20933	    q
20934	  }
20935	  /^X\(\/\/\)$/{
20936	    s//\1/
20937	    q
20938	  }
20939	  /^X\(\/\).*/{
20940	    s//\1/
20941	    q
20942	  }
20943	  s/.*/./; q'`
20944      as_dir=$dirpart/$fdir; as_fn_mkdir_p
20945      # echo "creating $dirpart/$file"
20946      echo '# dummy' > "$dirpart/$file"
20947    done
20948  done
20949}
20950 ;;
20951    "libtool":C)
20952
20953    # See if we are running on zsh, and set the options which allow our
20954    # commands through without removal of \ escapes.
20955    if test -n "${ZSH_VERSION+set}" ; then
20956      setopt NO_GLOB_SUBST
20957    fi
20958
20959    cfgfile="${ofile}T"
20960    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20961    $RM "$cfgfile"
20962
20963    cat <<_LT_EOF >> "$cfgfile"
20964#! $SHELL
20965
20966# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20967# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20968# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20969# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20970#
20971#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20972#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
20973#                 Foundation, Inc.
20974#   Written by Gordon Matzigkeit, 1996
20975#
20976#   This file is part of GNU Libtool.
20977#
20978# GNU Libtool is free software; you can redistribute it and/or
20979# modify it under the terms of the GNU General Public License as
20980# published by the Free Software Foundation; either version 2 of
20981# the License, or (at your option) any later version.
20982#
20983# As a special exception to the GNU General Public License,
20984# if you distribute this file as part of a program or library that
20985# is built using GNU Libtool, you may include this file under the
20986# same distribution terms that you use for the rest of that program.
20987#
20988# GNU Libtool is distributed in the hope that it will be useful,
20989# but WITHOUT ANY WARRANTY; without even the implied warranty of
20990# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20991# GNU General Public License for more details.
20992#
20993# You should have received a copy of the GNU General Public License
20994# along with GNU Libtool; see the file COPYING.  If not, a copy
20995# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20996# obtained by writing to the Free Software Foundation, Inc.,
20997# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20998
20999
21000# The names of the tagged configurations supported by this script.
21001available_tags="CXX "
21002
21003# ### BEGIN LIBTOOL CONFIG
21004
21005# Which release of libtool.m4 was used?
21006macro_version=$macro_version
21007macro_revision=$macro_revision
21008
21009# Whether or not to build shared libraries.
21010build_libtool_libs=$enable_shared
21011
21012# Whether or not to build static libraries.
21013build_old_libs=$enable_static
21014
21015# What type of objects to build.
21016pic_mode=$pic_mode
21017
21018# Whether or not to optimize for fast installation.
21019fast_install=$enable_fast_install
21020
21021# Shell to use when invoking shell scripts.
21022SHELL=$lt_SHELL
21023
21024# An echo program that protects backslashes.
21025ECHO=$lt_ECHO
21026
21027# The PATH separator for the build system.
21028PATH_SEPARATOR=$lt_PATH_SEPARATOR
21029
21030# The host system.
21031host_alias=$host_alias
21032host=$host
21033host_os=$host_os
21034
21035# The build system.
21036build_alias=$build_alias
21037build=$build
21038build_os=$build_os
21039
21040# A sed program that does not truncate output.
21041SED=$lt_SED
21042
21043# Sed that helps us avoid accidentally triggering echo(1) options like -n.
21044Xsed="\$SED -e 1s/^X//"
21045
21046# A grep program that handles long lines.
21047GREP=$lt_GREP
21048
21049# An ERE matcher.
21050EGREP=$lt_EGREP
21051
21052# A literal string matcher.
21053FGREP=$lt_FGREP
21054
21055# A BSD- or MS-compatible name lister.
21056NM=$lt_NM
21057
21058# Whether we need soft or hard links.
21059LN_S=$lt_LN_S
21060
21061# What is the maximum length of a command?
21062max_cmd_len=$max_cmd_len
21063
21064# Object file suffix (normally "o").
21065objext=$ac_objext
21066
21067# Executable file suffix (normally "").
21068exeext=$exeext
21069
21070# whether the shell understands "unset".
21071lt_unset=$lt_unset
21072
21073# turn spaces into newlines.
21074SP2NL=$lt_lt_SP2NL
21075
21076# turn newlines into spaces.
21077NL2SP=$lt_lt_NL2SP
21078
21079# convert \$build file names to \$host format.
21080to_host_file_cmd=$lt_cv_to_host_file_cmd
21081
21082# convert \$build files to toolchain format.
21083to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21084
21085# An object symbol dumper.
21086OBJDUMP=$lt_OBJDUMP
21087
21088# Method to check whether dependent libraries are shared objects.
21089deplibs_check_method=$lt_deplibs_check_method
21090
21091# Command to use when deplibs_check_method = "file_magic".
21092file_magic_cmd=$lt_file_magic_cmd
21093
21094# How to find potential files when deplibs_check_method = "file_magic".
21095file_magic_glob=$lt_file_magic_glob
21096
21097# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21098want_nocaseglob=$lt_want_nocaseglob
21099
21100# DLL creation program.
21101DLLTOOL=$lt_DLLTOOL
21102
21103# Command to associate shared and link libraries.
21104sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21105
21106# The archiver.
21107AR=$lt_AR
21108
21109# Flags to create an archive.
21110AR_FLAGS=$lt_AR_FLAGS
21111
21112# How to feed a file listing to the archiver.
21113archiver_list_spec=$lt_archiver_list_spec
21114
21115# A symbol stripping program.
21116STRIP=$lt_STRIP
21117
21118# Commands used to install an old-style archive.
21119RANLIB=$lt_RANLIB
21120old_postinstall_cmds=$lt_old_postinstall_cmds
21121old_postuninstall_cmds=$lt_old_postuninstall_cmds
21122
21123# Whether to use a lock for old archive extraction.
21124lock_old_archive_extraction=$lock_old_archive_extraction
21125
21126# A C compiler.
21127LTCC=$lt_CC
21128
21129# LTCC compiler flags.
21130LTCFLAGS=$lt_CFLAGS
21131
21132# Take the output of nm and produce a listing of raw symbols and C names.
21133global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21134
21135# Transform the output of nm in a proper C declaration.
21136global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21137
21138# Transform the output of nm in a C name address pair.
21139global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21140
21141# Transform the output of nm in a C name address pair when lib prefix is needed.
21142global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21143
21144# Specify filename containing input files for \$NM.
21145nm_file_list_spec=$lt_nm_file_list_spec
21146
21147# The root where to search for dependent libraries,and in which our libraries should be installed.
21148lt_sysroot=$lt_sysroot
21149
21150# The name of the directory that contains temporary libtool files.
21151objdir=$objdir
21152
21153# Used to examine libraries when file_magic_cmd begins with "file".
21154MAGIC_CMD=$MAGIC_CMD
21155
21156# Must we lock files when doing compilation?
21157need_locks=$lt_need_locks
21158
21159# Manifest tool.
21160MANIFEST_TOOL=$lt_MANIFEST_TOOL
21161
21162# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21163DSYMUTIL=$lt_DSYMUTIL
21164
21165# Tool to change global to local symbols on Mac OS X.
21166NMEDIT=$lt_NMEDIT
21167
21168# Tool to manipulate fat objects and archives on Mac OS X.
21169LIPO=$lt_LIPO
21170
21171# ldd/readelf like tool for Mach-O binaries on Mac OS X.
21172OTOOL=$lt_OTOOL
21173
21174# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21175OTOOL64=$lt_OTOOL64
21176
21177# Old archive suffix (normally "a").
21178libext=$libext
21179
21180# Shared library suffix (normally ".so").
21181shrext_cmds=$lt_shrext_cmds
21182
21183# The commands to extract the exported symbol list from a shared archive.
21184extract_expsyms_cmds=$lt_extract_expsyms_cmds
21185
21186# Variables whose values should be saved in libtool wrapper scripts and
21187# restored at link time.
21188variables_saved_for_relink=$lt_variables_saved_for_relink
21189
21190# Do we need the "lib" prefix for modules?
21191need_lib_prefix=$need_lib_prefix
21192
21193# Do we need a version for libraries?
21194need_version=$need_version
21195
21196# Library versioning type.
21197version_type=$version_type
21198
21199# Shared library runtime path variable.
21200runpath_var=$runpath_var
21201
21202# Shared library path variable.
21203shlibpath_var=$shlibpath_var
21204
21205# Is shlibpath searched before the hard-coded library search path?
21206shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21207
21208# Format of library name prefix.
21209libname_spec=$lt_libname_spec
21210
21211# List of archive names.  First name is the real one, the rest are links.
21212# The last name is the one that the linker finds with -lNAME
21213library_names_spec=$lt_library_names_spec
21214
21215# The coded name of the library, if different from the real name.
21216soname_spec=$lt_soname_spec
21217
21218# Permission mode override for installation of shared libraries.
21219install_override_mode=$lt_install_override_mode
21220
21221# Command to use after installation of a shared archive.
21222postinstall_cmds=$lt_postinstall_cmds
21223
21224# Command to use after uninstallation of a shared archive.
21225postuninstall_cmds=$lt_postuninstall_cmds
21226
21227# Commands used to finish a libtool library installation in a directory.
21228finish_cmds=$lt_finish_cmds
21229
21230# As "finish_cmds", except a single script fragment to be evaled but
21231# not shown.
21232finish_eval=$lt_finish_eval
21233
21234# Whether we should hardcode library paths into libraries.
21235hardcode_into_libs=$hardcode_into_libs
21236
21237# Compile-time system search path for libraries.
21238sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21239
21240# Run-time system search path for libraries.
21241sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21242
21243# Whether dlopen is supported.
21244dlopen_support=$enable_dlopen
21245
21246# Whether dlopen of programs is supported.
21247dlopen_self=$enable_dlopen_self
21248
21249# Whether dlopen of statically linked programs is supported.
21250dlopen_self_static=$enable_dlopen_self_static
21251
21252# Commands to strip libraries.
21253old_striplib=$lt_old_striplib
21254striplib=$lt_striplib
21255
21256
21257# The linker used to build libraries.
21258LD=$lt_LD
21259
21260# How to create reloadable object files.
21261reload_flag=$lt_reload_flag
21262reload_cmds=$lt_reload_cmds
21263
21264# Commands used to build an old-style archive.
21265old_archive_cmds=$lt_old_archive_cmds
21266
21267# A language specific compiler.
21268CC=$lt_compiler
21269
21270# Is the compiler the GNU compiler?
21271with_gcc=$GCC
21272
21273# Compiler flag to turn off builtin functions.
21274no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21275
21276# Additional compiler flags for building library objects.
21277pic_flag=$lt_lt_prog_compiler_pic
21278
21279# How to pass a linker flag through the compiler.
21280wl=$lt_lt_prog_compiler_wl
21281
21282# Compiler flag to prevent dynamic linking.
21283link_static_flag=$lt_lt_prog_compiler_static
21284
21285# Does compiler simultaneously support -c and -o options?
21286compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21287
21288# Whether or not to add -lc for building shared libraries.
21289build_libtool_need_lc=$archive_cmds_need_lc
21290
21291# Whether or not to disallow shared libs when runtime libs are static.
21292allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21293
21294# Compiler flag to allow reflexive dlopens.
21295export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21296
21297# Compiler flag to generate shared objects directly from archives.
21298whole_archive_flag_spec=$lt_whole_archive_flag_spec
21299
21300# Whether the compiler copes with passing no objects directly.
21301compiler_needs_object=$lt_compiler_needs_object
21302
21303# Create an old-style archive from a shared archive.
21304old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21305
21306# Create a temporary old-style archive to link instead of a shared archive.
21307old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21308
21309# Commands used to build a shared archive.
21310archive_cmds=$lt_archive_cmds
21311archive_expsym_cmds=$lt_archive_expsym_cmds
21312
21313# Commands used to build a loadable module if different from building
21314# a shared archive.
21315module_cmds=$lt_module_cmds
21316module_expsym_cmds=$lt_module_expsym_cmds
21317
21318# Whether we are building with GNU ld or not.
21319with_gnu_ld=$lt_with_gnu_ld
21320
21321# Flag that allows shared libraries with undefined symbols to be built.
21322allow_undefined_flag=$lt_allow_undefined_flag
21323
21324# Flag that enforces no undefined symbols.
21325no_undefined_flag=$lt_no_undefined_flag
21326
21327# Flag to hardcode \$libdir into a binary during linking.
21328# This must work even if \$libdir does not exist
21329hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21330
21331# Whether we need a single "-rpath" flag with a separated argument.
21332hardcode_libdir_separator=$lt_hardcode_libdir_separator
21333
21334# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21335# DIR into the resulting binary.
21336hardcode_direct=$hardcode_direct
21337
21338# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21339# DIR into the resulting binary and the resulting library dependency is
21340# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21341# library is relocated.
21342hardcode_direct_absolute=$hardcode_direct_absolute
21343
21344# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21345# into the resulting binary.
21346hardcode_minus_L=$hardcode_minus_L
21347
21348# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21349# into the resulting binary.
21350hardcode_shlibpath_var=$hardcode_shlibpath_var
21351
21352# Set to "yes" if building a shared library automatically hardcodes DIR
21353# into the library and all subsequent libraries and executables linked
21354# against it.
21355hardcode_automatic=$hardcode_automatic
21356
21357# Set to yes if linker adds runtime paths of dependent libraries
21358# to runtime path list.
21359inherit_rpath=$inherit_rpath
21360
21361# Whether libtool must link a program against all its dependency libraries.
21362link_all_deplibs=$link_all_deplibs
21363
21364# Set to "yes" if exported symbols are required.
21365always_export_symbols=$always_export_symbols
21366
21367# The commands to list exported symbols.
21368export_symbols_cmds=$lt_export_symbols_cmds
21369
21370# Symbols that should not be listed in the preloaded symbols.
21371exclude_expsyms=$lt_exclude_expsyms
21372
21373# Symbols that must always be exported.
21374include_expsyms=$lt_include_expsyms
21375
21376# Commands necessary for linking programs (against libraries) with templates.
21377prelink_cmds=$lt_prelink_cmds
21378
21379# Commands necessary for finishing linking programs.
21380postlink_cmds=$lt_postlink_cmds
21381
21382# Specify filename containing input files.
21383file_list_spec=$lt_file_list_spec
21384
21385# How to hardcode a shared library path into an executable.
21386hardcode_action=$hardcode_action
21387
21388# The directories searched by this compiler when creating a shared library.
21389compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21390
21391# Dependencies to place before and after the objects being linked to
21392# create a shared library.
21393predep_objects=$lt_predep_objects
21394postdep_objects=$lt_postdep_objects
21395predeps=$lt_predeps
21396postdeps=$lt_postdeps
21397
21398# The library search path used internally by the compiler when linking
21399# a shared library.
21400compiler_lib_search_path=$lt_compiler_lib_search_path
21401
21402# ### END LIBTOOL CONFIG
21403
21404_LT_EOF
21405
21406  case $host_os in
21407  aix3*)
21408    cat <<\_LT_EOF >> "$cfgfile"
21409# AIX sometimes has problems with the GCC collect2 program.  For some
21410# reason, if we set the COLLECT_NAMES environment variable, the problems
21411# vanish in a puff of smoke.
21412if test "X${COLLECT_NAMES+set}" != Xset; then
21413  COLLECT_NAMES=
21414  export COLLECT_NAMES
21415fi
21416_LT_EOF
21417    ;;
21418  esac
21419
21420
21421ltmain="$ac_aux_dir/ltmain.sh"
21422
21423
21424  # We use sed instead of cat because bash on DJGPP gets confused if
21425  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21426  # text mode, it properly converts lines to CR/LF.  This bash problem
21427  # is reportedly fixed, but why not run on old versions too?
21428  sed '$q' "$ltmain" >> "$cfgfile" \
21429     || (rm -f "$cfgfile"; exit 1)
21430
21431  if test x"$xsi_shell" = xyes; then
21432  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21433func_dirname ()\
21434{\
21435\    case ${1} in\
21436\      */*) func_dirname_result="${1%/*}${2}" ;;\
21437\      *  ) func_dirname_result="${3}" ;;\
21438\    esac\
21439} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21440  && mv -f "$cfgfile.tmp" "$cfgfile" \
21441    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21442test 0 -eq $? || _lt_function_replace_fail=:
21443
21444
21445  sed -e '/^func_basename ()$/,/^} # func_basename /c\
21446func_basename ()\
21447{\
21448\    func_basename_result="${1##*/}"\
21449} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21450  && mv -f "$cfgfile.tmp" "$cfgfile" \
21451    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21452test 0 -eq $? || _lt_function_replace_fail=:
21453
21454
21455  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21456func_dirname_and_basename ()\
21457{\
21458\    case ${1} in\
21459\      */*) func_dirname_result="${1%/*}${2}" ;;\
21460\      *  ) func_dirname_result="${3}" ;;\
21461\    esac\
21462\    func_basename_result="${1##*/}"\
21463} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21464  && mv -f "$cfgfile.tmp" "$cfgfile" \
21465    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21466test 0 -eq $? || _lt_function_replace_fail=:
21467
21468
21469  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21470func_stripname ()\
21471{\
21472\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21473\    # positional parameters, so assign one to ordinary parameter first.\
21474\    func_stripname_result=${3}\
21475\    func_stripname_result=${func_stripname_result#"${1}"}\
21476\    func_stripname_result=${func_stripname_result%"${2}"}\
21477} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21478  && mv -f "$cfgfile.tmp" "$cfgfile" \
21479    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21480test 0 -eq $? || _lt_function_replace_fail=:
21481
21482
21483  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21484func_split_long_opt ()\
21485{\
21486\    func_split_long_opt_name=${1%%=*}\
21487\    func_split_long_opt_arg=${1#*=}\
21488} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21489  && mv -f "$cfgfile.tmp" "$cfgfile" \
21490    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21491test 0 -eq $? || _lt_function_replace_fail=:
21492
21493
21494  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21495func_split_short_opt ()\
21496{\
21497\    func_split_short_opt_arg=${1#??}\
21498\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21499} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21500  && mv -f "$cfgfile.tmp" "$cfgfile" \
21501    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21502test 0 -eq $? || _lt_function_replace_fail=:
21503
21504
21505  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21506func_lo2o ()\
21507{\
21508\    case ${1} in\
21509\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21510\      *)    func_lo2o_result=${1} ;;\
21511\    esac\
21512} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21513  && mv -f "$cfgfile.tmp" "$cfgfile" \
21514    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21515test 0 -eq $? || _lt_function_replace_fail=:
21516
21517
21518  sed -e '/^func_xform ()$/,/^} # func_xform /c\
21519func_xform ()\
21520{\
21521    func_xform_result=${1%.*}.lo\
21522} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21523  && mv -f "$cfgfile.tmp" "$cfgfile" \
21524    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21525test 0 -eq $? || _lt_function_replace_fail=:
21526
21527
21528  sed -e '/^func_arith ()$/,/^} # func_arith /c\
21529func_arith ()\
21530{\
21531    func_arith_result=$(( $* ))\
21532} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21533  && mv -f "$cfgfile.tmp" "$cfgfile" \
21534    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21535test 0 -eq $? || _lt_function_replace_fail=:
21536
21537
21538  sed -e '/^func_len ()$/,/^} # func_len /c\
21539func_len ()\
21540{\
21541    func_len_result=${#1}\
21542} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21543  && mv -f "$cfgfile.tmp" "$cfgfile" \
21544    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21545test 0 -eq $? || _lt_function_replace_fail=:
21546
21547fi
21548
21549if test x"$lt_shell_append" = xyes; then
21550  sed -e '/^func_append ()$/,/^} # func_append /c\
21551func_append ()\
21552{\
21553    eval "${1}+=\\${2}"\
21554} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21555  && mv -f "$cfgfile.tmp" "$cfgfile" \
21556    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21557test 0 -eq $? || _lt_function_replace_fail=:
21558
21559
21560  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21561func_append_quoted ()\
21562{\
21563\    func_quote_for_eval "${2}"\
21564\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21565} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21566  && mv -f "$cfgfile.tmp" "$cfgfile" \
21567    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21568test 0 -eq $? || _lt_function_replace_fail=:
21569
21570
21571  # Save a `func_append' function call where possible by direct use of '+='
21572  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21573    && mv -f "$cfgfile.tmp" "$cfgfile" \
21574      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21575  test 0 -eq $? || _lt_function_replace_fail=:
21576else
21577  # Save a `func_append' function call even when '+=' is not available
21578  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21579    && mv -f "$cfgfile.tmp" "$cfgfile" \
21580      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21581  test 0 -eq $? || _lt_function_replace_fail=:
21582fi
21583
21584if test x"$_lt_function_replace_fail" = x":"; then
21585  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21586$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21587fi
21588
21589
21590   mv -f "$cfgfile" "$ofile" ||
21591    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21592  chmod +x "$ofile"
21593
21594
21595    cat <<_LT_EOF >> "$ofile"
21596
21597# ### BEGIN LIBTOOL TAG CONFIG: CXX
21598
21599# The linker used to build libraries.
21600LD=$lt_LD_CXX
21601
21602# How to create reloadable object files.
21603reload_flag=$lt_reload_flag_CXX
21604reload_cmds=$lt_reload_cmds_CXX
21605
21606# Commands used to build an old-style archive.
21607old_archive_cmds=$lt_old_archive_cmds_CXX
21608
21609# A language specific compiler.
21610CC=$lt_compiler_CXX
21611
21612# Is the compiler the GNU compiler?
21613with_gcc=$GCC_CXX
21614
21615# Compiler flag to turn off builtin functions.
21616no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21617
21618# Additional compiler flags for building library objects.
21619pic_flag=$lt_lt_prog_compiler_pic_CXX
21620
21621# How to pass a linker flag through the compiler.
21622wl=$lt_lt_prog_compiler_wl_CXX
21623
21624# Compiler flag to prevent dynamic linking.
21625link_static_flag=$lt_lt_prog_compiler_static_CXX
21626
21627# Does compiler simultaneously support -c and -o options?
21628compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21629
21630# Whether or not to add -lc for building shared libraries.
21631build_libtool_need_lc=$archive_cmds_need_lc_CXX
21632
21633# Whether or not to disallow shared libs when runtime libs are static.
21634allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21635
21636# Compiler flag to allow reflexive dlopens.
21637export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21638
21639# Compiler flag to generate shared objects directly from archives.
21640whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21641
21642# Whether the compiler copes with passing no objects directly.
21643compiler_needs_object=$lt_compiler_needs_object_CXX
21644
21645# Create an old-style archive from a shared archive.
21646old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21647
21648# Create a temporary old-style archive to link instead of a shared archive.
21649old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21650
21651# Commands used to build a shared archive.
21652archive_cmds=$lt_archive_cmds_CXX
21653archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21654
21655# Commands used to build a loadable module if different from building
21656# a shared archive.
21657module_cmds=$lt_module_cmds_CXX
21658module_expsym_cmds=$lt_module_expsym_cmds_CXX
21659
21660# Whether we are building with GNU ld or not.
21661with_gnu_ld=$lt_with_gnu_ld_CXX
21662
21663# Flag that allows shared libraries with undefined symbols to be built.
21664allow_undefined_flag=$lt_allow_undefined_flag_CXX
21665
21666# Flag that enforces no undefined symbols.
21667no_undefined_flag=$lt_no_undefined_flag_CXX
21668
21669# Flag to hardcode \$libdir into a binary during linking.
21670# This must work even if \$libdir does not exist
21671hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21672
21673# Whether we need a single "-rpath" flag with a separated argument.
21674hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21675
21676# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21677# DIR into the resulting binary.
21678hardcode_direct=$hardcode_direct_CXX
21679
21680# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21681# DIR into the resulting binary and the resulting library dependency is
21682# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21683# library is relocated.
21684hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21685
21686# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21687# into the resulting binary.
21688hardcode_minus_L=$hardcode_minus_L_CXX
21689
21690# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21691# into the resulting binary.
21692hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21693
21694# Set to "yes" if building a shared library automatically hardcodes DIR
21695# into the library and all subsequent libraries and executables linked
21696# against it.
21697hardcode_automatic=$hardcode_automatic_CXX
21698
21699# Set to yes if linker adds runtime paths of dependent libraries
21700# to runtime path list.
21701inherit_rpath=$inherit_rpath_CXX
21702
21703# Whether libtool must link a program against all its dependency libraries.
21704link_all_deplibs=$link_all_deplibs_CXX
21705
21706# Set to "yes" if exported symbols are required.
21707always_export_symbols=$always_export_symbols_CXX
21708
21709# The commands to list exported symbols.
21710export_symbols_cmds=$lt_export_symbols_cmds_CXX
21711
21712# Symbols that should not be listed in the preloaded symbols.
21713exclude_expsyms=$lt_exclude_expsyms_CXX
21714
21715# Symbols that must always be exported.
21716include_expsyms=$lt_include_expsyms_CXX
21717
21718# Commands necessary for linking programs (against libraries) with templates.
21719prelink_cmds=$lt_prelink_cmds_CXX
21720
21721# Commands necessary for finishing linking programs.
21722postlink_cmds=$lt_postlink_cmds_CXX
21723
21724# Specify filename containing input files.
21725file_list_spec=$lt_file_list_spec_CXX
21726
21727# How to hardcode a shared library path into an executable.
21728hardcode_action=$hardcode_action_CXX
21729
21730# The directories searched by this compiler when creating a shared library.
21731compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21732
21733# Dependencies to place before and after the objects being linked to
21734# create a shared library.
21735predep_objects=$lt_predep_objects_CXX
21736postdep_objects=$lt_postdep_objects_CXX
21737predeps=$lt_predeps_CXX
21738postdeps=$lt_postdeps_CXX
21739
21740# The library search path used internally by the compiler when linking
21741# a shared library.
21742compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21743
21744# ### END LIBTOOL TAG CONFIG: CXX
21745_LT_EOF
21746
21747 ;;
21748    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
21749        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
21750      esac ;;
21751    "po/stamp-it":C)
21752    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
21753       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
21754    fi
21755    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
21756    >"po/stamp-it.tmp"
21757    sed '/^#/d
21758	 s/^[[].*] *//
21759	 /^[ 	]*$/d
21760	'"s|^|	$ac_top_srcdir/|" \
21761      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
21762
21763    sed '/^POTFILES =/,/[^\\]$/ {
21764		/^POTFILES =/!d
21765		r po/POTFILES
21766	  }
21767	 ' "po/Makefile.in" >"po/Makefile"
21768    rm -f "po/Makefile.tmp"
21769    mv "po/stamp-it.tmp" "po/stamp-it"
21770   ;;
21771
21772  esac
21773done # for ac_tag
21774
21775
21776as_fn_exit 0
21777_ACEOF
21778ac_clean_files=$ac_clean_files_save
21779
21780test $ac_write_fail = 0 ||
21781  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21782
21783
21784# configure is writing to config.log, and then calls config.status.
21785# config.status does its own redirection, appending to config.log.
21786# Unfortunately, on DOS this fails, as config.log is still kept open
21787# by configure, so config.status won't be able to write to it; its
21788# output is simply discarded.  So we exec the FD to /dev/null,
21789# effectively closing config.log, so it can be properly (re)opened and
21790# appended to by config.status.  When coming back to configure, we
21791# need to make the FD available again.
21792if test "$no_create" != yes; then
21793  ac_cs_success=:
21794  ac_config_status_args=
21795  test "$silent" = yes &&
21796    ac_config_status_args="$ac_config_status_args --quiet"
21797  exec 5>/dev/null
21798  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21799  exec 5>>config.log
21800  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21801  # would make configure fail if this is the last instruction.
21802  $ac_cs_success || as_fn_exit 1
21803fi
21804if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21805  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21806$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21807fi
21808
21809
21810
21811echo "
21812GnuPG Version:              $have_gpg
21813GPGME Version:              $have_gpgme
21814Notification Support:       $enable_libnotify
21815Build introspection data:   ${enable_introspection}
21816"
21817