1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for concordance 1.2.
4#
5# Report bugs to <concordance-devel@lists.sourceforge.net>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: concordance-devel@lists.sourceforge.net about your
279$0: system, including any error possibly output before this
280$0: message. Then install a modern shell, or manually run
281$0: the script under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='concordance'
592PACKAGE_TARNAME='concordance'
593PACKAGE_VERSION='1.2'
594PACKAGE_STRING='concordance 1.2'
595PACKAGE_BUGREPORT='concordance-devel@lists.sourceforge.net'
596PACKAGE_URL=''
597
598# Factoring default headers for most tests.
599ac_includes_default="\
600#include <stdio.h>
601#ifdef HAVE_SYS_TYPES_H
602# include <sys/types.h>
603#endif
604#ifdef HAVE_SYS_STAT_H
605# include <sys/stat.h>
606#endif
607#ifdef STDC_HEADERS
608# include <stdlib.h>
609# include <stddef.h>
610#else
611# ifdef HAVE_STDLIB_H
612#  include <stdlib.h>
613# endif
614#endif
615#ifdef HAVE_STRING_H
616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617#  include <memory.h>
618# endif
619# include <string.h>
620#endif
621#ifdef HAVE_STRINGS_H
622# include <strings.h>
623#endif
624#ifdef HAVE_INTTYPES_H
625# include <inttypes.h>
626#endif
627#ifdef HAVE_STDINT_H
628# include <stdint.h>
629#endif
630#ifdef HAVE_UNISTD_H
631# include <unistd.h>
632#endif"
633
634ac_subst_vars='am__EXEEXT_FALSE
635am__EXEEXT_TRUE
636LTLIBOBJS
637LIBOBJS
638LIBCONCORD_LDFLAGS
639CXXCPP
640am__fastdepCXX_FALSE
641am__fastdepCXX_TRUE
642CXXDEPMODE
643ac_ct_CXX
644CXXFLAGS
645CXX
646CPP
647OTOOL64
648OTOOL
649LIPO
650NMEDIT
651DSYMUTIL
652MANIFEST_TOOL
653RANLIB
654ac_ct_AR
655AR
656DLLTOOL
657OBJDUMP
658LN_S
659NM
660ac_ct_DUMPBIN
661DUMPBIN
662LD
663FGREP
664EGREP
665GREP
666SED
667host_os
668host_vendor
669host_cpu
670host
671build_os
672build_vendor
673build_cpu
674build
675LIBTOOL
676am__fastdepCC_FALSE
677am__fastdepCC_TRUE
678CCDEPMODE
679am__nodep
680AMDEPBACKSLASH
681AMDEP_FALSE
682AMDEP_TRUE
683am__quote
684am__include
685DEPDIR
686OBJEXT
687EXEEXT
688ac_ct_CC
689CPPFLAGS
690LDFLAGS
691CFLAGS
692CC
693AM_BACKSLASH
694AM_DEFAULT_VERBOSITY
695AM_DEFAULT_V
696AM_V
697am__untar
698am__tar
699AMTAR
700am__leading_dot
701SET_MAKE
702AWK
703mkdir_p
704MKDIR_P
705INSTALL_STRIP_PROGRAM
706STRIP
707install_sh
708MAKEINFO
709AUTOHEADER
710AUTOMAKE
711AUTOCONF
712ACLOCAL
713VERSION
714PACKAGE
715CYGPATH_W
716am__isrc
717INSTALL_DATA
718INSTALL_SCRIPT
719INSTALL_PROGRAM
720target_alias
721host_alias
722build_alias
723LIBS
724ECHO_T
725ECHO_N
726ECHO_C
727DEFS
728mandir
729localedir
730libdir
731psdir
732pdfdir
733dvidir
734htmldir
735infodir
736docdir
737oldincludedir
738includedir
739localstatedir
740sharedstatedir
741sysconfdir
742datadir
743datarootdir
744libexecdir
745sbindir
746bindir
747program_transform_name
748prefix
749exec_prefix
750PACKAGE_URL
751PACKAGE_BUGREPORT
752PACKAGE_STRING
753PACKAGE_VERSION
754PACKAGE_TARNAME
755PACKAGE_NAME
756PATH_SEPARATOR
757SHELL'
758ac_subst_files=''
759ac_user_opts='
760enable_option_checking
761enable_silent_rules
762enable_dependency_tracking
763enable_shared
764enable_static
765with_pic
766enable_fast_install
767with_gnu_ld
768with_sysroot
769enable_libtool_lock
770'
771      ac_precious_vars='build_alias
772host_alias
773target_alias
774CC
775CFLAGS
776LDFLAGS
777LIBS
778CPPFLAGS
779CPP
780CXX
781CXXFLAGS
782CCC
783CXXCPP'
784
785
786# Initialize some variables set by options.
787ac_init_help=
788ac_init_version=false
789ac_unrecognized_opts=
790ac_unrecognized_sep=
791# The variables have the same names as the options, with
792# dashes changed to underlines.
793cache_file=/dev/null
794exec_prefix=NONE
795no_create=
796no_recursion=
797prefix=NONE
798program_prefix=NONE
799program_suffix=NONE
800program_transform_name=s,x,x,
801silent=
802site=
803srcdir=
804verbose=
805x_includes=NONE
806x_libraries=NONE
807
808# Installation directory options.
809# These are left unexpanded so users can "make install exec_prefix=/foo"
810# and all the variables that are supposed to be based on exec_prefix
811# by default will actually change.
812# Use braces instead of parens because sh, perl, etc. also accept them.
813# (The list follows the same order as the GNU Coding Standards.)
814bindir='${exec_prefix}/bin'
815sbindir='${exec_prefix}/sbin'
816libexecdir='${exec_prefix}/libexec'
817datarootdir='${prefix}/share'
818datadir='${datarootdir}'
819sysconfdir='${prefix}/etc'
820sharedstatedir='${prefix}/com'
821localstatedir='${prefix}/var'
822includedir='${prefix}/include'
823oldincludedir='/usr/include'
824docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
825infodir='${datarootdir}/info'
826htmldir='${docdir}'
827dvidir='${docdir}'
828pdfdir='${docdir}'
829psdir='${docdir}'
830libdir='${exec_prefix}/lib'
831localedir='${datarootdir}/locale'
832mandir='${datarootdir}/man'
833
834ac_prev=
835ac_dashdash=
836for ac_option
837do
838  # If the previous option needs an argument, assign it.
839  if test -n "$ac_prev"; then
840    eval $ac_prev=\$ac_option
841    ac_prev=
842    continue
843  fi
844
845  case $ac_option in
846  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
847  *=)   ac_optarg= ;;
848  *)    ac_optarg=yes ;;
849  esac
850
851  # Accept the important Cygnus configure options, so we can diagnose typos.
852
853  case $ac_dashdash$ac_option in
854  --)
855    ac_dashdash=yes ;;
856
857  -bindir | --bindir | --bindi | --bind | --bin | --bi)
858    ac_prev=bindir ;;
859  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
860    bindir=$ac_optarg ;;
861
862  -build | --build | --buil | --bui | --bu)
863    ac_prev=build_alias ;;
864  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
865    build_alias=$ac_optarg ;;
866
867  -cache-file | --cache-file | --cache-fil | --cache-fi \
868  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
869    ac_prev=cache_file ;;
870  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
871  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
872    cache_file=$ac_optarg ;;
873
874  --config-cache | -C)
875    cache_file=config.cache ;;
876
877  -datadir | --datadir | --datadi | --datad)
878    ac_prev=datadir ;;
879  -datadir=* | --datadir=* | --datadi=* | --datad=*)
880    datadir=$ac_optarg ;;
881
882  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
883  | --dataroo | --dataro | --datar)
884    ac_prev=datarootdir ;;
885  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
886  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
887    datarootdir=$ac_optarg ;;
888
889  -disable-* | --disable-*)
890    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
891    # Reject names that are not valid shell variable names.
892    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
893      as_fn_error $? "invalid feature name: $ac_useropt"
894    ac_useropt_orig=$ac_useropt
895    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896    case $ac_user_opts in
897      *"
898"enable_$ac_useropt"
899"*) ;;
900      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
901	 ac_unrecognized_sep=', ';;
902    esac
903    eval enable_$ac_useropt=no ;;
904
905  -docdir | --docdir | --docdi | --doc | --do)
906    ac_prev=docdir ;;
907  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908    docdir=$ac_optarg ;;
909
910  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911    ac_prev=dvidir ;;
912  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913    dvidir=$ac_optarg ;;
914
915  -enable-* | --enable-*)
916    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917    # Reject names that are not valid shell variable names.
918    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
919      as_fn_error $? "invalid feature name: $ac_useropt"
920    ac_useropt_orig=$ac_useropt
921    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922    case $ac_user_opts in
923      *"
924"enable_$ac_useropt"
925"*) ;;
926      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
927	 ac_unrecognized_sep=', ';;
928    esac
929    eval enable_$ac_useropt=\$ac_optarg ;;
930
931  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
932  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
933  | --exec | --exe | --ex)
934    ac_prev=exec_prefix ;;
935  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
936  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
937  | --exec=* | --exe=* | --ex=*)
938    exec_prefix=$ac_optarg ;;
939
940  -gas | --gas | --ga | --g)
941    # Obsolete; use --with-gas.
942    with_gas=yes ;;
943
944  -help | --help | --hel | --he | -h)
945    ac_init_help=long ;;
946  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
947    ac_init_help=recursive ;;
948  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
949    ac_init_help=short ;;
950
951  -host | --host | --hos | --ho)
952    ac_prev=host_alias ;;
953  -host=* | --host=* | --hos=* | --ho=*)
954    host_alias=$ac_optarg ;;
955
956  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
957    ac_prev=htmldir ;;
958  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
959  | --ht=*)
960    htmldir=$ac_optarg ;;
961
962  -includedir | --includedir | --includedi | --included | --include \
963  | --includ | --inclu | --incl | --inc)
964    ac_prev=includedir ;;
965  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
966  | --includ=* | --inclu=* | --incl=* | --inc=*)
967    includedir=$ac_optarg ;;
968
969  -infodir | --infodir | --infodi | --infod | --info | --inf)
970    ac_prev=infodir ;;
971  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
972    infodir=$ac_optarg ;;
973
974  -libdir | --libdir | --libdi | --libd)
975    ac_prev=libdir ;;
976  -libdir=* | --libdir=* | --libdi=* | --libd=*)
977    libdir=$ac_optarg ;;
978
979  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
980  | --libexe | --libex | --libe)
981    ac_prev=libexecdir ;;
982  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
983  | --libexe=* | --libex=* | --libe=*)
984    libexecdir=$ac_optarg ;;
985
986  -localedir | --localedir | --localedi | --localed | --locale)
987    ac_prev=localedir ;;
988  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
989    localedir=$ac_optarg ;;
990
991  -localstatedir | --localstatedir | --localstatedi | --localstated \
992  | --localstate | --localstat | --localsta | --localst | --locals)
993    ac_prev=localstatedir ;;
994  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
995  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
996    localstatedir=$ac_optarg ;;
997
998  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
999    ac_prev=mandir ;;
1000  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001    mandir=$ac_optarg ;;
1002
1003  -nfp | --nfp | --nf)
1004    # Obsolete; use --without-fp.
1005    with_fp=no ;;
1006
1007  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1008  | --no-cr | --no-c | -n)
1009    no_create=yes ;;
1010
1011  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1012  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1013    no_recursion=yes ;;
1014
1015  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1016  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1017  | --oldin | --oldi | --old | --ol | --o)
1018    ac_prev=oldincludedir ;;
1019  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1020  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1021  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1022    oldincludedir=$ac_optarg ;;
1023
1024  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1025    ac_prev=prefix ;;
1026  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1027    prefix=$ac_optarg ;;
1028
1029  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1030  | --program-pre | --program-pr | --program-p)
1031    ac_prev=program_prefix ;;
1032  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1033  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1034    program_prefix=$ac_optarg ;;
1035
1036  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1037  | --program-suf | --program-su | --program-s)
1038    ac_prev=program_suffix ;;
1039  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1040  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1041    program_suffix=$ac_optarg ;;
1042
1043  -program-transform-name | --program-transform-name \
1044  | --program-transform-nam | --program-transform-na \
1045  | --program-transform-n | --program-transform- \
1046  | --program-transform | --program-transfor \
1047  | --program-transfo | --program-transf \
1048  | --program-trans | --program-tran \
1049  | --progr-tra | --program-tr | --program-t)
1050    ac_prev=program_transform_name ;;
1051  -program-transform-name=* | --program-transform-name=* \
1052  | --program-transform-nam=* | --program-transform-na=* \
1053  | --program-transform-n=* | --program-transform-=* \
1054  | --program-transform=* | --program-transfor=* \
1055  | --program-transfo=* | --program-transf=* \
1056  | --program-trans=* | --program-tran=* \
1057  | --progr-tra=* | --program-tr=* | --program-t=*)
1058    program_transform_name=$ac_optarg ;;
1059
1060  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1061    ac_prev=pdfdir ;;
1062  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1063    pdfdir=$ac_optarg ;;
1064
1065  -psdir | --psdir | --psdi | --psd | --ps)
1066    ac_prev=psdir ;;
1067  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1068    psdir=$ac_optarg ;;
1069
1070  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1071  | -silent | --silent | --silen | --sile | --sil)
1072    silent=yes ;;
1073
1074  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1075    ac_prev=sbindir ;;
1076  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1077  | --sbi=* | --sb=*)
1078    sbindir=$ac_optarg ;;
1079
1080  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1081  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1082  | --sharedst | --shareds | --shared | --share | --shar \
1083  | --sha | --sh)
1084    ac_prev=sharedstatedir ;;
1085  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1086  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1087  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1088  | --sha=* | --sh=*)
1089    sharedstatedir=$ac_optarg ;;
1090
1091  -site | --site | --sit)
1092    ac_prev=site ;;
1093  -site=* | --site=* | --sit=*)
1094    site=$ac_optarg ;;
1095
1096  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1097    ac_prev=srcdir ;;
1098  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1099    srcdir=$ac_optarg ;;
1100
1101  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1102  | --syscon | --sysco | --sysc | --sys | --sy)
1103    ac_prev=sysconfdir ;;
1104  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1105  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1106    sysconfdir=$ac_optarg ;;
1107
1108  -target | --target | --targe | --targ | --tar | --ta | --t)
1109    ac_prev=target_alias ;;
1110  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1111    target_alias=$ac_optarg ;;
1112
1113  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1114    verbose=yes ;;
1115
1116  -version | --version | --versio | --versi | --vers | -V)
1117    ac_init_version=: ;;
1118
1119  -with-* | --with-*)
1120    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1121    # Reject names that are not valid shell variable names.
1122    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123      as_fn_error $? "invalid package name: $ac_useropt"
1124    ac_useropt_orig=$ac_useropt
1125    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126    case $ac_user_opts in
1127      *"
1128"with_$ac_useropt"
1129"*) ;;
1130      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1131	 ac_unrecognized_sep=', ';;
1132    esac
1133    eval with_$ac_useropt=\$ac_optarg ;;
1134
1135  -without-* | --without-*)
1136    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1137    # Reject names that are not valid shell variable names.
1138    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1139      as_fn_error $? "invalid package name: $ac_useropt"
1140    ac_useropt_orig=$ac_useropt
1141    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142    case $ac_user_opts in
1143      *"
1144"with_$ac_useropt"
1145"*) ;;
1146      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1147	 ac_unrecognized_sep=', ';;
1148    esac
1149    eval with_$ac_useropt=no ;;
1150
1151  --x)
1152    # Obsolete; use --with-x.
1153    with_x=yes ;;
1154
1155  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1156  | --x-incl | --x-inc | --x-in | --x-i)
1157    ac_prev=x_includes ;;
1158  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1159  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1160    x_includes=$ac_optarg ;;
1161
1162  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1163  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1164    ac_prev=x_libraries ;;
1165  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1166  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1167    x_libraries=$ac_optarg ;;
1168
1169  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1170Try \`$0 --help' for more information"
1171    ;;
1172
1173  *=*)
1174    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1175    # Reject names that are not valid shell variable names.
1176    case $ac_envvar in #(
1177      '' | [0-9]* | *[!_$as_cr_alnum]* )
1178      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1179    esac
1180    eval $ac_envvar=\$ac_optarg
1181    export $ac_envvar ;;
1182
1183  *)
1184    # FIXME: should be removed in autoconf 3.0.
1185    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1189    ;;
1190
1191  esac
1192done
1193
1194if test -n "$ac_prev"; then
1195  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1196  as_fn_error $? "missing argument to $ac_option"
1197fi
1198
1199if test -n "$ac_unrecognized_opts"; then
1200  case $enable_option_checking in
1201    no) ;;
1202    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1203    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1204  esac
1205fi
1206
1207# Check all directory arguments for consistency.
1208for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1209		datadir sysconfdir sharedstatedir localstatedir includedir \
1210		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1211		libdir localedir mandir
1212do
1213  eval ac_val=\$$ac_var
1214  # Remove trailing slashes.
1215  case $ac_val in
1216    */ )
1217      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1218      eval $ac_var=\$ac_val;;
1219  esac
1220  # Be sure to have absolute directory names.
1221  case $ac_val in
1222    [\\/$]* | ?:[\\/]* )  continue;;
1223    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1224  esac
1225  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1226done
1227
1228# There might be people who depend on the old broken behavior: `$host'
1229# used to hold the argument of --host etc.
1230# FIXME: To remove some day.
1231build=$build_alias
1232host=$host_alias
1233target=$target_alias
1234
1235# FIXME: To remove some day.
1236if test "x$host_alias" != x; then
1237  if test "x$build_alias" = x; then
1238    cross_compiling=maybe
1239  elif test "x$build_alias" != "x$host_alias"; then
1240    cross_compiling=yes
1241  fi
1242fi
1243
1244ac_tool_prefix=
1245test -n "$host_alias" && ac_tool_prefix=$host_alias-
1246
1247test "$silent" = yes && exec 6>/dev/null
1248
1249
1250ac_pwd=`pwd` && test -n "$ac_pwd" &&
1251ac_ls_di=`ls -di .` &&
1252ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1253  as_fn_error $? "working directory cannot be determined"
1254test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1255  as_fn_error $? "pwd does not report name of working directory"
1256
1257
1258# Find the source files, if location was not specified.
1259if test -z "$srcdir"; then
1260  ac_srcdir_defaulted=yes
1261  # Try the directory containing this script, then the parent directory.
1262  ac_confdir=`$as_dirname -- "$as_myself" ||
1263$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1264	 X"$as_myself" : 'X\(//\)[^/]' \| \
1265	 X"$as_myself" : 'X\(//\)$' \| \
1266	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1267$as_echo X"$as_myself" |
1268    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1269	    s//\1/
1270	    q
1271	  }
1272	  /^X\(\/\/\)[^/].*/{
1273	    s//\1/
1274	    q
1275	  }
1276	  /^X\(\/\/\)$/{
1277	    s//\1/
1278	    q
1279	  }
1280	  /^X\(\/\).*/{
1281	    s//\1/
1282	    q
1283	  }
1284	  s/.*/./; q'`
1285  srcdir=$ac_confdir
1286  if test ! -r "$srcdir/$ac_unique_file"; then
1287    srcdir=..
1288  fi
1289else
1290  ac_srcdir_defaulted=no
1291fi
1292if test ! -r "$srcdir/$ac_unique_file"; then
1293  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1294  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1295fi
1296ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1297ac_abs_confdir=`(
1298	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1299	pwd)`
1300# When building in place, set srcdir=.
1301if test "$ac_abs_confdir" = "$ac_pwd"; then
1302  srcdir=.
1303fi
1304# Remove unnecessary trailing slashes from srcdir.
1305# Double slashes in file names in object file debugging info
1306# mess up M-x gdb in Emacs.
1307case $srcdir in
1308*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1309esac
1310for ac_var in $ac_precious_vars; do
1311  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1312  eval ac_env_${ac_var}_value=\$${ac_var}
1313  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1314  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1315done
1316
1317#
1318# Report the --help message.
1319#
1320if test "$ac_init_help" = "long"; then
1321  # Omit some internal or obsolete options to make the list less imposing.
1322  # This message is too long to be a string in the A/UX 3.1 sh.
1323  cat <<_ACEOF
1324\`configure' configures concordance 1.2 to adapt to many kinds of systems.
1325
1326Usage: $0 [OPTION]... [VAR=VALUE]...
1327
1328To assign environment variables (e.g., CC, CFLAGS...), specify them as
1329VAR=VALUE.  See below for descriptions of some of the useful variables.
1330
1331Defaults for the options are specified in brackets.
1332
1333Configuration:
1334  -h, --help              display this help and exit
1335      --help=short        display options specific to this package
1336      --help=recursive    display the short help of all the included packages
1337  -V, --version           display version information and exit
1338  -q, --quiet, --silent   do not print \`checking ...' messages
1339      --cache-file=FILE   cache test results in FILE [disabled]
1340  -C, --config-cache      alias for \`--cache-file=config.cache'
1341  -n, --no-create         do not create output files
1342      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1343
1344Installation directories:
1345  --prefix=PREFIX         install architecture-independent files in PREFIX
1346                          [$ac_default_prefix]
1347  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1348                          [PREFIX]
1349
1350By default, \`make install' will install all the files in
1351\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1352an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1353for instance \`--prefix=\$HOME'.
1354
1355For better control, use the options below.
1356
1357Fine tuning of the installation directories:
1358  --bindir=DIR            user executables [EPREFIX/bin]
1359  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1360  --libexecdir=DIR        program executables [EPREFIX/libexec]
1361  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1362  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1363  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1364  --libdir=DIR            object code libraries [EPREFIX/lib]
1365  --includedir=DIR        C header files [PREFIX/include]
1366  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1367  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1368  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1369  --infodir=DIR           info documentation [DATAROOTDIR/info]
1370  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1371  --mandir=DIR            man documentation [DATAROOTDIR/man]
1372  --docdir=DIR            documentation root [DATAROOTDIR/doc/concordance]
1373  --htmldir=DIR           html documentation [DOCDIR]
1374  --dvidir=DIR            dvi documentation [DOCDIR]
1375  --pdfdir=DIR            pdf documentation [DOCDIR]
1376  --psdir=DIR             ps documentation [DOCDIR]
1377_ACEOF
1378
1379  cat <<\_ACEOF
1380
1381Program names:
1382  --program-prefix=PREFIX            prepend PREFIX to installed program names
1383  --program-suffix=SUFFIX            append SUFFIX to installed program names
1384  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1385
1386System types:
1387  --build=BUILD     configure for building on BUILD [guessed]
1388  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1389_ACEOF
1390fi
1391
1392if test -n "$ac_init_help"; then
1393  case $ac_init_help in
1394     short | recursive ) echo "Configuration of concordance 1.2:";;
1395   esac
1396  cat <<\_ACEOF
1397
1398Optional Features:
1399  --disable-option-checking  ignore unrecognized --enable/--with options
1400  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1401  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1402  --enable-silent-rules   less verbose build output (undo: "make V=1")
1403  --disable-silent-rules  verbose build output (undo: "make V=0")
1404  --enable-dependency-tracking
1405                          do not reject slow dependency extractors
1406  --disable-dependency-tracking
1407                          speeds up one-time build
1408  --enable-shared[=PKGS]  build shared libraries [default=yes]
1409  --enable-static[=PKGS]  build static libraries [default=yes]
1410  --enable-fast-install[=PKGS]
1411                          optimize for fast installation [default=yes]
1412  --disable-libtool-lock  avoid locking (might break parallel builds)
1413
1414Optional Packages:
1415  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1416  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1417  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1418                          both]
1419  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1420  --with-sysroot=DIR Search for dependent libraries within DIR
1421                        (or the compiler's sysroot if not specified).
1422
1423Some influential environment variables:
1424  CC          C compiler command
1425  CFLAGS      C compiler flags
1426  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1427              nonstandard directory <lib dir>
1428  LIBS        libraries to pass to the linker, e.g. -l<library>
1429  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1430              you have headers in a nonstandard directory <include dir>
1431  CPP         C preprocessor
1432  CXX         C++ compiler command
1433  CXXFLAGS    C++ compiler flags
1434  CXXCPP      C++ preprocessor
1435
1436Use these variables to override the choices made by `configure' or to help
1437it to find libraries and programs with nonstandard names/locations.
1438
1439Report bugs to <concordance-devel@lists.sourceforge.net>.
1440_ACEOF
1441ac_status=$?
1442fi
1443
1444if test "$ac_init_help" = "recursive"; then
1445  # If there are subdirs, report their specific --help.
1446  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1447    test -d "$ac_dir" ||
1448      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1449      continue
1450    ac_builddir=.
1451
1452case "$ac_dir" in
1453.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454*)
1455  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1456  # A ".." for each directory in $ac_dir_suffix.
1457  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1458  case $ac_top_builddir_sub in
1459  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1460  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1461  esac ;;
1462esac
1463ac_abs_top_builddir=$ac_pwd
1464ac_abs_builddir=$ac_pwd$ac_dir_suffix
1465# for backward compatibility:
1466ac_top_builddir=$ac_top_build_prefix
1467
1468case $srcdir in
1469  .)  # We are building in place.
1470    ac_srcdir=.
1471    ac_top_srcdir=$ac_top_builddir_sub
1472    ac_abs_top_srcdir=$ac_pwd ;;
1473  [\\/]* | ?:[\\/]* )  # Absolute name.
1474    ac_srcdir=$srcdir$ac_dir_suffix;
1475    ac_top_srcdir=$srcdir
1476    ac_abs_top_srcdir=$srcdir ;;
1477  *) # Relative name.
1478    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1479    ac_top_srcdir=$ac_top_build_prefix$srcdir
1480    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1481esac
1482ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1483
1484    cd "$ac_dir" || { ac_status=$?; continue; }
1485    # Check for guested configure.
1486    if test -f "$ac_srcdir/configure.gnu"; then
1487      echo &&
1488      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1489    elif test -f "$ac_srcdir/configure"; then
1490      echo &&
1491      $SHELL "$ac_srcdir/configure" --help=recursive
1492    else
1493      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1494    fi || ac_status=$?
1495    cd "$ac_pwd" || { ac_status=$?; break; }
1496  done
1497fi
1498
1499test -n "$ac_init_help" && exit $ac_status
1500if $ac_init_version; then
1501  cat <<\_ACEOF
1502concordance configure 1.2
1503generated by GNU Autoconf 2.69
1504
1505Copyright (C) 2012 Free Software Foundation, Inc.
1506This configure script is free software; the Free Software Foundation
1507gives unlimited permission to copy, distribute and modify it.
1508_ACEOF
1509  exit
1510fi
1511
1512## ------------------------ ##
1513## Autoconf initialization. ##
1514## ------------------------ ##
1515
1516# ac_fn_c_try_compile LINENO
1517# --------------------------
1518# Try to compile conftest.$ac_ext, and return whether this succeeded.
1519ac_fn_c_try_compile ()
1520{
1521  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1522  rm -f conftest.$ac_objext
1523  if { { ac_try="$ac_compile"
1524case "(($ac_try" in
1525  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1526  *) ac_try_echo=$ac_try;;
1527esac
1528eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1529$as_echo "$ac_try_echo"; } >&5
1530  (eval "$ac_compile") 2>conftest.err
1531  ac_status=$?
1532  if test -s conftest.err; then
1533    grep -v '^ *+' conftest.err >conftest.er1
1534    cat conftest.er1 >&5
1535    mv -f conftest.er1 conftest.err
1536  fi
1537  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1538  test $ac_status = 0; } && {
1539	 test -z "$ac_c_werror_flag" ||
1540	 test ! -s conftest.err
1541       } && test -s conftest.$ac_objext; then :
1542  ac_retval=0
1543else
1544  $as_echo "$as_me: failed program was:" >&5
1545sed 's/^/| /' conftest.$ac_ext >&5
1546
1547	ac_retval=1
1548fi
1549  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1550  as_fn_set_status $ac_retval
1551
1552} # ac_fn_c_try_compile
1553
1554# ac_fn_c_try_link LINENO
1555# -----------------------
1556# Try to link conftest.$ac_ext, and return whether this succeeded.
1557ac_fn_c_try_link ()
1558{
1559  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1560  rm -f conftest.$ac_objext conftest$ac_exeext
1561  if { { ac_try="$ac_link"
1562case "(($ac_try" in
1563  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1564  *) ac_try_echo=$ac_try;;
1565esac
1566eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567$as_echo "$ac_try_echo"; } >&5
1568  (eval "$ac_link") 2>conftest.err
1569  ac_status=$?
1570  if test -s conftest.err; then
1571    grep -v '^ *+' conftest.err >conftest.er1
1572    cat conftest.er1 >&5
1573    mv -f conftest.er1 conftest.err
1574  fi
1575  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1576  test $ac_status = 0; } && {
1577	 test -z "$ac_c_werror_flag" ||
1578	 test ! -s conftest.err
1579       } && test -s conftest$ac_exeext && {
1580	 test "$cross_compiling" = yes ||
1581	 test -x conftest$ac_exeext
1582       }; then :
1583  ac_retval=0
1584else
1585  $as_echo "$as_me: failed program was:" >&5
1586sed 's/^/| /' conftest.$ac_ext >&5
1587
1588	ac_retval=1
1589fi
1590  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1591  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1592  # interfere with the next link command; also delete a directory that is
1593  # left behind by Apple's compiler.  We do this before executing the actions.
1594  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1595  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1596  as_fn_set_status $ac_retval
1597
1598} # ac_fn_c_try_link
1599
1600# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1601# -------------------------------------------------------
1602# Tests whether HEADER exists and can be compiled using the include files in
1603# INCLUDES, setting the cache variable VAR accordingly.
1604ac_fn_c_check_header_compile ()
1605{
1606  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608$as_echo_n "checking for $2... " >&6; }
1609if eval \${$3+:} false; then :
1610  $as_echo_n "(cached) " >&6
1611else
1612  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1613/* end confdefs.h.  */
1614$4
1615#include <$2>
1616_ACEOF
1617if ac_fn_c_try_compile "$LINENO"; then :
1618  eval "$3=yes"
1619else
1620  eval "$3=no"
1621fi
1622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1623fi
1624eval ac_res=\$$3
1625	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1626$as_echo "$ac_res" >&6; }
1627  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628
1629} # ac_fn_c_check_header_compile
1630
1631# ac_fn_c_try_cpp LINENO
1632# ----------------------
1633# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1634ac_fn_c_try_cpp ()
1635{
1636  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637  if { { ac_try="$ac_cpp conftest.$ac_ext"
1638case "(($ac_try" in
1639  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640  *) ac_try_echo=$ac_try;;
1641esac
1642eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643$as_echo "$ac_try_echo"; } >&5
1644  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1645  ac_status=$?
1646  if test -s conftest.err; then
1647    grep -v '^ *+' conftest.err >conftest.er1
1648    cat conftest.er1 >&5
1649    mv -f conftest.er1 conftest.err
1650  fi
1651  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652  test $ac_status = 0; } > conftest.i && {
1653	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1654	 test ! -s conftest.err
1655       }; then :
1656  ac_retval=0
1657else
1658  $as_echo "$as_me: failed program was:" >&5
1659sed 's/^/| /' conftest.$ac_ext >&5
1660
1661    ac_retval=1
1662fi
1663  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664  as_fn_set_status $ac_retval
1665
1666} # ac_fn_c_try_cpp
1667
1668# ac_fn_c_try_run LINENO
1669# ----------------------
1670# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1671# that executables *can* be run.
1672ac_fn_c_try_run ()
1673{
1674  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675  if { { ac_try="$ac_link"
1676case "(($ac_try" in
1677  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678  *) ac_try_echo=$ac_try;;
1679esac
1680eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681$as_echo "$ac_try_echo"; } >&5
1682  (eval "$ac_link") 2>&5
1683  ac_status=$?
1684  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1686  { { case "(($ac_try" in
1687  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688  *) ac_try_echo=$ac_try;;
1689esac
1690eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691$as_echo "$ac_try_echo"; } >&5
1692  (eval "$ac_try") 2>&5
1693  ac_status=$?
1694  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695  test $ac_status = 0; }; }; then :
1696  ac_retval=0
1697else
1698  $as_echo "$as_me: program exited with status $ac_status" >&5
1699       $as_echo "$as_me: failed program was:" >&5
1700sed 's/^/| /' conftest.$ac_ext >&5
1701
1702       ac_retval=$ac_status
1703fi
1704  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1705  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706  as_fn_set_status $ac_retval
1707
1708} # ac_fn_c_try_run
1709
1710# ac_fn_c_check_func LINENO FUNC VAR
1711# ----------------------------------
1712# Tests whether FUNC exists, setting the cache variable VAR accordingly
1713ac_fn_c_check_func ()
1714{
1715  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1717$as_echo_n "checking for $2... " >&6; }
1718if eval \${$3+:} false; then :
1719  $as_echo_n "(cached) " >&6
1720else
1721  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1722/* end confdefs.h.  */
1723/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1724   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1725#define $2 innocuous_$2
1726
1727/* System header to define __stub macros and hopefully few prototypes,
1728    which can conflict with char $2 (); below.
1729    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1730    <limits.h> exists even on freestanding compilers.  */
1731
1732#ifdef __STDC__
1733# include <limits.h>
1734#else
1735# include <assert.h>
1736#endif
1737
1738#undef $2
1739
1740/* Override any GCC internal prototype to avoid an error.
1741   Use char because int might match the return type of a GCC
1742   builtin and then its argument prototype would still apply.  */
1743#ifdef __cplusplus
1744extern "C"
1745#endif
1746char $2 ();
1747/* The GNU C library defines this for functions which it implements
1748    to always fail with ENOSYS.  Some functions are actually named
1749    something starting with __ and the normal name is an alias.  */
1750#if defined __stub_$2 || defined __stub___$2
1751choke me
1752#endif
1753
1754int
1755main ()
1756{
1757return $2 ();
1758  ;
1759  return 0;
1760}
1761_ACEOF
1762if ac_fn_c_try_link "$LINENO"; then :
1763  eval "$3=yes"
1764else
1765  eval "$3=no"
1766fi
1767rm -f core conftest.err conftest.$ac_objext \
1768    conftest$ac_exeext conftest.$ac_ext
1769fi
1770eval ac_res=\$$3
1771	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772$as_echo "$ac_res" >&6; }
1773  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774
1775} # ac_fn_c_check_func
1776
1777# ac_fn_cxx_try_compile LINENO
1778# ----------------------------
1779# Try to compile conftest.$ac_ext, and return whether this succeeded.
1780ac_fn_cxx_try_compile ()
1781{
1782  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783  rm -f conftest.$ac_objext
1784  if { { ac_try="$ac_compile"
1785case "(($ac_try" in
1786  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1787  *) ac_try_echo=$ac_try;;
1788esac
1789eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790$as_echo "$ac_try_echo"; } >&5
1791  (eval "$ac_compile") 2>conftest.err
1792  ac_status=$?
1793  if test -s conftest.err; then
1794    grep -v '^ *+' conftest.err >conftest.er1
1795    cat conftest.er1 >&5
1796    mv -f conftest.er1 conftest.err
1797  fi
1798  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799  test $ac_status = 0; } && {
1800	 test -z "$ac_cxx_werror_flag" ||
1801	 test ! -s conftest.err
1802       } && test -s conftest.$ac_objext; then :
1803  ac_retval=0
1804else
1805  $as_echo "$as_me: failed program was:" >&5
1806sed 's/^/| /' conftest.$ac_ext >&5
1807
1808	ac_retval=1
1809fi
1810  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811  as_fn_set_status $ac_retval
1812
1813} # ac_fn_cxx_try_compile
1814
1815# ac_fn_cxx_try_cpp LINENO
1816# ------------------------
1817# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1818ac_fn_cxx_try_cpp ()
1819{
1820  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821  if { { ac_try="$ac_cpp conftest.$ac_ext"
1822case "(($ac_try" in
1823  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824  *) ac_try_echo=$ac_try;;
1825esac
1826eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827$as_echo "$ac_try_echo"; } >&5
1828  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1829  ac_status=$?
1830  if test -s conftest.err; then
1831    grep -v '^ *+' conftest.err >conftest.er1
1832    cat conftest.er1 >&5
1833    mv -f conftest.er1 conftest.err
1834  fi
1835  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836  test $ac_status = 0; } > conftest.i && {
1837	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1838	 test ! -s conftest.err
1839       }; then :
1840  ac_retval=0
1841else
1842  $as_echo "$as_me: failed program was:" >&5
1843sed 's/^/| /' conftest.$ac_ext >&5
1844
1845    ac_retval=1
1846fi
1847  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848  as_fn_set_status $ac_retval
1849
1850} # ac_fn_cxx_try_cpp
1851
1852# ac_fn_cxx_try_link LINENO
1853# -------------------------
1854# Try to link conftest.$ac_ext, and return whether this succeeded.
1855ac_fn_cxx_try_link ()
1856{
1857  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858  rm -f conftest.$ac_objext conftest$ac_exeext
1859  if { { ac_try="$ac_link"
1860case "(($ac_try" in
1861  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1862  *) ac_try_echo=$ac_try;;
1863esac
1864eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865$as_echo "$ac_try_echo"; } >&5
1866  (eval "$ac_link") 2>conftest.err
1867  ac_status=$?
1868  if test -s conftest.err; then
1869    grep -v '^ *+' conftest.err >conftest.er1
1870    cat conftest.er1 >&5
1871    mv -f conftest.er1 conftest.err
1872  fi
1873  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874  test $ac_status = 0; } && {
1875	 test -z "$ac_cxx_werror_flag" ||
1876	 test ! -s conftest.err
1877       } && test -s conftest$ac_exeext && {
1878	 test "$cross_compiling" = yes ||
1879	 test -x conftest$ac_exeext
1880       }; then :
1881  ac_retval=0
1882else
1883  $as_echo "$as_me: failed program was:" >&5
1884sed 's/^/| /' conftest.$ac_ext >&5
1885
1886	ac_retval=1
1887fi
1888  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1889  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1890  # interfere with the next link command; also delete a directory that is
1891  # left behind by Apple's compiler.  We do this before executing the actions.
1892  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1893  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894  as_fn_set_status $ac_retval
1895
1896} # ac_fn_cxx_try_link
1897cat >config.log <<_ACEOF
1898This file contains any messages produced by compilers while
1899running configure, to aid debugging if configure makes a mistake.
1900
1901It was created by concordance $as_me 1.2, which was
1902generated by GNU Autoconf 2.69.  Invocation command line was
1903
1904  $ $0 $@
1905
1906_ACEOF
1907exec 5>>config.log
1908{
1909cat <<_ASUNAME
1910## --------- ##
1911## Platform. ##
1912## --------- ##
1913
1914hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1915uname -m = `(uname -m) 2>/dev/null || echo unknown`
1916uname -r = `(uname -r) 2>/dev/null || echo unknown`
1917uname -s = `(uname -s) 2>/dev/null || echo unknown`
1918uname -v = `(uname -v) 2>/dev/null || echo unknown`
1919
1920/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1921/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1922
1923/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1924/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1925/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1926/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1927/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1928/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1929/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1930
1931_ASUNAME
1932
1933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1934for as_dir in $PATH
1935do
1936  IFS=$as_save_IFS
1937  test -z "$as_dir" && as_dir=.
1938    $as_echo "PATH: $as_dir"
1939  done
1940IFS=$as_save_IFS
1941
1942} >&5
1943
1944cat >&5 <<_ACEOF
1945
1946
1947## ----------- ##
1948## Core tests. ##
1949## ----------- ##
1950
1951_ACEOF
1952
1953
1954# Keep a trace of the command line.
1955# Strip out --no-create and --no-recursion so they do not pile up.
1956# Strip out --silent because we don't want to record it for future runs.
1957# Also quote any args containing shell meta-characters.
1958# Make two passes to allow for proper duplicate-argument suppression.
1959ac_configure_args=
1960ac_configure_args0=
1961ac_configure_args1=
1962ac_must_keep_next=false
1963for ac_pass in 1 2
1964do
1965  for ac_arg
1966  do
1967    case $ac_arg in
1968    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1969    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1970    | -silent | --silent | --silen | --sile | --sil)
1971      continue ;;
1972    *\'*)
1973      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1974    esac
1975    case $ac_pass in
1976    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1977    2)
1978      as_fn_append ac_configure_args1 " '$ac_arg'"
1979      if test $ac_must_keep_next = true; then
1980	ac_must_keep_next=false # Got value, back to normal.
1981      else
1982	case $ac_arg in
1983	  *=* | --config-cache | -C | -disable-* | --disable-* \
1984	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1985	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1986	  | -with-* | --with-* | -without-* | --without-* | --x)
1987	    case "$ac_configure_args0 " in
1988	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1989	    esac
1990	    ;;
1991	  -* ) ac_must_keep_next=true ;;
1992	esac
1993      fi
1994      as_fn_append ac_configure_args " '$ac_arg'"
1995      ;;
1996    esac
1997  done
1998done
1999{ ac_configure_args0=; unset ac_configure_args0;}
2000{ ac_configure_args1=; unset ac_configure_args1;}
2001
2002# When interrupted or exit'd, cleanup temporary files, and complete
2003# config.log.  We remove comments because anyway the quotes in there
2004# would cause problems or look ugly.
2005# WARNING: Use '\'' to represent an apostrophe within the trap.
2006# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2007trap 'exit_status=$?
2008  # Save into config.log some information that might help in debugging.
2009  {
2010    echo
2011
2012    $as_echo "## ---------------- ##
2013## Cache variables. ##
2014## ---------------- ##"
2015    echo
2016    # The following way of writing the cache mishandles newlines in values,
2017(
2018  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2019    eval ac_val=\$$ac_var
2020    case $ac_val in #(
2021    *${as_nl}*)
2022      case $ac_var in #(
2023      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2024$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2025      esac
2026      case $ac_var in #(
2027      _ | IFS | as_nl) ;; #(
2028      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2029      *) { eval $ac_var=; unset $ac_var;} ;;
2030      esac ;;
2031    esac
2032  done
2033  (set) 2>&1 |
2034    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2035    *${as_nl}ac_space=\ *)
2036      sed -n \
2037	"s/'\''/'\''\\\\'\'''\''/g;
2038	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2039      ;; #(
2040    *)
2041      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2042      ;;
2043    esac |
2044    sort
2045)
2046    echo
2047
2048    $as_echo "## ----------------- ##
2049## Output variables. ##
2050## ----------------- ##"
2051    echo
2052    for ac_var in $ac_subst_vars
2053    do
2054      eval ac_val=\$$ac_var
2055      case $ac_val in
2056      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2057      esac
2058      $as_echo "$ac_var='\''$ac_val'\''"
2059    done | sort
2060    echo
2061
2062    if test -n "$ac_subst_files"; then
2063      $as_echo "## ------------------- ##
2064## File substitutions. ##
2065## ------------------- ##"
2066      echo
2067      for ac_var in $ac_subst_files
2068      do
2069	eval ac_val=\$$ac_var
2070	case $ac_val in
2071	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2072	esac
2073	$as_echo "$ac_var='\''$ac_val'\''"
2074      done | sort
2075      echo
2076    fi
2077
2078    if test -s confdefs.h; then
2079      $as_echo "## ----------- ##
2080## confdefs.h. ##
2081## ----------- ##"
2082      echo
2083      cat confdefs.h
2084      echo
2085    fi
2086    test "$ac_signal" != 0 &&
2087      $as_echo "$as_me: caught signal $ac_signal"
2088    $as_echo "$as_me: exit $exit_status"
2089  } >&5
2090  rm -f core *.core core.conftest.* &&
2091    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2092    exit $exit_status
2093' 0
2094for ac_signal in 1 2 13 15; do
2095  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2096done
2097ac_signal=0
2098
2099# confdefs.h avoids OS command line length limits that DEFS can exceed.
2100rm -f -r conftest* confdefs.h
2101
2102$as_echo "/* confdefs.h */" > confdefs.h
2103
2104# Predefined preprocessor variables.
2105
2106cat >>confdefs.h <<_ACEOF
2107#define PACKAGE_NAME "$PACKAGE_NAME"
2108_ACEOF
2109
2110cat >>confdefs.h <<_ACEOF
2111#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2112_ACEOF
2113
2114cat >>confdefs.h <<_ACEOF
2115#define PACKAGE_VERSION "$PACKAGE_VERSION"
2116_ACEOF
2117
2118cat >>confdefs.h <<_ACEOF
2119#define PACKAGE_STRING "$PACKAGE_STRING"
2120_ACEOF
2121
2122cat >>confdefs.h <<_ACEOF
2123#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2124_ACEOF
2125
2126cat >>confdefs.h <<_ACEOF
2127#define PACKAGE_URL "$PACKAGE_URL"
2128_ACEOF
2129
2130
2131# Let the site file select an alternate cache file if it wants to.
2132# Prefer an explicitly selected file to automatically selected ones.
2133ac_site_file1=NONE
2134ac_site_file2=NONE
2135if test -n "$CONFIG_SITE"; then
2136  # We do not want a PATH search for config.site.
2137  case $CONFIG_SITE in #((
2138    -*)  ac_site_file1=./$CONFIG_SITE;;
2139    */*) ac_site_file1=$CONFIG_SITE;;
2140    *)   ac_site_file1=./$CONFIG_SITE;;
2141  esac
2142elif test "x$prefix" != xNONE; then
2143  ac_site_file1=$prefix/share/config.site
2144  ac_site_file2=$prefix/etc/config.site
2145else
2146  ac_site_file1=$ac_default_prefix/share/config.site
2147  ac_site_file2=$ac_default_prefix/etc/config.site
2148fi
2149for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2150do
2151  test "x$ac_site_file" = xNONE && continue
2152  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2153    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2154$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2155    sed 's/^/| /' "$ac_site_file" >&5
2156    . "$ac_site_file" \
2157      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2158$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2159as_fn_error $? "failed to load site script $ac_site_file
2160See \`config.log' for more details" "$LINENO" 5; }
2161  fi
2162done
2163
2164if test -r "$cache_file"; then
2165  # Some versions of bash will fail to source /dev/null (special files
2166  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2167  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2168    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2169$as_echo "$as_me: loading cache $cache_file" >&6;}
2170    case $cache_file in
2171      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2172      *)                      . "./$cache_file";;
2173    esac
2174  fi
2175else
2176  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2177$as_echo "$as_me: creating cache $cache_file" >&6;}
2178  >$cache_file
2179fi
2180
2181# Check that the precious variables saved in the cache have kept the same
2182# value.
2183ac_cache_corrupted=false
2184for ac_var in $ac_precious_vars; do
2185  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2186  eval ac_new_set=\$ac_env_${ac_var}_set
2187  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2188  eval ac_new_val=\$ac_env_${ac_var}_value
2189  case $ac_old_set,$ac_new_set in
2190    set,)
2191      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2192$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2193      ac_cache_corrupted=: ;;
2194    ,set)
2195      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2196$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2197      ac_cache_corrupted=: ;;
2198    ,);;
2199    *)
2200      if test "x$ac_old_val" != "x$ac_new_val"; then
2201	# differences in whitespace do not lead to failure.
2202	ac_old_val_w=`echo x $ac_old_val`
2203	ac_new_val_w=`echo x $ac_new_val`
2204	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2205	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2206$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2207	  ac_cache_corrupted=:
2208	else
2209	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2210$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2211	  eval $ac_var=\$ac_old_val
2212	fi
2213	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2214$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2215	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2216$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2217      fi;;
2218  esac
2219  # Pass precious variables to config.status.
2220  if test "$ac_new_set" = set; then
2221    case $ac_new_val in
2222    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2223    *) ac_arg=$ac_var=$ac_new_val ;;
2224    esac
2225    case " $ac_configure_args " in
2226      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2227      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2228    esac
2229  fi
2230done
2231if $ac_cache_corrupted; then
2232  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2233$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2234  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2235$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2236  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2237fi
2238## -------------------- ##
2239## Main body of script. ##
2240## -------------------- ##
2241
2242ac_ext=c
2243ac_cpp='$CPP $CPPFLAGS'
2244ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2245ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2246ac_compiler_gnu=$ac_cv_c_compiler_gnu
2247
2248
2249am__api_version='1.14'
2250
2251ac_aux_dir=
2252for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2253  if test -f "$ac_dir/install-sh"; then
2254    ac_aux_dir=$ac_dir
2255    ac_install_sh="$ac_aux_dir/install-sh -c"
2256    break
2257  elif test -f "$ac_dir/install.sh"; then
2258    ac_aux_dir=$ac_dir
2259    ac_install_sh="$ac_aux_dir/install.sh -c"
2260    break
2261  elif test -f "$ac_dir/shtool"; then
2262    ac_aux_dir=$ac_dir
2263    ac_install_sh="$ac_aux_dir/shtool install -c"
2264    break
2265  fi
2266done
2267if test -z "$ac_aux_dir"; then
2268  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2269fi
2270
2271# These three variables are undocumented and unsupported,
2272# and are intended to be withdrawn in a future Autoconf release.
2273# They can cause serious problems if a builder's source tree is in a directory
2274# whose full name contains unusual characters.
2275ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2276ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2277ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2278
2279
2280# Find a good install program.  We prefer a C program (faster),
2281# so one script is as good as another.  But avoid the broken or
2282# incompatible versions:
2283# SysV /etc/install, /usr/sbin/install
2284# SunOS /usr/etc/install
2285# IRIX /sbin/install
2286# AIX /bin/install
2287# AmigaOS /C/install, which installs bootblocks on floppy discs
2288# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2289# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2290# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2291# OS/2's system install, which has a completely different semantic
2292# ./install, which can be erroneously created by make from ./install.sh.
2293# Reject install programs that cannot install multiple files.
2294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2295$as_echo_n "checking for a BSD-compatible install... " >&6; }
2296if test -z "$INSTALL"; then
2297if ${ac_cv_path_install+:} false; then :
2298  $as_echo_n "(cached) " >&6
2299else
2300  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301for as_dir in $PATH
2302do
2303  IFS=$as_save_IFS
2304  test -z "$as_dir" && as_dir=.
2305    # Account for people who put trailing slashes in PATH elements.
2306case $as_dir/ in #((
2307  ./ | .// | /[cC]/* | \
2308  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2309  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2310  /usr/ucb/* ) ;;
2311  *)
2312    # OSF1 and SCO ODT 3.0 have their own names for install.
2313    # Don't use installbsd from OSF since it installs stuff as root
2314    # by default.
2315    for ac_prog in ginstall scoinst install; do
2316      for ac_exec_ext in '' $ac_executable_extensions; do
2317	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2318	  if test $ac_prog = install &&
2319	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2320	    # AIX install.  It has an incompatible calling convention.
2321	    :
2322	  elif test $ac_prog = install &&
2323	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2324	    # program-specific install script used by HP pwplus--don't use.
2325	    :
2326	  else
2327	    rm -rf conftest.one conftest.two conftest.dir
2328	    echo one > conftest.one
2329	    echo two > conftest.two
2330	    mkdir conftest.dir
2331	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2332	      test -s conftest.one && test -s conftest.two &&
2333	      test -s conftest.dir/conftest.one &&
2334	      test -s conftest.dir/conftest.two
2335	    then
2336	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2337	      break 3
2338	    fi
2339	  fi
2340	fi
2341      done
2342    done
2343    ;;
2344esac
2345
2346  done
2347IFS=$as_save_IFS
2348
2349rm -rf conftest.one conftest.two conftest.dir
2350
2351fi
2352  if test "${ac_cv_path_install+set}" = set; then
2353    INSTALL=$ac_cv_path_install
2354  else
2355    # As a last resort, use the slow shell script.  Don't cache a
2356    # value for INSTALL within a source directory, because that will
2357    # break other packages using the cache if that directory is
2358    # removed, or if the value is a relative name.
2359    INSTALL=$ac_install_sh
2360  fi
2361fi
2362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2363$as_echo "$INSTALL" >&6; }
2364
2365# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2366# It thinks the first close brace ends the variable substitution.
2367test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2368
2369test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2370
2371test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2372
2373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2374$as_echo_n "checking whether build environment is sane... " >&6; }
2375# Reject unsafe characters in $srcdir or the absolute working directory
2376# name.  Accept space and tab only in the latter.
2377am_lf='
2378'
2379case `pwd` in
2380  *[\\\"\#\$\&\'\`$am_lf]*)
2381    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2382esac
2383case $srcdir in
2384  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2385    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2386esac
2387
2388# Do 'set' in a subshell so we don't clobber the current shell's
2389# arguments.  Must try -L first in case configure is actually a
2390# symlink; some systems play weird games with the mod time of symlinks
2391# (eg FreeBSD returns the mod time of the symlink's containing
2392# directory).
2393if (
2394   am_has_slept=no
2395   for am_try in 1 2; do
2396     echo "timestamp, slept: $am_has_slept" > conftest.file
2397     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2398     if test "$*" = "X"; then
2399	# -L didn't work.
2400	set X `ls -t "$srcdir/configure" conftest.file`
2401     fi
2402     if test "$*" != "X $srcdir/configure conftest.file" \
2403	&& test "$*" != "X conftest.file $srcdir/configure"; then
2404
2405	# If neither matched, then we have a broken ls.  This can happen
2406	# if, for instance, CONFIG_SHELL is bash and it inherits a
2407	# broken ls alias from the environment.  This has actually
2408	# happened.  Such a system could not be considered "sane".
2409	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2410  alias in your environment" "$LINENO" 5
2411     fi
2412     if test "$2" = conftest.file || test $am_try -eq 2; then
2413       break
2414     fi
2415     # Just in case.
2416     sleep 1
2417     am_has_slept=yes
2418   done
2419   test "$2" = conftest.file
2420   )
2421then
2422   # Ok.
2423   :
2424else
2425   as_fn_error $? "newly created file is older than distributed files!
2426Check your system clock" "$LINENO" 5
2427fi
2428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2429$as_echo "yes" >&6; }
2430# If we didn't sleep, we still need to ensure time stamps of config.status and
2431# generated files are strictly newer.
2432am_sleep_pid=
2433if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2434  ( sleep 1 ) &
2435  am_sleep_pid=$!
2436fi
2437
2438rm -f conftest.file
2439
2440test "$program_prefix" != NONE &&
2441  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2442# Use a double $ so make ignores it.
2443test "$program_suffix" != NONE &&
2444  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2445# Double any \ or $.
2446# By default was `s,x,x', remove it if useless.
2447ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2448program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2449
2450# Expand $ac_aux_dir to an absolute path.
2451am_aux_dir=`cd "$ac_aux_dir" && pwd`
2452
2453if test x"${MISSING+set}" != xset; then
2454  case $am_aux_dir in
2455  *\ * | *\	*)
2456    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2457  *)
2458    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2459  esac
2460fi
2461# Use eval to expand $SHELL
2462if eval "$MISSING --is-lightweight"; then
2463  am_missing_run="$MISSING "
2464else
2465  am_missing_run=
2466  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2467$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2468fi
2469
2470if test x"${install_sh}" != xset; then
2471  case $am_aux_dir in
2472  *\ * | *\	*)
2473    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2474  *)
2475    install_sh="\${SHELL} $am_aux_dir/install-sh"
2476  esac
2477fi
2478
2479# Installed binaries are usually stripped using 'strip' when the user
2480# run "make install-strip".  However 'strip' might not be the right
2481# tool to use in cross-compilation environments, therefore Automake
2482# will honor the 'STRIP' environment variable to overrule this program.
2483if test "$cross_compiling" != no; then
2484  if test -n "$ac_tool_prefix"; then
2485  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2486set dummy ${ac_tool_prefix}strip; ac_word=$2
2487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2488$as_echo_n "checking for $ac_word... " >&6; }
2489if ${ac_cv_prog_STRIP+:} false; then :
2490  $as_echo_n "(cached) " >&6
2491else
2492  if test -n "$STRIP"; then
2493  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2494else
2495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2496for as_dir in $PATH
2497do
2498  IFS=$as_save_IFS
2499  test -z "$as_dir" && as_dir=.
2500    for ac_exec_ext in '' $ac_executable_extensions; do
2501  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2502    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2503    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2504    break 2
2505  fi
2506done
2507  done
2508IFS=$as_save_IFS
2509
2510fi
2511fi
2512STRIP=$ac_cv_prog_STRIP
2513if test -n "$STRIP"; then
2514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2515$as_echo "$STRIP" >&6; }
2516else
2517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2518$as_echo "no" >&6; }
2519fi
2520
2521
2522fi
2523if test -z "$ac_cv_prog_STRIP"; then
2524  ac_ct_STRIP=$STRIP
2525  # Extract the first word of "strip", so it can be a program name with args.
2526set dummy strip; ac_word=$2
2527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2528$as_echo_n "checking for $ac_word... " >&6; }
2529if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2530  $as_echo_n "(cached) " >&6
2531else
2532  if test -n "$ac_ct_STRIP"; then
2533  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2534else
2535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536for as_dir in $PATH
2537do
2538  IFS=$as_save_IFS
2539  test -z "$as_dir" && as_dir=.
2540    for ac_exec_ext in '' $ac_executable_extensions; do
2541  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2542    ac_cv_prog_ac_ct_STRIP="strip"
2543    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2544    break 2
2545  fi
2546done
2547  done
2548IFS=$as_save_IFS
2549
2550fi
2551fi
2552ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2553if test -n "$ac_ct_STRIP"; then
2554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2555$as_echo "$ac_ct_STRIP" >&6; }
2556else
2557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558$as_echo "no" >&6; }
2559fi
2560
2561  if test "x$ac_ct_STRIP" = x; then
2562    STRIP=":"
2563  else
2564    case $cross_compiling:$ac_tool_warned in
2565yes:)
2566{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2567$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2568ac_tool_warned=yes ;;
2569esac
2570    STRIP=$ac_ct_STRIP
2571  fi
2572else
2573  STRIP="$ac_cv_prog_STRIP"
2574fi
2575
2576fi
2577INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2578
2579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2580$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2581if test -z "$MKDIR_P"; then
2582  if ${ac_cv_path_mkdir+:} false; then :
2583  $as_echo_n "(cached) " >&6
2584else
2585  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2587do
2588  IFS=$as_save_IFS
2589  test -z "$as_dir" && as_dir=.
2590    for ac_prog in mkdir gmkdir; do
2591	 for ac_exec_ext in '' $ac_executable_extensions; do
2592	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2593	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2594	     'mkdir (GNU coreutils) '* | \
2595	     'mkdir (coreutils) '* | \
2596	     'mkdir (fileutils) '4.1*)
2597	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2598	       break 3;;
2599	   esac
2600	 done
2601       done
2602  done
2603IFS=$as_save_IFS
2604
2605fi
2606
2607  test -d ./--version && rmdir ./--version
2608  if test "${ac_cv_path_mkdir+set}" = set; then
2609    MKDIR_P="$ac_cv_path_mkdir -p"
2610  else
2611    # As a last resort, use the slow shell script.  Don't cache a
2612    # value for MKDIR_P within a source directory, because that will
2613    # break other packages using the cache if that directory is
2614    # removed, or if the value is a relative name.
2615    MKDIR_P="$ac_install_sh -d"
2616  fi
2617fi
2618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2619$as_echo "$MKDIR_P" >&6; }
2620
2621for ac_prog in gawk mawk nawk awk
2622do
2623  # Extract the first word of "$ac_prog", so it can be a program name with args.
2624set dummy $ac_prog; ac_word=$2
2625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2626$as_echo_n "checking for $ac_word... " >&6; }
2627if ${ac_cv_prog_AWK+:} false; then :
2628  $as_echo_n "(cached) " >&6
2629else
2630  if test -n "$AWK"; then
2631  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2632else
2633as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2634for as_dir in $PATH
2635do
2636  IFS=$as_save_IFS
2637  test -z "$as_dir" && as_dir=.
2638    for ac_exec_ext in '' $ac_executable_extensions; do
2639  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2640    ac_cv_prog_AWK="$ac_prog"
2641    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2642    break 2
2643  fi
2644done
2645  done
2646IFS=$as_save_IFS
2647
2648fi
2649fi
2650AWK=$ac_cv_prog_AWK
2651if test -n "$AWK"; then
2652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2653$as_echo "$AWK" >&6; }
2654else
2655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2656$as_echo "no" >&6; }
2657fi
2658
2659
2660  test -n "$AWK" && break
2661done
2662
2663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2664$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2665set x ${MAKE-make}
2666ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2667if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2668  $as_echo_n "(cached) " >&6
2669else
2670  cat >conftest.make <<\_ACEOF
2671SHELL = /bin/sh
2672all:
2673	@echo '@@@%%%=$(MAKE)=@@@%%%'
2674_ACEOF
2675# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2676case `${MAKE-make} -f conftest.make 2>/dev/null` in
2677  *@@@%%%=?*=@@@%%%*)
2678    eval ac_cv_prog_make_${ac_make}_set=yes;;
2679  *)
2680    eval ac_cv_prog_make_${ac_make}_set=no;;
2681esac
2682rm -f conftest.make
2683fi
2684if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2686$as_echo "yes" >&6; }
2687  SET_MAKE=
2688else
2689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2690$as_echo "no" >&6; }
2691  SET_MAKE="MAKE=${MAKE-make}"
2692fi
2693
2694rm -rf .tst 2>/dev/null
2695mkdir .tst 2>/dev/null
2696if test -d .tst; then
2697  am__leading_dot=.
2698else
2699  am__leading_dot=_
2700fi
2701rmdir .tst 2>/dev/null
2702
2703# Check whether --enable-silent-rules was given.
2704if test "${enable_silent_rules+set}" = set; then :
2705  enableval=$enable_silent_rules;
2706fi
2707
2708case $enable_silent_rules in # (((
2709  yes) AM_DEFAULT_VERBOSITY=0;;
2710   no) AM_DEFAULT_VERBOSITY=1;;
2711    *) AM_DEFAULT_VERBOSITY=1;;
2712esac
2713am_make=${MAKE-make}
2714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2715$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2716if ${am_cv_make_support_nested_variables+:} false; then :
2717  $as_echo_n "(cached) " >&6
2718else
2719  if $as_echo 'TRUE=$(BAR$(V))
2720BAR0=false
2721BAR1=true
2722V=1
2723am__doit:
2724	@$(TRUE)
2725.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2726  am_cv_make_support_nested_variables=yes
2727else
2728  am_cv_make_support_nested_variables=no
2729fi
2730fi
2731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2732$as_echo "$am_cv_make_support_nested_variables" >&6; }
2733if test $am_cv_make_support_nested_variables = yes; then
2734    AM_V='$(V)'
2735  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2736else
2737  AM_V=$AM_DEFAULT_VERBOSITY
2738  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2739fi
2740AM_BACKSLASH='\'
2741
2742if test "`cd $srcdir && pwd`" != "`pwd`"; then
2743  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2744  # is not polluted with repeated "-I."
2745  am__isrc=' -I$(srcdir)'
2746  # test to see if srcdir already configured
2747  if test -f $srcdir/config.status; then
2748    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2749  fi
2750fi
2751
2752# test whether we have cygpath
2753if test -z "$CYGPATH_W"; then
2754  if (cygpath --version) >/dev/null 2>/dev/null; then
2755    CYGPATH_W='cygpath -w'
2756  else
2757    CYGPATH_W=echo
2758  fi
2759fi
2760
2761
2762# Define the identity of the package.
2763 PACKAGE='concordance'
2764 VERSION='1.2'
2765
2766
2767cat >>confdefs.h <<_ACEOF
2768#define PACKAGE "$PACKAGE"
2769_ACEOF
2770
2771
2772cat >>confdefs.h <<_ACEOF
2773#define VERSION "$VERSION"
2774_ACEOF
2775
2776# Some tools Automake needs.
2777
2778ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2779
2780
2781AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2782
2783
2784AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2785
2786
2787AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2788
2789
2790MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2791
2792# For better backward compatibility.  To be removed once Automake 1.9.x
2793# dies out for good.  For more background, see:
2794# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2795# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2796mkdir_p='$(MKDIR_P)'
2797
2798# We need awk for the "check" target.  The system "awk" is bad on
2799# some platforms.
2800# Always define AMTAR for backward compatibility.  Yes, it's still used
2801# in the wild :-(  We should find a proper way to deprecate it ...
2802AMTAR='$${TAR-tar}'
2803
2804
2805# We'll loop over all known methods to create a tar archive until one works.
2806_am_tools='gnutar  pax cpio none'
2807
2808am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2809
2810
2811
2812
2813
2814
2815# POSIX will say in a future version that running "rm -f" with no argument
2816# is OK; and we want to be able to make that assumption in our Makefile
2817# recipes.  So use an aggressive probe to check that the usage we want is
2818# actually supported "in the wild" to an acceptable degree.
2819# See automake bug#10828.
2820# To make any issue more visible, cause the running configure to be aborted
2821# by default if the 'rm' program in use doesn't match our expectations; the
2822# user can still override this though.
2823if rm -f && rm -fr && rm -rf; then : OK; else
2824  cat >&2 <<'END'
2825Oops!
2826
2827Your 'rm' program seems unable to run without file operands specified
2828on the command line, even when the '-f' option is present.  This is contrary
2829to the behaviour of most rm programs out there, and not conforming with
2830the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2831
2832Please tell bug-automake@gnu.org about your system, including the value
2833of your $PATH and any error possibly output before this message.  This
2834can help us improve future automake versions.
2835
2836END
2837  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2838    echo 'Configuration will proceed anyway, since you have set the' >&2
2839    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2840    echo >&2
2841  else
2842    cat >&2 <<'END'
2843Aborting the configuration process, to ensure you take notice of the issue.
2844
2845You can download and install GNU coreutils to get an 'rm' implementation
2846that behaves properly: <http://www.gnu.org/software/coreutils/>.
2847
2848If you want to complete the configuration process using your problematic
2849'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2850to "yes", and re-run configure.
2851
2852END
2853    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2854  fi
2855fi
2856
2857DEPDIR="${am__leading_dot}deps"
2858
2859ac_config_commands="$ac_config_commands depfiles"
2860
2861
2862am_make=${MAKE-make}
2863cat > confinc << 'END'
2864am__doit:
2865	@echo this is the am__doit target
2866.PHONY: am__doit
2867END
2868# If we don't find an include directive, just comment out the code.
2869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2870$as_echo_n "checking for style of include used by $am_make... " >&6; }
2871am__include="#"
2872am__quote=
2873_am_result=none
2874# First try GNU make style include.
2875echo "include confinc" > confmf
2876# Ignore all kinds of additional output from 'make'.
2877case `$am_make -s -f confmf 2> /dev/null` in #(
2878*the\ am__doit\ target*)
2879  am__include=include
2880  am__quote=
2881  _am_result=GNU
2882  ;;
2883esac
2884# Now try BSD make style include.
2885if test "$am__include" = "#"; then
2886   echo '.include "confinc"' > confmf
2887   case `$am_make -s -f confmf 2> /dev/null` in #(
2888   *the\ am__doit\ target*)
2889     am__include=.include
2890     am__quote="\""
2891     _am_result=BSD
2892     ;;
2893   esac
2894fi
2895
2896
2897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2898$as_echo "$_am_result" >&6; }
2899rm -f confinc confmf
2900
2901# Check whether --enable-dependency-tracking was given.
2902if test "${enable_dependency_tracking+set}" = set; then :
2903  enableval=$enable_dependency_tracking;
2904fi
2905
2906if test "x$enable_dependency_tracking" != xno; then
2907  am_depcomp="$ac_aux_dir/depcomp"
2908  AMDEPBACKSLASH='\'
2909  am__nodep='_no'
2910fi
2911 if test "x$enable_dependency_tracking" != xno; then
2912  AMDEP_TRUE=
2913  AMDEP_FALSE='#'
2914else
2915  AMDEP_TRUE='#'
2916  AMDEP_FALSE=
2917fi
2918
2919
2920ac_ext=c
2921ac_cpp='$CPP $CPPFLAGS'
2922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2924ac_compiler_gnu=$ac_cv_c_compiler_gnu
2925if test -n "$ac_tool_prefix"; then
2926  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2927set dummy ${ac_tool_prefix}gcc; ac_word=$2
2928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2929$as_echo_n "checking for $ac_word... " >&6; }
2930if ${ac_cv_prog_CC+:} false; then :
2931  $as_echo_n "(cached) " >&6
2932else
2933  if test -n "$CC"; then
2934  ac_cv_prog_CC="$CC" # Let the user override the test.
2935else
2936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2937for as_dir in $PATH
2938do
2939  IFS=$as_save_IFS
2940  test -z "$as_dir" && as_dir=.
2941    for ac_exec_ext in '' $ac_executable_extensions; do
2942  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2943    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2944    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945    break 2
2946  fi
2947done
2948  done
2949IFS=$as_save_IFS
2950
2951fi
2952fi
2953CC=$ac_cv_prog_CC
2954if test -n "$CC"; then
2955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2956$as_echo "$CC" >&6; }
2957else
2958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959$as_echo "no" >&6; }
2960fi
2961
2962
2963fi
2964if test -z "$ac_cv_prog_CC"; then
2965  ac_ct_CC=$CC
2966  # Extract the first word of "gcc", so it can be a program name with args.
2967set dummy gcc; ac_word=$2
2968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969$as_echo_n "checking for $ac_word... " >&6; }
2970if ${ac_cv_prog_ac_ct_CC+:} false; then :
2971  $as_echo_n "(cached) " >&6
2972else
2973  if test -n "$ac_ct_CC"; then
2974  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2975else
2976as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977for as_dir in $PATH
2978do
2979  IFS=$as_save_IFS
2980  test -z "$as_dir" && as_dir=.
2981    for ac_exec_ext in '' $ac_executable_extensions; do
2982  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2983    ac_cv_prog_ac_ct_CC="gcc"
2984    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985    break 2
2986  fi
2987done
2988  done
2989IFS=$as_save_IFS
2990
2991fi
2992fi
2993ac_ct_CC=$ac_cv_prog_ac_ct_CC
2994if test -n "$ac_ct_CC"; then
2995  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2996$as_echo "$ac_ct_CC" >&6; }
2997else
2998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999$as_echo "no" >&6; }
3000fi
3001
3002  if test "x$ac_ct_CC" = x; then
3003    CC=""
3004  else
3005    case $cross_compiling:$ac_tool_warned in
3006yes:)
3007{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3008$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3009ac_tool_warned=yes ;;
3010esac
3011    CC=$ac_ct_CC
3012  fi
3013else
3014  CC="$ac_cv_prog_CC"
3015fi
3016
3017if test -z "$CC"; then
3018          if test -n "$ac_tool_prefix"; then
3019    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3020set dummy ${ac_tool_prefix}cc; ac_word=$2
3021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022$as_echo_n "checking for $ac_word... " >&6; }
3023if ${ac_cv_prog_CC+:} false; then :
3024  $as_echo_n "(cached) " >&6
3025else
3026  if test -n "$CC"; then
3027  ac_cv_prog_CC="$CC" # Let the user override the test.
3028else
3029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030for as_dir in $PATH
3031do
3032  IFS=$as_save_IFS
3033  test -z "$as_dir" && as_dir=.
3034    for ac_exec_ext in '' $ac_executable_extensions; do
3035  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3036    ac_cv_prog_CC="${ac_tool_prefix}cc"
3037    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038    break 2
3039  fi
3040done
3041  done
3042IFS=$as_save_IFS
3043
3044fi
3045fi
3046CC=$ac_cv_prog_CC
3047if test -n "$CC"; then
3048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3049$as_echo "$CC" >&6; }
3050else
3051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052$as_echo "no" >&6; }
3053fi
3054
3055
3056  fi
3057fi
3058if test -z "$CC"; then
3059  # Extract the first word of "cc", so it can be a program name with args.
3060set dummy cc; ac_word=$2
3061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062$as_echo_n "checking for $ac_word... " >&6; }
3063if ${ac_cv_prog_CC+:} false; then :
3064  $as_echo_n "(cached) " >&6
3065else
3066  if test -n "$CC"; then
3067  ac_cv_prog_CC="$CC" # Let the user override the test.
3068else
3069  ac_prog_rejected=no
3070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071for as_dir in $PATH
3072do
3073  IFS=$as_save_IFS
3074  test -z "$as_dir" && as_dir=.
3075    for ac_exec_ext in '' $ac_executable_extensions; do
3076  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3077    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3078       ac_prog_rejected=yes
3079       continue
3080     fi
3081    ac_cv_prog_CC="cc"
3082    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083    break 2
3084  fi
3085done
3086  done
3087IFS=$as_save_IFS
3088
3089if test $ac_prog_rejected = yes; then
3090  # We found a bogon in the path, so make sure we never use it.
3091  set dummy $ac_cv_prog_CC
3092  shift
3093  if test $# != 0; then
3094    # We chose a different compiler from the bogus one.
3095    # However, it has the same basename, so the bogon will be chosen
3096    # first if we set CC to just the basename; use the full file name.
3097    shift
3098    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3099  fi
3100fi
3101fi
3102fi
3103CC=$ac_cv_prog_CC
3104if test -n "$CC"; then
3105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3106$as_echo "$CC" >&6; }
3107else
3108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3109$as_echo "no" >&6; }
3110fi
3111
3112
3113fi
3114if test -z "$CC"; then
3115  if test -n "$ac_tool_prefix"; then
3116  for ac_prog in cl.exe
3117  do
3118    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3119set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121$as_echo_n "checking for $ac_word... " >&6; }
3122if ${ac_cv_prog_CC+:} false; then :
3123  $as_echo_n "(cached) " >&6
3124else
3125  if test -n "$CC"; then
3126  ac_cv_prog_CC="$CC" # Let the user override the test.
3127else
3128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3129for as_dir in $PATH
3130do
3131  IFS=$as_save_IFS
3132  test -z "$as_dir" && as_dir=.
3133    for ac_exec_ext in '' $ac_executable_extensions; do
3134  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3135    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3136    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3137    break 2
3138  fi
3139done
3140  done
3141IFS=$as_save_IFS
3142
3143fi
3144fi
3145CC=$ac_cv_prog_CC
3146if test -n "$CC"; then
3147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3148$as_echo "$CC" >&6; }
3149else
3150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151$as_echo "no" >&6; }
3152fi
3153
3154
3155    test -n "$CC" && break
3156  done
3157fi
3158if test -z "$CC"; then
3159  ac_ct_CC=$CC
3160  for ac_prog in cl.exe
3161do
3162  # Extract the first word of "$ac_prog", so it can be a program name with args.
3163set dummy $ac_prog; ac_word=$2
3164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165$as_echo_n "checking for $ac_word... " >&6; }
3166if ${ac_cv_prog_ac_ct_CC+:} false; then :
3167  $as_echo_n "(cached) " >&6
3168else
3169  if test -n "$ac_ct_CC"; then
3170  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3171else
3172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173for as_dir in $PATH
3174do
3175  IFS=$as_save_IFS
3176  test -z "$as_dir" && as_dir=.
3177    for ac_exec_ext in '' $ac_executable_extensions; do
3178  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3179    ac_cv_prog_ac_ct_CC="$ac_prog"
3180    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181    break 2
3182  fi
3183done
3184  done
3185IFS=$as_save_IFS
3186
3187fi
3188fi
3189ac_ct_CC=$ac_cv_prog_ac_ct_CC
3190if test -n "$ac_ct_CC"; then
3191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3192$as_echo "$ac_ct_CC" >&6; }
3193else
3194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195$as_echo "no" >&6; }
3196fi
3197
3198
3199  test -n "$ac_ct_CC" && break
3200done
3201
3202  if test "x$ac_ct_CC" = x; then
3203    CC=""
3204  else
3205    case $cross_compiling:$ac_tool_warned in
3206yes:)
3207{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3208$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3209ac_tool_warned=yes ;;
3210esac
3211    CC=$ac_ct_CC
3212  fi
3213fi
3214
3215fi
3216
3217
3218test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220as_fn_error $? "no acceptable C compiler found in \$PATH
3221See \`config.log' for more details" "$LINENO" 5; }
3222
3223# Provide some information about the compiler.
3224$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3225set X $ac_compile
3226ac_compiler=$2
3227for ac_option in --version -v -V -qversion; do
3228  { { ac_try="$ac_compiler $ac_option >&5"
3229case "(($ac_try" in
3230  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231  *) ac_try_echo=$ac_try;;
3232esac
3233eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3234$as_echo "$ac_try_echo"; } >&5
3235  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3236  ac_status=$?
3237  if test -s conftest.err; then
3238    sed '10a\
3239... rest of stderr output deleted ...
3240         10q' conftest.err >conftest.er1
3241    cat conftest.er1 >&5
3242  fi
3243  rm -f conftest.er1 conftest.err
3244  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3245  test $ac_status = 0; }
3246done
3247
3248cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249/* end confdefs.h.  */
3250
3251int
3252main ()
3253{
3254
3255  ;
3256  return 0;
3257}
3258_ACEOF
3259ac_clean_files_save=$ac_clean_files
3260ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3261# Try to create an executable without -o first, disregard a.out.
3262# It will help us diagnose broken compilers, and finding out an intuition
3263# of exeext.
3264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3265$as_echo_n "checking whether the C compiler works... " >&6; }
3266ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3267
3268# The possible output files:
3269ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3270
3271ac_rmfiles=
3272for ac_file in $ac_files
3273do
3274  case $ac_file in
3275    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3276    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3277  esac
3278done
3279rm -f $ac_rmfiles
3280
3281if { { ac_try="$ac_link_default"
3282case "(($ac_try" in
3283  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3284  *) ac_try_echo=$ac_try;;
3285esac
3286eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3287$as_echo "$ac_try_echo"; } >&5
3288  (eval "$ac_link_default") 2>&5
3289  ac_status=$?
3290  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3291  test $ac_status = 0; }; then :
3292  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3293# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3294# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3295# so that the user can short-circuit this test for compilers unknown to
3296# Autoconf.
3297for ac_file in $ac_files ''
3298do
3299  test -f "$ac_file" || continue
3300  case $ac_file in
3301    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3302	;;
3303    [ab].out )
3304	# We found the default executable, but exeext='' is most
3305	# certainly right.
3306	break;;
3307    *.* )
3308	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3309	then :; else
3310	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3311	fi
3312	# We set ac_cv_exeext here because the later test for it is not
3313	# safe: cross compilers may not add the suffix if given an `-o'
3314	# argument, so we may need to know it at that point already.
3315	# Even if this section looks crufty: it has the advantage of
3316	# actually working.
3317	break;;
3318    * )
3319	break;;
3320  esac
3321done
3322test "$ac_cv_exeext" = no && ac_cv_exeext=
3323
3324else
3325  ac_file=''
3326fi
3327if test -z "$ac_file"; then :
3328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3329$as_echo "no" >&6; }
3330$as_echo "$as_me: failed program was:" >&5
3331sed 's/^/| /' conftest.$ac_ext >&5
3332
3333{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3334$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3335as_fn_error 77 "C compiler cannot create executables
3336See \`config.log' for more details" "$LINENO" 5; }
3337else
3338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3339$as_echo "yes" >&6; }
3340fi
3341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3342$as_echo_n "checking for C compiler default output file name... " >&6; }
3343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3344$as_echo "$ac_file" >&6; }
3345ac_exeext=$ac_cv_exeext
3346
3347rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3348ac_clean_files=$ac_clean_files_save
3349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3350$as_echo_n "checking for suffix of executables... " >&6; }
3351if { { ac_try="$ac_link"
3352case "(($ac_try" in
3353  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354  *) ac_try_echo=$ac_try;;
3355esac
3356eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3357$as_echo "$ac_try_echo"; } >&5
3358  (eval "$ac_link") 2>&5
3359  ac_status=$?
3360  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3361  test $ac_status = 0; }; then :
3362  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3363# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3364# work properly (i.e., refer to `conftest.exe'), while it won't with
3365# `rm'.
3366for ac_file in conftest.exe conftest conftest.*; do
3367  test -f "$ac_file" || continue
3368  case $ac_file in
3369    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3370    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3371	  break;;
3372    * ) break;;
3373  esac
3374done
3375else
3376  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3377$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3378as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3379See \`config.log' for more details" "$LINENO" 5; }
3380fi
3381rm -f conftest conftest$ac_cv_exeext
3382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3383$as_echo "$ac_cv_exeext" >&6; }
3384
3385rm -f conftest.$ac_ext
3386EXEEXT=$ac_cv_exeext
3387ac_exeext=$EXEEXT
3388cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389/* end confdefs.h.  */
3390#include <stdio.h>
3391int
3392main ()
3393{
3394FILE *f = fopen ("conftest.out", "w");
3395 return ferror (f) || fclose (f) != 0;
3396
3397  ;
3398  return 0;
3399}
3400_ACEOF
3401ac_clean_files="$ac_clean_files conftest.out"
3402# Check that the compiler produces executables we can run.  If not, either
3403# the compiler is broken, or we cross compile.
3404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3405$as_echo_n "checking whether we are cross compiling... " >&6; }
3406if test "$cross_compiling" != yes; then
3407  { { ac_try="$ac_link"
3408case "(($ac_try" in
3409  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410  *) ac_try_echo=$ac_try;;
3411esac
3412eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413$as_echo "$ac_try_echo"; } >&5
3414  (eval "$ac_link") 2>&5
3415  ac_status=$?
3416  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3417  test $ac_status = 0; }
3418  if { ac_try='./conftest$ac_cv_exeext'
3419  { { case "(($ac_try" in
3420  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421  *) ac_try_echo=$ac_try;;
3422esac
3423eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424$as_echo "$ac_try_echo"; } >&5
3425  (eval "$ac_try") 2>&5
3426  ac_status=$?
3427  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3428  test $ac_status = 0; }; }; then
3429    cross_compiling=no
3430  else
3431    if test "$cross_compiling" = maybe; then
3432	cross_compiling=yes
3433    else
3434	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436as_fn_error $? "cannot run C compiled programs.
3437If you meant to cross compile, use \`--host'.
3438See \`config.log' for more details" "$LINENO" 5; }
3439    fi
3440  fi
3441fi
3442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3443$as_echo "$cross_compiling" >&6; }
3444
3445rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3446ac_clean_files=$ac_clean_files_save
3447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3448$as_echo_n "checking for suffix of object files... " >&6; }
3449if ${ac_cv_objext+:} false; then :
3450  $as_echo_n "(cached) " >&6
3451else
3452  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453/* end confdefs.h.  */
3454
3455int
3456main ()
3457{
3458
3459  ;
3460  return 0;
3461}
3462_ACEOF
3463rm -f conftest.o conftest.obj
3464if { { ac_try="$ac_compile"
3465case "(($ac_try" in
3466  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467  *) ac_try_echo=$ac_try;;
3468esac
3469eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3470$as_echo "$ac_try_echo"; } >&5
3471  (eval "$ac_compile") 2>&5
3472  ac_status=$?
3473  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474  test $ac_status = 0; }; then :
3475  for ac_file in conftest.o conftest.obj conftest.*; do
3476  test -f "$ac_file" || continue;
3477  case $ac_file in
3478    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3479    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3480       break;;
3481  esac
3482done
3483else
3484  $as_echo "$as_me: failed program was:" >&5
3485sed 's/^/| /' conftest.$ac_ext >&5
3486
3487{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3488$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3489as_fn_error $? "cannot compute suffix of object files: cannot compile
3490See \`config.log' for more details" "$LINENO" 5; }
3491fi
3492rm -f conftest.$ac_cv_objext conftest.$ac_ext
3493fi
3494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3495$as_echo "$ac_cv_objext" >&6; }
3496OBJEXT=$ac_cv_objext
3497ac_objext=$OBJEXT
3498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3499$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3500if ${ac_cv_c_compiler_gnu+:} false; then :
3501  $as_echo_n "(cached) " >&6
3502else
3503  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504/* end confdefs.h.  */
3505
3506int
3507main ()
3508{
3509#ifndef __GNUC__
3510       choke me
3511#endif
3512
3513  ;
3514  return 0;
3515}
3516_ACEOF
3517if ac_fn_c_try_compile "$LINENO"; then :
3518  ac_compiler_gnu=yes
3519else
3520  ac_compiler_gnu=no
3521fi
3522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523ac_cv_c_compiler_gnu=$ac_compiler_gnu
3524
3525fi
3526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3527$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3528if test $ac_compiler_gnu = yes; then
3529  GCC=yes
3530else
3531  GCC=
3532fi
3533ac_test_CFLAGS=${CFLAGS+set}
3534ac_save_CFLAGS=$CFLAGS
3535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3536$as_echo_n "checking whether $CC accepts -g... " >&6; }
3537if ${ac_cv_prog_cc_g+:} false; then :
3538  $as_echo_n "(cached) " >&6
3539else
3540  ac_save_c_werror_flag=$ac_c_werror_flag
3541   ac_c_werror_flag=yes
3542   ac_cv_prog_cc_g=no
3543   CFLAGS="-g"
3544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545/* end confdefs.h.  */
3546
3547int
3548main ()
3549{
3550
3551  ;
3552  return 0;
3553}
3554_ACEOF
3555if ac_fn_c_try_compile "$LINENO"; then :
3556  ac_cv_prog_cc_g=yes
3557else
3558  CFLAGS=""
3559      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560/* end confdefs.h.  */
3561
3562int
3563main ()
3564{
3565
3566  ;
3567  return 0;
3568}
3569_ACEOF
3570if ac_fn_c_try_compile "$LINENO"; then :
3571
3572else
3573  ac_c_werror_flag=$ac_save_c_werror_flag
3574	 CFLAGS="-g"
3575	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576/* end confdefs.h.  */
3577
3578int
3579main ()
3580{
3581
3582  ;
3583  return 0;
3584}
3585_ACEOF
3586if ac_fn_c_try_compile "$LINENO"; then :
3587  ac_cv_prog_cc_g=yes
3588fi
3589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3590fi
3591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592fi
3593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594   ac_c_werror_flag=$ac_save_c_werror_flag
3595fi
3596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3597$as_echo "$ac_cv_prog_cc_g" >&6; }
3598if test "$ac_test_CFLAGS" = set; then
3599  CFLAGS=$ac_save_CFLAGS
3600elif test $ac_cv_prog_cc_g = yes; then
3601  if test "$GCC" = yes; then
3602    CFLAGS="-g -O2"
3603  else
3604    CFLAGS="-g"
3605  fi
3606else
3607  if test "$GCC" = yes; then
3608    CFLAGS="-O2"
3609  else
3610    CFLAGS=
3611  fi
3612fi
3613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3614$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3615if ${ac_cv_prog_cc_c89+:} false; then :
3616  $as_echo_n "(cached) " >&6
3617else
3618  ac_cv_prog_cc_c89=no
3619ac_save_CC=$CC
3620cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621/* end confdefs.h.  */
3622#include <stdarg.h>
3623#include <stdio.h>
3624struct stat;
3625/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3626struct buf { int x; };
3627FILE * (*rcsopen) (struct buf *, struct stat *, int);
3628static char *e (p, i)
3629     char **p;
3630     int i;
3631{
3632  return p[i];
3633}
3634static char *f (char * (*g) (char **, int), char **p, ...)
3635{
3636  char *s;
3637  va_list v;
3638  va_start (v,p);
3639  s = g (p, va_arg (v,int));
3640  va_end (v);
3641  return s;
3642}
3643
3644/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3645   function prototypes and stuff, but not '\xHH' hex character constants.
3646   These don't provoke an error unfortunately, instead are silently treated
3647   as 'x'.  The following induces an error, until -std is added to get
3648   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3649   array size at least.  It's necessary to write '\x00'==0 to get something
3650   that's true only with -std.  */
3651int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3652
3653/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3654   inside strings and character constants.  */
3655#define FOO(x) 'x'
3656int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3657
3658int test (int i, double x);
3659struct s1 {int (*f) (int a);};
3660struct s2 {int (*f) (double a);};
3661int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3662int argc;
3663char **argv;
3664int
3665main ()
3666{
3667return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3668  ;
3669  return 0;
3670}
3671_ACEOF
3672for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3673	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3674do
3675  CC="$ac_save_CC $ac_arg"
3676  if ac_fn_c_try_compile "$LINENO"; then :
3677  ac_cv_prog_cc_c89=$ac_arg
3678fi
3679rm -f core conftest.err conftest.$ac_objext
3680  test "x$ac_cv_prog_cc_c89" != "xno" && break
3681done
3682rm -f conftest.$ac_ext
3683CC=$ac_save_CC
3684
3685fi
3686# AC_CACHE_VAL
3687case "x$ac_cv_prog_cc_c89" in
3688  x)
3689    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3690$as_echo "none needed" >&6; } ;;
3691  xno)
3692    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3693$as_echo "unsupported" >&6; } ;;
3694  *)
3695    CC="$CC $ac_cv_prog_cc_c89"
3696    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3697$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3698esac
3699if test "x$ac_cv_prog_cc_c89" != xno; then :
3700
3701fi
3702
3703ac_ext=c
3704ac_cpp='$CPP $CPPFLAGS'
3705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3707ac_compiler_gnu=$ac_cv_c_compiler_gnu
3708
3709ac_ext=c
3710ac_cpp='$CPP $CPPFLAGS'
3711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3713ac_compiler_gnu=$ac_cv_c_compiler_gnu
3714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3715$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3716if ${am_cv_prog_cc_c_o+:} false; then :
3717  $as_echo_n "(cached) " >&6
3718else
3719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720/* end confdefs.h.  */
3721
3722int
3723main ()
3724{
3725
3726  ;
3727  return 0;
3728}
3729_ACEOF
3730  # Make sure it works both with $CC and with simple cc.
3731  # Following AC_PROG_CC_C_O, we do the test twice because some
3732  # compilers refuse to overwrite an existing .o file with -o,
3733  # though they will create one.
3734  am_cv_prog_cc_c_o=yes
3735  for am_i in 1 2; do
3736    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3737   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3738   ac_status=$?
3739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740   (exit $ac_status); } \
3741         && test -f conftest2.$ac_objext; then
3742      : OK
3743    else
3744      am_cv_prog_cc_c_o=no
3745      break
3746    fi
3747  done
3748  rm -f core conftest*
3749  unset am_i
3750fi
3751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3752$as_echo "$am_cv_prog_cc_c_o" >&6; }
3753if test "$am_cv_prog_cc_c_o" != yes; then
3754   # Losing compiler, so override with the script.
3755   # FIXME: It is wrong to rewrite CC.
3756   # But if we don't then we get into trouble of one sort or another.
3757   # A longer-term fix would be to have automake use am__CC in this case,
3758   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3759   CC="$am_aux_dir/compile $CC"
3760fi
3761ac_ext=c
3762ac_cpp='$CPP $CPPFLAGS'
3763ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3764ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3765ac_compiler_gnu=$ac_cv_c_compiler_gnu
3766
3767
3768depcc="$CC"   am_compiler_list=
3769
3770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3771$as_echo_n "checking dependency style of $depcc... " >&6; }
3772if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3773  $as_echo_n "(cached) " >&6
3774else
3775  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3776  # We make a subdir and do the tests there.  Otherwise we can end up
3777  # making bogus files that we don't know about and never remove.  For
3778  # instance it was reported that on HP-UX the gcc test will end up
3779  # making a dummy file named 'D' -- because '-MD' means "put the output
3780  # in D".
3781  rm -rf conftest.dir
3782  mkdir conftest.dir
3783  # Copy depcomp to subdir because otherwise we won't find it if we're
3784  # using a relative directory.
3785  cp "$am_depcomp" conftest.dir
3786  cd conftest.dir
3787  # We will build objects and dependencies in a subdirectory because
3788  # it helps to detect inapplicable dependency modes.  For instance
3789  # both Tru64's cc and ICC support -MD to output dependencies as a
3790  # side effect of compilation, but ICC will put the dependencies in
3791  # the current directory while Tru64 will put them in the object
3792  # directory.
3793  mkdir sub
3794
3795  am_cv_CC_dependencies_compiler_type=none
3796  if test "$am_compiler_list" = ""; then
3797     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3798  fi
3799  am__universal=false
3800  case " $depcc " in #(
3801     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3802     esac
3803
3804  for depmode in $am_compiler_list; do
3805    # Setup a source with many dependencies, because some compilers
3806    # like to wrap large dependency lists on column 80 (with \), and
3807    # we should not choose a depcomp mode which is confused by this.
3808    #
3809    # We need to recreate these files for each test, as the compiler may
3810    # overwrite some of them when testing with obscure command lines.
3811    # This happens at least with the AIX C compiler.
3812    : > sub/conftest.c
3813    for i in 1 2 3 4 5 6; do
3814      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3815      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3816      # Solaris 10 /bin/sh.
3817      echo '/* dummy */' > sub/conftst$i.h
3818    done
3819    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3820
3821    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3822    # mode.  It turns out that the SunPro C++ compiler does not properly
3823    # handle '-M -o', and we need to detect this.  Also, some Intel
3824    # versions had trouble with output in subdirs.
3825    am__obj=sub/conftest.${OBJEXT-o}
3826    am__minus_obj="-o $am__obj"
3827    case $depmode in
3828    gcc)
3829      # This depmode causes a compiler race in universal mode.
3830      test "$am__universal" = false || continue
3831      ;;
3832    nosideeffect)
3833      # After this tag, mechanisms are not by side-effect, so they'll
3834      # only be used when explicitly requested.
3835      if test "x$enable_dependency_tracking" = xyes; then
3836	continue
3837      else
3838	break
3839      fi
3840      ;;
3841    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3842      # This compiler won't grok '-c -o', but also, the minuso test has
3843      # not run yet.  These depmodes are late enough in the game, and
3844      # so weak that their functioning should not be impacted.
3845      am__obj=conftest.${OBJEXT-o}
3846      am__minus_obj=
3847      ;;
3848    none) break ;;
3849    esac
3850    if depmode=$depmode \
3851       source=sub/conftest.c object=$am__obj \
3852       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3853       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3854         >/dev/null 2>conftest.err &&
3855       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3856       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3857       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3858       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3859      # icc doesn't choke on unknown options, it will just issue warnings
3860      # or remarks (even with -Werror).  So we grep stderr for any message
3861      # that says an option was ignored or not supported.
3862      # When given -MP, icc 7.0 and 7.1 complain thusly:
3863      #   icc: Command line warning: ignoring option '-M'; no argument required
3864      # The diagnosis changed in icc 8.0:
3865      #   icc: Command line remark: option '-MP' not supported
3866      if (grep 'ignoring option' conftest.err ||
3867          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3868        am_cv_CC_dependencies_compiler_type=$depmode
3869        break
3870      fi
3871    fi
3872  done
3873
3874  cd ..
3875  rm -rf conftest.dir
3876else
3877  am_cv_CC_dependencies_compiler_type=none
3878fi
3879
3880fi
3881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3882$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3883CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3884
3885 if
3886  test "x$enable_dependency_tracking" != xno \
3887  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3888  am__fastdepCC_TRUE=
3889  am__fastdepCC_FALSE='#'
3890else
3891  am__fastdepCC_TRUE='#'
3892  am__fastdepCC_FALSE=
3893fi
3894
3895
3896
3897
3898case `pwd` in
3899  *\ * | *\	*)
3900    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3901$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3902esac
3903
3904
3905
3906macro_version='2.4.2'
3907macro_revision='1.3337'
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921ltmain="$ac_aux_dir/ltmain.sh"
3922
3923# Make sure we can run config.sub.
3924$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3925  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3926
3927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3928$as_echo_n "checking build system type... " >&6; }
3929if ${ac_cv_build+:} false; then :
3930  $as_echo_n "(cached) " >&6
3931else
3932  ac_build_alias=$build_alias
3933test "x$ac_build_alias" = x &&
3934  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3935test "x$ac_build_alias" = x &&
3936  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3937ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3938  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3939
3940fi
3941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3942$as_echo "$ac_cv_build" >&6; }
3943case $ac_cv_build in
3944*-*-*) ;;
3945*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3946esac
3947build=$ac_cv_build
3948ac_save_IFS=$IFS; IFS='-'
3949set x $ac_cv_build
3950shift
3951build_cpu=$1
3952build_vendor=$2
3953shift; shift
3954# Remember, the first character of IFS is used to create $*,
3955# except with old shells:
3956build_os=$*
3957IFS=$ac_save_IFS
3958case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3959
3960
3961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3962$as_echo_n "checking host system type... " >&6; }
3963if ${ac_cv_host+:} false; then :
3964  $as_echo_n "(cached) " >&6
3965else
3966  if test "x$host_alias" = x; then
3967  ac_cv_host=$ac_cv_build
3968else
3969  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3970    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3971fi
3972
3973fi
3974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3975$as_echo "$ac_cv_host" >&6; }
3976case $ac_cv_host in
3977*-*-*) ;;
3978*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3979esac
3980host=$ac_cv_host
3981ac_save_IFS=$IFS; IFS='-'
3982set x $ac_cv_host
3983shift
3984host_cpu=$1
3985host_vendor=$2
3986shift; shift
3987# Remember, the first character of IFS is used to create $*,
3988# except with old shells:
3989host_os=$*
3990IFS=$ac_save_IFS
3991case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3992
3993
3994# Backslashify metacharacters that are still active within
3995# double-quoted strings.
3996sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3997
3998# Same as above, but do not quote variable references.
3999double_quote_subst='s/\(["`\\]\)/\\\1/g'
4000
4001# Sed substitution to delay expansion of an escaped shell variable in a
4002# double_quote_subst'ed string.
4003delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4004
4005# Sed substitution to delay expansion of an escaped single quote.
4006delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4007
4008# Sed substitution to avoid accidental globbing in evaled expressions
4009no_glob_subst='s/\*/\\\*/g'
4010
4011ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4012ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4013ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4014
4015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4016$as_echo_n "checking how to print strings... " >&6; }
4017# Test print first, because it will be a builtin if present.
4018if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4019   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4020  ECHO='print -r --'
4021elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4022  ECHO='printf %s\n'
4023else
4024  # Use this function as a fallback that always works.
4025  func_fallback_echo ()
4026  {
4027    eval 'cat <<_LTECHO_EOF
4028$1
4029_LTECHO_EOF'
4030  }
4031  ECHO='func_fallback_echo'
4032fi
4033
4034# func_echo_all arg...
4035# Invoke $ECHO with all args, space-separated.
4036func_echo_all ()
4037{
4038    $ECHO ""
4039}
4040
4041case "$ECHO" in
4042  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4043$as_echo "printf" >&6; } ;;
4044  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4045$as_echo "print -r" >&6; } ;;
4046  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4047$as_echo "cat" >&6; } ;;
4048esac
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4064$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4065if ${ac_cv_path_SED+:} false; then :
4066  $as_echo_n "(cached) " >&6
4067else
4068            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4069     for ac_i in 1 2 3 4 5 6 7; do
4070       ac_script="$ac_script$as_nl$ac_script"
4071     done
4072     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4073     { ac_script=; unset ac_script;}
4074     if test -z "$SED"; then
4075  ac_path_SED_found=false
4076  # Loop through the user's path and test for each of PROGNAME-LIST
4077  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078for as_dir in $PATH
4079do
4080  IFS=$as_save_IFS
4081  test -z "$as_dir" && as_dir=.
4082    for ac_prog in sed gsed; do
4083    for ac_exec_ext in '' $ac_executable_extensions; do
4084      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4085      as_fn_executable_p "$ac_path_SED" || continue
4086# Check for GNU ac_path_SED and select it if it is found.
4087  # Check for GNU $ac_path_SED
4088case `"$ac_path_SED" --version 2>&1` in
4089*GNU*)
4090  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4091*)
4092  ac_count=0
4093  $as_echo_n 0123456789 >"conftest.in"
4094  while :
4095  do
4096    cat "conftest.in" "conftest.in" >"conftest.tmp"
4097    mv "conftest.tmp" "conftest.in"
4098    cp "conftest.in" "conftest.nl"
4099    $as_echo '' >> "conftest.nl"
4100    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4101    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4102    as_fn_arith $ac_count + 1 && ac_count=$as_val
4103    if test $ac_count -gt ${ac_path_SED_max-0}; then
4104      # Best one so far, save it but keep looking for a better one
4105      ac_cv_path_SED="$ac_path_SED"
4106      ac_path_SED_max=$ac_count
4107    fi
4108    # 10*(2^10) chars as input seems more than enough
4109    test $ac_count -gt 10 && break
4110  done
4111  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4112esac
4113
4114      $ac_path_SED_found && break 3
4115    done
4116  done
4117  done
4118IFS=$as_save_IFS
4119  if test -z "$ac_cv_path_SED"; then
4120    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4121  fi
4122else
4123  ac_cv_path_SED=$SED
4124fi
4125
4126fi
4127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4128$as_echo "$ac_cv_path_SED" >&6; }
4129 SED="$ac_cv_path_SED"
4130  rm -f conftest.sed
4131
4132test -z "$SED" && SED=sed
4133Xsed="$SED -e 1s/^X//"
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4146$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4147if ${ac_cv_path_GREP+:} false; then :
4148  $as_echo_n "(cached) " >&6
4149else
4150  if test -z "$GREP"; then
4151  ac_path_GREP_found=false
4152  # Loop through the user's path and test for each of PROGNAME-LIST
4153  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4154for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4155do
4156  IFS=$as_save_IFS
4157  test -z "$as_dir" && as_dir=.
4158    for ac_prog in grep ggrep; do
4159    for ac_exec_ext in '' $ac_executable_extensions; do
4160      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4161      as_fn_executable_p "$ac_path_GREP" || continue
4162# Check for GNU ac_path_GREP and select it if it is found.
4163  # Check for GNU $ac_path_GREP
4164case `"$ac_path_GREP" --version 2>&1` in
4165*GNU*)
4166  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4167*)
4168  ac_count=0
4169  $as_echo_n 0123456789 >"conftest.in"
4170  while :
4171  do
4172    cat "conftest.in" "conftest.in" >"conftest.tmp"
4173    mv "conftest.tmp" "conftest.in"
4174    cp "conftest.in" "conftest.nl"
4175    $as_echo 'GREP' >> "conftest.nl"
4176    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4177    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4178    as_fn_arith $ac_count + 1 && ac_count=$as_val
4179    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4180      # Best one so far, save it but keep looking for a better one
4181      ac_cv_path_GREP="$ac_path_GREP"
4182      ac_path_GREP_max=$ac_count
4183    fi
4184    # 10*(2^10) chars as input seems more than enough
4185    test $ac_count -gt 10 && break
4186  done
4187  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4188esac
4189
4190      $ac_path_GREP_found && break 3
4191    done
4192  done
4193  done
4194IFS=$as_save_IFS
4195  if test -z "$ac_cv_path_GREP"; then
4196    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4197  fi
4198else
4199  ac_cv_path_GREP=$GREP
4200fi
4201
4202fi
4203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4204$as_echo "$ac_cv_path_GREP" >&6; }
4205 GREP="$ac_cv_path_GREP"
4206
4207
4208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4209$as_echo_n "checking for egrep... " >&6; }
4210if ${ac_cv_path_EGREP+:} false; then :
4211  $as_echo_n "(cached) " >&6
4212else
4213  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4214   then ac_cv_path_EGREP="$GREP -E"
4215   else
4216     if test -z "$EGREP"; then
4217  ac_path_EGREP_found=false
4218  # Loop through the user's path and test for each of PROGNAME-LIST
4219  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4220for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4221do
4222  IFS=$as_save_IFS
4223  test -z "$as_dir" && as_dir=.
4224    for ac_prog in egrep; do
4225    for ac_exec_ext in '' $ac_executable_extensions; do
4226      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4227      as_fn_executable_p "$ac_path_EGREP" || continue
4228# Check for GNU ac_path_EGREP and select it if it is found.
4229  # Check for GNU $ac_path_EGREP
4230case `"$ac_path_EGREP" --version 2>&1` in
4231*GNU*)
4232  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4233*)
4234  ac_count=0
4235  $as_echo_n 0123456789 >"conftest.in"
4236  while :
4237  do
4238    cat "conftest.in" "conftest.in" >"conftest.tmp"
4239    mv "conftest.tmp" "conftest.in"
4240    cp "conftest.in" "conftest.nl"
4241    $as_echo 'EGREP' >> "conftest.nl"
4242    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4243    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4244    as_fn_arith $ac_count + 1 && ac_count=$as_val
4245    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4246      # Best one so far, save it but keep looking for a better one
4247      ac_cv_path_EGREP="$ac_path_EGREP"
4248      ac_path_EGREP_max=$ac_count
4249    fi
4250    # 10*(2^10) chars as input seems more than enough
4251    test $ac_count -gt 10 && break
4252  done
4253  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4254esac
4255
4256      $ac_path_EGREP_found && break 3
4257    done
4258  done
4259  done
4260IFS=$as_save_IFS
4261  if test -z "$ac_cv_path_EGREP"; then
4262    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4263  fi
4264else
4265  ac_cv_path_EGREP=$EGREP
4266fi
4267
4268   fi
4269fi
4270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4271$as_echo "$ac_cv_path_EGREP" >&6; }
4272 EGREP="$ac_cv_path_EGREP"
4273
4274
4275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4276$as_echo_n "checking for fgrep... " >&6; }
4277if ${ac_cv_path_FGREP+:} false; then :
4278  $as_echo_n "(cached) " >&6
4279else
4280  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4281   then ac_cv_path_FGREP="$GREP -F"
4282   else
4283     if test -z "$FGREP"; then
4284  ac_path_FGREP_found=false
4285  # Loop through the user's path and test for each of PROGNAME-LIST
4286  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4288do
4289  IFS=$as_save_IFS
4290  test -z "$as_dir" && as_dir=.
4291    for ac_prog in fgrep; do
4292    for ac_exec_ext in '' $ac_executable_extensions; do
4293      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4294      as_fn_executable_p "$ac_path_FGREP" || continue
4295# Check for GNU ac_path_FGREP and select it if it is found.
4296  # Check for GNU $ac_path_FGREP
4297case `"$ac_path_FGREP" --version 2>&1` in
4298*GNU*)
4299  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4300*)
4301  ac_count=0
4302  $as_echo_n 0123456789 >"conftest.in"
4303  while :
4304  do
4305    cat "conftest.in" "conftest.in" >"conftest.tmp"
4306    mv "conftest.tmp" "conftest.in"
4307    cp "conftest.in" "conftest.nl"
4308    $as_echo 'FGREP' >> "conftest.nl"
4309    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4310    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4311    as_fn_arith $ac_count + 1 && ac_count=$as_val
4312    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4313      # Best one so far, save it but keep looking for a better one
4314      ac_cv_path_FGREP="$ac_path_FGREP"
4315      ac_path_FGREP_max=$ac_count
4316    fi
4317    # 10*(2^10) chars as input seems more than enough
4318    test $ac_count -gt 10 && break
4319  done
4320  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4321esac
4322
4323      $ac_path_FGREP_found && break 3
4324    done
4325  done
4326  done
4327IFS=$as_save_IFS
4328  if test -z "$ac_cv_path_FGREP"; then
4329    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4330  fi
4331else
4332  ac_cv_path_FGREP=$FGREP
4333fi
4334
4335   fi
4336fi
4337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4338$as_echo "$ac_cv_path_FGREP" >&6; }
4339 FGREP="$ac_cv_path_FGREP"
4340
4341
4342test -z "$GREP" && GREP=grep
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362# Check whether --with-gnu-ld was given.
4363if test "${with_gnu_ld+set}" = set; then :
4364  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4365else
4366  with_gnu_ld=no
4367fi
4368
4369ac_prog=ld
4370if test "$GCC" = yes; then
4371  # Check if gcc -print-prog-name=ld gives a path.
4372  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4373$as_echo_n "checking for ld used by $CC... " >&6; }
4374  case $host in
4375  *-*-mingw*)
4376    # gcc leaves a trailing carriage return which upsets mingw
4377    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4378  *)
4379    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4380  esac
4381  case $ac_prog in
4382    # Accept absolute paths.
4383    [\\/]* | ?:[\\/]*)
4384      re_direlt='/[^/][^/]*/\.\./'
4385      # Canonicalize the pathname of ld
4386      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4387      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4388	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4389      done
4390      test -z "$LD" && LD="$ac_prog"
4391      ;;
4392  "")
4393    # If it fails, then pretend we aren't using GCC.
4394    ac_prog=ld
4395    ;;
4396  *)
4397    # If it is relative, then search for the first ld in PATH.
4398    with_gnu_ld=unknown
4399    ;;
4400  esac
4401elif test "$with_gnu_ld" = yes; then
4402  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4403$as_echo_n "checking for GNU ld... " >&6; }
4404else
4405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4406$as_echo_n "checking for non-GNU ld... " >&6; }
4407fi
4408if ${lt_cv_path_LD+:} false; then :
4409  $as_echo_n "(cached) " >&6
4410else
4411  if test -z "$LD"; then
4412  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4413  for ac_dir in $PATH; do
4414    IFS="$lt_save_ifs"
4415    test -z "$ac_dir" && ac_dir=.
4416    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4417      lt_cv_path_LD="$ac_dir/$ac_prog"
4418      # Check to see if the program is GNU ld.  I'd rather use --version,
4419      # but apparently some variants of GNU ld only accept -v.
4420      # Break only if it was the GNU/non-GNU ld that we prefer.
4421      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4422      *GNU* | *'with BFD'*)
4423	test "$with_gnu_ld" != no && break
4424	;;
4425      *)
4426	test "$with_gnu_ld" != yes && break
4427	;;
4428      esac
4429    fi
4430  done
4431  IFS="$lt_save_ifs"
4432else
4433  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4434fi
4435fi
4436
4437LD="$lt_cv_path_LD"
4438if test -n "$LD"; then
4439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4440$as_echo "$LD" >&6; }
4441else
4442  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4443$as_echo "no" >&6; }
4444fi
4445test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4447$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4448if ${lt_cv_prog_gnu_ld+:} false; then :
4449  $as_echo_n "(cached) " >&6
4450else
4451  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4452case `$LD -v 2>&1 </dev/null` in
4453*GNU* | *'with BFD'*)
4454  lt_cv_prog_gnu_ld=yes
4455  ;;
4456*)
4457  lt_cv_prog_gnu_ld=no
4458  ;;
4459esac
4460fi
4461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4462$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4463with_gnu_ld=$lt_cv_prog_gnu_ld
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4474$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4475if ${lt_cv_path_NM+:} false; then :
4476  $as_echo_n "(cached) " >&6
4477else
4478  if test -n "$NM"; then
4479  # Let the user override the test.
4480  lt_cv_path_NM="$NM"
4481else
4482  lt_nm_to_check="${ac_tool_prefix}nm"
4483  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4484    lt_nm_to_check="$lt_nm_to_check nm"
4485  fi
4486  for lt_tmp_nm in $lt_nm_to_check; do
4487    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4488    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4489      IFS="$lt_save_ifs"
4490      test -z "$ac_dir" && ac_dir=.
4491      tmp_nm="$ac_dir/$lt_tmp_nm"
4492      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4493	# Check to see if the nm accepts a BSD-compat flag.
4494	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4495	#   nm: unknown option "B" ignored
4496	# Tru64's nm complains that /dev/null is an invalid object file
4497	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4498	*/dev/null* | *'Invalid file or object type'*)
4499	  lt_cv_path_NM="$tmp_nm -B"
4500	  break
4501	  ;;
4502	*)
4503	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4504	  */dev/null*)
4505	    lt_cv_path_NM="$tmp_nm -p"
4506	    break
4507	    ;;
4508	  *)
4509	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4510	    continue # so that we can try to find one that supports BSD flags
4511	    ;;
4512	  esac
4513	  ;;
4514	esac
4515      fi
4516    done
4517    IFS="$lt_save_ifs"
4518  done
4519  : ${lt_cv_path_NM=no}
4520fi
4521fi
4522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4523$as_echo "$lt_cv_path_NM" >&6; }
4524if test "$lt_cv_path_NM" != "no"; then
4525  NM="$lt_cv_path_NM"
4526else
4527  # Didn't find any BSD compatible name lister, look for dumpbin.
4528  if test -n "$DUMPBIN"; then :
4529    # Let the user override the test.
4530  else
4531    if test -n "$ac_tool_prefix"; then
4532  for ac_prog in dumpbin "link -dump"
4533  do
4534    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4535set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537$as_echo_n "checking for $ac_word... " >&6; }
4538if ${ac_cv_prog_DUMPBIN+:} false; then :
4539  $as_echo_n "(cached) " >&6
4540else
4541  if test -n "$DUMPBIN"; then
4542  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4543else
4544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545for as_dir in $PATH
4546do
4547  IFS=$as_save_IFS
4548  test -z "$as_dir" && as_dir=.
4549    for ac_exec_ext in '' $ac_executable_extensions; do
4550  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4551    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4552    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4553    break 2
4554  fi
4555done
4556  done
4557IFS=$as_save_IFS
4558
4559fi
4560fi
4561DUMPBIN=$ac_cv_prog_DUMPBIN
4562if test -n "$DUMPBIN"; then
4563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4564$as_echo "$DUMPBIN" >&6; }
4565else
4566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567$as_echo "no" >&6; }
4568fi
4569
4570
4571    test -n "$DUMPBIN" && break
4572  done
4573fi
4574if test -z "$DUMPBIN"; then
4575  ac_ct_DUMPBIN=$DUMPBIN
4576  for ac_prog in dumpbin "link -dump"
4577do
4578  # Extract the first word of "$ac_prog", so it can be a program name with args.
4579set dummy $ac_prog; ac_word=$2
4580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4581$as_echo_n "checking for $ac_word... " >&6; }
4582if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4583  $as_echo_n "(cached) " >&6
4584else
4585  if test -n "$ac_ct_DUMPBIN"; then
4586  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4587else
4588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4589for as_dir in $PATH
4590do
4591  IFS=$as_save_IFS
4592  test -z "$as_dir" && as_dir=.
4593    for ac_exec_ext in '' $ac_executable_extensions; do
4594  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4595    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4596    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4597    break 2
4598  fi
4599done
4600  done
4601IFS=$as_save_IFS
4602
4603fi
4604fi
4605ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4606if test -n "$ac_ct_DUMPBIN"; then
4607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4608$as_echo "$ac_ct_DUMPBIN" >&6; }
4609else
4610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4611$as_echo "no" >&6; }
4612fi
4613
4614
4615  test -n "$ac_ct_DUMPBIN" && break
4616done
4617
4618  if test "x$ac_ct_DUMPBIN" = x; then
4619    DUMPBIN=":"
4620  else
4621    case $cross_compiling:$ac_tool_warned in
4622yes:)
4623{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4624$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4625ac_tool_warned=yes ;;
4626esac
4627    DUMPBIN=$ac_ct_DUMPBIN
4628  fi
4629fi
4630
4631    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4632    *COFF*)
4633      DUMPBIN="$DUMPBIN -symbols"
4634      ;;
4635    *)
4636      DUMPBIN=:
4637      ;;
4638    esac
4639  fi
4640
4641  if test "$DUMPBIN" != ":"; then
4642    NM="$DUMPBIN"
4643  fi
4644fi
4645test -z "$NM" && NM=nm
4646
4647
4648
4649
4650
4651
4652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4653$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4654if ${lt_cv_nm_interface+:} false; then :
4655  $as_echo_n "(cached) " >&6
4656else
4657  lt_cv_nm_interface="BSD nm"
4658  echo "int some_variable = 0;" > conftest.$ac_ext
4659  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4660  (eval "$ac_compile" 2>conftest.err)
4661  cat conftest.err >&5
4662  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4663  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4664  cat conftest.err >&5
4665  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4666  cat conftest.out >&5
4667  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4668    lt_cv_nm_interface="MS dumpbin"
4669  fi
4670  rm -f conftest*
4671fi
4672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4673$as_echo "$lt_cv_nm_interface" >&6; }
4674
4675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4676$as_echo_n "checking whether ln -s works... " >&6; }
4677LN_S=$as_ln_s
4678if test "$LN_S" = "ln -s"; then
4679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4680$as_echo "yes" >&6; }
4681else
4682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4683$as_echo "no, using $LN_S" >&6; }
4684fi
4685
4686# find the maximum length of command line arguments
4687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4688$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4689if ${lt_cv_sys_max_cmd_len+:} false; then :
4690  $as_echo_n "(cached) " >&6
4691else
4692    i=0
4693  teststring="ABCD"
4694
4695  case $build_os in
4696  msdosdjgpp*)
4697    # On DJGPP, this test can blow up pretty badly due to problems in libc
4698    # (any single argument exceeding 2000 bytes causes a buffer overrun
4699    # during glob expansion).  Even if it were fixed, the result of this
4700    # check would be larger than it should be.
4701    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4702    ;;
4703
4704  gnu*)
4705    # Under GNU Hurd, this test is not required because there is
4706    # no limit to the length of command line arguments.
4707    # Libtool will interpret -1 as no limit whatsoever
4708    lt_cv_sys_max_cmd_len=-1;
4709    ;;
4710
4711  cygwin* | mingw* | cegcc*)
4712    # On Win9x/ME, this test blows up -- it succeeds, but takes
4713    # about 5 minutes as the teststring grows exponentially.
4714    # Worse, since 9x/ME are not pre-emptively multitasking,
4715    # you end up with a "frozen" computer, even though with patience
4716    # the test eventually succeeds (with a max line length of 256k).
4717    # Instead, let's just punt: use the minimum linelength reported by
4718    # all of the supported platforms: 8192 (on NT/2K/XP).
4719    lt_cv_sys_max_cmd_len=8192;
4720    ;;
4721
4722  mint*)
4723    # On MiNT this can take a long time and run out of memory.
4724    lt_cv_sys_max_cmd_len=8192;
4725    ;;
4726
4727  amigaos*)
4728    # On AmigaOS with pdksh, this test takes hours, literally.
4729    # So we just punt and use a minimum line length of 8192.
4730    lt_cv_sys_max_cmd_len=8192;
4731    ;;
4732
4733  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4734    # This has been around since 386BSD, at least.  Likely further.
4735    if test -x /sbin/sysctl; then
4736      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4737    elif test -x /usr/sbin/sysctl; then
4738      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4739    else
4740      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4741    fi
4742    # And add a safety zone
4743    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4744    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4745    ;;
4746
4747  interix*)
4748    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4749    lt_cv_sys_max_cmd_len=196608
4750    ;;
4751
4752  os2*)
4753    # The test takes a long time on OS/2.
4754    lt_cv_sys_max_cmd_len=8192
4755    ;;
4756
4757  osf*)
4758    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4759    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4760    # nice to cause kernel panics so lets avoid the loop below.
4761    # First set a reasonable default.
4762    lt_cv_sys_max_cmd_len=16384
4763    #
4764    if test -x /sbin/sysconfig; then
4765      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4766        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4767      esac
4768    fi
4769    ;;
4770  sco3.2v5*)
4771    lt_cv_sys_max_cmd_len=102400
4772    ;;
4773  sysv5* | sco5v6* | sysv4.2uw2*)
4774    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4775    if test -n "$kargmax"; then
4776      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4777    else
4778      lt_cv_sys_max_cmd_len=32768
4779    fi
4780    ;;
4781  *)
4782    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4783    if test -n "$lt_cv_sys_max_cmd_len" && \
4784	test undefined != "$lt_cv_sys_max_cmd_len"; then
4785      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4786      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4787    else
4788      # Make teststring a little bigger before we do anything with it.
4789      # a 1K string should be a reasonable start.
4790      for i in 1 2 3 4 5 6 7 8 ; do
4791        teststring=$teststring$teststring
4792      done
4793      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4794      # If test is not a shell built-in, we'll probably end up computing a
4795      # maximum length that is only half of the actual maximum length, but
4796      # we can't tell.
4797      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4798	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4799	      test $i != 17 # 1/2 MB should be enough
4800      do
4801        i=`expr $i + 1`
4802        teststring=$teststring$teststring
4803      done
4804      # Only check the string length outside the loop.
4805      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4806      teststring=
4807      # Add a significant safety factor because C++ compilers can tack on
4808      # massive amounts of additional arguments before passing them to the
4809      # linker.  It appears as though 1/2 is a usable value.
4810      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4811    fi
4812    ;;
4813  esac
4814
4815fi
4816
4817if test -n $lt_cv_sys_max_cmd_len ; then
4818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4819$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4820else
4821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4822$as_echo "none" >&6; }
4823fi
4824max_cmd_len=$lt_cv_sys_max_cmd_len
4825
4826
4827
4828
4829
4830
4831: ${CP="cp -f"}
4832: ${MV="mv -f"}
4833: ${RM="rm -f"}
4834
4835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4836$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4837# Try some XSI features
4838xsi_shell=no
4839( _lt_dummy="a/b/c"
4840  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4841      = c,a/b,b/c, \
4842    && eval 'test $(( 1 + 1 )) -eq 2 \
4843    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4844  && xsi_shell=yes
4845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4846$as_echo "$xsi_shell" >&6; }
4847
4848
4849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4850$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4851lt_shell_append=no
4852( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4853    >/dev/null 2>&1 \
4854  && lt_shell_append=yes
4855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4856$as_echo "$lt_shell_append" >&6; }
4857
4858
4859if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4860  lt_unset=unset
4861else
4862  lt_unset=false
4863fi
4864
4865
4866
4867
4868
4869# test EBCDIC or ASCII
4870case `echo X|tr X '\101'` in
4871 A) # ASCII based system
4872    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4873  lt_SP2NL='tr \040 \012'
4874  lt_NL2SP='tr \015\012 \040\040'
4875  ;;
4876 *) # EBCDIC based system
4877  lt_SP2NL='tr \100 \n'
4878  lt_NL2SP='tr \r\n \100\100'
4879  ;;
4880esac
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4891$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4892if ${lt_cv_to_host_file_cmd+:} false; then :
4893  $as_echo_n "(cached) " >&6
4894else
4895  case $host in
4896  *-*-mingw* )
4897    case $build in
4898      *-*-mingw* ) # actually msys
4899        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4900        ;;
4901      *-*-cygwin* )
4902        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4903        ;;
4904      * ) # otherwise, assume *nix
4905        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4906        ;;
4907    esac
4908    ;;
4909  *-*-cygwin* )
4910    case $build in
4911      *-*-mingw* ) # actually msys
4912        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4913        ;;
4914      *-*-cygwin* )
4915        lt_cv_to_host_file_cmd=func_convert_file_noop
4916        ;;
4917      * ) # otherwise, assume *nix
4918        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4919        ;;
4920    esac
4921    ;;
4922  * ) # unhandled hosts (and "normal" native builds)
4923    lt_cv_to_host_file_cmd=func_convert_file_noop
4924    ;;
4925esac
4926
4927fi
4928
4929to_host_file_cmd=$lt_cv_to_host_file_cmd
4930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4931$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4932
4933
4934
4935
4936
4937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4938$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4939if ${lt_cv_to_tool_file_cmd+:} false; then :
4940  $as_echo_n "(cached) " >&6
4941else
4942  #assume ordinary cross tools, or native build.
4943lt_cv_to_tool_file_cmd=func_convert_file_noop
4944case $host in
4945  *-*-mingw* )
4946    case $build in
4947      *-*-mingw* ) # actually msys
4948        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4949        ;;
4950    esac
4951    ;;
4952esac
4953
4954fi
4955
4956to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4958$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4959
4960
4961
4962
4963
4964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4965$as_echo_n "checking for $LD option to reload object files... " >&6; }
4966if ${lt_cv_ld_reload_flag+:} false; then :
4967  $as_echo_n "(cached) " >&6
4968else
4969  lt_cv_ld_reload_flag='-r'
4970fi
4971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4972$as_echo "$lt_cv_ld_reload_flag" >&6; }
4973reload_flag=$lt_cv_ld_reload_flag
4974case $reload_flag in
4975"" | " "*) ;;
4976*) reload_flag=" $reload_flag" ;;
4977esac
4978reload_cmds='$LD$reload_flag -o $output$reload_objs'
4979case $host_os in
4980  cygwin* | mingw* | pw32* | cegcc*)
4981    if test "$GCC" != yes; then
4982      reload_cmds=false
4983    fi
4984    ;;
4985  darwin*)
4986    if test "$GCC" = yes; then
4987      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4988    else
4989      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4990    fi
4991    ;;
4992esac
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002if test -n "$ac_tool_prefix"; then
5003  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5004set dummy ${ac_tool_prefix}objdump; ac_word=$2
5005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5006$as_echo_n "checking for $ac_word... " >&6; }
5007if ${ac_cv_prog_OBJDUMP+:} false; then :
5008  $as_echo_n "(cached) " >&6
5009else
5010  if test -n "$OBJDUMP"; then
5011  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5012else
5013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014for as_dir in $PATH
5015do
5016  IFS=$as_save_IFS
5017  test -z "$as_dir" && as_dir=.
5018    for ac_exec_ext in '' $ac_executable_extensions; do
5019  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5020    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5021    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022    break 2
5023  fi
5024done
5025  done
5026IFS=$as_save_IFS
5027
5028fi
5029fi
5030OBJDUMP=$ac_cv_prog_OBJDUMP
5031if test -n "$OBJDUMP"; then
5032  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5033$as_echo "$OBJDUMP" >&6; }
5034else
5035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5036$as_echo "no" >&6; }
5037fi
5038
5039
5040fi
5041if test -z "$ac_cv_prog_OBJDUMP"; then
5042  ac_ct_OBJDUMP=$OBJDUMP
5043  # Extract the first word of "objdump", so it can be a program name with args.
5044set dummy objdump; ac_word=$2
5045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5046$as_echo_n "checking for $ac_word... " >&6; }
5047if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5048  $as_echo_n "(cached) " >&6
5049else
5050  if test -n "$ac_ct_OBJDUMP"; then
5051  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5052else
5053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5054for as_dir in $PATH
5055do
5056  IFS=$as_save_IFS
5057  test -z "$as_dir" && as_dir=.
5058    for ac_exec_ext in '' $ac_executable_extensions; do
5059  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5060    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5061    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062    break 2
5063  fi
5064done
5065  done
5066IFS=$as_save_IFS
5067
5068fi
5069fi
5070ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5071if test -n "$ac_ct_OBJDUMP"; then
5072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5073$as_echo "$ac_ct_OBJDUMP" >&6; }
5074else
5075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076$as_echo "no" >&6; }
5077fi
5078
5079  if test "x$ac_ct_OBJDUMP" = x; then
5080    OBJDUMP="false"
5081  else
5082    case $cross_compiling:$ac_tool_warned in
5083yes:)
5084{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5085$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5086ac_tool_warned=yes ;;
5087esac
5088    OBJDUMP=$ac_ct_OBJDUMP
5089  fi
5090else
5091  OBJDUMP="$ac_cv_prog_OBJDUMP"
5092fi
5093
5094test -z "$OBJDUMP" && OBJDUMP=objdump
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5105$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5106if ${lt_cv_deplibs_check_method+:} false; then :
5107  $as_echo_n "(cached) " >&6
5108else
5109  lt_cv_file_magic_cmd='$MAGIC_CMD'
5110lt_cv_file_magic_test_file=
5111lt_cv_deplibs_check_method='unknown'
5112# Need to set the preceding variable on all platforms that support
5113# interlibrary dependencies.
5114# 'none' -- dependencies not supported.
5115# `unknown' -- same as none, but documents that we really don't know.
5116# 'pass_all' -- all dependencies passed with no checks.
5117# 'test_compile' -- check by making test program.
5118# 'file_magic [[regex]]' -- check by looking for files in library path
5119# which responds to the $file_magic_cmd with a given extended regex.
5120# If you have `file' or equivalent on your system and you're not sure
5121# whether `pass_all' will *always* work, you probably want this one.
5122
5123case $host_os in
5124aix[4-9]*)
5125  lt_cv_deplibs_check_method=pass_all
5126  ;;
5127
5128beos*)
5129  lt_cv_deplibs_check_method=pass_all
5130  ;;
5131
5132bsdi[45]*)
5133  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5134  lt_cv_file_magic_cmd='/usr/bin/file -L'
5135  lt_cv_file_magic_test_file=/shlib/libc.so
5136  ;;
5137
5138cygwin*)
5139  # func_win32_libid is a shell function defined in ltmain.sh
5140  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5141  lt_cv_file_magic_cmd='func_win32_libid'
5142  ;;
5143
5144mingw* | pw32*)
5145  # Base MSYS/MinGW do not provide the 'file' command needed by
5146  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5147  # unless we find 'file', for example because we are cross-compiling.
5148  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5149  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5150    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5151    lt_cv_file_magic_cmd='func_win32_libid'
5152  else
5153    # Keep this pattern in sync with the one in func_win32_libid.
5154    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5155    lt_cv_file_magic_cmd='$OBJDUMP -f'
5156  fi
5157  ;;
5158
5159cegcc*)
5160  # use the weaker test based on 'objdump'. See mingw*.
5161  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5162  lt_cv_file_magic_cmd='$OBJDUMP -f'
5163  ;;
5164
5165darwin* | rhapsody*)
5166  lt_cv_deplibs_check_method=pass_all
5167  ;;
5168
5169freebsd* | dragonfly*)
5170  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5171    case $host_cpu in
5172    i*86 )
5173      # Not sure whether the presence of OpenBSD here was a mistake.
5174      # Let's accept both of them until this is cleared up.
5175      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5176      lt_cv_file_magic_cmd=/usr/bin/file
5177      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5178      ;;
5179    esac
5180  else
5181    lt_cv_deplibs_check_method=pass_all
5182  fi
5183  ;;
5184
5185haiku*)
5186  lt_cv_deplibs_check_method=pass_all
5187  ;;
5188
5189hpux10.20* | hpux11*)
5190  lt_cv_file_magic_cmd=/usr/bin/file
5191  case $host_cpu in
5192  ia64*)
5193    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5194    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5195    ;;
5196  hppa*64*)
5197    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]'
5198    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5199    ;;
5200  *)
5201    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5202    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5203    ;;
5204  esac
5205  ;;
5206
5207interix[3-9]*)
5208  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5209  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5210  ;;
5211
5212irix5* | irix6* | nonstopux*)
5213  case $LD in
5214  *-32|*"-32 ") libmagic=32-bit;;
5215  *-n32|*"-n32 ") libmagic=N32;;
5216  *-64|*"-64 ") libmagic=64-bit;;
5217  *) libmagic=never-match;;
5218  esac
5219  lt_cv_deplibs_check_method=pass_all
5220  ;;
5221
5222# This must be glibc/ELF.
5223linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5224  lt_cv_deplibs_check_method=pass_all
5225  ;;
5226
5227netbsd* | netbsdelf*-gnu)
5228  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5229    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5230  else
5231    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5232  fi
5233  ;;
5234
5235newos6*)
5236  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5237  lt_cv_file_magic_cmd=/usr/bin/file
5238  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5239  ;;
5240
5241*nto* | *qnx*)
5242  lt_cv_deplibs_check_method=pass_all
5243  ;;
5244
5245openbsd*)
5246  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5247    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5248  else
5249    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5250  fi
5251  ;;
5252
5253osf3* | osf4* | osf5*)
5254  lt_cv_deplibs_check_method=pass_all
5255  ;;
5256
5257rdos*)
5258  lt_cv_deplibs_check_method=pass_all
5259  ;;
5260
5261solaris*)
5262  lt_cv_deplibs_check_method=pass_all
5263  ;;
5264
5265sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5266  lt_cv_deplibs_check_method=pass_all
5267  ;;
5268
5269sysv4 | sysv4.3*)
5270  case $host_vendor in
5271  motorola)
5272    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]'
5273    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5274    ;;
5275  ncr)
5276    lt_cv_deplibs_check_method=pass_all
5277    ;;
5278  sequent)
5279    lt_cv_file_magic_cmd='/bin/file'
5280    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5281    ;;
5282  sni)
5283    lt_cv_file_magic_cmd='/bin/file'
5284    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5285    lt_cv_file_magic_test_file=/lib/libc.so
5286    ;;
5287  siemens)
5288    lt_cv_deplibs_check_method=pass_all
5289    ;;
5290  pc)
5291    lt_cv_deplibs_check_method=pass_all
5292    ;;
5293  esac
5294  ;;
5295
5296tpf*)
5297  lt_cv_deplibs_check_method=pass_all
5298  ;;
5299esac
5300
5301fi
5302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5303$as_echo "$lt_cv_deplibs_check_method" >&6; }
5304
5305file_magic_glob=
5306want_nocaseglob=no
5307if test "$build" = "$host"; then
5308  case $host_os in
5309  mingw* | pw32*)
5310    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5311      want_nocaseglob=yes
5312    else
5313      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5314    fi
5315    ;;
5316  esac
5317fi
5318
5319file_magic_cmd=$lt_cv_file_magic_cmd
5320deplibs_check_method=$lt_cv_deplibs_check_method
5321test -z "$deplibs_check_method" && deplibs_check_method=unknown
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344if test -n "$ac_tool_prefix"; then
5345  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5346set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5348$as_echo_n "checking for $ac_word... " >&6; }
5349if ${ac_cv_prog_DLLTOOL+:} false; then :
5350  $as_echo_n "(cached) " >&6
5351else
5352  if test -n "$DLLTOOL"; then
5353  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5354else
5355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356for as_dir in $PATH
5357do
5358  IFS=$as_save_IFS
5359  test -z "$as_dir" && as_dir=.
5360    for ac_exec_ext in '' $ac_executable_extensions; do
5361  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5362    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5363    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5364    break 2
5365  fi
5366done
5367  done
5368IFS=$as_save_IFS
5369
5370fi
5371fi
5372DLLTOOL=$ac_cv_prog_DLLTOOL
5373if test -n "$DLLTOOL"; then
5374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5375$as_echo "$DLLTOOL" >&6; }
5376else
5377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378$as_echo "no" >&6; }
5379fi
5380
5381
5382fi
5383if test -z "$ac_cv_prog_DLLTOOL"; then
5384  ac_ct_DLLTOOL=$DLLTOOL
5385  # Extract the first word of "dlltool", so it can be a program name with args.
5386set dummy dlltool; ac_word=$2
5387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388$as_echo_n "checking for $ac_word... " >&6; }
5389if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5390  $as_echo_n "(cached) " >&6
5391else
5392  if test -n "$ac_ct_DLLTOOL"; then
5393  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5394else
5395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396for as_dir in $PATH
5397do
5398  IFS=$as_save_IFS
5399  test -z "$as_dir" && as_dir=.
5400    for ac_exec_ext in '' $ac_executable_extensions; do
5401  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5402    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5403    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404    break 2
5405  fi
5406done
5407  done
5408IFS=$as_save_IFS
5409
5410fi
5411fi
5412ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5413if test -n "$ac_ct_DLLTOOL"; then
5414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5415$as_echo "$ac_ct_DLLTOOL" >&6; }
5416else
5417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418$as_echo "no" >&6; }
5419fi
5420
5421  if test "x$ac_ct_DLLTOOL" = x; then
5422    DLLTOOL="false"
5423  else
5424    case $cross_compiling:$ac_tool_warned in
5425yes:)
5426{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5427$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5428ac_tool_warned=yes ;;
5429esac
5430    DLLTOOL=$ac_ct_DLLTOOL
5431  fi
5432else
5433  DLLTOOL="$ac_cv_prog_DLLTOOL"
5434fi
5435
5436test -z "$DLLTOOL" && DLLTOOL=dlltool
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5448$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5449if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5450  $as_echo_n "(cached) " >&6
5451else
5452  lt_cv_sharedlib_from_linklib_cmd='unknown'
5453
5454case $host_os in
5455cygwin* | mingw* | pw32* | cegcc*)
5456  # two different shell functions defined in ltmain.sh
5457  # decide which to use based on capabilities of $DLLTOOL
5458  case `$DLLTOOL --help 2>&1` in
5459  *--identify-strict*)
5460    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5461    ;;
5462  *)
5463    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5464    ;;
5465  esac
5466  ;;
5467*)
5468  # fallback: assume linklib IS sharedlib
5469  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5470  ;;
5471esac
5472
5473fi
5474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5475$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5476sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5477test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5478
5479
5480
5481
5482
5483
5484
5485
5486if test -n "$ac_tool_prefix"; then
5487  for ac_prog in ar
5488  do
5489    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5490set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492$as_echo_n "checking for $ac_word... " >&6; }
5493if ${ac_cv_prog_AR+:} false; then :
5494  $as_echo_n "(cached) " >&6
5495else
5496  if test -n "$AR"; then
5497  ac_cv_prog_AR="$AR" # Let the user override the test.
5498else
5499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500for as_dir in $PATH
5501do
5502  IFS=$as_save_IFS
5503  test -z "$as_dir" && as_dir=.
5504    for ac_exec_ext in '' $ac_executable_extensions; do
5505  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5506    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5507    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508    break 2
5509  fi
5510done
5511  done
5512IFS=$as_save_IFS
5513
5514fi
5515fi
5516AR=$ac_cv_prog_AR
5517if test -n "$AR"; then
5518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5519$as_echo "$AR" >&6; }
5520else
5521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5522$as_echo "no" >&6; }
5523fi
5524
5525
5526    test -n "$AR" && break
5527  done
5528fi
5529if test -z "$AR"; then
5530  ac_ct_AR=$AR
5531  for ac_prog in ar
5532do
5533  # Extract the first word of "$ac_prog", so it can be a program name with args.
5534set dummy $ac_prog; ac_word=$2
5535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5536$as_echo_n "checking for $ac_word... " >&6; }
5537if ${ac_cv_prog_ac_ct_AR+:} false; then :
5538  $as_echo_n "(cached) " >&6
5539else
5540  if test -n "$ac_ct_AR"; then
5541  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5542else
5543as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5544for as_dir in $PATH
5545do
5546  IFS=$as_save_IFS
5547  test -z "$as_dir" && as_dir=.
5548    for ac_exec_ext in '' $ac_executable_extensions; do
5549  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5550    ac_cv_prog_ac_ct_AR="$ac_prog"
5551    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552    break 2
5553  fi
5554done
5555  done
5556IFS=$as_save_IFS
5557
5558fi
5559fi
5560ac_ct_AR=$ac_cv_prog_ac_ct_AR
5561if test -n "$ac_ct_AR"; then
5562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5563$as_echo "$ac_ct_AR" >&6; }
5564else
5565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5566$as_echo "no" >&6; }
5567fi
5568
5569
5570  test -n "$ac_ct_AR" && break
5571done
5572
5573  if test "x$ac_ct_AR" = x; then
5574    AR="false"
5575  else
5576    case $cross_compiling:$ac_tool_warned in
5577yes:)
5578{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5579$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5580ac_tool_warned=yes ;;
5581esac
5582    AR=$ac_ct_AR
5583  fi
5584fi
5585
5586: ${AR=ar}
5587: ${AR_FLAGS=cru}
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5600$as_echo_n "checking for archiver @FILE support... " >&6; }
5601if ${lt_cv_ar_at_file+:} false; then :
5602  $as_echo_n "(cached) " >&6
5603else
5604  lt_cv_ar_at_file=no
5605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5606/* end confdefs.h.  */
5607
5608int
5609main ()
5610{
5611
5612  ;
5613  return 0;
5614}
5615_ACEOF
5616if ac_fn_c_try_compile "$LINENO"; then :
5617  echo conftest.$ac_objext > conftest.lst
5618      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5619      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5620  (eval $lt_ar_try) 2>&5
5621  ac_status=$?
5622  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5623  test $ac_status = 0; }
5624      if test "$ac_status" -eq 0; then
5625	# Ensure the archiver fails upon bogus file names.
5626	rm -f conftest.$ac_objext libconftest.a
5627	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5628  (eval $lt_ar_try) 2>&5
5629  ac_status=$?
5630  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5631  test $ac_status = 0; }
5632	if test "$ac_status" -ne 0; then
5633          lt_cv_ar_at_file=@
5634        fi
5635      fi
5636      rm -f conftest.* libconftest.a
5637
5638fi
5639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5640
5641fi
5642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5643$as_echo "$lt_cv_ar_at_file" >&6; }
5644
5645if test "x$lt_cv_ar_at_file" = xno; then
5646  archiver_list_spec=
5647else
5648  archiver_list_spec=$lt_cv_ar_at_file
5649fi
5650
5651
5652
5653
5654
5655
5656
5657if test -n "$ac_tool_prefix"; then
5658  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5659set dummy ${ac_tool_prefix}strip; ac_word=$2
5660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661$as_echo_n "checking for $ac_word... " >&6; }
5662if ${ac_cv_prog_STRIP+:} false; then :
5663  $as_echo_n "(cached) " >&6
5664else
5665  if test -n "$STRIP"; then
5666  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5667else
5668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669for as_dir in $PATH
5670do
5671  IFS=$as_save_IFS
5672  test -z "$as_dir" && as_dir=.
5673    for ac_exec_ext in '' $ac_executable_extensions; do
5674  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5675    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5676    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5677    break 2
5678  fi
5679done
5680  done
5681IFS=$as_save_IFS
5682
5683fi
5684fi
5685STRIP=$ac_cv_prog_STRIP
5686if test -n "$STRIP"; then
5687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5688$as_echo "$STRIP" >&6; }
5689else
5690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691$as_echo "no" >&6; }
5692fi
5693
5694
5695fi
5696if test -z "$ac_cv_prog_STRIP"; then
5697  ac_ct_STRIP=$STRIP
5698  # Extract the first word of "strip", so it can be a program name with args.
5699set dummy strip; ac_word=$2
5700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5701$as_echo_n "checking for $ac_word... " >&6; }
5702if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5703  $as_echo_n "(cached) " >&6
5704else
5705  if test -n "$ac_ct_STRIP"; then
5706  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5707else
5708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709for as_dir in $PATH
5710do
5711  IFS=$as_save_IFS
5712  test -z "$as_dir" && as_dir=.
5713    for ac_exec_ext in '' $ac_executable_extensions; do
5714  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5715    ac_cv_prog_ac_ct_STRIP="strip"
5716    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5717    break 2
5718  fi
5719done
5720  done
5721IFS=$as_save_IFS
5722
5723fi
5724fi
5725ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5726if test -n "$ac_ct_STRIP"; then
5727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5728$as_echo "$ac_ct_STRIP" >&6; }
5729else
5730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5731$as_echo "no" >&6; }
5732fi
5733
5734  if test "x$ac_ct_STRIP" = x; then
5735    STRIP=":"
5736  else
5737    case $cross_compiling:$ac_tool_warned in
5738yes:)
5739{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5740$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5741ac_tool_warned=yes ;;
5742esac
5743    STRIP=$ac_ct_STRIP
5744  fi
5745else
5746  STRIP="$ac_cv_prog_STRIP"
5747fi
5748
5749test -z "$STRIP" && STRIP=:
5750
5751
5752
5753
5754
5755
5756if test -n "$ac_tool_prefix"; then
5757  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5758set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760$as_echo_n "checking for $ac_word... " >&6; }
5761if ${ac_cv_prog_RANLIB+:} false; then :
5762  $as_echo_n "(cached) " >&6
5763else
5764  if test -n "$RANLIB"; then
5765  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5766else
5767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768for as_dir in $PATH
5769do
5770  IFS=$as_save_IFS
5771  test -z "$as_dir" && as_dir=.
5772    for ac_exec_ext in '' $ac_executable_extensions; do
5773  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5774    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5775    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776    break 2
5777  fi
5778done
5779  done
5780IFS=$as_save_IFS
5781
5782fi
5783fi
5784RANLIB=$ac_cv_prog_RANLIB
5785if test -n "$RANLIB"; then
5786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5787$as_echo "$RANLIB" >&6; }
5788else
5789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790$as_echo "no" >&6; }
5791fi
5792
5793
5794fi
5795if test -z "$ac_cv_prog_RANLIB"; then
5796  ac_ct_RANLIB=$RANLIB
5797  # Extract the first word of "ranlib", so it can be a program name with args.
5798set dummy ranlib; ac_word=$2
5799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5800$as_echo_n "checking for $ac_word... " >&6; }
5801if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5802  $as_echo_n "(cached) " >&6
5803else
5804  if test -n "$ac_ct_RANLIB"; then
5805  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5806else
5807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808for as_dir in $PATH
5809do
5810  IFS=$as_save_IFS
5811  test -z "$as_dir" && as_dir=.
5812    for ac_exec_ext in '' $ac_executable_extensions; do
5813  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814    ac_cv_prog_ac_ct_RANLIB="ranlib"
5815    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816    break 2
5817  fi
5818done
5819  done
5820IFS=$as_save_IFS
5821
5822fi
5823fi
5824ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5825if test -n "$ac_ct_RANLIB"; then
5826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5827$as_echo "$ac_ct_RANLIB" >&6; }
5828else
5829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5830$as_echo "no" >&6; }
5831fi
5832
5833  if test "x$ac_ct_RANLIB" = x; then
5834    RANLIB=":"
5835  else
5836    case $cross_compiling:$ac_tool_warned in
5837yes:)
5838{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5839$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5840ac_tool_warned=yes ;;
5841esac
5842    RANLIB=$ac_ct_RANLIB
5843  fi
5844else
5845  RANLIB="$ac_cv_prog_RANLIB"
5846fi
5847
5848test -z "$RANLIB" && RANLIB=:
5849
5850
5851
5852
5853
5854
5855# Determine commands to create old-style static archives.
5856old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5857old_postinstall_cmds='chmod 644 $oldlib'
5858old_postuninstall_cmds=
5859
5860if test -n "$RANLIB"; then
5861  case $host_os in
5862  openbsd*)
5863    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5864    ;;
5865  *)
5866    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5867    ;;
5868  esac
5869  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5870fi
5871
5872case $host_os in
5873  darwin*)
5874    lock_old_archive_extraction=yes ;;
5875  *)
5876    lock_old_archive_extraction=no ;;
5877esac
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917# If no C compiler was specified, use CC.
5918LTCC=${LTCC-"$CC"}
5919
5920# If no C compiler flags were specified, use CFLAGS.
5921LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5922
5923# Allow CC to be a program name with arguments.
5924compiler=$CC
5925
5926
5927# Check for command to grab the raw symbol name followed by C symbol from nm.
5928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5929$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5930if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5931  $as_echo_n "(cached) " >&6
5932else
5933
5934# These are sane defaults that work on at least a few old systems.
5935# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5936
5937# Character class describing NM global symbol codes.
5938symcode='[BCDEGRST]'
5939
5940# Regexp to match symbols that can be accessed directly from C.
5941sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5942
5943# Define system-specific variables.
5944case $host_os in
5945aix*)
5946  symcode='[BCDT]'
5947  ;;
5948cygwin* | mingw* | pw32* | cegcc*)
5949  symcode='[ABCDGISTW]'
5950  ;;
5951hpux*)
5952  if test "$host_cpu" = ia64; then
5953    symcode='[ABCDEGRST]'
5954  fi
5955  ;;
5956irix* | nonstopux*)
5957  symcode='[BCDEGRST]'
5958  ;;
5959osf*)
5960  symcode='[BCDEGQRST]'
5961  ;;
5962solaris*)
5963  symcode='[BDRT]'
5964  ;;
5965sco3.2v5*)
5966  symcode='[DT]'
5967  ;;
5968sysv4.2uw2*)
5969  symcode='[DT]'
5970  ;;
5971sysv5* | sco5v6* | unixware* | OpenUNIX*)
5972  symcode='[ABDT]'
5973  ;;
5974sysv4)
5975  symcode='[DFNSTU]'
5976  ;;
5977esac
5978
5979# If we're using GNU nm, then use its standard symbol codes.
5980case `$NM -V 2>&1` in
5981*GNU* | *'with BFD'*)
5982  symcode='[ABCDGIRSTW]' ;;
5983esac
5984
5985# Transform an extracted symbol line into a proper C declaration.
5986# Some systems (esp. on ia64) link data and code symbols differently,
5987# so use this general approach.
5988lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5989
5990# Transform an extracted symbol line into symbol name and symbol address
5991lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5992lt_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'"
5993
5994# Handle CRLF in mingw tool chain
5995opt_cr=
5996case $build_os in
5997mingw*)
5998  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5999  ;;
6000esac
6001
6002# Try without a prefix underscore, then with it.
6003for ac_symprfx in "" "_"; do
6004
6005  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6006  symxfrm="\\1 $ac_symprfx\\2 \\2"
6007
6008  # Write the raw and C identifiers.
6009  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6010    # Fake it for dumpbin and say T for any non-static function
6011    # and D for any global variable.
6012    # Also find C++ and __fastcall symbols from MSVC++,
6013    # which start with @ or ?.
6014    lt_cv_sys_global_symbol_pipe="$AWK '"\
6015"     {last_section=section; section=\$ 3};"\
6016"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6017"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6018"     \$ 0!~/External *\|/{next};"\
6019"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6020"     {if(hide[section]) next};"\
6021"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6022"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6023"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6024"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6025"     ' prfx=^$ac_symprfx"
6026  else
6027    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6028  fi
6029  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6030
6031  # Check to see that the pipe works correctly.
6032  pipe_works=no
6033
6034  rm -f conftest*
6035  cat > conftest.$ac_ext <<_LT_EOF
6036#ifdef __cplusplus
6037extern "C" {
6038#endif
6039char nm_test_var;
6040void nm_test_func(void);
6041void nm_test_func(void){}
6042#ifdef __cplusplus
6043}
6044#endif
6045int main(){nm_test_var='a';nm_test_func();return(0);}
6046_LT_EOF
6047
6048  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6049  (eval $ac_compile) 2>&5
6050  ac_status=$?
6051  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6052  test $ac_status = 0; }; then
6053    # Now try to grab the symbols.
6054    nlist=conftest.nm
6055    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6056  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6057  ac_status=$?
6058  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6059  test $ac_status = 0; } && test -s "$nlist"; then
6060      # Try sorting and uniquifying the output.
6061      if sort "$nlist" | uniq > "$nlist"T; then
6062	mv -f "$nlist"T "$nlist"
6063      else
6064	rm -f "$nlist"T
6065      fi
6066
6067      # Make sure that we snagged all the symbols we need.
6068      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6069	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6070	  cat <<_LT_EOF > conftest.$ac_ext
6071/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6072#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6073/* DATA imports from DLLs on WIN32 con't be const, because runtime
6074   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6075# define LT_DLSYM_CONST
6076#elif defined(__osf__)
6077/* This system does not cope well with relocations in const data.  */
6078# define LT_DLSYM_CONST
6079#else
6080# define LT_DLSYM_CONST const
6081#endif
6082
6083#ifdef __cplusplus
6084extern "C" {
6085#endif
6086
6087_LT_EOF
6088	  # Now generate the symbol file.
6089	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6090
6091	  cat <<_LT_EOF >> conftest.$ac_ext
6092
6093/* The mapping between symbol names and symbols.  */
6094LT_DLSYM_CONST struct {
6095  const char *name;
6096  void       *address;
6097}
6098lt__PROGRAM__LTX_preloaded_symbols[] =
6099{
6100  { "@PROGRAM@", (void *) 0 },
6101_LT_EOF
6102	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6103	  cat <<\_LT_EOF >> conftest.$ac_ext
6104  {0, (void *) 0}
6105};
6106
6107/* This works around a problem in FreeBSD linker */
6108#ifdef FREEBSD_WORKAROUND
6109static const void *lt_preloaded_setup() {
6110  return lt__PROGRAM__LTX_preloaded_symbols;
6111}
6112#endif
6113
6114#ifdef __cplusplus
6115}
6116#endif
6117_LT_EOF
6118	  # Now try linking the two files.
6119	  mv conftest.$ac_objext conftstm.$ac_objext
6120	  lt_globsym_save_LIBS=$LIBS
6121	  lt_globsym_save_CFLAGS=$CFLAGS
6122	  LIBS="conftstm.$ac_objext"
6123	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6124	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6125  (eval $ac_link) 2>&5
6126  ac_status=$?
6127  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6128  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6129	    pipe_works=yes
6130	  fi
6131	  LIBS=$lt_globsym_save_LIBS
6132	  CFLAGS=$lt_globsym_save_CFLAGS
6133	else
6134	  echo "cannot find nm_test_func in $nlist" >&5
6135	fi
6136      else
6137	echo "cannot find nm_test_var in $nlist" >&5
6138      fi
6139    else
6140      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6141    fi
6142  else
6143    echo "$progname: failed program was:" >&5
6144    cat conftest.$ac_ext >&5
6145  fi
6146  rm -rf conftest* conftst*
6147
6148  # Do not use the global_symbol_pipe unless it works.
6149  if test "$pipe_works" = yes; then
6150    break
6151  else
6152    lt_cv_sys_global_symbol_pipe=
6153  fi
6154done
6155
6156fi
6157
6158if test -z "$lt_cv_sys_global_symbol_pipe"; then
6159  lt_cv_sys_global_symbol_to_cdecl=
6160fi
6161if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6163$as_echo "failed" >&6; }
6164else
6165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6166$as_echo "ok" >&6; }
6167fi
6168
6169# Response file support.
6170if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6171  nm_file_list_spec='@'
6172elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6173  nm_file_list_spec='@'
6174fi
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6203$as_echo_n "checking for sysroot... " >&6; }
6204
6205# Check whether --with-sysroot was given.
6206if test "${with_sysroot+set}" = set; then :
6207  withval=$with_sysroot;
6208else
6209  with_sysroot=no
6210fi
6211
6212
6213lt_sysroot=
6214case ${with_sysroot} in #(
6215 yes)
6216   if test "$GCC" = yes; then
6217     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6218   fi
6219   ;; #(
6220 /*)
6221   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6222   ;; #(
6223 no|'')
6224   ;; #(
6225 *)
6226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6227$as_echo "${with_sysroot}" >&6; }
6228   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6229   ;;
6230esac
6231
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6233$as_echo "${lt_sysroot:-no}" >&6; }
6234
6235
6236
6237
6238
6239# Check whether --enable-libtool-lock was given.
6240if test "${enable_libtool_lock+set}" = set; then :
6241  enableval=$enable_libtool_lock;
6242fi
6243
6244test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6245
6246# Some flags need to be propagated to the compiler or linker for good
6247# libtool support.
6248case $host in
6249ia64-*-hpux*)
6250  # Find out which ABI we are using.
6251  echo 'int i;' > conftest.$ac_ext
6252  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6253  (eval $ac_compile) 2>&5
6254  ac_status=$?
6255  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6256  test $ac_status = 0; }; then
6257    case `/usr/bin/file conftest.$ac_objext` in
6258      *ELF-32*)
6259	HPUX_IA64_MODE="32"
6260	;;
6261      *ELF-64*)
6262	HPUX_IA64_MODE="64"
6263	;;
6264    esac
6265  fi
6266  rm -rf conftest*
6267  ;;
6268*-*-irix6*)
6269  # Find out which ABI we are using.
6270  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6271  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6272  (eval $ac_compile) 2>&5
6273  ac_status=$?
6274  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6275  test $ac_status = 0; }; then
6276    if test "$lt_cv_prog_gnu_ld" = yes; then
6277      case `/usr/bin/file conftest.$ac_objext` in
6278	*32-bit*)
6279	  LD="${LD-ld} -melf32bsmip"
6280	  ;;
6281	*N32*)
6282	  LD="${LD-ld} -melf32bmipn32"
6283	  ;;
6284	*64-bit*)
6285	  LD="${LD-ld} -melf64bmip"
6286	;;
6287      esac
6288    else
6289      case `/usr/bin/file conftest.$ac_objext` in
6290	*32-bit*)
6291	  LD="${LD-ld} -32"
6292	  ;;
6293	*N32*)
6294	  LD="${LD-ld} -n32"
6295	  ;;
6296	*64-bit*)
6297	  LD="${LD-ld} -64"
6298	  ;;
6299      esac
6300    fi
6301  fi
6302  rm -rf conftest*
6303  ;;
6304
6305x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6306s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6307  # Find out which ABI we are using.
6308  echo 'int i;' > conftest.$ac_ext
6309  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6310  (eval $ac_compile) 2>&5
6311  ac_status=$?
6312  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6313  test $ac_status = 0; }; then
6314    case `/usr/bin/file conftest.o` in
6315      *32-bit*)
6316	case $host in
6317	  x86_64-*kfreebsd*-gnu)
6318	    LD="${LD-ld} -m elf_i386_fbsd"
6319	    ;;
6320	  x86_64-*linux*)
6321	    case `/usr/bin/file conftest.o` in
6322	      *x86-64*)
6323		LD="${LD-ld} -m elf32_x86_64"
6324		;;
6325	      *)
6326		LD="${LD-ld} -m elf_i386"
6327		;;
6328	    esac
6329	    ;;
6330	  powerpc64le-*)
6331	    LD="${LD-ld} -m elf32lppclinux"
6332	    ;;
6333	  powerpc64-*)
6334	    LD="${LD-ld} -m elf32ppclinux"
6335	    ;;
6336	  s390x-*linux*)
6337	    LD="${LD-ld} -m elf_s390"
6338	    ;;
6339	  sparc64-*linux*)
6340	    LD="${LD-ld} -m elf32_sparc"
6341	    ;;
6342	esac
6343	;;
6344      *64-bit*)
6345	case $host in
6346	  x86_64-*kfreebsd*-gnu)
6347	    LD="${LD-ld} -m elf_x86_64_fbsd"
6348	    ;;
6349	  x86_64-*linux*)
6350	    LD="${LD-ld} -m elf_x86_64"
6351	    ;;
6352	  powerpcle-*)
6353	    LD="${LD-ld} -m elf64lppc"
6354	    ;;
6355	  powerpc-*)
6356	    LD="${LD-ld} -m elf64ppc"
6357	    ;;
6358	  s390*-*linux*|s390*-*tpf*)
6359	    LD="${LD-ld} -m elf64_s390"
6360	    ;;
6361	  sparc*-*linux*)
6362	    LD="${LD-ld} -m elf64_sparc"
6363	    ;;
6364	esac
6365	;;
6366    esac
6367  fi
6368  rm -rf conftest*
6369  ;;
6370
6371*-*-sco3.2v5*)
6372  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6373  SAVE_CFLAGS="$CFLAGS"
6374  CFLAGS="$CFLAGS -belf"
6375  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6376$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6377if ${lt_cv_cc_needs_belf+:} false; then :
6378  $as_echo_n "(cached) " >&6
6379else
6380  ac_ext=c
6381ac_cpp='$CPP $CPPFLAGS'
6382ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6383ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6384ac_compiler_gnu=$ac_cv_c_compiler_gnu
6385
6386     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6387/* end confdefs.h.  */
6388
6389int
6390main ()
6391{
6392
6393  ;
6394  return 0;
6395}
6396_ACEOF
6397if ac_fn_c_try_link "$LINENO"; then :
6398  lt_cv_cc_needs_belf=yes
6399else
6400  lt_cv_cc_needs_belf=no
6401fi
6402rm -f core conftest.err conftest.$ac_objext \
6403    conftest$ac_exeext conftest.$ac_ext
6404     ac_ext=c
6405ac_cpp='$CPP $CPPFLAGS'
6406ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6407ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6408ac_compiler_gnu=$ac_cv_c_compiler_gnu
6409
6410fi
6411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6412$as_echo "$lt_cv_cc_needs_belf" >&6; }
6413  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6414    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6415    CFLAGS="$SAVE_CFLAGS"
6416  fi
6417  ;;
6418*-*solaris*)
6419  # Find out which ABI we are using.
6420  echo 'int i;' > conftest.$ac_ext
6421  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6422  (eval $ac_compile) 2>&5
6423  ac_status=$?
6424  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6425  test $ac_status = 0; }; then
6426    case `/usr/bin/file conftest.o` in
6427    *64-bit*)
6428      case $lt_cv_prog_gnu_ld in
6429      yes*)
6430        case $host in
6431        i?86-*-solaris*)
6432          LD="${LD-ld} -m elf_x86_64"
6433          ;;
6434        sparc*-*-solaris*)
6435          LD="${LD-ld} -m elf64_sparc"
6436          ;;
6437        esac
6438        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6439        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6440          LD="${LD-ld}_sol2"
6441        fi
6442        ;;
6443      *)
6444	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6445	  LD="${LD-ld} -64"
6446	fi
6447	;;
6448      esac
6449      ;;
6450    esac
6451  fi
6452  rm -rf conftest*
6453  ;;
6454esac
6455
6456need_locks="$enable_libtool_lock"
6457
6458if test -n "$ac_tool_prefix"; then
6459  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6460set dummy ${ac_tool_prefix}mt; ac_word=$2
6461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462$as_echo_n "checking for $ac_word... " >&6; }
6463if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6464  $as_echo_n "(cached) " >&6
6465else
6466  if test -n "$MANIFEST_TOOL"; then
6467  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6468else
6469as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470for as_dir in $PATH
6471do
6472  IFS=$as_save_IFS
6473  test -z "$as_dir" && as_dir=.
6474    for ac_exec_ext in '' $ac_executable_extensions; do
6475  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6476    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6477    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478    break 2
6479  fi
6480done
6481  done
6482IFS=$as_save_IFS
6483
6484fi
6485fi
6486MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6487if test -n "$MANIFEST_TOOL"; then
6488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6489$as_echo "$MANIFEST_TOOL" >&6; }
6490else
6491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492$as_echo "no" >&6; }
6493fi
6494
6495
6496fi
6497if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6498  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6499  # Extract the first word of "mt", so it can be a program name with args.
6500set dummy mt; ac_word=$2
6501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502$as_echo_n "checking for $ac_word... " >&6; }
6503if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6504  $as_echo_n "(cached) " >&6
6505else
6506  if test -n "$ac_ct_MANIFEST_TOOL"; then
6507  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6508else
6509as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510for as_dir in $PATH
6511do
6512  IFS=$as_save_IFS
6513  test -z "$as_dir" && as_dir=.
6514    for ac_exec_ext in '' $ac_executable_extensions; do
6515  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6516    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6517    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6518    break 2
6519  fi
6520done
6521  done
6522IFS=$as_save_IFS
6523
6524fi
6525fi
6526ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6527if test -n "$ac_ct_MANIFEST_TOOL"; then
6528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6529$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6530else
6531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532$as_echo "no" >&6; }
6533fi
6534
6535  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6536    MANIFEST_TOOL=":"
6537  else
6538    case $cross_compiling:$ac_tool_warned in
6539yes:)
6540{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6541$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6542ac_tool_warned=yes ;;
6543esac
6544    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6545  fi
6546else
6547  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6548fi
6549
6550test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6552$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6553if ${lt_cv_path_mainfest_tool+:} false; then :
6554  $as_echo_n "(cached) " >&6
6555else
6556  lt_cv_path_mainfest_tool=no
6557  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6558  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6559  cat conftest.err >&5
6560  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6561    lt_cv_path_mainfest_tool=yes
6562  fi
6563  rm -f conftest*
6564fi
6565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6566$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6567if test "x$lt_cv_path_mainfest_tool" != xyes; then
6568  MANIFEST_TOOL=:
6569fi
6570
6571
6572
6573
6574
6575
6576  case $host_os in
6577    rhapsody* | darwin*)
6578    if test -n "$ac_tool_prefix"; then
6579  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6580set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6582$as_echo_n "checking for $ac_word... " >&6; }
6583if ${ac_cv_prog_DSYMUTIL+:} false; then :
6584  $as_echo_n "(cached) " >&6
6585else
6586  if test -n "$DSYMUTIL"; then
6587  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6588else
6589as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6590for as_dir in $PATH
6591do
6592  IFS=$as_save_IFS
6593  test -z "$as_dir" && as_dir=.
6594    for ac_exec_ext in '' $ac_executable_extensions; do
6595  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6596    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6597    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6598    break 2
6599  fi
6600done
6601  done
6602IFS=$as_save_IFS
6603
6604fi
6605fi
6606DSYMUTIL=$ac_cv_prog_DSYMUTIL
6607if test -n "$DSYMUTIL"; then
6608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6609$as_echo "$DSYMUTIL" >&6; }
6610else
6611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612$as_echo "no" >&6; }
6613fi
6614
6615
6616fi
6617if test -z "$ac_cv_prog_DSYMUTIL"; then
6618  ac_ct_DSYMUTIL=$DSYMUTIL
6619  # Extract the first word of "dsymutil", so it can be a program name with args.
6620set dummy dsymutil; ac_word=$2
6621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622$as_echo_n "checking for $ac_word... " >&6; }
6623if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6624  $as_echo_n "(cached) " >&6
6625else
6626  if test -n "$ac_ct_DSYMUTIL"; then
6627  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6628else
6629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630for as_dir in $PATH
6631do
6632  IFS=$as_save_IFS
6633  test -z "$as_dir" && as_dir=.
6634    for ac_exec_ext in '' $ac_executable_extensions; do
6635  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6636    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6637    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638    break 2
6639  fi
6640done
6641  done
6642IFS=$as_save_IFS
6643
6644fi
6645fi
6646ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6647if test -n "$ac_ct_DSYMUTIL"; then
6648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6649$as_echo "$ac_ct_DSYMUTIL" >&6; }
6650else
6651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652$as_echo "no" >&6; }
6653fi
6654
6655  if test "x$ac_ct_DSYMUTIL" = x; then
6656    DSYMUTIL=":"
6657  else
6658    case $cross_compiling:$ac_tool_warned in
6659yes:)
6660{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6661$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6662ac_tool_warned=yes ;;
6663esac
6664    DSYMUTIL=$ac_ct_DSYMUTIL
6665  fi
6666else
6667  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6668fi
6669
6670    if test -n "$ac_tool_prefix"; then
6671  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6672set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6674$as_echo_n "checking for $ac_word... " >&6; }
6675if ${ac_cv_prog_NMEDIT+:} false; then :
6676  $as_echo_n "(cached) " >&6
6677else
6678  if test -n "$NMEDIT"; then
6679  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6680else
6681as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682for as_dir in $PATH
6683do
6684  IFS=$as_save_IFS
6685  test -z "$as_dir" && as_dir=.
6686    for ac_exec_ext in '' $ac_executable_extensions; do
6687  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6688    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6689    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6690    break 2
6691  fi
6692done
6693  done
6694IFS=$as_save_IFS
6695
6696fi
6697fi
6698NMEDIT=$ac_cv_prog_NMEDIT
6699if test -n "$NMEDIT"; then
6700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6701$as_echo "$NMEDIT" >&6; }
6702else
6703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6704$as_echo "no" >&6; }
6705fi
6706
6707
6708fi
6709if test -z "$ac_cv_prog_NMEDIT"; then
6710  ac_ct_NMEDIT=$NMEDIT
6711  # Extract the first word of "nmedit", so it can be a program name with args.
6712set dummy nmedit; ac_word=$2
6713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6714$as_echo_n "checking for $ac_word... " >&6; }
6715if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6716  $as_echo_n "(cached) " >&6
6717else
6718  if test -n "$ac_ct_NMEDIT"; then
6719  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6720else
6721as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722for as_dir in $PATH
6723do
6724  IFS=$as_save_IFS
6725  test -z "$as_dir" && as_dir=.
6726    for ac_exec_ext in '' $ac_executable_extensions; do
6727  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6728    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6729    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6730    break 2
6731  fi
6732done
6733  done
6734IFS=$as_save_IFS
6735
6736fi
6737fi
6738ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6739if test -n "$ac_ct_NMEDIT"; then
6740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6741$as_echo "$ac_ct_NMEDIT" >&6; }
6742else
6743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6744$as_echo "no" >&6; }
6745fi
6746
6747  if test "x$ac_ct_NMEDIT" = x; then
6748    NMEDIT=":"
6749  else
6750    case $cross_compiling:$ac_tool_warned in
6751yes:)
6752{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6753$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6754ac_tool_warned=yes ;;
6755esac
6756    NMEDIT=$ac_ct_NMEDIT
6757  fi
6758else
6759  NMEDIT="$ac_cv_prog_NMEDIT"
6760fi
6761
6762    if test -n "$ac_tool_prefix"; then
6763  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6764set dummy ${ac_tool_prefix}lipo; ac_word=$2
6765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766$as_echo_n "checking for $ac_word... " >&6; }
6767if ${ac_cv_prog_LIPO+:} false; then :
6768  $as_echo_n "(cached) " >&6
6769else
6770  if test -n "$LIPO"; then
6771  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6772else
6773as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6774for as_dir in $PATH
6775do
6776  IFS=$as_save_IFS
6777  test -z "$as_dir" && as_dir=.
6778    for ac_exec_ext in '' $ac_executable_extensions; do
6779  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6780    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6781    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6782    break 2
6783  fi
6784done
6785  done
6786IFS=$as_save_IFS
6787
6788fi
6789fi
6790LIPO=$ac_cv_prog_LIPO
6791if test -n "$LIPO"; then
6792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6793$as_echo "$LIPO" >&6; }
6794else
6795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796$as_echo "no" >&6; }
6797fi
6798
6799
6800fi
6801if test -z "$ac_cv_prog_LIPO"; then
6802  ac_ct_LIPO=$LIPO
6803  # Extract the first word of "lipo", so it can be a program name with args.
6804set dummy lipo; ac_word=$2
6805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6806$as_echo_n "checking for $ac_word... " >&6; }
6807if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6808  $as_echo_n "(cached) " >&6
6809else
6810  if test -n "$ac_ct_LIPO"; then
6811  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6812else
6813as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814for as_dir in $PATH
6815do
6816  IFS=$as_save_IFS
6817  test -z "$as_dir" && as_dir=.
6818    for ac_exec_ext in '' $ac_executable_extensions; do
6819  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6820    ac_cv_prog_ac_ct_LIPO="lipo"
6821    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6822    break 2
6823  fi
6824done
6825  done
6826IFS=$as_save_IFS
6827
6828fi
6829fi
6830ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6831if test -n "$ac_ct_LIPO"; then
6832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6833$as_echo "$ac_ct_LIPO" >&6; }
6834else
6835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6836$as_echo "no" >&6; }
6837fi
6838
6839  if test "x$ac_ct_LIPO" = x; then
6840    LIPO=":"
6841  else
6842    case $cross_compiling:$ac_tool_warned in
6843yes:)
6844{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6845$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6846ac_tool_warned=yes ;;
6847esac
6848    LIPO=$ac_ct_LIPO
6849  fi
6850else
6851  LIPO="$ac_cv_prog_LIPO"
6852fi
6853
6854    if test -n "$ac_tool_prefix"; then
6855  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6856set dummy ${ac_tool_prefix}otool; ac_word=$2
6857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6858$as_echo_n "checking for $ac_word... " >&6; }
6859if ${ac_cv_prog_OTOOL+:} false; then :
6860  $as_echo_n "(cached) " >&6
6861else
6862  if test -n "$OTOOL"; then
6863  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6864else
6865as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866for as_dir in $PATH
6867do
6868  IFS=$as_save_IFS
6869  test -z "$as_dir" && as_dir=.
6870    for ac_exec_ext in '' $ac_executable_extensions; do
6871  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6872    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6873    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6874    break 2
6875  fi
6876done
6877  done
6878IFS=$as_save_IFS
6879
6880fi
6881fi
6882OTOOL=$ac_cv_prog_OTOOL
6883if test -n "$OTOOL"; then
6884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6885$as_echo "$OTOOL" >&6; }
6886else
6887  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6888$as_echo "no" >&6; }
6889fi
6890
6891
6892fi
6893if test -z "$ac_cv_prog_OTOOL"; then
6894  ac_ct_OTOOL=$OTOOL
6895  # Extract the first word of "otool", so it can be a program name with args.
6896set dummy otool; ac_word=$2
6897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6898$as_echo_n "checking for $ac_word... " >&6; }
6899if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6900  $as_echo_n "(cached) " >&6
6901else
6902  if test -n "$ac_ct_OTOOL"; then
6903  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6904else
6905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906for as_dir in $PATH
6907do
6908  IFS=$as_save_IFS
6909  test -z "$as_dir" && as_dir=.
6910    for ac_exec_ext in '' $ac_executable_extensions; do
6911  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6912    ac_cv_prog_ac_ct_OTOOL="otool"
6913    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914    break 2
6915  fi
6916done
6917  done
6918IFS=$as_save_IFS
6919
6920fi
6921fi
6922ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6923if test -n "$ac_ct_OTOOL"; then
6924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6925$as_echo "$ac_ct_OTOOL" >&6; }
6926else
6927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6928$as_echo "no" >&6; }
6929fi
6930
6931  if test "x$ac_ct_OTOOL" = x; then
6932    OTOOL=":"
6933  else
6934    case $cross_compiling:$ac_tool_warned in
6935yes:)
6936{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6937$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6938ac_tool_warned=yes ;;
6939esac
6940    OTOOL=$ac_ct_OTOOL
6941  fi
6942else
6943  OTOOL="$ac_cv_prog_OTOOL"
6944fi
6945
6946    if test -n "$ac_tool_prefix"; then
6947  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6948set dummy ${ac_tool_prefix}otool64; ac_word=$2
6949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6950$as_echo_n "checking for $ac_word... " >&6; }
6951if ${ac_cv_prog_OTOOL64+:} false; then :
6952  $as_echo_n "(cached) " >&6
6953else
6954  if test -n "$OTOOL64"; then
6955  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6956else
6957as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958for as_dir in $PATH
6959do
6960  IFS=$as_save_IFS
6961  test -z "$as_dir" && as_dir=.
6962    for ac_exec_ext in '' $ac_executable_extensions; do
6963  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6964    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6965    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6966    break 2
6967  fi
6968done
6969  done
6970IFS=$as_save_IFS
6971
6972fi
6973fi
6974OTOOL64=$ac_cv_prog_OTOOL64
6975if test -n "$OTOOL64"; then
6976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6977$as_echo "$OTOOL64" >&6; }
6978else
6979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6980$as_echo "no" >&6; }
6981fi
6982
6983
6984fi
6985if test -z "$ac_cv_prog_OTOOL64"; then
6986  ac_ct_OTOOL64=$OTOOL64
6987  # Extract the first word of "otool64", so it can be a program name with args.
6988set dummy otool64; ac_word=$2
6989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6990$as_echo_n "checking for $ac_word... " >&6; }
6991if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6992  $as_echo_n "(cached) " >&6
6993else
6994  if test -n "$ac_ct_OTOOL64"; then
6995  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6996else
6997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998for as_dir in $PATH
6999do
7000  IFS=$as_save_IFS
7001  test -z "$as_dir" && as_dir=.
7002    for ac_exec_ext in '' $ac_executable_extensions; do
7003  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7004    ac_cv_prog_ac_ct_OTOOL64="otool64"
7005    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7006    break 2
7007  fi
7008done
7009  done
7010IFS=$as_save_IFS
7011
7012fi
7013fi
7014ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7015if test -n "$ac_ct_OTOOL64"; then
7016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7017$as_echo "$ac_ct_OTOOL64" >&6; }
7018else
7019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7020$as_echo "no" >&6; }
7021fi
7022
7023  if test "x$ac_ct_OTOOL64" = x; then
7024    OTOOL64=":"
7025  else
7026    case $cross_compiling:$ac_tool_warned in
7027yes:)
7028{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7029$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7030ac_tool_warned=yes ;;
7031esac
7032    OTOOL64=$ac_ct_OTOOL64
7033  fi
7034else
7035  OTOOL64="$ac_cv_prog_OTOOL64"
7036fi
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7065$as_echo_n "checking for -single_module linker flag... " >&6; }
7066if ${lt_cv_apple_cc_single_mod+:} false; then :
7067  $as_echo_n "(cached) " >&6
7068else
7069  lt_cv_apple_cc_single_mod=no
7070      if test -z "${LT_MULTI_MODULE}"; then
7071	# By default we will add the -single_module flag. You can override
7072	# by either setting the environment variable LT_MULTI_MODULE
7073	# non-empty at configure time, or by adding -multi_module to the
7074	# link flags.
7075	rm -rf libconftest.dylib*
7076	echo "int foo(void){return 1;}" > conftest.c
7077	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7078-dynamiclib -Wl,-single_module conftest.c" >&5
7079	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7080	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7081        _lt_result=$?
7082	# If there is a non-empty error log, and "single_module"
7083	# appears in it, assume the flag caused a linker warning
7084        if test -s conftest.err && $GREP single_module conftest.err; then
7085	  cat conftest.err >&5
7086	# Otherwise, if the output was created with a 0 exit code from
7087	# the compiler, it worked.
7088	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7089	  lt_cv_apple_cc_single_mod=yes
7090	else
7091	  cat conftest.err >&5
7092	fi
7093	rm -rf libconftest.dylib*
7094	rm -f conftest.*
7095      fi
7096fi
7097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7098$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7099
7100    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7101$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7102if ${lt_cv_ld_exported_symbols_list+:} false; then :
7103  $as_echo_n "(cached) " >&6
7104else
7105  lt_cv_ld_exported_symbols_list=no
7106      save_LDFLAGS=$LDFLAGS
7107      echo "_main" > conftest.sym
7108      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7109      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7110/* end confdefs.h.  */
7111
7112int
7113main ()
7114{
7115
7116  ;
7117  return 0;
7118}
7119_ACEOF
7120if ac_fn_c_try_link "$LINENO"; then :
7121  lt_cv_ld_exported_symbols_list=yes
7122else
7123  lt_cv_ld_exported_symbols_list=no
7124fi
7125rm -f core conftest.err conftest.$ac_objext \
7126    conftest$ac_exeext conftest.$ac_ext
7127	LDFLAGS="$save_LDFLAGS"
7128
7129fi
7130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7131$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7132
7133    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7134$as_echo_n "checking for -force_load linker flag... " >&6; }
7135if ${lt_cv_ld_force_load+:} false; then :
7136  $as_echo_n "(cached) " >&6
7137else
7138  lt_cv_ld_force_load=no
7139      cat > conftest.c << _LT_EOF
7140int forced_loaded() { return 2;}
7141_LT_EOF
7142      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7143      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7144      echo "$AR cru libconftest.a conftest.o" >&5
7145      $AR cru libconftest.a conftest.o 2>&5
7146      echo "$RANLIB libconftest.a" >&5
7147      $RANLIB libconftest.a 2>&5
7148      cat > conftest.c << _LT_EOF
7149int main() { return 0;}
7150_LT_EOF
7151      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7152      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7153      _lt_result=$?
7154      if test -s conftest.err && $GREP force_load conftest.err; then
7155	cat conftest.err >&5
7156      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7157	lt_cv_ld_force_load=yes
7158      else
7159	cat conftest.err >&5
7160      fi
7161        rm -f conftest.err libconftest.a conftest conftest.c
7162        rm -rf conftest.dSYM
7163
7164fi
7165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7166$as_echo "$lt_cv_ld_force_load" >&6; }
7167    case $host_os in
7168    rhapsody* | darwin1.[012])
7169      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7170    darwin1.*)
7171      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7172    darwin*) # darwin 5.x on
7173      # if running on 10.5 or later, the deployment target defaults
7174      # to the OS version, if on x86, and 10.4, the deployment
7175      # target defaults to 10.4. Don't you love it?
7176      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7177	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7178	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7179	10.[012]*)
7180	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7181	10.*)
7182	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7183      esac
7184    ;;
7185  esac
7186    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7187      _lt_dar_single_mod='$single_module'
7188    fi
7189    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7190      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7191    else
7192      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7193    fi
7194    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7195      _lt_dsymutil='~$DSYMUTIL $lib || :'
7196    else
7197      _lt_dsymutil=
7198    fi
7199    ;;
7200  esac
7201
7202ac_ext=c
7203ac_cpp='$CPP $CPPFLAGS'
7204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7206ac_compiler_gnu=$ac_cv_c_compiler_gnu
7207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7208$as_echo_n "checking how to run the C preprocessor... " >&6; }
7209# On Suns, sometimes $CPP names a directory.
7210if test -n "$CPP" && test -d "$CPP"; then
7211  CPP=
7212fi
7213if test -z "$CPP"; then
7214  if ${ac_cv_prog_CPP+:} false; then :
7215  $as_echo_n "(cached) " >&6
7216else
7217      # Double quotes because CPP needs to be expanded
7218    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7219    do
7220      ac_preproc_ok=false
7221for ac_c_preproc_warn_flag in '' yes
7222do
7223  # Use a header file that comes with gcc, so configuring glibc
7224  # with a fresh cross-compiler works.
7225  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7226  # <limits.h> exists even on freestanding compilers.
7227  # On the NeXT, cc -E runs the code through the compiler's parser,
7228  # not just through cpp. "Syntax error" is here to catch this case.
7229  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7230/* end confdefs.h.  */
7231#ifdef __STDC__
7232# include <limits.h>
7233#else
7234# include <assert.h>
7235#endif
7236		     Syntax error
7237_ACEOF
7238if ac_fn_c_try_cpp "$LINENO"; then :
7239
7240else
7241  # Broken: fails on valid input.
7242continue
7243fi
7244rm -f conftest.err conftest.i conftest.$ac_ext
7245
7246  # OK, works on sane cases.  Now check whether nonexistent headers
7247  # can be detected and how.
7248  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7249/* end confdefs.h.  */
7250#include <ac_nonexistent.h>
7251_ACEOF
7252if ac_fn_c_try_cpp "$LINENO"; then :
7253  # Broken: success on invalid input.
7254continue
7255else
7256  # Passes both tests.
7257ac_preproc_ok=:
7258break
7259fi
7260rm -f conftest.err conftest.i conftest.$ac_ext
7261
7262done
7263# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7264rm -f conftest.i conftest.err conftest.$ac_ext
7265if $ac_preproc_ok; then :
7266  break
7267fi
7268
7269    done
7270    ac_cv_prog_CPP=$CPP
7271
7272fi
7273  CPP=$ac_cv_prog_CPP
7274else
7275  ac_cv_prog_CPP=$CPP
7276fi
7277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7278$as_echo "$CPP" >&6; }
7279ac_preproc_ok=false
7280for ac_c_preproc_warn_flag in '' yes
7281do
7282  # Use a header file that comes with gcc, so configuring glibc
7283  # with a fresh cross-compiler works.
7284  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7285  # <limits.h> exists even on freestanding compilers.
7286  # On the NeXT, cc -E runs the code through the compiler's parser,
7287  # not just through cpp. "Syntax error" is here to catch this case.
7288  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7289/* end confdefs.h.  */
7290#ifdef __STDC__
7291# include <limits.h>
7292#else
7293# include <assert.h>
7294#endif
7295		     Syntax error
7296_ACEOF
7297if ac_fn_c_try_cpp "$LINENO"; then :
7298
7299else
7300  # Broken: fails on valid input.
7301continue
7302fi
7303rm -f conftest.err conftest.i conftest.$ac_ext
7304
7305  # OK, works on sane cases.  Now check whether nonexistent headers
7306  # can be detected and how.
7307  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7308/* end confdefs.h.  */
7309#include <ac_nonexistent.h>
7310_ACEOF
7311if ac_fn_c_try_cpp "$LINENO"; then :
7312  # Broken: success on invalid input.
7313continue
7314else
7315  # Passes both tests.
7316ac_preproc_ok=:
7317break
7318fi
7319rm -f conftest.err conftest.i conftest.$ac_ext
7320
7321done
7322# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7323rm -f conftest.i conftest.err conftest.$ac_ext
7324if $ac_preproc_ok; then :
7325
7326else
7327  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7328$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7329as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7330See \`config.log' for more details" "$LINENO" 5; }
7331fi
7332
7333ac_ext=c
7334ac_cpp='$CPP $CPPFLAGS'
7335ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7336ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7337ac_compiler_gnu=$ac_cv_c_compiler_gnu
7338
7339
7340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7341$as_echo_n "checking for ANSI C header files... " >&6; }
7342if ${ac_cv_header_stdc+:} false; then :
7343  $as_echo_n "(cached) " >&6
7344else
7345  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7346/* end confdefs.h.  */
7347#include <stdlib.h>
7348#include <stdarg.h>
7349#include <string.h>
7350#include <float.h>
7351
7352int
7353main ()
7354{
7355
7356  ;
7357  return 0;
7358}
7359_ACEOF
7360if ac_fn_c_try_compile "$LINENO"; then :
7361  ac_cv_header_stdc=yes
7362else
7363  ac_cv_header_stdc=no
7364fi
7365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7366
7367if test $ac_cv_header_stdc = yes; then
7368  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7369  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7370/* end confdefs.h.  */
7371#include <string.h>
7372
7373_ACEOF
7374if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7375  $EGREP "memchr" >/dev/null 2>&1; then :
7376
7377else
7378  ac_cv_header_stdc=no
7379fi
7380rm -f conftest*
7381
7382fi
7383
7384if test $ac_cv_header_stdc = yes; then
7385  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7386  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7387/* end confdefs.h.  */
7388#include <stdlib.h>
7389
7390_ACEOF
7391if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7392  $EGREP "free" >/dev/null 2>&1; then :
7393
7394else
7395  ac_cv_header_stdc=no
7396fi
7397rm -f conftest*
7398
7399fi
7400
7401if test $ac_cv_header_stdc = yes; then
7402  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7403  if test "$cross_compiling" = yes; then :
7404  :
7405else
7406  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7407/* end confdefs.h.  */
7408#include <ctype.h>
7409#include <stdlib.h>
7410#if ((' ' & 0x0FF) == 0x020)
7411# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7412# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7413#else
7414# define ISLOWER(c) \
7415		   (('a' <= (c) && (c) <= 'i') \
7416		     || ('j' <= (c) && (c) <= 'r') \
7417		     || ('s' <= (c) && (c) <= 'z'))
7418# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7419#endif
7420
7421#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7422int
7423main ()
7424{
7425  int i;
7426  for (i = 0; i < 256; i++)
7427    if (XOR (islower (i), ISLOWER (i))
7428	|| toupper (i) != TOUPPER (i))
7429      return 2;
7430  return 0;
7431}
7432_ACEOF
7433if ac_fn_c_try_run "$LINENO"; then :
7434
7435else
7436  ac_cv_header_stdc=no
7437fi
7438rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7439  conftest.$ac_objext conftest.beam conftest.$ac_ext
7440fi
7441
7442fi
7443fi
7444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7445$as_echo "$ac_cv_header_stdc" >&6; }
7446if test $ac_cv_header_stdc = yes; then
7447
7448$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7449
7450fi
7451
7452# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7453for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7454		  inttypes.h stdint.h unistd.h
7455do :
7456  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7457ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7458"
7459if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7460  cat >>confdefs.h <<_ACEOF
7461#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7462_ACEOF
7463
7464fi
7465
7466done
7467
7468
7469for ac_header in dlfcn.h
7470do :
7471  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7472"
7473if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7474  cat >>confdefs.h <<_ACEOF
7475#define HAVE_DLFCN_H 1
7476_ACEOF
7477
7478fi
7479
7480done
7481
7482
7483
7484
7485
7486# Set options
7487
7488
7489
7490        enable_dlopen=no
7491
7492
7493  enable_win32_dll=no
7494
7495
7496            # Check whether --enable-shared was given.
7497if test "${enable_shared+set}" = set; then :
7498  enableval=$enable_shared; p=${PACKAGE-default}
7499    case $enableval in
7500    yes) enable_shared=yes ;;
7501    no) enable_shared=no ;;
7502    *)
7503      enable_shared=no
7504      # Look at the argument we got.  We use all the common list separators.
7505      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7506      for pkg in $enableval; do
7507	IFS="$lt_save_ifs"
7508	if test "X$pkg" = "X$p"; then
7509	  enable_shared=yes
7510	fi
7511      done
7512      IFS="$lt_save_ifs"
7513      ;;
7514    esac
7515else
7516  enable_shared=yes
7517fi
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527  # Check whether --enable-static was given.
7528if test "${enable_static+set}" = set; then :
7529  enableval=$enable_static; p=${PACKAGE-default}
7530    case $enableval in
7531    yes) enable_static=yes ;;
7532    no) enable_static=no ;;
7533    *)
7534     enable_static=no
7535      # Look at the argument we got.  We use all the common list separators.
7536      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7537      for pkg in $enableval; do
7538	IFS="$lt_save_ifs"
7539	if test "X$pkg" = "X$p"; then
7540	  enable_static=yes
7541	fi
7542      done
7543      IFS="$lt_save_ifs"
7544      ;;
7545    esac
7546else
7547  enable_static=yes
7548fi
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559# Check whether --with-pic was given.
7560if test "${with_pic+set}" = set; then :
7561  withval=$with_pic; lt_p=${PACKAGE-default}
7562    case $withval in
7563    yes|no) pic_mode=$withval ;;
7564    *)
7565      pic_mode=default
7566      # Look at the argument we got.  We use all the common list separators.
7567      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7568      for lt_pkg in $withval; do
7569	IFS="$lt_save_ifs"
7570	if test "X$lt_pkg" = "X$lt_p"; then
7571	  pic_mode=yes
7572	fi
7573      done
7574      IFS="$lt_save_ifs"
7575      ;;
7576    esac
7577else
7578  pic_mode=default
7579fi
7580
7581
7582test -z "$pic_mode" && pic_mode=default
7583
7584
7585
7586
7587
7588
7589
7590  # Check whether --enable-fast-install was given.
7591if test "${enable_fast_install+set}" = set; then :
7592  enableval=$enable_fast_install; p=${PACKAGE-default}
7593    case $enableval in
7594    yes) enable_fast_install=yes ;;
7595    no) enable_fast_install=no ;;
7596    *)
7597      enable_fast_install=no
7598      # Look at the argument we got.  We use all the common list separators.
7599      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7600      for pkg in $enableval; do
7601	IFS="$lt_save_ifs"
7602	if test "X$pkg" = "X$p"; then
7603	  enable_fast_install=yes
7604	fi
7605      done
7606      IFS="$lt_save_ifs"
7607      ;;
7608    esac
7609else
7610  enable_fast_install=yes
7611fi
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623# This can be used to rebuild libtool when needed
7624LIBTOOL_DEPS="$ltmain"
7625
7626# Always use our own libtool.
7627LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658test -z "$LN_S" && LN_S="ln -s"
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673if test -n "${ZSH_VERSION+set}" ; then
7674   setopt NO_GLOB_SUBST
7675fi
7676
7677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7678$as_echo_n "checking for objdir... " >&6; }
7679if ${lt_cv_objdir+:} false; then :
7680  $as_echo_n "(cached) " >&6
7681else
7682  rm -f .libs 2>/dev/null
7683mkdir .libs 2>/dev/null
7684if test -d .libs; then
7685  lt_cv_objdir=.libs
7686else
7687  # MS-DOS does not allow filenames that begin with a dot.
7688  lt_cv_objdir=_libs
7689fi
7690rmdir .libs 2>/dev/null
7691fi
7692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7693$as_echo "$lt_cv_objdir" >&6; }
7694objdir=$lt_cv_objdir
7695
7696
7697
7698
7699
7700cat >>confdefs.h <<_ACEOF
7701#define LT_OBJDIR "$lt_cv_objdir/"
7702_ACEOF
7703
7704
7705
7706
7707case $host_os in
7708aix3*)
7709  # AIX sometimes has problems with the GCC collect2 program.  For some
7710  # reason, if we set the COLLECT_NAMES environment variable, the problems
7711  # vanish in a puff of smoke.
7712  if test "X${COLLECT_NAMES+set}" != Xset; then
7713    COLLECT_NAMES=
7714    export COLLECT_NAMES
7715  fi
7716  ;;
7717esac
7718
7719# Global variables:
7720ofile=libtool
7721can_build_shared=yes
7722
7723# All known linkers require a `.a' archive for static linking (except MSVC,
7724# which needs '.lib').
7725libext=a
7726
7727with_gnu_ld="$lt_cv_prog_gnu_ld"
7728
7729old_CC="$CC"
7730old_CFLAGS="$CFLAGS"
7731
7732# Set sane defaults for various variables
7733test -z "$CC" && CC=cc
7734test -z "$LTCC" && LTCC=$CC
7735test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7736test -z "$LD" && LD=ld
7737test -z "$ac_objext" && ac_objext=o
7738
7739for cc_temp in $compiler""; do
7740  case $cc_temp in
7741    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7742    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7743    \-*) ;;
7744    *) break;;
7745  esac
7746done
7747cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7748
7749
7750# Only perform the check for file, if the check method requires it
7751test -z "$MAGIC_CMD" && MAGIC_CMD=file
7752case $deplibs_check_method in
7753file_magic*)
7754  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7755    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7756$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7757if ${lt_cv_path_MAGIC_CMD+:} false; then :
7758  $as_echo_n "(cached) " >&6
7759else
7760  case $MAGIC_CMD in
7761[\\/*] |  ?:[\\/]*)
7762  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7763  ;;
7764*)
7765  lt_save_MAGIC_CMD="$MAGIC_CMD"
7766  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7767  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7768  for ac_dir in $ac_dummy; do
7769    IFS="$lt_save_ifs"
7770    test -z "$ac_dir" && ac_dir=.
7771    if test -f $ac_dir/${ac_tool_prefix}file; then
7772      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7773      if test -n "$file_magic_test_file"; then
7774	case $deplibs_check_method in
7775	"file_magic "*)
7776	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7777	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7778	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7779	    $EGREP "$file_magic_regex" > /dev/null; then
7780	    :
7781	  else
7782	    cat <<_LT_EOF 1>&2
7783
7784*** Warning: the command libtool uses to detect shared libraries,
7785*** $file_magic_cmd, produces output that libtool cannot recognize.
7786*** The result is that libtool may fail to recognize shared libraries
7787*** as such.  This will affect the creation of libtool libraries that
7788*** depend on shared libraries, but programs linked with such libtool
7789*** libraries will work regardless of this problem.  Nevertheless, you
7790*** may want to report the problem to your system manager and/or to
7791*** bug-libtool@gnu.org
7792
7793_LT_EOF
7794	  fi ;;
7795	esac
7796      fi
7797      break
7798    fi
7799  done
7800  IFS="$lt_save_ifs"
7801  MAGIC_CMD="$lt_save_MAGIC_CMD"
7802  ;;
7803esac
7804fi
7805
7806MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7807if test -n "$MAGIC_CMD"; then
7808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7809$as_echo "$MAGIC_CMD" >&6; }
7810else
7811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7812$as_echo "no" >&6; }
7813fi
7814
7815
7816
7817
7818
7819if test -z "$lt_cv_path_MAGIC_CMD"; then
7820  if test -n "$ac_tool_prefix"; then
7821    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7822$as_echo_n "checking for file... " >&6; }
7823if ${lt_cv_path_MAGIC_CMD+:} false; then :
7824  $as_echo_n "(cached) " >&6
7825else
7826  case $MAGIC_CMD in
7827[\\/*] |  ?:[\\/]*)
7828  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7829  ;;
7830*)
7831  lt_save_MAGIC_CMD="$MAGIC_CMD"
7832  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7833  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7834  for ac_dir in $ac_dummy; do
7835    IFS="$lt_save_ifs"
7836    test -z "$ac_dir" && ac_dir=.
7837    if test -f $ac_dir/file; then
7838      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7839      if test -n "$file_magic_test_file"; then
7840	case $deplibs_check_method in
7841	"file_magic "*)
7842	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7843	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7844	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7845	    $EGREP "$file_magic_regex" > /dev/null; then
7846	    :
7847	  else
7848	    cat <<_LT_EOF 1>&2
7849
7850*** Warning: the command libtool uses to detect shared libraries,
7851*** $file_magic_cmd, produces output that libtool cannot recognize.
7852*** The result is that libtool may fail to recognize shared libraries
7853*** as such.  This will affect the creation of libtool libraries that
7854*** depend on shared libraries, but programs linked with such libtool
7855*** libraries will work regardless of this problem.  Nevertheless, you
7856*** may want to report the problem to your system manager and/or to
7857*** bug-libtool@gnu.org
7858
7859_LT_EOF
7860	  fi ;;
7861	esac
7862      fi
7863      break
7864    fi
7865  done
7866  IFS="$lt_save_ifs"
7867  MAGIC_CMD="$lt_save_MAGIC_CMD"
7868  ;;
7869esac
7870fi
7871
7872MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7873if test -n "$MAGIC_CMD"; then
7874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7875$as_echo "$MAGIC_CMD" >&6; }
7876else
7877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7878$as_echo "no" >&6; }
7879fi
7880
7881
7882  else
7883    MAGIC_CMD=:
7884  fi
7885fi
7886
7887  fi
7888  ;;
7889esac
7890
7891# Use C for the default configuration in the libtool script
7892
7893lt_save_CC="$CC"
7894ac_ext=c
7895ac_cpp='$CPP $CPPFLAGS'
7896ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7897ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7898ac_compiler_gnu=$ac_cv_c_compiler_gnu
7899
7900
7901# Source file extension for C test sources.
7902ac_ext=c
7903
7904# Object file extension for compiled C test sources.
7905objext=o
7906objext=$objext
7907
7908# Code to be used in simple compile tests
7909lt_simple_compile_test_code="int some_variable = 0;"
7910
7911# Code to be used in simple link tests
7912lt_simple_link_test_code='int main(){return(0);}'
7913
7914
7915
7916
7917
7918
7919
7920# If no C compiler was specified, use CC.
7921LTCC=${LTCC-"$CC"}
7922
7923# If no C compiler flags were specified, use CFLAGS.
7924LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7925
7926# Allow CC to be a program name with arguments.
7927compiler=$CC
7928
7929# Save the default compiler, since it gets overwritten when the other
7930# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7931compiler_DEFAULT=$CC
7932
7933# save warnings/boilerplate of simple test code
7934ac_outfile=conftest.$ac_objext
7935echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7936eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7937_lt_compiler_boilerplate=`cat conftest.err`
7938$RM conftest*
7939
7940ac_outfile=conftest.$ac_objext
7941echo "$lt_simple_link_test_code" >conftest.$ac_ext
7942eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7943_lt_linker_boilerplate=`cat conftest.err`
7944$RM -r conftest*
7945
7946
7947## CAVEAT EMPTOR:
7948## There is no encapsulation within the following macros, do not change
7949## the running order or otherwise move them around unless you know exactly
7950## what you are doing...
7951if test -n "$compiler"; then
7952
7953lt_prog_compiler_no_builtin_flag=
7954
7955if test "$GCC" = yes; then
7956  case $cc_basename in
7957  nvcc*)
7958    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7959  *)
7960    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7961  esac
7962
7963  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7964$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7965if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7966  $as_echo_n "(cached) " >&6
7967else
7968  lt_cv_prog_compiler_rtti_exceptions=no
7969   ac_outfile=conftest.$ac_objext
7970   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7971   lt_compiler_flag="-fno-rtti -fno-exceptions"
7972   # Insert the option either (1) after the last *FLAGS variable, or
7973   # (2) before a word containing "conftest.", or (3) at the end.
7974   # Note that $ac_compile itself does not contain backslashes and begins
7975   # with a dollar sign (not a hyphen), so the echo should work correctly.
7976   # The option is referenced via a variable to avoid confusing sed.
7977   lt_compile=`echo "$ac_compile" | $SED \
7978   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7979   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7980   -e 's:$: $lt_compiler_flag:'`
7981   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7982   (eval "$lt_compile" 2>conftest.err)
7983   ac_status=$?
7984   cat conftest.err >&5
7985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986   if (exit $ac_status) && test -s "$ac_outfile"; then
7987     # The compiler can only warn and ignore the option if not recognized
7988     # So say no if there are warnings other than the usual output.
7989     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7990     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7991     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7992       lt_cv_prog_compiler_rtti_exceptions=yes
7993     fi
7994   fi
7995   $RM conftest*
7996
7997fi
7998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7999$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8000
8001if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8002    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8003else
8004    :
8005fi
8006
8007fi
8008
8009
8010
8011
8012
8013
8014  lt_prog_compiler_wl=
8015lt_prog_compiler_pic=
8016lt_prog_compiler_static=
8017
8018
8019  if test "$GCC" = yes; then
8020    lt_prog_compiler_wl='-Wl,'
8021    lt_prog_compiler_static='-static'
8022
8023    case $host_os in
8024      aix*)
8025      # All AIX code is PIC.
8026      if test "$host_cpu" = ia64; then
8027	# AIX 5 now supports IA64 processor
8028	lt_prog_compiler_static='-Bstatic'
8029      fi
8030      ;;
8031
8032    amigaos*)
8033      case $host_cpu in
8034      powerpc)
8035            # see comment about AmigaOS4 .so support
8036            lt_prog_compiler_pic='-fPIC'
8037        ;;
8038      m68k)
8039            # FIXME: we need at least 68020 code to build shared libraries, but
8040            # adding the `-m68020' flag to GCC prevents building anything better,
8041            # like `-m68040'.
8042            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8043        ;;
8044      esac
8045      ;;
8046
8047    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8048      # PIC is the default for these OSes.
8049      ;;
8050
8051    mingw* | cygwin* | pw32* | os2* | cegcc*)
8052      # This hack is so that the source file can tell whether it is being
8053      # built for inclusion in a dll (and should export symbols for example).
8054      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8055      # (--disable-auto-import) libraries
8056      lt_prog_compiler_pic='-DDLL_EXPORT'
8057      ;;
8058
8059    darwin* | rhapsody*)
8060      # PIC is the default on this platform
8061      # Common symbols not allowed in MH_DYLIB files
8062      lt_prog_compiler_pic='-fno-common'
8063      ;;
8064
8065    haiku*)
8066      # PIC is the default for Haiku.
8067      # The "-static" flag exists, but is broken.
8068      lt_prog_compiler_static=
8069      ;;
8070
8071    hpux*)
8072      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8073      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8074      # sets the default TLS model and affects inlining.
8075      case $host_cpu in
8076      hppa*64*)
8077	# +Z the default
8078	;;
8079      *)
8080	lt_prog_compiler_pic='-fPIC'
8081	;;
8082      esac
8083      ;;
8084
8085    interix[3-9]*)
8086      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8087      # Instead, we relocate shared libraries at runtime.
8088      ;;
8089
8090    msdosdjgpp*)
8091      # Just because we use GCC doesn't mean we suddenly get shared libraries
8092      # on systems that don't support them.
8093      lt_prog_compiler_can_build_shared=no
8094      enable_shared=no
8095      ;;
8096
8097    *nto* | *qnx*)
8098      # QNX uses GNU C++, but need to define -shared option too, otherwise
8099      # it will coredump.
8100      lt_prog_compiler_pic='-fPIC -shared'
8101      ;;
8102
8103    sysv4*MP*)
8104      if test -d /usr/nec; then
8105	lt_prog_compiler_pic=-Kconform_pic
8106      fi
8107      ;;
8108
8109    *)
8110      lt_prog_compiler_pic='-fPIC'
8111      ;;
8112    esac
8113
8114    case $cc_basename in
8115    nvcc*) # Cuda Compiler Driver 2.2
8116      lt_prog_compiler_wl='-Xlinker '
8117      if test -n "$lt_prog_compiler_pic"; then
8118        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8119      fi
8120      ;;
8121    esac
8122  else
8123    # PORTME Check for flag to pass linker flags through the system compiler.
8124    case $host_os in
8125    aix*)
8126      lt_prog_compiler_wl='-Wl,'
8127      if test "$host_cpu" = ia64; then
8128	# AIX 5 now supports IA64 processor
8129	lt_prog_compiler_static='-Bstatic'
8130      else
8131	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8132      fi
8133      ;;
8134
8135    mingw* | cygwin* | pw32* | os2* | cegcc*)
8136      # This hack is so that the source file can tell whether it is being
8137      # built for inclusion in a dll (and should export symbols for example).
8138      lt_prog_compiler_pic='-DDLL_EXPORT'
8139      ;;
8140
8141    hpux9* | hpux10* | hpux11*)
8142      lt_prog_compiler_wl='-Wl,'
8143      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8144      # not for PA HP-UX.
8145      case $host_cpu in
8146      hppa*64*|ia64*)
8147	# +Z the default
8148	;;
8149      *)
8150	lt_prog_compiler_pic='+Z'
8151	;;
8152      esac
8153      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8154      lt_prog_compiler_static='${wl}-a ${wl}archive'
8155      ;;
8156
8157    irix5* | irix6* | nonstopux*)
8158      lt_prog_compiler_wl='-Wl,'
8159      # PIC (with -KPIC) is the default.
8160      lt_prog_compiler_static='-non_shared'
8161      ;;
8162
8163    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8164      case $cc_basename in
8165      # old Intel for x86_64 which still supported -KPIC.
8166      ecc*)
8167	lt_prog_compiler_wl='-Wl,'
8168	lt_prog_compiler_pic='-KPIC'
8169	lt_prog_compiler_static='-static'
8170        ;;
8171      # icc used to be incompatible with GCC.
8172      # ICC 10 doesn't accept -KPIC any more.
8173      icc* | ifort*)
8174	lt_prog_compiler_wl='-Wl,'
8175	lt_prog_compiler_pic='-fPIC'
8176	lt_prog_compiler_static='-static'
8177        ;;
8178      # Lahey Fortran 8.1.
8179      lf95*)
8180	lt_prog_compiler_wl='-Wl,'
8181	lt_prog_compiler_pic='--shared'
8182	lt_prog_compiler_static='--static'
8183	;;
8184      nagfor*)
8185	# NAG Fortran compiler
8186	lt_prog_compiler_wl='-Wl,-Wl,,'
8187	lt_prog_compiler_pic='-PIC'
8188	lt_prog_compiler_static='-Bstatic'
8189	;;
8190      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8191        # Portland Group compilers (*not* the Pentium gcc compiler,
8192	# which looks to be a dead project)
8193	lt_prog_compiler_wl='-Wl,'
8194	lt_prog_compiler_pic='-fpic'
8195	lt_prog_compiler_static='-Bstatic'
8196        ;;
8197      ccc*)
8198        lt_prog_compiler_wl='-Wl,'
8199        # All Alpha code is PIC.
8200        lt_prog_compiler_static='-non_shared'
8201        ;;
8202      xl* | bgxl* | bgf* | mpixl*)
8203	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8204	lt_prog_compiler_wl='-Wl,'
8205	lt_prog_compiler_pic='-qpic'
8206	lt_prog_compiler_static='-qstaticlink'
8207	;;
8208      *)
8209	case `$CC -V 2>&1 | sed 5q` in
8210	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8211	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8212	  lt_prog_compiler_pic='-KPIC'
8213	  lt_prog_compiler_static='-Bstatic'
8214	  lt_prog_compiler_wl=''
8215	  ;;
8216	*Sun\ F* | *Sun*Fortran*)
8217	  lt_prog_compiler_pic='-KPIC'
8218	  lt_prog_compiler_static='-Bstatic'
8219	  lt_prog_compiler_wl='-Qoption ld '
8220	  ;;
8221	*Sun\ C*)
8222	  # Sun C 5.9
8223	  lt_prog_compiler_pic='-KPIC'
8224	  lt_prog_compiler_static='-Bstatic'
8225	  lt_prog_compiler_wl='-Wl,'
8226	  ;;
8227        *Intel*\ [CF]*Compiler*)
8228	  lt_prog_compiler_wl='-Wl,'
8229	  lt_prog_compiler_pic='-fPIC'
8230	  lt_prog_compiler_static='-static'
8231	  ;;
8232	*Portland\ Group*)
8233	  lt_prog_compiler_wl='-Wl,'
8234	  lt_prog_compiler_pic='-fpic'
8235	  lt_prog_compiler_static='-Bstatic'
8236	  ;;
8237	esac
8238	;;
8239      esac
8240      ;;
8241
8242    newsos6)
8243      lt_prog_compiler_pic='-KPIC'
8244      lt_prog_compiler_static='-Bstatic'
8245      ;;
8246
8247    *nto* | *qnx*)
8248      # QNX uses GNU C++, but need to define -shared option too, otherwise
8249      # it will coredump.
8250      lt_prog_compiler_pic='-fPIC -shared'
8251      ;;
8252
8253    osf3* | osf4* | osf5*)
8254      lt_prog_compiler_wl='-Wl,'
8255      # All OSF/1 code is PIC.
8256      lt_prog_compiler_static='-non_shared'
8257      ;;
8258
8259    rdos*)
8260      lt_prog_compiler_static='-non_shared'
8261      ;;
8262
8263    solaris*)
8264      lt_prog_compiler_pic='-KPIC'
8265      lt_prog_compiler_static='-Bstatic'
8266      case $cc_basename in
8267      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8268	lt_prog_compiler_wl='-Qoption ld ';;
8269      *)
8270	lt_prog_compiler_wl='-Wl,';;
8271      esac
8272      ;;
8273
8274    sunos4*)
8275      lt_prog_compiler_wl='-Qoption ld '
8276      lt_prog_compiler_pic='-PIC'
8277      lt_prog_compiler_static='-Bstatic'
8278      ;;
8279
8280    sysv4 | sysv4.2uw2* | sysv4.3*)
8281      lt_prog_compiler_wl='-Wl,'
8282      lt_prog_compiler_pic='-KPIC'
8283      lt_prog_compiler_static='-Bstatic'
8284      ;;
8285
8286    sysv4*MP*)
8287      if test -d /usr/nec ;then
8288	lt_prog_compiler_pic='-Kconform_pic'
8289	lt_prog_compiler_static='-Bstatic'
8290      fi
8291      ;;
8292
8293    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8294      lt_prog_compiler_wl='-Wl,'
8295      lt_prog_compiler_pic='-KPIC'
8296      lt_prog_compiler_static='-Bstatic'
8297      ;;
8298
8299    unicos*)
8300      lt_prog_compiler_wl='-Wl,'
8301      lt_prog_compiler_can_build_shared=no
8302      ;;
8303
8304    uts4*)
8305      lt_prog_compiler_pic='-pic'
8306      lt_prog_compiler_static='-Bstatic'
8307      ;;
8308
8309    *)
8310      lt_prog_compiler_can_build_shared=no
8311      ;;
8312    esac
8313  fi
8314
8315case $host_os in
8316  # For platforms which do not support PIC, -DPIC is meaningless:
8317  *djgpp*)
8318    lt_prog_compiler_pic=
8319    ;;
8320  *)
8321    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8322    ;;
8323esac
8324
8325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8326$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8327if ${lt_cv_prog_compiler_pic+:} false; then :
8328  $as_echo_n "(cached) " >&6
8329else
8330  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8331fi
8332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8333$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8334lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8335
8336#
8337# Check to make sure the PIC flag actually works.
8338#
8339if test -n "$lt_prog_compiler_pic"; then
8340  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8341$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8342if ${lt_cv_prog_compiler_pic_works+:} false; then :
8343  $as_echo_n "(cached) " >&6
8344else
8345  lt_cv_prog_compiler_pic_works=no
8346   ac_outfile=conftest.$ac_objext
8347   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8348   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8349   # Insert the option either (1) after the last *FLAGS variable, or
8350   # (2) before a word containing "conftest.", or (3) at the end.
8351   # Note that $ac_compile itself does not contain backslashes and begins
8352   # with a dollar sign (not a hyphen), so the echo should work correctly.
8353   # The option is referenced via a variable to avoid confusing sed.
8354   lt_compile=`echo "$ac_compile" | $SED \
8355   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8356   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8357   -e 's:$: $lt_compiler_flag:'`
8358   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8359   (eval "$lt_compile" 2>conftest.err)
8360   ac_status=$?
8361   cat conftest.err >&5
8362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363   if (exit $ac_status) && test -s "$ac_outfile"; then
8364     # The compiler can only warn and ignore the option if not recognized
8365     # So say no if there are warnings other than the usual output.
8366     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8367     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8368     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8369       lt_cv_prog_compiler_pic_works=yes
8370     fi
8371   fi
8372   $RM conftest*
8373
8374fi
8375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8376$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8377
8378if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8379    case $lt_prog_compiler_pic in
8380     "" | " "*) ;;
8381     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8382     esac
8383else
8384    lt_prog_compiler_pic=
8385     lt_prog_compiler_can_build_shared=no
8386fi
8387
8388fi
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400#
8401# Check to make sure the static flag actually works.
8402#
8403wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8405$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8406if ${lt_cv_prog_compiler_static_works+:} false; then :
8407  $as_echo_n "(cached) " >&6
8408else
8409  lt_cv_prog_compiler_static_works=no
8410   save_LDFLAGS="$LDFLAGS"
8411   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8412   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8413   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8414     # The linker can only warn and ignore the option if not recognized
8415     # So say no if there are warnings
8416     if test -s conftest.err; then
8417       # Append any errors to the config.log.
8418       cat conftest.err 1>&5
8419       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8420       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8421       if diff conftest.exp conftest.er2 >/dev/null; then
8422         lt_cv_prog_compiler_static_works=yes
8423       fi
8424     else
8425       lt_cv_prog_compiler_static_works=yes
8426     fi
8427   fi
8428   $RM -r conftest*
8429   LDFLAGS="$save_LDFLAGS"
8430
8431fi
8432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8433$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8434
8435if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8436    :
8437else
8438    lt_prog_compiler_static=
8439fi
8440
8441
8442
8443
8444
8445
8446
8447  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8448$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8449if ${lt_cv_prog_compiler_c_o+:} false; then :
8450  $as_echo_n "(cached) " >&6
8451else
8452  lt_cv_prog_compiler_c_o=no
8453   $RM -r conftest 2>/dev/null
8454   mkdir conftest
8455   cd conftest
8456   mkdir out
8457   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8458
8459   lt_compiler_flag="-o out/conftest2.$ac_objext"
8460   # Insert the option either (1) after the last *FLAGS variable, or
8461   # (2) before a word containing "conftest.", or (3) at the end.
8462   # Note that $ac_compile itself does not contain backslashes and begins
8463   # with a dollar sign (not a hyphen), so the echo should work correctly.
8464   lt_compile=`echo "$ac_compile" | $SED \
8465   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8466   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8467   -e 's:$: $lt_compiler_flag:'`
8468   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8469   (eval "$lt_compile" 2>out/conftest.err)
8470   ac_status=$?
8471   cat out/conftest.err >&5
8472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8474   then
8475     # The compiler can only warn and ignore the option if not recognized
8476     # So say no if there are warnings
8477     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8478     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8479     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8480       lt_cv_prog_compiler_c_o=yes
8481     fi
8482   fi
8483   chmod u+w . 2>&5
8484   $RM conftest*
8485   # SGI C++ compiler will create directory out/ii_files/ for
8486   # template instantiation
8487   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8488   $RM out/* && rmdir out
8489   cd ..
8490   $RM -r conftest
8491   $RM conftest*
8492
8493fi
8494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8495$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8496
8497
8498
8499
8500
8501
8502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8503$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8504if ${lt_cv_prog_compiler_c_o+:} false; then :
8505  $as_echo_n "(cached) " >&6
8506else
8507  lt_cv_prog_compiler_c_o=no
8508   $RM -r conftest 2>/dev/null
8509   mkdir conftest
8510   cd conftest
8511   mkdir out
8512   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8513
8514   lt_compiler_flag="-o out/conftest2.$ac_objext"
8515   # Insert the option either (1) after the last *FLAGS variable, or
8516   # (2) before a word containing "conftest.", or (3) at the end.
8517   # Note that $ac_compile itself does not contain backslashes and begins
8518   # with a dollar sign (not a hyphen), so the echo should work correctly.
8519   lt_compile=`echo "$ac_compile" | $SED \
8520   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8521   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8522   -e 's:$: $lt_compiler_flag:'`
8523   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8524   (eval "$lt_compile" 2>out/conftest.err)
8525   ac_status=$?
8526   cat out/conftest.err >&5
8527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8529   then
8530     # The compiler can only warn and ignore the option if not recognized
8531     # So say no if there are warnings
8532     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8533     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8534     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8535       lt_cv_prog_compiler_c_o=yes
8536     fi
8537   fi
8538   chmod u+w . 2>&5
8539   $RM conftest*
8540   # SGI C++ compiler will create directory out/ii_files/ for
8541   # template instantiation
8542   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8543   $RM out/* && rmdir out
8544   cd ..
8545   $RM -r conftest
8546   $RM conftest*
8547
8548fi
8549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8550$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8551
8552
8553
8554
8555hard_links="nottested"
8556if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8557  # do not overwrite the value of need_locks provided by the user
8558  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8559$as_echo_n "checking if we can lock with hard links... " >&6; }
8560  hard_links=yes
8561  $RM conftest*
8562  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8563  touch conftest.a
8564  ln conftest.a conftest.b 2>&5 || hard_links=no
8565  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8567$as_echo "$hard_links" >&6; }
8568  if test "$hard_links" = no; then
8569    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8570$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8571    need_locks=warn
8572  fi
8573else
8574  need_locks=no
8575fi
8576
8577
8578
8579
8580
8581
8582  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8583$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8584
8585  runpath_var=
8586  allow_undefined_flag=
8587  always_export_symbols=no
8588  archive_cmds=
8589  archive_expsym_cmds=
8590  compiler_needs_object=no
8591  enable_shared_with_static_runtimes=no
8592  export_dynamic_flag_spec=
8593  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8594  hardcode_automatic=no
8595  hardcode_direct=no
8596  hardcode_direct_absolute=no
8597  hardcode_libdir_flag_spec=
8598  hardcode_libdir_separator=
8599  hardcode_minus_L=no
8600  hardcode_shlibpath_var=unsupported
8601  inherit_rpath=no
8602  link_all_deplibs=unknown
8603  module_cmds=
8604  module_expsym_cmds=
8605  old_archive_from_new_cmds=
8606  old_archive_from_expsyms_cmds=
8607  thread_safe_flag_spec=
8608  whole_archive_flag_spec=
8609  # include_expsyms should be a list of space-separated symbols to be *always*
8610  # included in the symbol list
8611  include_expsyms=
8612  # exclude_expsyms can be an extended regexp of symbols to exclude
8613  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8614  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8615  # as well as any symbol that contains `d'.
8616  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8617  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8618  # platforms (ab)use it in PIC code, but their linkers get confused if
8619  # the symbol is explicitly referenced.  Since portable code cannot
8620  # rely on this symbol name, it's probably fine to never include it in
8621  # preloaded symbol tables.
8622  # Exclude shared library initialization/finalization symbols.
8623  extract_expsyms_cmds=
8624
8625  case $host_os in
8626  cygwin* | mingw* | pw32* | cegcc*)
8627    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8628    # When not using gcc, we currently assume that we are using
8629    # Microsoft Visual C++.
8630    if test "$GCC" != yes; then
8631      with_gnu_ld=no
8632    fi
8633    ;;
8634  interix*)
8635    # we just hope/assume this is gcc and not c89 (= MSVC++)
8636    with_gnu_ld=yes
8637    ;;
8638  openbsd*)
8639    with_gnu_ld=no
8640    ;;
8641  linux* | k*bsd*-gnu | gnu*)
8642    link_all_deplibs=no
8643    ;;
8644  esac
8645
8646  ld_shlibs=yes
8647
8648  # On some targets, GNU ld is compatible enough with the native linker
8649  # that we're better off using the native interface for both.
8650  lt_use_gnu_ld_interface=no
8651  if test "$with_gnu_ld" = yes; then
8652    case $host_os in
8653      aix*)
8654	# The AIX port of GNU ld has always aspired to compatibility
8655	# with the native linker.  However, as the warning in the GNU ld
8656	# block says, versions before 2.19.5* couldn't really create working
8657	# shared libraries, regardless of the interface used.
8658	case `$LD -v 2>&1` in
8659	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8660	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8661	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8662	  *)
8663	    lt_use_gnu_ld_interface=yes
8664	    ;;
8665	esac
8666	;;
8667      *)
8668	lt_use_gnu_ld_interface=yes
8669	;;
8670    esac
8671  fi
8672
8673  if test "$lt_use_gnu_ld_interface" = yes; then
8674    # If archive_cmds runs LD, not CC, wlarc should be empty
8675    wlarc='${wl}'
8676
8677    # Set some defaults for GNU ld with shared library support. These
8678    # are reset later if shared libraries are not supported. Putting them
8679    # here allows them to be overridden if necessary.
8680    runpath_var=LD_RUN_PATH
8681    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8682    export_dynamic_flag_spec='${wl}--export-dynamic'
8683    # ancient GNU ld didn't support --whole-archive et. al.
8684    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8685      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8686    else
8687      whole_archive_flag_spec=
8688    fi
8689    supports_anon_versioning=no
8690    case `$LD -v 2>&1` in
8691      *GNU\ gold*) supports_anon_versioning=yes ;;
8692      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8693      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8694      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8695      *\ 2.11.*) ;; # other 2.11 versions
8696      *) supports_anon_versioning=yes ;;
8697    esac
8698
8699    # See if GNU ld supports shared libraries.
8700    case $host_os in
8701    aix[3-9]*)
8702      # On AIX/PPC, the GNU linker is very broken
8703      if test "$host_cpu" != ia64; then
8704	ld_shlibs=no
8705	cat <<_LT_EOF 1>&2
8706
8707*** Warning: the GNU linker, at least up to release 2.19, is reported
8708*** to be unable to reliably create shared libraries on AIX.
8709*** Therefore, libtool is disabling shared libraries support.  If you
8710*** really care for shared libraries, you may want to install binutils
8711*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8712*** You will then need to restart the configuration process.
8713
8714_LT_EOF
8715      fi
8716      ;;
8717
8718    amigaos*)
8719      case $host_cpu in
8720      powerpc)
8721            # see comment about AmigaOS4 .so support
8722            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8723            archive_expsym_cmds=''
8724        ;;
8725      m68k)
8726            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)'
8727            hardcode_libdir_flag_spec='-L$libdir'
8728            hardcode_minus_L=yes
8729        ;;
8730      esac
8731      ;;
8732
8733    beos*)
8734      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8735	allow_undefined_flag=unsupported
8736	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8737	# support --undefined.  This deserves some investigation.  FIXME
8738	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8739      else
8740	ld_shlibs=no
8741      fi
8742      ;;
8743
8744    cygwin* | mingw* | pw32* | cegcc*)
8745      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8746      # as there is no search path for DLLs.
8747      hardcode_libdir_flag_spec='-L$libdir'
8748      export_dynamic_flag_spec='${wl}--export-all-symbols'
8749      allow_undefined_flag=unsupported
8750      always_export_symbols=no
8751      enable_shared_with_static_runtimes=yes
8752      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'
8753      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8754
8755      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8756        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8757	# If the export-symbols file already is a .def file (1st line
8758	# is EXPORTS), use it as is; otherwise, prepend...
8759	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8760	  cp $export_symbols $output_objdir/$soname.def;
8761	else
8762	  echo EXPORTS > $output_objdir/$soname.def;
8763	  cat $export_symbols >> $output_objdir/$soname.def;
8764	fi~
8765	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8766      else
8767	ld_shlibs=no
8768      fi
8769      ;;
8770
8771    haiku*)
8772      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8773      link_all_deplibs=yes
8774      ;;
8775
8776    interix[3-9]*)
8777      hardcode_direct=no
8778      hardcode_shlibpath_var=no
8779      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8780      export_dynamic_flag_spec='${wl}-E'
8781      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8782      # Instead, shared libraries are loaded at an image base (0x10000000 by
8783      # default) and relocated if they conflict, which is a slow very memory
8784      # consuming and fragmenting process.  To avoid this, we pick a random,
8785      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8786      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8787      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8788      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'
8789      ;;
8790
8791    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8792      tmp_diet=no
8793      if test "$host_os" = linux-dietlibc; then
8794	case $cc_basename in
8795	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8796	esac
8797      fi
8798      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8799	 && test "$tmp_diet" = no
8800      then
8801	tmp_addflag=' $pic_flag'
8802	tmp_sharedflag='-shared'
8803	case $cc_basename,$host_cpu in
8804        pgcc*)				# Portland Group C compiler
8805	  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'
8806	  tmp_addflag=' $pic_flag'
8807	  ;;
8808	pgf77* | pgf90* | pgf95* | pgfortran*)
8809					# Portland Group f77 and f90 compilers
8810	  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'
8811	  tmp_addflag=' $pic_flag -Mnomain' ;;
8812	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8813	  tmp_addflag=' -i_dynamic' ;;
8814	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8815	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8816	ifc* | ifort*)			# Intel Fortran compiler
8817	  tmp_addflag=' -nofor_main' ;;
8818	lf95*)				# Lahey Fortran 8.1
8819	  whole_archive_flag_spec=
8820	  tmp_sharedflag='--shared' ;;
8821	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8822	  tmp_sharedflag='-qmkshrobj'
8823	  tmp_addflag= ;;
8824	nvcc*)	# Cuda Compiler Driver 2.2
8825	  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'
8826	  compiler_needs_object=yes
8827	  ;;
8828	esac
8829	case `$CC -V 2>&1 | sed 5q` in
8830	*Sun\ C*)			# Sun C 5.9
8831	  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'
8832	  compiler_needs_object=yes
8833	  tmp_sharedflag='-G' ;;
8834	*Sun\ F*)			# Sun Fortran 8.3
8835	  tmp_sharedflag='-G' ;;
8836	esac
8837	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8838
8839        if test "x$supports_anon_versioning" = xyes; then
8840          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8841	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8842	    echo "local: *; };" >> $output_objdir/$libname.ver~
8843	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8844        fi
8845
8846	case $cc_basename in
8847	xlf* | bgf* | bgxlf* | mpixlf*)
8848	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8849	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8850	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8851	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8852	  if test "x$supports_anon_versioning" = xyes; then
8853	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8854	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8855	      echo "local: *; };" >> $output_objdir/$libname.ver~
8856	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8857	  fi
8858	  ;;
8859	esac
8860      else
8861        ld_shlibs=no
8862      fi
8863      ;;
8864
8865    netbsd* | netbsdelf*-gnu)
8866      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8867	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8868	wlarc=
8869      else
8870	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8871	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8872      fi
8873      ;;
8874
8875    solaris*)
8876      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8877	ld_shlibs=no
8878	cat <<_LT_EOF 1>&2
8879
8880*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8881*** create shared libraries on Solaris systems.  Therefore, libtool
8882*** is disabling shared libraries support.  We urge you to upgrade GNU
8883*** binutils to release 2.9.1 or newer.  Another option is to modify
8884*** your PATH or compiler configuration so that the native linker is
8885*** used, and then restart.
8886
8887_LT_EOF
8888      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8889	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8890	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8891      else
8892	ld_shlibs=no
8893      fi
8894      ;;
8895
8896    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8897      case `$LD -v 2>&1` in
8898        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8899	ld_shlibs=no
8900	cat <<_LT_EOF 1>&2
8901
8902*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8903*** reliably create shared libraries on SCO systems.  Therefore, libtool
8904*** is disabling shared libraries support.  We urge you to upgrade GNU
8905*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8906*** your PATH or compiler configuration so that the native linker is
8907*** used, and then restart.
8908
8909_LT_EOF
8910	;;
8911	*)
8912	  # For security reasons, it is highly recommended that you always
8913	  # use absolute paths for naming shared libraries, and exclude the
8914	  # DT_RUNPATH tag from executables and libraries.  But doing so
8915	  # requires that you compile everything twice, which is a pain.
8916	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8917	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8918	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8919	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8920	  else
8921	    ld_shlibs=no
8922	  fi
8923	;;
8924      esac
8925      ;;
8926
8927    sunos4*)
8928      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8929      wlarc=
8930      hardcode_direct=yes
8931      hardcode_shlibpath_var=no
8932      ;;
8933
8934    *)
8935      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8936	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8937	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8938      else
8939	ld_shlibs=no
8940      fi
8941      ;;
8942    esac
8943
8944    if test "$ld_shlibs" = no; then
8945      runpath_var=
8946      hardcode_libdir_flag_spec=
8947      export_dynamic_flag_spec=
8948      whole_archive_flag_spec=
8949    fi
8950  else
8951    # PORTME fill in a description of your system's linker (not GNU ld)
8952    case $host_os in
8953    aix3*)
8954      allow_undefined_flag=unsupported
8955      always_export_symbols=yes
8956      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'
8957      # Note: this linker hardcodes the directories in LIBPATH if there
8958      # are no directories specified by -L.
8959      hardcode_minus_L=yes
8960      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8961	# Neither direct hardcoding nor static linking is supported with a
8962	# broken collect2.
8963	hardcode_direct=unsupported
8964      fi
8965      ;;
8966
8967    aix[4-9]*)
8968      if test "$host_cpu" = ia64; then
8969	# On IA64, the linker does run time linking by default, so we don't
8970	# have to do anything special.
8971	aix_use_runtimelinking=no
8972	exp_sym_flag='-Bexport'
8973	no_entry_flag=""
8974      else
8975	# If we're using GNU nm, then we don't want the "-C" option.
8976	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8977	# Also, AIX nm treats weak defined symbols like other global
8978	# defined symbols, whereas GNU nm marks them as "W".
8979	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8980	  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'
8981	else
8982	  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'
8983	fi
8984	aix_use_runtimelinking=no
8985
8986	# Test if we are trying to use run time linking or normal
8987	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8988	# need to do runtime linking.
8989	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8990	  for ld_flag in $LDFLAGS; do
8991	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8992	    aix_use_runtimelinking=yes
8993	    break
8994	  fi
8995	  done
8996	  ;;
8997	esac
8998
8999	exp_sym_flag='-bexport'
9000	no_entry_flag='-bnoentry'
9001      fi
9002
9003      # When large executables or shared objects are built, AIX ld can
9004      # have problems creating the table of contents.  If linking a library
9005      # or program results in "error TOC overflow" add -mminimal-toc to
9006      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9007      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9008
9009      archive_cmds=''
9010      hardcode_direct=yes
9011      hardcode_direct_absolute=yes
9012      hardcode_libdir_separator=':'
9013      link_all_deplibs=yes
9014      file_list_spec='${wl}-f,'
9015
9016      if test "$GCC" = yes; then
9017	case $host_os in aix4.[012]|aix4.[012].*)
9018	# We only want to do this on AIX 4.2 and lower, the check
9019	# below for broken collect2 doesn't work under 4.3+
9020	  collect2name=`${CC} -print-prog-name=collect2`
9021	  if test -f "$collect2name" &&
9022	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9023	  then
9024	  # We have reworked collect2
9025	  :
9026	  else
9027	  # We have old collect2
9028	  hardcode_direct=unsupported
9029	  # It fails to find uninstalled libraries when the uninstalled
9030	  # path is not listed in the libpath.  Setting hardcode_minus_L
9031	  # to unsupported forces relinking
9032	  hardcode_minus_L=yes
9033	  hardcode_libdir_flag_spec='-L$libdir'
9034	  hardcode_libdir_separator=
9035	  fi
9036	  ;;
9037	esac
9038	shared_flag='-shared'
9039	if test "$aix_use_runtimelinking" = yes; then
9040	  shared_flag="$shared_flag "'${wl}-G'
9041	fi
9042	link_all_deplibs=no
9043      else
9044	# not using gcc
9045	if test "$host_cpu" = ia64; then
9046	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9047	# chokes on -Wl,-G. The following line is correct:
9048	  shared_flag='-G'
9049	else
9050	  if test "$aix_use_runtimelinking" = yes; then
9051	    shared_flag='${wl}-G'
9052	  else
9053	    shared_flag='${wl}-bM:SRE'
9054	  fi
9055	fi
9056      fi
9057
9058      export_dynamic_flag_spec='${wl}-bexpall'
9059      # It seems that -bexpall does not export symbols beginning with
9060      # underscore (_), so it is better to generate a list of symbols to export.
9061      always_export_symbols=yes
9062      if test "$aix_use_runtimelinking" = yes; then
9063	# Warning - without using the other runtime loading flags (-brtl),
9064	# -berok will link without error, but may produce a broken library.
9065	allow_undefined_flag='-berok'
9066        # Determine the default libpath from the value encoded in an
9067        # empty executable.
9068        if test "${lt_cv_aix_libpath+set}" = set; then
9069  aix_libpath=$lt_cv_aix_libpath
9070else
9071  if ${lt_cv_aix_libpath_+:} false; then :
9072  $as_echo_n "(cached) " >&6
9073else
9074  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9075/* end confdefs.h.  */
9076
9077int
9078main ()
9079{
9080
9081  ;
9082  return 0;
9083}
9084_ACEOF
9085if ac_fn_c_try_link "$LINENO"; then :
9086
9087  lt_aix_libpath_sed='
9088      /Import File Strings/,/^$/ {
9089	  /^0/ {
9090	      s/^0  *\([^ ]*\) *$/\1/
9091	      p
9092	  }
9093      }'
9094  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9095  # Check for a 64-bit object if we didn't find anything.
9096  if test -z "$lt_cv_aix_libpath_"; then
9097    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9098  fi
9099fi
9100rm -f core conftest.err conftest.$ac_objext \
9101    conftest$ac_exeext conftest.$ac_ext
9102  if test -z "$lt_cv_aix_libpath_"; then
9103    lt_cv_aix_libpath_="/usr/lib:/lib"
9104  fi
9105
9106fi
9107
9108  aix_libpath=$lt_cv_aix_libpath_
9109fi
9110
9111        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9112        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"
9113      else
9114	if test "$host_cpu" = ia64; then
9115	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9116	  allow_undefined_flag="-z nodefs"
9117	  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"
9118	else
9119	 # Determine the default libpath from the value encoded in an
9120	 # empty executable.
9121	 if test "${lt_cv_aix_libpath+set}" = set; then
9122  aix_libpath=$lt_cv_aix_libpath
9123else
9124  if ${lt_cv_aix_libpath_+:} false; then :
9125  $as_echo_n "(cached) " >&6
9126else
9127  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9128/* end confdefs.h.  */
9129
9130int
9131main ()
9132{
9133
9134  ;
9135  return 0;
9136}
9137_ACEOF
9138if ac_fn_c_try_link "$LINENO"; then :
9139
9140  lt_aix_libpath_sed='
9141      /Import File Strings/,/^$/ {
9142	  /^0/ {
9143	      s/^0  *\([^ ]*\) *$/\1/
9144	      p
9145	  }
9146      }'
9147  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9148  # Check for a 64-bit object if we didn't find anything.
9149  if test -z "$lt_cv_aix_libpath_"; then
9150    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9151  fi
9152fi
9153rm -f core conftest.err conftest.$ac_objext \
9154    conftest$ac_exeext conftest.$ac_ext
9155  if test -z "$lt_cv_aix_libpath_"; then
9156    lt_cv_aix_libpath_="/usr/lib:/lib"
9157  fi
9158
9159fi
9160
9161  aix_libpath=$lt_cv_aix_libpath_
9162fi
9163
9164	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9165	  # Warning - without using the other run time loading flags,
9166	  # -berok will link without error, but may produce a broken library.
9167	  no_undefined_flag=' ${wl}-bernotok'
9168	  allow_undefined_flag=' ${wl}-berok'
9169	  if test "$with_gnu_ld" = yes; then
9170	    # We only use this code for GNU lds that support --whole-archive.
9171	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9172	  else
9173	    # Exported symbols can be pulled into shared objects from archives
9174	    whole_archive_flag_spec='$convenience'
9175	  fi
9176	  archive_cmds_need_lc=yes
9177	  # This is similar to how AIX traditionally builds its shared libraries.
9178	  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'
9179	fi
9180      fi
9181      ;;
9182
9183    amigaos*)
9184      case $host_cpu in
9185      powerpc)
9186            # see comment about AmigaOS4 .so support
9187            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9188            archive_expsym_cmds=''
9189        ;;
9190      m68k)
9191            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)'
9192            hardcode_libdir_flag_spec='-L$libdir'
9193            hardcode_minus_L=yes
9194        ;;
9195      esac
9196      ;;
9197
9198    bsdi[45]*)
9199      export_dynamic_flag_spec=-rdynamic
9200      ;;
9201
9202    cygwin* | mingw* | pw32* | cegcc*)
9203      # When not using gcc, we currently assume that we are using
9204      # Microsoft Visual C++.
9205      # hardcode_libdir_flag_spec is actually meaningless, as there is
9206      # no search path for DLLs.
9207      case $cc_basename in
9208      cl*)
9209	# Native MSVC
9210	hardcode_libdir_flag_spec=' '
9211	allow_undefined_flag=unsupported
9212	always_export_symbols=yes
9213	file_list_spec='@'
9214	# Tell ltmain to make .lib files, not .a files.
9215	libext=lib
9216	# Tell ltmain to make .dll files, not .so files.
9217	shrext_cmds=".dll"
9218	# FIXME: Setting linknames here is a bad hack.
9219	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9220	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9221	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9222	  else
9223	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9224	  fi~
9225	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9226	  linknames='
9227	# The linker will not automatically build a static lib if we build a DLL.
9228	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9229	enable_shared_with_static_runtimes=yes
9230	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9231	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9232	# Don't use ranlib
9233	old_postinstall_cmds='chmod 644 $oldlib'
9234	postlink_cmds='lt_outputfile="@OUTPUT@"~
9235	  lt_tool_outputfile="@TOOL_OUTPUT@"~
9236	  case $lt_outputfile in
9237	    *.exe|*.EXE) ;;
9238	    *)
9239	      lt_outputfile="$lt_outputfile.exe"
9240	      lt_tool_outputfile="$lt_tool_outputfile.exe"
9241	      ;;
9242	  esac~
9243	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9244	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9245	    $RM "$lt_outputfile.manifest";
9246	  fi'
9247	;;
9248      *)
9249	# Assume MSVC wrapper
9250	hardcode_libdir_flag_spec=' '
9251	allow_undefined_flag=unsupported
9252	# Tell ltmain to make .lib files, not .a files.
9253	libext=lib
9254	# Tell ltmain to make .dll files, not .so files.
9255	shrext_cmds=".dll"
9256	# FIXME: Setting linknames here is a bad hack.
9257	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9258	# The linker will automatically build a .lib file if we build a DLL.
9259	old_archive_from_new_cmds='true'
9260	# FIXME: Should let the user specify the lib program.
9261	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9262	enable_shared_with_static_runtimes=yes
9263	;;
9264      esac
9265      ;;
9266
9267    darwin* | rhapsody*)
9268
9269
9270  archive_cmds_need_lc=no
9271  hardcode_direct=no
9272  hardcode_automatic=yes
9273  hardcode_shlibpath_var=unsupported
9274  if test "$lt_cv_ld_force_load" = "yes"; then
9275    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\"`'
9276
9277  else
9278    whole_archive_flag_spec=''
9279  fi
9280  link_all_deplibs=yes
9281  allow_undefined_flag="$_lt_dar_allow_undefined"
9282  case $cc_basename in
9283     ifort*) _lt_dar_can_shared=yes ;;
9284     *) _lt_dar_can_shared=$GCC ;;
9285  esac
9286  if test "$_lt_dar_can_shared" = "yes"; then
9287    output_verbose_link_cmd=func_echo_all
9288    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9289    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9290    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}"
9291    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}"
9292
9293  else
9294  ld_shlibs=no
9295  fi
9296
9297      ;;
9298
9299    dgux*)
9300      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9301      hardcode_libdir_flag_spec='-L$libdir'
9302      hardcode_shlibpath_var=no
9303      ;;
9304
9305    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9306    # support.  Future versions do this automatically, but an explicit c++rt0.o
9307    # does not break anything, and helps significantly (at the cost of a little
9308    # extra space).
9309    freebsd2.2*)
9310      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9311      hardcode_libdir_flag_spec='-R$libdir'
9312      hardcode_direct=yes
9313      hardcode_shlibpath_var=no
9314      ;;
9315
9316    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9317    freebsd2.*)
9318      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9319      hardcode_direct=yes
9320      hardcode_minus_L=yes
9321      hardcode_shlibpath_var=no
9322      ;;
9323
9324    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9325    freebsd* | dragonfly*)
9326      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9327      hardcode_libdir_flag_spec='-R$libdir'
9328      hardcode_direct=yes
9329      hardcode_shlibpath_var=no
9330      ;;
9331
9332    hpux9*)
9333      if test "$GCC" = yes; then
9334	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'
9335      else
9336	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'
9337      fi
9338      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9339      hardcode_libdir_separator=:
9340      hardcode_direct=yes
9341
9342      # hardcode_minus_L: Not really in the search PATH,
9343      # but as the default location of the library.
9344      hardcode_minus_L=yes
9345      export_dynamic_flag_spec='${wl}-E'
9346      ;;
9347
9348    hpux10*)
9349      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9350	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9351      else
9352	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9353      fi
9354      if test "$with_gnu_ld" = no; then
9355	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9356	hardcode_libdir_separator=:
9357	hardcode_direct=yes
9358	hardcode_direct_absolute=yes
9359	export_dynamic_flag_spec='${wl}-E'
9360	# hardcode_minus_L: Not really in the search PATH,
9361	# but as the default location of the library.
9362	hardcode_minus_L=yes
9363      fi
9364      ;;
9365
9366    hpux11*)
9367      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9368	case $host_cpu in
9369	hppa*64*)
9370	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9371	  ;;
9372	ia64*)
9373	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9374	  ;;
9375	*)
9376	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9377	  ;;
9378	esac
9379      else
9380	case $host_cpu in
9381	hppa*64*)
9382	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9383	  ;;
9384	ia64*)
9385	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9386	  ;;
9387	*)
9388
9389	  # Older versions of the 11.00 compiler do not understand -b yet
9390	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9391	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9392$as_echo_n "checking if $CC understands -b... " >&6; }
9393if ${lt_cv_prog_compiler__b+:} false; then :
9394  $as_echo_n "(cached) " >&6
9395else
9396  lt_cv_prog_compiler__b=no
9397   save_LDFLAGS="$LDFLAGS"
9398   LDFLAGS="$LDFLAGS -b"
9399   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9400   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9401     # The linker can only warn and ignore the option if not recognized
9402     # So say no if there are warnings
9403     if test -s conftest.err; then
9404       # Append any errors to the config.log.
9405       cat conftest.err 1>&5
9406       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9407       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9408       if diff conftest.exp conftest.er2 >/dev/null; then
9409         lt_cv_prog_compiler__b=yes
9410       fi
9411     else
9412       lt_cv_prog_compiler__b=yes
9413     fi
9414   fi
9415   $RM -r conftest*
9416   LDFLAGS="$save_LDFLAGS"
9417
9418fi
9419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9420$as_echo "$lt_cv_prog_compiler__b" >&6; }
9421
9422if test x"$lt_cv_prog_compiler__b" = xyes; then
9423    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9424else
9425    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9426fi
9427
9428	  ;;
9429	esac
9430      fi
9431      if test "$with_gnu_ld" = no; then
9432	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9433	hardcode_libdir_separator=:
9434
9435	case $host_cpu in
9436	hppa*64*|ia64*)
9437	  hardcode_direct=no
9438	  hardcode_shlibpath_var=no
9439	  ;;
9440	*)
9441	  hardcode_direct=yes
9442	  hardcode_direct_absolute=yes
9443	  export_dynamic_flag_spec='${wl}-E'
9444
9445	  # hardcode_minus_L: Not really in the search PATH,
9446	  # but as the default location of the library.
9447	  hardcode_minus_L=yes
9448	  ;;
9449	esac
9450      fi
9451      ;;
9452
9453    irix5* | irix6* | nonstopux*)
9454      if test "$GCC" = yes; then
9455	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'
9456	# Try to use the -exported_symbol ld option, if it does not
9457	# work, assume that -exports_file does not work either and
9458	# implicitly export all symbols.
9459	# This should be the same for all languages, so no per-tag cache variable.
9460	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9461$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9462if ${lt_cv_irix_exported_symbol+:} false; then :
9463  $as_echo_n "(cached) " >&6
9464else
9465  save_LDFLAGS="$LDFLAGS"
9466	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9467	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468/* end confdefs.h.  */
9469int foo (void) { return 0; }
9470_ACEOF
9471if ac_fn_c_try_link "$LINENO"; then :
9472  lt_cv_irix_exported_symbol=yes
9473else
9474  lt_cv_irix_exported_symbol=no
9475fi
9476rm -f core conftest.err conftest.$ac_objext \
9477    conftest$ac_exeext conftest.$ac_ext
9478           LDFLAGS="$save_LDFLAGS"
9479fi
9480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9481$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9482	if test "$lt_cv_irix_exported_symbol" = yes; then
9483          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'
9484	fi
9485      else
9486	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'
9487	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'
9488      fi
9489      archive_cmds_need_lc='no'
9490      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9491      hardcode_libdir_separator=:
9492      inherit_rpath=yes
9493      link_all_deplibs=yes
9494      ;;
9495
9496    netbsd* | netbsdelf*-gnu)
9497      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9498	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9499      else
9500	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9501      fi
9502      hardcode_libdir_flag_spec='-R$libdir'
9503      hardcode_direct=yes
9504      hardcode_shlibpath_var=no
9505      ;;
9506
9507    newsos6)
9508      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9509      hardcode_direct=yes
9510      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9511      hardcode_libdir_separator=:
9512      hardcode_shlibpath_var=no
9513      ;;
9514
9515    *nto* | *qnx*)
9516      ;;
9517
9518    openbsd*)
9519      if test -f /usr/libexec/ld.so; then
9520	hardcode_direct=yes
9521	hardcode_shlibpath_var=no
9522	hardcode_direct_absolute=yes
9523	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9524	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9525	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9526	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9527	  export_dynamic_flag_spec='${wl}-E'
9528	else
9529	  case $host_os in
9530	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9531	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9532	     hardcode_libdir_flag_spec='-R$libdir'
9533	     ;;
9534	   *)
9535	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9536	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9537	     ;;
9538	  esac
9539	fi
9540      else
9541	ld_shlibs=no
9542      fi
9543      ;;
9544
9545    os2*)
9546      hardcode_libdir_flag_spec='-L$libdir'
9547      hardcode_minus_L=yes
9548      allow_undefined_flag=unsupported
9549      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'
9550      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9551      ;;
9552
9553    osf3*)
9554      if test "$GCC" = yes; then
9555	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9556	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'
9557      else
9558	allow_undefined_flag=' -expect_unresolved \*'
9559	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'
9560      fi
9561      archive_cmds_need_lc='no'
9562      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9563      hardcode_libdir_separator=:
9564      ;;
9565
9566    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9567      if test "$GCC" = yes; then
9568	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9569	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'
9570	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9571      else
9572	allow_undefined_flag=' -expect_unresolved \*'
9573	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'
9574	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~
9575	$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'
9576
9577	# Both c and cxx compiler support -rpath directly
9578	hardcode_libdir_flag_spec='-rpath $libdir'
9579      fi
9580      archive_cmds_need_lc='no'
9581      hardcode_libdir_separator=:
9582      ;;
9583
9584    solaris*)
9585      no_undefined_flag=' -z defs'
9586      if test "$GCC" = yes; then
9587	wlarc='${wl}'
9588	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9589	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9590	  $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'
9591      else
9592	case `$CC -V 2>&1` in
9593	*"Compilers 5.0"*)
9594	  wlarc=''
9595	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9596	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9597	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9598	  ;;
9599	*)
9600	  wlarc='${wl}'
9601	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9602	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9603	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9604	  ;;
9605	esac
9606      fi
9607      hardcode_libdir_flag_spec='-R$libdir'
9608      hardcode_shlibpath_var=no
9609      case $host_os in
9610      solaris2.[0-5] | solaris2.[0-5].*) ;;
9611      *)
9612	# The compiler driver will combine and reorder linker options,
9613	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9614	# but is careful enough not to reorder.
9615	# Supported since Solaris 2.6 (maybe 2.5.1?)
9616	if test "$GCC" = yes; then
9617	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9618	else
9619	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9620	fi
9621	;;
9622      esac
9623      link_all_deplibs=yes
9624      ;;
9625
9626    sunos4*)
9627      if test "x$host_vendor" = xsequent; then
9628	# Use $CC to link under sequent, because it throws in some extra .o
9629	# files that make .init and .fini sections work.
9630	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9631      else
9632	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9633      fi
9634      hardcode_libdir_flag_spec='-L$libdir'
9635      hardcode_direct=yes
9636      hardcode_minus_L=yes
9637      hardcode_shlibpath_var=no
9638      ;;
9639
9640    sysv4)
9641      case $host_vendor in
9642	sni)
9643	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9644	  hardcode_direct=yes # is this really true???
9645	;;
9646	siemens)
9647	  ## LD is ld it makes a PLAMLIB
9648	  ## CC just makes a GrossModule.
9649	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9650	  reload_cmds='$CC -r -o $output$reload_objs'
9651	  hardcode_direct=no
9652        ;;
9653	motorola)
9654	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9655	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9656	;;
9657      esac
9658      runpath_var='LD_RUN_PATH'
9659      hardcode_shlibpath_var=no
9660      ;;
9661
9662    sysv4.3*)
9663      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9664      hardcode_shlibpath_var=no
9665      export_dynamic_flag_spec='-Bexport'
9666      ;;
9667
9668    sysv4*MP*)
9669      if test -d /usr/nec; then
9670	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9671	hardcode_shlibpath_var=no
9672	runpath_var=LD_RUN_PATH
9673	hardcode_runpath_var=yes
9674	ld_shlibs=yes
9675      fi
9676      ;;
9677
9678    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9679      no_undefined_flag='${wl}-z,text'
9680      archive_cmds_need_lc=no
9681      hardcode_shlibpath_var=no
9682      runpath_var='LD_RUN_PATH'
9683
9684      if test "$GCC" = yes; then
9685	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9686	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9687      else
9688	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9689	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9690      fi
9691      ;;
9692
9693    sysv5* | sco3.2v5* | sco5v6*)
9694      # Note: We can NOT use -z defs as we might desire, because we do not
9695      # link with -lc, and that would cause any symbols used from libc to
9696      # always be unresolved, which means just about no library would
9697      # ever link correctly.  If we're not using GNU ld we use -z text
9698      # though, which does catch some bad symbols but isn't as heavy-handed
9699      # as -z defs.
9700      no_undefined_flag='${wl}-z,text'
9701      allow_undefined_flag='${wl}-z,nodefs'
9702      archive_cmds_need_lc=no
9703      hardcode_shlibpath_var=no
9704      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9705      hardcode_libdir_separator=':'
9706      link_all_deplibs=yes
9707      export_dynamic_flag_spec='${wl}-Bexport'
9708      runpath_var='LD_RUN_PATH'
9709
9710      if test "$GCC" = yes; then
9711	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9712	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9713      else
9714	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9715	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9716      fi
9717      ;;
9718
9719    uts4*)
9720      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9721      hardcode_libdir_flag_spec='-L$libdir'
9722      hardcode_shlibpath_var=no
9723      ;;
9724
9725    *)
9726      ld_shlibs=no
9727      ;;
9728    esac
9729
9730    if test x$host_vendor = xsni; then
9731      case $host in
9732      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9733	export_dynamic_flag_spec='${wl}-Blargedynsym'
9734	;;
9735      esac
9736    fi
9737  fi
9738
9739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9740$as_echo "$ld_shlibs" >&6; }
9741test "$ld_shlibs" = no && can_build_shared=no
9742
9743with_gnu_ld=$with_gnu_ld
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759#
9760# Do we need to explicitly link libc?
9761#
9762case "x$archive_cmds_need_lc" in
9763x|xyes)
9764  # Assume -lc should be added
9765  archive_cmds_need_lc=yes
9766
9767  if test "$enable_shared" = yes && test "$GCC" = yes; then
9768    case $archive_cmds in
9769    *'~'*)
9770      # FIXME: we may have to deal with multi-command sequences.
9771      ;;
9772    '$CC '*)
9773      # Test whether the compiler implicitly links with -lc since on some
9774      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9775      # to ld, don't add -lc before -lgcc.
9776      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9777$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9778if ${lt_cv_archive_cmds_need_lc+:} false; then :
9779  $as_echo_n "(cached) " >&6
9780else
9781  $RM conftest*
9782	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9783
9784	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9785  (eval $ac_compile) 2>&5
9786  ac_status=$?
9787  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9788  test $ac_status = 0; } 2>conftest.err; then
9789	  soname=conftest
9790	  lib=conftest
9791	  libobjs=conftest.$ac_objext
9792	  deplibs=
9793	  wl=$lt_prog_compiler_wl
9794	  pic_flag=$lt_prog_compiler_pic
9795	  compiler_flags=-v
9796	  linker_flags=-v
9797	  verstring=
9798	  output_objdir=.
9799	  libname=conftest
9800	  lt_save_allow_undefined_flag=$allow_undefined_flag
9801	  allow_undefined_flag=
9802	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9803  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9804  ac_status=$?
9805  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9806  test $ac_status = 0; }
9807	  then
9808	    lt_cv_archive_cmds_need_lc=no
9809	  else
9810	    lt_cv_archive_cmds_need_lc=yes
9811	  fi
9812	  allow_undefined_flag=$lt_save_allow_undefined_flag
9813	else
9814	  cat conftest.err 1>&5
9815	fi
9816	$RM conftest*
9817
9818fi
9819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9820$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9821      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9822      ;;
9823    esac
9824  fi
9825  ;;
9826esac
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9980$as_echo_n "checking dynamic linker characteristics... " >&6; }
9981
9982if test "$GCC" = yes; then
9983  case $host_os in
9984    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9985    *) lt_awk_arg="/^libraries:/" ;;
9986  esac
9987  case $host_os in
9988    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9989    *) lt_sed_strip_eq="s,=/,/,g" ;;
9990  esac
9991  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9992  case $lt_search_path_spec in
9993  *\;*)
9994    # if the path contains ";" then we assume it to be the separator
9995    # otherwise default to the standard path separator (i.e. ":") - it is
9996    # assumed that no part of a normal pathname contains ";" but that should
9997    # okay in the real world where ";" in dirpaths is itself problematic.
9998    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9999    ;;
10000  *)
10001    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10002    ;;
10003  esac
10004  # Ok, now we have the path, separated by spaces, we can step through it
10005  # and add multilib dir if necessary.
10006  lt_tmp_lt_search_path_spec=
10007  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10008  for lt_sys_path in $lt_search_path_spec; do
10009    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10010      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10011    else
10012      test -d "$lt_sys_path" && \
10013	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10014    fi
10015  done
10016  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10017BEGIN {RS=" "; FS="/|\n";} {
10018  lt_foo="";
10019  lt_count=0;
10020  for (lt_i = NF; lt_i > 0; lt_i--) {
10021    if ($lt_i != "" && $lt_i != ".") {
10022      if ($lt_i == "..") {
10023        lt_count++;
10024      } else {
10025        if (lt_count == 0) {
10026          lt_foo="/" $lt_i lt_foo;
10027        } else {
10028          lt_count--;
10029        }
10030      }
10031    }
10032  }
10033  if (lt_foo != "") { lt_freq[lt_foo]++; }
10034  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10035}'`
10036  # AWK program above erroneously prepends '/' to C:/dos/paths
10037  # for these hosts.
10038  case $host_os in
10039    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10040      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10041  esac
10042  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10043else
10044  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10045fi
10046library_names_spec=
10047libname_spec='lib$name'
10048soname_spec=
10049shrext_cmds=".so"
10050postinstall_cmds=
10051postuninstall_cmds=
10052finish_cmds=
10053finish_eval=
10054shlibpath_var=
10055shlibpath_overrides_runpath=unknown
10056version_type=none
10057dynamic_linker="$host_os ld.so"
10058sys_lib_dlsearch_path_spec="/lib /usr/lib"
10059need_lib_prefix=unknown
10060hardcode_into_libs=no
10061
10062# when you set need_version to no, make sure it does not cause -set_version
10063# flags to be left without arguments
10064need_version=unknown
10065
10066case $host_os in
10067aix3*)
10068  version_type=linux # correct to gnu/linux during the next big refactor
10069  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10070  shlibpath_var=LIBPATH
10071
10072  # AIX 3 has no versioning support, so we append a major version to the name.
10073  soname_spec='${libname}${release}${shared_ext}$major'
10074  ;;
10075
10076aix[4-9]*)
10077  version_type=linux # correct to gnu/linux during the next big refactor
10078  need_lib_prefix=no
10079  need_version=no
10080  hardcode_into_libs=yes
10081  if test "$host_cpu" = ia64; then
10082    # AIX 5 supports IA64
10083    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10084    shlibpath_var=LD_LIBRARY_PATH
10085  else
10086    # With GCC up to 2.95.x, collect2 would create an import file
10087    # for dependence libraries.  The import file would start with
10088    # the line `#! .'.  This would cause the generated library to
10089    # depend on `.', always an invalid library.  This was fixed in
10090    # development snapshots of GCC prior to 3.0.
10091    case $host_os in
10092      aix4 | aix4.[01] | aix4.[01].*)
10093      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10094	   echo ' yes '
10095	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10096	:
10097      else
10098	can_build_shared=no
10099      fi
10100      ;;
10101    esac
10102    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10103    # soname into executable. Probably we can add versioning support to
10104    # collect2, so additional links can be useful in future.
10105    if test "$aix_use_runtimelinking" = yes; then
10106      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10107      # instead of lib<name>.a to let people know that these are not
10108      # typical AIX shared libraries.
10109      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10110    else
10111      # We preserve .a as extension for shared libraries through AIX4.2
10112      # and later when we are not doing run time linking.
10113      library_names_spec='${libname}${release}.a $libname.a'
10114      soname_spec='${libname}${release}${shared_ext}$major'
10115    fi
10116    shlibpath_var=LIBPATH
10117  fi
10118  ;;
10119
10120amigaos*)
10121  case $host_cpu in
10122  powerpc)
10123    # Since July 2007 AmigaOS4 officially supports .so libraries.
10124    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10125    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10126    ;;
10127  m68k)
10128    library_names_spec='$libname.ixlibrary $libname.a'
10129    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10130    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'
10131    ;;
10132  esac
10133  ;;
10134
10135beos*)
10136  library_names_spec='${libname}${shared_ext}'
10137  dynamic_linker="$host_os ld.so"
10138  shlibpath_var=LIBRARY_PATH
10139  ;;
10140
10141bsdi[45]*)
10142  version_type=linux # correct to gnu/linux during the next big refactor
10143  need_version=no
10144  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10145  soname_spec='${libname}${release}${shared_ext}$major'
10146  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10147  shlibpath_var=LD_LIBRARY_PATH
10148  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10149  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10150  # the default ld.so.conf also contains /usr/contrib/lib and
10151  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10152  # libtool to hard-code these into programs
10153  ;;
10154
10155cygwin* | mingw* | pw32* | cegcc*)
10156  version_type=windows
10157  shrext_cmds=".dll"
10158  need_version=no
10159  need_lib_prefix=no
10160
10161  case $GCC,$cc_basename in
10162  yes,*)
10163    # gcc
10164    library_names_spec='$libname.dll.a'
10165    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10166    postinstall_cmds='base_file=`basename \${file}`~
10167      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10168      dldir=$destdir/`dirname \$dlpath`~
10169      test -d \$dldir || mkdir -p \$dldir~
10170      $install_prog $dir/$dlname \$dldir/$dlname~
10171      chmod a+x \$dldir/$dlname~
10172      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10173        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10174      fi'
10175    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10176      dlpath=$dir/\$dldll~
10177       $RM \$dlpath'
10178    shlibpath_overrides_runpath=yes
10179
10180    case $host_os in
10181    cygwin*)
10182      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10183      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10184
10185      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10186      ;;
10187    mingw* | cegcc*)
10188      # MinGW DLLs use traditional 'lib' prefix
10189      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10190      ;;
10191    pw32*)
10192      # pw32 DLLs use 'pw' prefix rather than 'lib'
10193      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10194      ;;
10195    esac
10196    dynamic_linker='Win32 ld.exe'
10197    ;;
10198
10199  *,cl*)
10200    # Native MSVC
10201    libname_spec='$name'
10202    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10203    library_names_spec='${libname}.dll.lib'
10204
10205    case $build_os in
10206    mingw*)
10207      sys_lib_search_path_spec=
10208      lt_save_ifs=$IFS
10209      IFS=';'
10210      for lt_path in $LIB
10211      do
10212        IFS=$lt_save_ifs
10213        # Let DOS variable expansion print the short 8.3 style file name.
10214        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10215        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10216      done
10217      IFS=$lt_save_ifs
10218      # Convert to MSYS style.
10219      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10220      ;;
10221    cygwin*)
10222      # Convert to unix form, then to dos form, then back to unix form
10223      # but this time dos style (no spaces!) so that the unix form looks
10224      # like /cygdrive/c/PROGRA~1:/cygdr...
10225      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10226      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10227      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10228      ;;
10229    *)
10230      sys_lib_search_path_spec="$LIB"
10231      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10232        # It is most probably a Windows format PATH.
10233        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10234      else
10235        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10236      fi
10237      # FIXME: find the short name or the path components, as spaces are
10238      # common. (e.g. "Program Files" -> "PROGRA~1")
10239      ;;
10240    esac
10241
10242    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10243    postinstall_cmds='base_file=`basename \${file}`~
10244      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10245      dldir=$destdir/`dirname \$dlpath`~
10246      test -d \$dldir || mkdir -p \$dldir~
10247      $install_prog $dir/$dlname \$dldir/$dlname'
10248    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10249      dlpath=$dir/\$dldll~
10250       $RM \$dlpath'
10251    shlibpath_overrides_runpath=yes
10252    dynamic_linker='Win32 link.exe'
10253    ;;
10254
10255  *)
10256    # Assume MSVC wrapper
10257    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10258    dynamic_linker='Win32 ld.exe'
10259    ;;
10260  esac
10261  # FIXME: first we should search . and the directory the executable is in
10262  shlibpath_var=PATH
10263  ;;
10264
10265darwin* | rhapsody*)
10266  dynamic_linker="$host_os dyld"
10267  version_type=darwin
10268  need_lib_prefix=no
10269  need_version=no
10270  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10271  soname_spec='${libname}${release}${major}$shared_ext'
10272  shlibpath_overrides_runpath=yes
10273  shlibpath_var=DYLD_LIBRARY_PATH
10274  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10275
10276  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10277  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10278  ;;
10279
10280dgux*)
10281  version_type=linux # correct to gnu/linux during the next big refactor
10282  need_lib_prefix=no
10283  need_version=no
10284  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10285  soname_spec='${libname}${release}${shared_ext}$major'
10286  shlibpath_var=LD_LIBRARY_PATH
10287  ;;
10288
10289freebsd* | dragonfly*)
10290  # DragonFly does not have aout.  When/if they implement a new
10291  # versioning mechanism, adjust this.
10292  if test -x /usr/bin/objformat; then
10293    objformat=`/usr/bin/objformat`
10294  else
10295    case $host_os in
10296    freebsd[23].*) objformat=aout ;;
10297    *) objformat=elf ;;
10298    esac
10299  fi
10300  version_type=freebsd-$objformat
10301  case $version_type in
10302    freebsd-elf*)
10303      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10304      need_version=no
10305      need_lib_prefix=no
10306      ;;
10307    freebsd-*)
10308      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10309      need_version=yes
10310      ;;
10311  esac
10312  shlibpath_var=LD_LIBRARY_PATH
10313  case $host_os in
10314  freebsd2.*)
10315    shlibpath_overrides_runpath=yes
10316    ;;
10317  freebsd3.[01]* | freebsdelf3.[01]*)
10318    shlibpath_overrides_runpath=yes
10319    hardcode_into_libs=yes
10320    ;;
10321  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10322  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10323    shlibpath_overrides_runpath=no
10324    hardcode_into_libs=yes
10325    ;;
10326  *) # from 4.6 on, and DragonFly
10327    shlibpath_overrides_runpath=yes
10328    hardcode_into_libs=yes
10329    ;;
10330  esac
10331  ;;
10332
10333haiku*)
10334  version_type=linux # correct to gnu/linux during the next big refactor
10335  need_lib_prefix=no
10336  need_version=no
10337  dynamic_linker="$host_os runtime_loader"
10338  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10339  soname_spec='${libname}${release}${shared_ext}$major'
10340  shlibpath_var=LIBRARY_PATH
10341  shlibpath_overrides_runpath=yes
10342  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10343  hardcode_into_libs=yes
10344  ;;
10345
10346hpux9* | hpux10* | hpux11*)
10347  # Give a soname corresponding to the major version so that dld.sl refuses to
10348  # link against other versions.
10349  version_type=sunos
10350  need_lib_prefix=no
10351  need_version=no
10352  case $host_cpu in
10353  ia64*)
10354    shrext_cmds='.so'
10355    hardcode_into_libs=yes
10356    dynamic_linker="$host_os dld.so"
10357    shlibpath_var=LD_LIBRARY_PATH
10358    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10359    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10360    soname_spec='${libname}${release}${shared_ext}$major'
10361    if test "X$HPUX_IA64_MODE" = X32; then
10362      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10363    else
10364      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10365    fi
10366    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10367    ;;
10368  hppa*64*)
10369    shrext_cmds='.sl'
10370    hardcode_into_libs=yes
10371    dynamic_linker="$host_os dld.sl"
10372    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10373    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10374    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10375    soname_spec='${libname}${release}${shared_ext}$major'
10376    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10377    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10378    ;;
10379  *)
10380    shrext_cmds='.sl'
10381    dynamic_linker="$host_os dld.sl"
10382    shlibpath_var=SHLIB_PATH
10383    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10384    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10385    soname_spec='${libname}${release}${shared_ext}$major'
10386    ;;
10387  esac
10388  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10389  postinstall_cmds='chmod 555 $lib'
10390  # or fails outright, so override atomically:
10391  install_override_mode=555
10392  ;;
10393
10394interix[3-9]*)
10395  version_type=linux # correct to gnu/linux during the next big refactor
10396  need_lib_prefix=no
10397  need_version=no
10398  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10399  soname_spec='${libname}${release}${shared_ext}$major'
10400  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10401  shlibpath_var=LD_LIBRARY_PATH
10402  shlibpath_overrides_runpath=no
10403  hardcode_into_libs=yes
10404  ;;
10405
10406irix5* | irix6* | nonstopux*)
10407  case $host_os in
10408    nonstopux*) version_type=nonstopux ;;
10409    *)
10410	if test "$lt_cv_prog_gnu_ld" = yes; then
10411		version_type=linux # correct to gnu/linux during the next big refactor
10412	else
10413		version_type=irix
10414	fi ;;
10415  esac
10416  need_lib_prefix=no
10417  need_version=no
10418  soname_spec='${libname}${release}${shared_ext}$major'
10419  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10420  case $host_os in
10421  irix5* | nonstopux*)
10422    libsuff= shlibsuff=
10423    ;;
10424  *)
10425    case $LD in # libtool.m4 will add one of these switches to LD
10426    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10427      libsuff= shlibsuff= libmagic=32-bit;;
10428    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10429      libsuff=32 shlibsuff=N32 libmagic=N32;;
10430    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10431      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10432    *) libsuff= shlibsuff= libmagic=never-match;;
10433    esac
10434    ;;
10435  esac
10436  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10437  shlibpath_overrides_runpath=no
10438  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10439  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10440  hardcode_into_libs=yes
10441  ;;
10442
10443# No shared lib support for Linux oldld, aout, or coff.
10444linux*oldld* | linux*aout* | linux*coff*)
10445  dynamic_linker=no
10446  ;;
10447
10448# This must be glibc/ELF.
10449linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10450  version_type=linux # correct to gnu/linux during the next big refactor
10451  need_lib_prefix=no
10452  need_version=no
10453  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10454  soname_spec='${libname}${release}${shared_ext}$major'
10455  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10456  shlibpath_var=LD_LIBRARY_PATH
10457  shlibpath_overrides_runpath=no
10458
10459  # Some binutils ld are patched to set DT_RUNPATH
10460  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10461  $as_echo_n "(cached) " >&6
10462else
10463  lt_cv_shlibpath_overrides_runpath=no
10464    save_LDFLAGS=$LDFLAGS
10465    save_libdir=$libdir
10466    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10467	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10468    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469/* end confdefs.h.  */
10470
10471int
10472main ()
10473{
10474
10475  ;
10476  return 0;
10477}
10478_ACEOF
10479if ac_fn_c_try_link "$LINENO"; then :
10480  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10481  lt_cv_shlibpath_overrides_runpath=yes
10482fi
10483fi
10484rm -f core conftest.err conftest.$ac_objext \
10485    conftest$ac_exeext conftest.$ac_ext
10486    LDFLAGS=$save_LDFLAGS
10487    libdir=$save_libdir
10488
10489fi
10490
10491  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10492
10493  # This implies no fast_install, which is unacceptable.
10494  # Some rework will be needed to allow for fast_install
10495  # before this can be enabled.
10496  hardcode_into_libs=yes
10497
10498  # Append ld.so.conf contents to the search path
10499  if test -f /etc/ld.so.conf; then
10500    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' ' '`
10501    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10502  fi
10503
10504  # We used to test for /lib/ld.so.1 and disable shared libraries on
10505  # powerpc, because MkLinux only supported shared libraries with the
10506  # GNU dynamic linker.  Since this was broken with cross compilers,
10507  # most powerpc-linux boxes support dynamic linking these days and
10508  # people can always --disable-shared, the test was removed, and we
10509  # assume the GNU/Linux dynamic linker is in use.
10510  dynamic_linker='GNU/Linux ld.so'
10511  ;;
10512
10513netbsdelf*-gnu)
10514  version_type=linux
10515  need_lib_prefix=no
10516  need_version=no
10517  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10518  soname_spec='${libname}${release}${shared_ext}$major'
10519  shlibpath_var=LD_LIBRARY_PATH
10520  shlibpath_overrides_runpath=no
10521  hardcode_into_libs=yes
10522  dynamic_linker='NetBSD ld.elf_so'
10523  ;;
10524
10525netbsd*)
10526  version_type=sunos
10527  need_lib_prefix=no
10528  need_version=no
10529  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10530    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10531    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10532    dynamic_linker='NetBSD (a.out) ld.so'
10533  else
10534    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10535    soname_spec='${libname}${release}${shared_ext}$major'
10536    dynamic_linker='NetBSD ld.elf_so'
10537  fi
10538  shlibpath_var=LD_LIBRARY_PATH
10539  shlibpath_overrides_runpath=yes
10540  hardcode_into_libs=yes
10541  ;;
10542
10543newsos6)
10544  version_type=linux # correct to gnu/linux during the next big refactor
10545  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10546  shlibpath_var=LD_LIBRARY_PATH
10547  shlibpath_overrides_runpath=yes
10548  ;;
10549
10550*nto* | *qnx*)
10551  version_type=qnx
10552  need_lib_prefix=no
10553  need_version=no
10554  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10555  soname_spec='${libname}${release}${shared_ext}$major'
10556  shlibpath_var=LD_LIBRARY_PATH
10557  shlibpath_overrides_runpath=no
10558  hardcode_into_libs=yes
10559  dynamic_linker='ldqnx.so'
10560  ;;
10561
10562openbsd*)
10563  version_type=sunos
10564  sys_lib_dlsearch_path_spec="/usr/lib"
10565  need_lib_prefix=no
10566  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10567  case $host_os in
10568    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10569    *)				need_version=no  ;;
10570  esac
10571  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10572  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10573  shlibpath_var=LD_LIBRARY_PATH
10574  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10575    case $host_os in
10576      openbsd2.[89] | openbsd2.[89].*)
10577	shlibpath_overrides_runpath=no
10578	;;
10579      *)
10580	shlibpath_overrides_runpath=yes
10581	;;
10582      esac
10583  else
10584    shlibpath_overrides_runpath=yes
10585  fi
10586  ;;
10587
10588os2*)
10589  libname_spec='$name'
10590  shrext_cmds=".dll"
10591  need_lib_prefix=no
10592  library_names_spec='$libname${shared_ext} $libname.a'
10593  dynamic_linker='OS/2 ld.exe'
10594  shlibpath_var=LIBPATH
10595  ;;
10596
10597osf3* | osf4* | osf5*)
10598  version_type=osf
10599  need_lib_prefix=no
10600  need_version=no
10601  soname_spec='${libname}${release}${shared_ext}$major'
10602  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603  shlibpath_var=LD_LIBRARY_PATH
10604  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10605  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10606  ;;
10607
10608rdos*)
10609  dynamic_linker=no
10610  ;;
10611
10612solaris*)
10613  version_type=linux # correct to gnu/linux during the next big refactor
10614  need_lib_prefix=no
10615  need_version=no
10616  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10617  soname_spec='${libname}${release}${shared_ext}$major'
10618  shlibpath_var=LD_LIBRARY_PATH
10619  shlibpath_overrides_runpath=yes
10620  hardcode_into_libs=yes
10621  # ldd complains unless libraries are executable
10622  postinstall_cmds='chmod +x $lib'
10623  ;;
10624
10625sunos4*)
10626  version_type=sunos
10627  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10628  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10629  shlibpath_var=LD_LIBRARY_PATH
10630  shlibpath_overrides_runpath=yes
10631  if test "$with_gnu_ld" = yes; then
10632    need_lib_prefix=no
10633  fi
10634  need_version=yes
10635  ;;
10636
10637sysv4 | sysv4.3*)
10638  version_type=linux # correct to gnu/linux during the next big refactor
10639  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640  soname_spec='${libname}${release}${shared_ext}$major'
10641  shlibpath_var=LD_LIBRARY_PATH
10642  case $host_vendor in
10643    sni)
10644      shlibpath_overrides_runpath=no
10645      need_lib_prefix=no
10646      runpath_var=LD_RUN_PATH
10647      ;;
10648    siemens)
10649      need_lib_prefix=no
10650      ;;
10651    motorola)
10652      need_lib_prefix=no
10653      need_version=no
10654      shlibpath_overrides_runpath=no
10655      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10656      ;;
10657  esac
10658  ;;
10659
10660sysv4*MP*)
10661  if test -d /usr/nec ;then
10662    version_type=linux # correct to gnu/linux during the next big refactor
10663    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10664    soname_spec='$libname${shared_ext}.$major'
10665    shlibpath_var=LD_LIBRARY_PATH
10666  fi
10667  ;;
10668
10669sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10670  version_type=freebsd-elf
10671  need_lib_prefix=no
10672  need_version=no
10673  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10674  soname_spec='${libname}${release}${shared_ext}$major'
10675  shlibpath_var=LD_LIBRARY_PATH
10676  shlibpath_overrides_runpath=yes
10677  hardcode_into_libs=yes
10678  if test "$with_gnu_ld" = yes; then
10679    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10680  else
10681    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10682    case $host_os in
10683      sco3.2v5*)
10684        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10685	;;
10686    esac
10687  fi
10688  sys_lib_dlsearch_path_spec='/usr/lib'
10689  ;;
10690
10691tpf*)
10692  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10693  version_type=linux # correct to gnu/linux during the next big refactor
10694  need_lib_prefix=no
10695  need_version=no
10696  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10697  shlibpath_var=LD_LIBRARY_PATH
10698  shlibpath_overrides_runpath=no
10699  hardcode_into_libs=yes
10700  ;;
10701
10702uts4*)
10703  version_type=linux # correct to gnu/linux during the next big refactor
10704  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10705  soname_spec='${libname}${release}${shared_ext}$major'
10706  shlibpath_var=LD_LIBRARY_PATH
10707  ;;
10708
10709*)
10710  dynamic_linker=no
10711  ;;
10712esac
10713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10714$as_echo "$dynamic_linker" >&6; }
10715test "$dynamic_linker" = no && can_build_shared=no
10716
10717variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10718if test "$GCC" = yes; then
10719  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10720fi
10721
10722if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10723  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10724fi
10725if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10726  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10727fi
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10821$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10822hardcode_action=
10823if test -n "$hardcode_libdir_flag_spec" ||
10824   test -n "$runpath_var" ||
10825   test "X$hardcode_automatic" = "Xyes" ; then
10826
10827  # We can hardcode non-existent directories.
10828  if test "$hardcode_direct" != no &&
10829     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10830     # have to relink, otherwise we might link with an installed library
10831     # when we should be linking with a yet-to-be-installed one
10832     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10833     test "$hardcode_minus_L" != no; then
10834    # Linking always hardcodes the temporary library directory.
10835    hardcode_action=relink
10836  else
10837    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10838    hardcode_action=immediate
10839  fi
10840else
10841  # We cannot hardcode anything, or else we can only hardcode existing
10842  # directories.
10843  hardcode_action=unsupported
10844fi
10845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10846$as_echo "$hardcode_action" >&6; }
10847
10848if test "$hardcode_action" = relink ||
10849   test "$inherit_rpath" = yes; then
10850  # Fast installation is not supported
10851  enable_fast_install=no
10852elif test "$shlibpath_overrides_runpath" = yes ||
10853     test "$enable_shared" = no; then
10854  # Fast installation is not necessary
10855  enable_fast_install=needless
10856fi
10857
10858
10859
10860
10861
10862
10863  if test "x$enable_dlopen" != xyes; then
10864  enable_dlopen=unknown
10865  enable_dlopen_self=unknown
10866  enable_dlopen_self_static=unknown
10867else
10868  lt_cv_dlopen=no
10869  lt_cv_dlopen_libs=
10870
10871  case $host_os in
10872  beos*)
10873    lt_cv_dlopen="load_add_on"
10874    lt_cv_dlopen_libs=
10875    lt_cv_dlopen_self=yes
10876    ;;
10877
10878  mingw* | pw32* | cegcc*)
10879    lt_cv_dlopen="LoadLibrary"
10880    lt_cv_dlopen_libs=
10881    ;;
10882
10883  cygwin*)
10884    lt_cv_dlopen="dlopen"
10885    lt_cv_dlopen_libs=
10886    ;;
10887
10888  darwin*)
10889  # if libdl is installed we need to link against it
10890    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10891$as_echo_n "checking for dlopen in -ldl... " >&6; }
10892if ${ac_cv_lib_dl_dlopen+:} false; then :
10893  $as_echo_n "(cached) " >&6
10894else
10895  ac_check_lib_save_LIBS=$LIBS
10896LIBS="-ldl  $LIBS"
10897cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10898/* end confdefs.h.  */
10899
10900/* Override any GCC internal prototype to avoid an error.
10901   Use char because int might match the return type of a GCC
10902   builtin and then its argument prototype would still apply.  */
10903#ifdef __cplusplus
10904extern "C"
10905#endif
10906char dlopen ();
10907int
10908main ()
10909{
10910return dlopen ();
10911  ;
10912  return 0;
10913}
10914_ACEOF
10915if ac_fn_c_try_link "$LINENO"; then :
10916  ac_cv_lib_dl_dlopen=yes
10917else
10918  ac_cv_lib_dl_dlopen=no
10919fi
10920rm -f core conftest.err conftest.$ac_objext \
10921    conftest$ac_exeext conftest.$ac_ext
10922LIBS=$ac_check_lib_save_LIBS
10923fi
10924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10925$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10926if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10927  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10928else
10929
10930    lt_cv_dlopen="dyld"
10931    lt_cv_dlopen_libs=
10932    lt_cv_dlopen_self=yes
10933
10934fi
10935
10936    ;;
10937
10938  *)
10939    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10940if test "x$ac_cv_func_shl_load" = xyes; then :
10941  lt_cv_dlopen="shl_load"
10942else
10943  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10944$as_echo_n "checking for shl_load in -ldld... " >&6; }
10945if ${ac_cv_lib_dld_shl_load+:} false; then :
10946  $as_echo_n "(cached) " >&6
10947else
10948  ac_check_lib_save_LIBS=$LIBS
10949LIBS="-ldld  $LIBS"
10950cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10951/* end confdefs.h.  */
10952
10953/* Override any GCC internal prototype to avoid an error.
10954   Use char because int might match the return type of a GCC
10955   builtin and then its argument prototype would still apply.  */
10956#ifdef __cplusplus
10957extern "C"
10958#endif
10959char shl_load ();
10960int
10961main ()
10962{
10963return shl_load ();
10964  ;
10965  return 0;
10966}
10967_ACEOF
10968if ac_fn_c_try_link "$LINENO"; then :
10969  ac_cv_lib_dld_shl_load=yes
10970else
10971  ac_cv_lib_dld_shl_load=no
10972fi
10973rm -f core conftest.err conftest.$ac_objext \
10974    conftest$ac_exeext conftest.$ac_ext
10975LIBS=$ac_check_lib_save_LIBS
10976fi
10977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10978$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10979if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10980  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10981else
10982  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10983if test "x$ac_cv_func_dlopen" = xyes; then :
10984  lt_cv_dlopen="dlopen"
10985else
10986  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10987$as_echo_n "checking for dlopen in -ldl... " >&6; }
10988if ${ac_cv_lib_dl_dlopen+:} false; then :
10989  $as_echo_n "(cached) " >&6
10990else
10991  ac_check_lib_save_LIBS=$LIBS
10992LIBS="-ldl  $LIBS"
10993cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994/* end confdefs.h.  */
10995
10996/* Override any GCC internal prototype to avoid an error.
10997   Use char because int might match the return type of a GCC
10998   builtin and then its argument prototype would still apply.  */
10999#ifdef __cplusplus
11000extern "C"
11001#endif
11002char dlopen ();
11003int
11004main ()
11005{
11006return dlopen ();
11007  ;
11008  return 0;
11009}
11010_ACEOF
11011if ac_fn_c_try_link "$LINENO"; then :
11012  ac_cv_lib_dl_dlopen=yes
11013else
11014  ac_cv_lib_dl_dlopen=no
11015fi
11016rm -f core conftest.err conftest.$ac_objext \
11017    conftest$ac_exeext conftest.$ac_ext
11018LIBS=$ac_check_lib_save_LIBS
11019fi
11020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11021$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11022if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11023  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11024else
11025  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11026$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11027if ${ac_cv_lib_svld_dlopen+:} false; then :
11028  $as_echo_n "(cached) " >&6
11029else
11030  ac_check_lib_save_LIBS=$LIBS
11031LIBS="-lsvld  $LIBS"
11032cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11033/* end confdefs.h.  */
11034
11035/* Override any GCC internal prototype to avoid an error.
11036   Use char because int might match the return type of a GCC
11037   builtin and then its argument prototype would still apply.  */
11038#ifdef __cplusplus
11039extern "C"
11040#endif
11041char dlopen ();
11042int
11043main ()
11044{
11045return dlopen ();
11046  ;
11047  return 0;
11048}
11049_ACEOF
11050if ac_fn_c_try_link "$LINENO"; then :
11051  ac_cv_lib_svld_dlopen=yes
11052else
11053  ac_cv_lib_svld_dlopen=no
11054fi
11055rm -f core conftest.err conftest.$ac_objext \
11056    conftest$ac_exeext conftest.$ac_ext
11057LIBS=$ac_check_lib_save_LIBS
11058fi
11059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11060$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11061if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11062  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11063else
11064  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11065$as_echo_n "checking for dld_link in -ldld... " >&6; }
11066if ${ac_cv_lib_dld_dld_link+:} false; then :
11067  $as_echo_n "(cached) " >&6
11068else
11069  ac_check_lib_save_LIBS=$LIBS
11070LIBS="-ldld  $LIBS"
11071cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072/* end confdefs.h.  */
11073
11074/* Override any GCC internal prototype to avoid an error.
11075   Use char because int might match the return type of a GCC
11076   builtin and then its argument prototype would still apply.  */
11077#ifdef __cplusplus
11078extern "C"
11079#endif
11080char dld_link ();
11081int
11082main ()
11083{
11084return dld_link ();
11085  ;
11086  return 0;
11087}
11088_ACEOF
11089if ac_fn_c_try_link "$LINENO"; then :
11090  ac_cv_lib_dld_dld_link=yes
11091else
11092  ac_cv_lib_dld_dld_link=no
11093fi
11094rm -f core conftest.err conftest.$ac_objext \
11095    conftest$ac_exeext conftest.$ac_ext
11096LIBS=$ac_check_lib_save_LIBS
11097fi
11098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11099$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11100if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11101  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11102fi
11103
11104
11105fi
11106
11107
11108fi
11109
11110
11111fi
11112
11113
11114fi
11115
11116
11117fi
11118
11119    ;;
11120  esac
11121
11122  if test "x$lt_cv_dlopen" != xno; then
11123    enable_dlopen=yes
11124  else
11125    enable_dlopen=no
11126  fi
11127
11128  case $lt_cv_dlopen in
11129  dlopen)
11130    save_CPPFLAGS="$CPPFLAGS"
11131    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11132
11133    save_LDFLAGS="$LDFLAGS"
11134    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11135
11136    save_LIBS="$LIBS"
11137    LIBS="$lt_cv_dlopen_libs $LIBS"
11138
11139    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11140$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11141if ${lt_cv_dlopen_self+:} false; then :
11142  $as_echo_n "(cached) " >&6
11143else
11144  	  if test "$cross_compiling" = yes; then :
11145  lt_cv_dlopen_self=cross
11146else
11147  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11148  lt_status=$lt_dlunknown
11149  cat > conftest.$ac_ext <<_LT_EOF
11150#line $LINENO "configure"
11151#include "confdefs.h"
11152
11153#if HAVE_DLFCN_H
11154#include <dlfcn.h>
11155#endif
11156
11157#include <stdio.h>
11158
11159#ifdef RTLD_GLOBAL
11160#  define LT_DLGLOBAL		RTLD_GLOBAL
11161#else
11162#  ifdef DL_GLOBAL
11163#    define LT_DLGLOBAL		DL_GLOBAL
11164#  else
11165#    define LT_DLGLOBAL		0
11166#  endif
11167#endif
11168
11169/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11170   find out it does not work in some platform. */
11171#ifndef LT_DLLAZY_OR_NOW
11172#  ifdef RTLD_LAZY
11173#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11174#  else
11175#    ifdef DL_LAZY
11176#      define LT_DLLAZY_OR_NOW		DL_LAZY
11177#    else
11178#      ifdef RTLD_NOW
11179#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11180#      else
11181#        ifdef DL_NOW
11182#          define LT_DLLAZY_OR_NOW	DL_NOW
11183#        else
11184#          define LT_DLLAZY_OR_NOW	0
11185#        endif
11186#      endif
11187#    endif
11188#  endif
11189#endif
11190
11191/* When -fvisbility=hidden is used, assume the code has been annotated
11192   correspondingly for the symbols needed.  */
11193#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11194int fnord () __attribute__((visibility("default")));
11195#endif
11196
11197int fnord () { return 42; }
11198int main ()
11199{
11200  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11201  int status = $lt_dlunknown;
11202
11203  if (self)
11204    {
11205      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11206      else
11207        {
11208	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11209          else puts (dlerror ());
11210	}
11211      /* dlclose (self); */
11212    }
11213  else
11214    puts (dlerror ());
11215
11216  return status;
11217}
11218_LT_EOF
11219  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11220  (eval $ac_link) 2>&5
11221  ac_status=$?
11222  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11223  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11224    (./conftest; exit; ) >&5 2>/dev/null
11225    lt_status=$?
11226    case x$lt_status in
11227      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11228      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11229      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11230    esac
11231  else :
11232    # compilation failed
11233    lt_cv_dlopen_self=no
11234  fi
11235fi
11236rm -fr conftest*
11237
11238
11239fi
11240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11241$as_echo "$lt_cv_dlopen_self" >&6; }
11242
11243    if test "x$lt_cv_dlopen_self" = xyes; then
11244      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11245      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11246$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11247if ${lt_cv_dlopen_self_static+:} false; then :
11248  $as_echo_n "(cached) " >&6
11249else
11250  	  if test "$cross_compiling" = yes; then :
11251  lt_cv_dlopen_self_static=cross
11252else
11253  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11254  lt_status=$lt_dlunknown
11255  cat > conftest.$ac_ext <<_LT_EOF
11256#line $LINENO "configure"
11257#include "confdefs.h"
11258
11259#if HAVE_DLFCN_H
11260#include <dlfcn.h>
11261#endif
11262
11263#include <stdio.h>
11264
11265#ifdef RTLD_GLOBAL
11266#  define LT_DLGLOBAL		RTLD_GLOBAL
11267#else
11268#  ifdef DL_GLOBAL
11269#    define LT_DLGLOBAL		DL_GLOBAL
11270#  else
11271#    define LT_DLGLOBAL		0
11272#  endif
11273#endif
11274
11275/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11276   find out it does not work in some platform. */
11277#ifndef LT_DLLAZY_OR_NOW
11278#  ifdef RTLD_LAZY
11279#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11280#  else
11281#    ifdef DL_LAZY
11282#      define LT_DLLAZY_OR_NOW		DL_LAZY
11283#    else
11284#      ifdef RTLD_NOW
11285#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11286#      else
11287#        ifdef DL_NOW
11288#          define LT_DLLAZY_OR_NOW	DL_NOW
11289#        else
11290#          define LT_DLLAZY_OR_NOW	0
11291#        endif
11292#      endif
11293#    endif
11294#  endif
11295#endif
11296
11297/* When -fvisbility=hidden is used, assume the code has been annotated
11298   correspondingly for the symbols needed.  */
11299#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11300int fnord () __attribute__((visibility("default")));
11301#endif
11302
11303int fnord () { return 42; }
11304int main ()
11305{
11306  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11307  int status = $lt_dlunknown;
11308
11309  if (self)
11310    {
11311      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11312      else
11313        {
11314	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11315          else puts (dlerror ());
11316	}
11317      /* dlclose (self); */
11318    }
11319  else
11320    puts (dlerror ());
11321
11322  return status;
11323}
11324_LT_EOF
11325  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11326  (eval $ac_link) 2>&5
11327  ac_status=$?
11328  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11329  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11330    (./conftest; exit; ) >&5 2>/dev/null
11331    lt_status=$?
11332    case x$lt_status in
11333      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11334      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11335      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11336    esac
11337  else :
11338    # compilation failed
11339    lt_cv_dlopen_self_static=no
11340  fi
11341fi
11342rm -fr conftest*
11343
11344
11345fi
11346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11347$as_echo "$lt_cv_dlopen_self_static" >&6; }
11348    fi
11349
11350    CPPFLAGS="$save_CPPFLAGS"
11351    LDFLAGS="$save_LDFLAGS"
11352    LIBS="$save_LIBS"
11353    ;;
11354  esac
11355
11356  case $lt_cv_dlopen_self in
11357  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11358  *) enable_dlopen_self=unknown ;;
11359  esac
11360
11361  case $lt_cv_dlopen_self_static in
11362  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11363  *) enable_dlopen_self_static=unknown ;;
11364  esac
11365fi
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383striplib=
11384old_striplib=
11385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11386$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11387if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11388  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11389  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11391$as_echo "yes" >&6; }
11392else
11393# FIXME - insert some real tests, host_os isn't really good enough
11394  case $host_os in
11395  darwin*)
11396    if test -n "$STRIP" ; then
11397      striplib="$STRIP -x"
11398      old_striplib="$STRIP -S"
11399      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11400$as_echo "yes" >&6; }
11401    else
11402      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11403$as_echo "no" >&6; }
11404    fi
11405    ;;
11406  *)
11407    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11408$as_echo "no" >&6; }
11409    ;;
11410  esac
11411fi
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424  # Report which library types will actually be built
11425  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11426$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11428$as_echo "$can_build_shared" >&6; }
11429
11430  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11431$as_echo_n "checking whether to build shared libraries... " >&6; }
11432  test "$can_build_shared" = "no" && enable_shared=no
11433
11434  # On AIX, shared libraries and static libraries use the same namespace, and
11435  # are all built from PIC.
11436  case $host_os in
11437  aix3*)
11438    test "$enable_shared" = yes && enable_static=no
11439    if test -n "$RANLIB"; then
11440      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11441      postinstall_cmds='$RANLIB $lib'
11442    fi
11443    ;;
11444
11445  aix[4-9]*)
11446    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11447      test "$enable_shared" = yes && enable_static=no
11448    fi
11449    ;;
11450  esac
11451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11452$as_echo "$enable_shared" >&6; }
11453
11454  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11455$as_echo_n "checking whether to build static libraries... " >&6; }
11456  # Make sure either enable_shared or enable_static is yes.
11457  test "$enable_shared" = yes || enable_static=yes
11458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11459$as_echo "$enable_static" >&6; }
11460
11461
11462
11463
11464fi
11465ac_ext=c
11466ac_cpp='$CPP $CPPFLAGS'
11467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11468ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11469ac_compiler_gnu=$ac_cv_c_compiler_gnu
11470
11471CC="$lt_save_CC"
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487        ac_config_commands="$ac_config_commands libtool"
11488
11489
11490
11491
11492# Only expand once:
11493
11494
11495ac_ext=cpp
11496ac_cpp='$CXXCPP $CPPFLAGS'
11497ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11498ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11499ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11500if test -z "$CXX"; then
11501  if test -n "$CCC"; then
11502    CXX=$CCC
11503  else
11504    if test -n "$ac_tool_prefix"; then
11505  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11506  do
11507    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11508set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11510$as_echo_n "checking for $ac_word... " >&6; }
11511if ${ac_cv_prog_CXX+:} false; then :
11512  $as_echo_n "(cached) " >&6
11513else
11514  if test -n "$CXX"; then
11515  ac_cv_prog_CXX="$CXX" # Let the user override the test.
11516else
11517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11518for as_dir in $PATH
11519do
11520  IFS=$as_save_IFS
11521  test -z "$as_dir" && as_dir=.
11522    for ac_exec_ext in '' $ac_executable_extensions; do
11523  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11524    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11525    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11526    break 2
11527  fi
11528done
11529  done
11530IFS=$as_save_IFS
11531
11532fi
11533fi
11534CXX=$ac_cv_prog_CXX
11535if test -n "$CXX"; then
11536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11537$as_echo "$CXX" >&6; }
11538else
11539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11540$as_echo "no" >&6; }
11541fi
11542
11543
11544    test -n "$CXX" && break
11545  done
11546fi
11547if test -z "$CXX"; then
11548  ac_ct_CXX=$CXX
11549  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11550do
11551  # Extract the first word of "$ac_prog", so it can be a program name with args.
11552set dummy $ac_prog; ac_word=$2
11553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11554$as_echo_n "checking for $ac_word... " >&6; }
11555if ${ac_cv_prog_ac_ct_CXX+:} false; then :
11556  $as_echo_n "(cached) " >&6
11557else
11558  if test -n "$ac_ct_CXX"; then
11559  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11560else
11561as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11562for as_dir in $PATH
11563do
11564  IFS=$as_save_IFS
11565  test -z "$as_dir" && as_dir=.
11566    for ac_exec_ext in '' $ac_executable_extensions; do
11567  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11568    ac_cv_prog_ac_ct_CXX="$ac_prog"
11569    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11570    break 2
11571  fi
11572done
11573  done
11574IFS=$as_save_IFS
11575
11576fi
11577fi
11578ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11579if test -n "$ac_ct_CXX"; then
11580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11581$as_echo "$ac_ct_CXX" >&6; }
11582else
11583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11584$as_echo "no" >&6; }
11585fi
11586
11587
11588  test -n "$ac_ct_CXX" && break
11589done
11590
11591  if test "x$ac_ct_CXX" = x; then
11592    CXX="g++"
11593  else
11594    case $cross_compiling:$ac_tool_warned in
11595yes:)
11596{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11597$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11598ac_tool_warned=yes ;;
11599esac
11600    CXX=$ac_ct_CXX
11601  fi
11602fi
11603
11604  fi
11605fi
11606# Provide some information about the compiler.
11607$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11608set X $ac_compile
11609ac_compiler=$2
11610for ac_option in --version -v -V -qversion; do
11611  { { ac_try="$ac_compiler $ac_option >&5"
11612case "(($ac_try" in
11613  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11614  *) ac_try_echo=$ac_try;;
11615esac
11616eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11617$as_echo "$ac_try_echo"; } >&5
11618  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11619  ac_status=$?
11620  if test -s conftest.err; then
11621    sed '10a\
11622... rest of stderr output deleted ...
11623         10q' conftest.err >conftest.er1
11624    cat conftest.er1 >&5
11625  fi
11626  rm -f conftest.er1 conftest.err
11627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11628  test $ac_status = 0; }
11629done
11630
11631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11632$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11633if ${ac_cv_cxx_compiler_gnu+:} false; then :
11634  $as_echo_n "(cached) " >&6
11635else
11636  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11637/* end confdefs.h.  */
11638
11639int
11640main ()
11641{
11642#ifndef __GNUC__
11643       choke me
11644#endif
11645
11646  ;
11647  return 0;
11648}
11649_ACEOF
11650if ac_fn_cxx_try_compile "$LINENO"; then :
11651  ac_compiler_gnu=yes
11652else
11653  ac_compiler_gnu=no
11654fi
11655rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11656ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11657
11658fi
11659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11660$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11661if test $ac_compiler_gnu = yes; then
11662  GXX=yes
11663else
11664  GXX=
11665fi
11666ac_test_CXXFLAGS=${CXXFLAGS+set}
11667ac_save_CXXFLAGS=$CXXFLAGS
11668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11669$as_echo_n "checking whether $CXX accepts -g... " >&6; }
11670if ${ac_cv_prog_cxx_g+:} false; then :
11671  $as_echo_n "(cached) " >&6
11672else
11673  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11674   ac_cxx_werror_flag=yes
11675   ac_cv_prog_cxx_g=no
11676   CXXFLAGS="-g"
11677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678/* end confdefs.h.  */
11679
11680int
11681main ()
11682{
11683
11684  ;
11685  return 0;
11686}
11687_ACEOF
11688if ac_fn_cxx_try_compile "$LINENO"; then :
11689  ac_cv_prog_cxx_g=yes
11690else
11691  CXXFLAGS=""
11692      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693/* end confdefs.h.  */
11694
11695int
11696main ()
11697{
11698
11699  ;
11700  return 0;
11701}
11702_ACEOF
11703if ac_fn_cxx_try_compile "$LINENO"; then :
11704
11705else
11706  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11707	 CXXFLAGS="-g"
11708	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11709/* end confdefs.h.  */
11710
11711int
11712main ()
11713{
11714
11715  ;
11716  return 0;
11717}
11718_ACEOF
11719if ac_fn_cxx_try_compile "$LINENO"; then :
11720  ac_cv_prog_cxx_g=yes
11721fi
11722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11723fi
11724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11725fi
11726rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11727   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11728fi
11729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11730$as_echo "$ac_cv_prog_cxx_g" >&6; }
11731if test "$ac_test_CXXFLAGS" = set; then
11732  CXXFLAGS=$ac_save_CXXFLAGS
11733elif test $ac_cv_prog_cxx_g = yes; then
11734  if test "$GXX" = yes; then
11735    CXXFLAGS="-g -O2"
11736  else
11737    CXXFLAGS="-g"
11738  fi
11739else
11740  if test "$GXX" = yes; then
11741    CXXFLAGS="-O2"
11742  else
11743    CXXFLAGS=
11744  fi
11745fi
11746ac_ext=c
11747ac_cpp='$CPP $CPPFLAGS'
11748ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11749ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11750ac_compiler_gnu=$ac_cv_c_compiler_gnu
11751
11752depcc="$CXX"  am_compiler_list=
11753
11754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11755$as_echo_n "checking dependency style of $depcc... " >&6; }
11756if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
11757  $as_echo_n "(cached) " >&6
11758else
11759  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11760  # We make a subdir and do the tests there.  Otherwise we can end up
11761  # making bogus files that we don't know about and never remove.  For
11762  # instance it was reported that on HP-UX the gcc test will end up
11763  # making a dummy file named 'D' -- because '-MD' means "put the output
11764  # in D".
11765  rm -rf conftest.dir
11766  mkdir conftest.dir
11767  # Copy depcomp to subdir because otherwise we won't find it if we're
11768  # using a relative directory.
11769  cp "$am_depcomp" conftest.dir
11770  cd conftest.dir
11771  # We will build objects and dependencies in a subdirectory because
11772  # it helps to detect inapplicable dependency modes.  For instance
11773  # both Tru64's cc and ICC support -MD to output dependencies as a
11774  # side effect of compilation, but ICC will put the dependencies in
11775  # the current directory while Tru64 will put them in the object
11776  # directory.
11777  mkdir sub
11778
11779  am_cv_CXX_dependencies_compiler_type=none
11780  if test "$am_compiler_list" = ""; then
11781     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11782  fi
11783  am__universal=false
11784  case " $depcc " in #(
11785     *\ -arch\ *\ -arch\ *) am__universal=true ;;
11786     esac
11787
11788  for depmode in $am_compiler_list; do
11789    # Setup a source with many dependencies, because some compilers
11790    # like to wrap large dependency lists on column 80 (with \), and
11791    # we should not choose a depcomp mode which is confused by this.
11792    #
11793    # We need to recreate these files for each test, as the compiler may
11794    # overwrite some of them when testing with obscure command lines.
11795    # This happens at least with the AIX C compiler.
11796    : > sub/conftest.c
11797    for i in 1 2 3 4 5 6; do
11798      echo '#include "conftst'$i'.h"' >> sub/conftest.c
11799      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
11800      # Solaris 10 /bin/sh.
11801      echo '/* dummy */' > sub/conftst$i.h
11802    done
11803    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11804
11805    # We check with '-c' and '-o' for the sake of the "dashmstdout"
11806    # mode.  It turns out that the SunPro C++ compiler does not properly
11807    # handle '-M -o', and we need to detect this.  Also, some Intel
11808    # versions had trouble with output in subdirs.
11809    am__obj=sub/conftest.${OBJEXT-o}
11810    am__minus_obj="-o $am__obj"
11811    case $depmode in
11812    gcc)
11813      # This depmode causes a compiler race in universal mode.
11814      test "$am__universal" = false || continue
11815      ;;
11816    nosideeffect)
11817      # After this tag, mechanisms are not by side-effect, so they'll
11818      # only be used when explicitly requested.
11819      if test "x$enable_dependency_tracking" = xyes; then
11820	continue
11821      else
11822	break
11823      fi
11824      ;;
11825    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
11826      # This compiler won't grok '-c -o', but also, the minuso test has
11827      # not run yet.  These depmodes are late enough in the game, and
11828      # so weak that their functioning should not be impacted.
11829      am__obj=conftest.${OBJEXT-o}
11830      am__minus_obj=
11831      ;;
11832    none) break ;;
11833    esac
11834    if depmode=$depmode \
11835       source=sub/conftest.c object=$am__obj \
11836       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11837       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11838         >/dev/null 2>conftest.err &&
11839       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11840       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11841       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11842       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11843      # icc doesn't choke on unknown options, it will just issue warnings
11844      # or remarks (even with -Werror).  So we grep stderr for any message
11845      # that says an option was ignored or not supported.
11846      # When given -MP, icc 7.0 and 7.1 complain thusly:
11847      #   icc: Command line warning: ignoring option '-M'; no argument required
11848      # The diagnosis changed in icc 8.0:
11849      #   icc: Command line remark: option '-MP' not supported
11850      if (grep 'ignoring option' conftest.err ||
11851          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11852        am_cv_CXX_dependencies_compiler_type=$depmode
11853        break
11854      fi
11855    fi
11856  done
11857
11858  cd ..
11859  rm -rf conftest.dir
11860else
11861  am_cv_CXX_dependencies_compiler_type=none
11862fi
11863
11864fi
11865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11866$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11867CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11868
11869 if
11870  test "x$enable_dependency_tracking" != xno \
11871  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11872  am__fastdepCXX_TRUE=
11873  am__fastdepCXX_FALSE='#'
11874else
11875  am__fastdepCXX_TRUE='#'
11876  am__fastdepCXX_FALSE=
11877fi
11878
11879
11880
11881
11882func_stripname_cnf ()
11883{
11884  case ${2} in
11885  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
11886  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
11887  esac
11888} # func_stripname_cnf
11889
11890      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11891    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11892    (test "X$CXX" != "Xg++"))) ; then
11893  ac_ext=cpp
11894ac_cpp='$CXXCPP $CPPFLAGS'
11895ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11896ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11897ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11899$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11900if test -z "$CXXCPP"; then
11901  if ${ac_cv_prog_CXXCPP+:} false; then :
11902  $as_echo_n "(cached) " >&6
11903else
11904      # Double quotes because CXXCPP needs to be expanded
11905    for CXXCPP in "$CXX -E" "/lib/cpp"
11906    do
11907      ac_preproc_ok=false
11908for ac_cxx_preproc_warn_flag in '' yes
11909do
11910  # Use a header file that comes with gcc, so configuring glibc
11911  # with a fresh cross-compiler works.
11912  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11913  # <limits.h> exists even on freestanding compilers.
11914  # On the NeXT, cc -E runs the code through the compiler's parser,
11915  # not just through cpp. "Syntax error" is here to catch this case.
11916  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11917/* end confdefs.h.  */
11918#ifdef __STDC__
11919# include <limits.h>
11920#else
11921# include <assert.h>
11922#endif
11923		     Syntax error
11924_ACEOF
11925if ac_fn_cxx_try_cpp "$LINENO"; then :
11926
11927else
11928  # Broken: fails on valid input.
11929continue
11930fi
11931rm -f conftest.err conftest.i conftest.$ac_ext
11932
11933  # OK, works on sane cases.  Now check whether nonexistent headers
11934  # can be detected and how.
11935  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936/* end confdefs.h.  */
11937#include <ac_nonexistent.h>
11938_ACEOF
11939if ac_fn_cxx_try_cpp "$LINENO"; then :
11940  # Broken: success on invalid input.
11941continue
11942else
11943  # Passes both tests.
11944ac_preproc_ok=:
11945break
11946fi
11947rm -f conftest.err conftest.i conftest.$ac_ext
11948
11949done
11950# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11951rm -f conftest.i conftest.err conftest.$ac_ext
11952if $ac_preproc_ok; then :
11953  break
11954fi
11955
11956    done
11957    ac_cv_prog_CXXCPP=$CXXCPP
11958
11959fi
11960  CXXCPP=$ac_cv_prog_CXXCPP
11961else
11962  ac_cv_prog_CXXCPP=$CXXCPP
11963fi
11964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11965$as_echo "$CXXCPP" >&6; }
11966ac_preproc_ok=false
11967for ac_cxx_preproc_warn_flag in '' yes
11968do
11969  # Use a header file that comes with gcc, so configuring glibc
11970  # with a fresh cross-compiler works.
11971  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11972  # <limits.h> exists even on freestanding compilers.
11973  # On the NeXT, cc -E runs the code through the compiler's parser,
11974  # not just through cpp. "Syntax error" is here to catch this case.
11975  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11976/* end confdefs.h.  */
11977#ifdef __STDC__
11978# include <limits.h>
11979#else
11980# include <assert.h>
11981#endif
11982		     Syntax error
11983_ACEOF
11984if ac_fn_cxx_try_cpp "$LINENO"; then :
11985
11986else
11987  # Broken: fails on valid input.
11988continue
11989fi
11990rm -f conftest.err conftest.i conftest.$ac_ext
11991
11992  # OK, works on sane cases.  Now check whether nonexistent headers
11993  # can be detected and how.
11994  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995/* end confdefs.h.  */
11996#include <ac_nonexistent.h>
11997_ACEOF
11998if ac_fn_cxx_try_cpp "$LINENO"; then :
11999  # Broken: success on invalid input.
12000continue
12001else
12002  # Passes both tests.
12003ac_preproc_ok=:
12004break
12005fi
12006rm -f conftest.err conftest.i conftest.$ac_ext
12007
12008done
12009# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12010rm -f conftest.i conftest.err conftest.$ac_ext
12011if $ac_preproc_ok; then :
12012
12013else
12014  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12015$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12016as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12017See \`config.log' for more details" "$LINENO" 5; }
12018fi
12019
12020ac_ext=c
12021ac_cpp='$CPP $CPPFLAGS'
12022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12024ac_compiler_gnu=$ac_cv_c_compiler_gnu
12025
12026else
12027  _lt_caught_CXX_error=yes
12028fi
12029
12030ac_ext=cpp
12031ac_cpp='$CXXCPP $CPPFLAGS'
12032ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12033ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12034ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12035
12036archive_cmds_need_lc_CXX=no
12037allow_undefined_flag_CXX=
12038always_export_symbols_CXX=no
12039archive_expsym_cmds_CXX=
12040compiler_needs_object_CXX=no
12041export_dynamic_flag_spec_CXX=
12042hardcode_direct_CXX=no
12043hardcode_direct_absolute_CXX=no
12044hardcode_libdir_flag_spec_CXX=
12045hardcode_libdir_separator_CXX=
12046hardcode_minus_L_CXX=no
12047hardcode_shlibpath_var_CXX=unsupported
12048hardcode_automatic_CXX=no
12049inherit_rpath_CXX=no
12050module_cmds_CXX=
12051module_expsym_cmds_CXX=
12052link_all_deplibs_CXX=unknown
12053old_archive_cmds_CXX=$old_archive_cmds
12054reload_flag_CXX=$reload_flag
12055reload_cmds_CXX=$reload_cmds
12056no_undefined_flag_CXX=
12057whole_archive_flag_spec_CXX=
12058enable_shared_with_static_runtimes_CXX=no
12059
12060# Source file extension for C++ test sources.
12061ac_ext=cpp
12062
12063# Object file extension for compiled C++ test sources.
12064objext=o
12065objext_CXX=$objext
12066
12067# No sense in running all these tests if we already determined that
12068# the CXX compiler isn't working.  Some variables (like enable_shared)
12069# are currently assumed to apply to all compilers on this platform,
12070# and will be corrupted by setting them based on a non-working compiler.
12071if test "$_lt_caught_CXX_error" != yes; then
12072  # Code to be used in simple compile tests
12073  lt_simple_compile_test_code="int some_variable = 0;"
12074
12075  # Code to be used in simple link tests
12076  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12077
12078  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12079
12080
12081
12082
12083
12084
12085# If no C compiler was specified, use CC.
12086LTCC=${LTCC-"$CC"}
12087
12088# If no C compiler flags were specified, use CFLAGS.
12089LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12090
12091# Allow CC to be a program name with arguments.
12092compiler=$CC
12093
12094
12095  # save warnings/boilerplate of simple test code
12096  ac_outfile=conftest.$ac_objext
12097echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12098eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12099_lt_compiler_boilerplate=`cat conftest.err`
12100$RM conftest*
12101
12102  ac_outfile=conftest.$ac_objext
12103echo "$lt_simple_link_test_code" >conftest.$ac_ext
12104eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12105_lt_linker_boilerplate=`cat conftest.err`
12106$RM -r conftest*
12107
12108
12109  # Allow CC to be a program name with arguments.
12110  lt_save_CC=$CC
12111  lt_save_CFLAGS=$CFLAGS
12112  lt_save_LD=$LD
12113  lt_save_GCC=$GCC
12114  GCC=$GXX
12115  lt_save_with_gnu_ld=$with_gnu_ld
12116  lt_save_path_LD=$lt_cv_path_LD
12117  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12118    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12119  else
12120    $as_unset lt_cv_prog_gnu_ld
12121  fi
12122  if test -n "${lt_cv_path_LDCXX+set}"; then
12123    lt_cv_path_LD=$lt_cv_path_LDCXX
12124  else
12125    $as_unset lt_cv_path_LD
12126  fi
12127  test -z "${LDCXX+set}" || LD=$LDCXX
12128  CC=${CXX-"c++"}
12129  CFLAGS=$CXXFLAGS
12130  compiler=$CC
12131  compiler_CXX=$CC
12132  for cc_temp in $compiler""; do
12133  case $cc_temp in
12134    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12135    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12136    \-*) ;;
12137    *) break;;
12138  esac
12139done
12140cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12141
12142
12143  if test -n "$compiler"; then
12144    # We don't want -fno-exception when compiling C++ code, so set the
12145    # no_builtin_flag separately
12146    if test "$GXX" = yes; then
12147      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12148    else
12149      lt_prog_compiler_no_builtin_flag_CXX=
12150    fi
12151
12152    if test "$GXX" = yes; then
12153      # Set up default GNU C++ configuration
12154
12155
12156
12157# Check whether --with-gnu-ld was given.
12158if test "${with_gnu_ld+set}" = set; then :
12159  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12160else
12161  with_gnu_ld=no
12162fi
12163
12164ac_prog=ld
12165if test "$GCC" = yes; then
12166  # Check if gcc -print-prog-name=ld gives a path.
12167  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12168$as_echo_n "checking for ld used by $CC... " >&6; }
12169  case $host in
12170  *-*-mingw*)
12171    # gcc leaves a trailing carriage return which upsets mingw
12172    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12173  *)
12174    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12175  esac
12176  case $ac_prog in
12177    # Accept absolute paths.
12178    [\\/]* | ?:[\\/]*)
12179      re_direlt='/[^/][^/]*/\.\./'
12180      # Canonicalize the pathname of ld
12181      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12182      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12183	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12184      done
12185      test -z "$LD" && LD="$ac_prog"
12186      ;;
12187  "")
12188    # If it fails, then pretend we aren't using GCC.
12189    ac_prog=ld
12190    ;;
12191  *)
12192    # If it is relative, then search for the first ld in PATH.
12193    with_gnu_ld=unknown
12194    ;;
12195  esac
12196elif test "$with_gnu_ld" = yes; then
12197  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12198$as_echo_n "checking for GNU ld... " >&6; }
12199else
12200  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12201$as_echo_n "checking for non-GNU ld... " >&6; }
12202fi
12203if ${lt_cv_path_LD+:} false; then :
12204  $as_echo_n "(cached) " >&6
12205else
12206  if test -z "$LD"; then
12207  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12208  for ac_dir in $PATH; do
12209    IFS="$lt_save_ifs"
12210    test -z "$ac_dir" && ac_dir=.
12211    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12212      lt_cv_path_LD="$ac_dir/$ac_prog"
12213      # Check to see if the program is GNU ld.  I'd rather use --version,
12214      # but apparently some variants of GNU ld only accept -v.
12215      # Break only if it was the GNU/non-GNU ld that we prefer.
12216      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12217      *GNU* | *'with BFD'*)
12218	test "$with_gnu_ld" != no && break
12219	;;
12220      *)
12221	test "$with_gnu_ld" != yes && break
12222	;;
12223      esac
12224    fi
12225  done
12226  IFS="$lt_save_ifs"
12227else
12228  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12229fi
12230fi
12231
12232LD="$lt_cv_path_LD"
12233if test -n "$LD"; then
12234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12235$as_echo "$LD" >&6; }
12236else
12237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12238$as_echo "no" >&6; }
12239fi
12240test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12242$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12243if ${lt_cv_prog_gnu_ld+:} false; then :
12244  $as_echo_n "(cached) " >&6
12245else
12246  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12247case `$LD -v 2>&1 </dev/null` in
12248*GNU* | *'with BFD'*)
12249  lt_cv_prog_gnu_ld=yes
12250  ;;
12251*)
12252  lt_cv_prog_gnu_ld=no
12253  ;;
12254esac
12255fi
12256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12257$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12258with_gnu_ld=$lt_cv_prog_gnu_ld
12259
12260
12261
12262
12263
12264
12265
12266      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12267      # archiving commands below assume that GNU ld is being used.
12268      if test "$with_gnu_ld" = yes; then
12269        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12270        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'
12271
12272        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12273        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12274
12275        # If archive_cmds runs LD, not CC, wlarc should be empty
12276        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12277        #     investigate it a little bit more. (MM)
12278        wlarc='${wl}'
12279
12280        # ancient GNU ld didn't support --whole-archive et. al.
12281        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12282	  $GREP 'no-whole-archive' > /dev/null; then
12283          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12284        else
12285          whole_archive_flag_spec_CXX=
12286        fi
12287      else
12288        with_gnu_ld=no
12289        wlarc=
12290
12291        # A generic and very simple default shared library creation
12292        # command for GNU C++ for the case where it uses the native
12293        # linker, instead of GNU ld.  If possible, this setting should
12294        # overridden to take advantage of the native linker features on
12295        # the platform it is being used on.
12296        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12297      fi
12298
12299      # Commands to make compiler produce verbose output that lists
12300      # what "hidden" libraries, object files and flags are used when
12301      # linking a shared library.
12302      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12303
12304    else
12305      GXX=no
12306      with_gnu_ld=no
12307      wlarc=
12308    fi
12309
12310    # PORTME: fill in a description of your system's C++ link characteristics
12311    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12312$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12313    ld_shlibs_CXX=yes
12314    case $host_os in
12315      aix3*)
12316        # FIXME: insert proper C++ library support
12317        ld_shlibs_CXX=no
12318        ;;
12319      aix[4-9]*)
12320        if test "$host_cpu" = ia64; then
12321          # On IA64, the linker does run time linking by default, so we don't
12322          # have to do anything special.
12323          aix_use_runtimelinking=no
12324          exp_sym_flag='-Bexport'
12325          no_entry_flag=""
12326        else
12327          aix_use_runtimelinking=no
12328
12329          # Test if we are trying to use run time linking or normal
12330          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12331          # need to do runtime linking.
12332          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12333	    for ld_flag in $LDFLAGS; do
12334	      case $ld_flag in
12335	      *-brtl*)
12336	        aix_use_runtimelinking=yes
12337	        break
12338	        ;;
12339	      esac
12340	    done
12341	    ;;
12342          esac
12343
12344          exp_sym_flag='-bexport'
12345          no_entry_flag='-bnoentry'
12346        fi
12347
12348        # When large executables or shared objects are built, AIX ld can
12349        # have problems creating the table of contents.  If linking a library
12350        # or program results in "error TOC overflow" add -mminimal-toc to
12351        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12352        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12353
12354        archive_cmds_CXX=''
12355        hardcode_direct_CXX=yes
12356        hardcode_direct_absolute_CXX=yes
12357        hardcode_libdir_separator_CXX=':'
12358        link_all_deplibs_CXX=yes
12359        file_list_spec_CXX='${wl}-f,'
12360
12361        if test "$GXX" = yes; then
12362          case $host_os in aix4.[012]|aix4.[012].*)
12363          # We only want to do this on AIX 4.2 and lower, the check
12364          # below for broken collect2 doesn't work under 4.3+
12365	  collect2name=`${CC} -print-prog-name=collect2`
12366	  if test -f "$collect2name" &&
12367	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12368	  then
12369	    # We have reworked collect2
12370	    :
12371	  else
12372	    # We have old collect2
12373	    hardcode_direct_CXX=unsupported
12374	    # It fails to find uninstalled libraries when the uninstalled
12375	    # path is not listed in the libpath.  Setting hardcode_minus_L
12376	    # to unsupported forces relinking
12377	    hardcode_minus_L_CXX=yes
12378	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12379	    hardcode_libdir_separator_CXX=
12380	  fi
12381          esac
12382          shared_flag='-shared'
12383	  if test "$aix_use_runtimelinking" = yes; then
12384	    shared_flag="$shared_flag "'${wl}-G'
12385	  fi
12386        else
12387          # not using gcc
12388          if test "$host_cpu" = ia64; then
12389	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12390	  # chokes on -Wl,-G. The following line is correct:
12391	  shared_flag='-G'
12392          else
12393	    if test "$aix_use_runtimelinking" = yes; then
12394	      shared_flag='${wl}-G'
12395	    else
12396	      shared_flag='${wl}-bM:SRE'
12397	    fi
12398          fi
12399        fi
12400
12401        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12402        # It seems that -bexpall does not export symbols beginning with
12403        # underscore (_), so it is better to generate a list of symbols to
12404	# export.
12405        always_export_symbols_CXX=yes
12406        if test "$aix_use_runtimelinking" = yes; then
12407          # Warning - without using the other runtime loading flags (-brtl),
12408          # -berok will link without error, but may produce a broken library.
12409          allow_undefined_flag_CXX='-berok'
12410          # Determine the default libpath from the value encoded in an empty
12411          # executable.
12412          if test "${lt_cv_aix_libpath+set}" = set; then
12413  aix_libpath=$lt_cv_aix_libpath
12414else
12415  if ${lt_cv_aix_libpath__CXX+:} false; then :
12416  $as_echo_n "(cached) " >&6
12417else
12418  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419/* end confdefs.h.  */
12420
12421int
12422main ()
12423{
12424
12425  ;
12426  return 0;
12427}
12428_ACEOF
12429if ac_fn_cxx_try_link "$LINENO"; then :
12430
12431  lt_aix_libpath_sed='
12432      /Import File Strings/,/^$/ {
12433	  /^0/ {
12434	      s/^0  *\([^ ]*\) *$/\1/
12435	      p
12436	  }
12437      }'
12438  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12439  # Check for a 64-bit object if we didn't find anything.
12440  if test -z "$lt_cv_aix_libpath__CXX"; then
12441    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12442  fi
12443fi
12444rm -f core conftest.err conftest.$ac_objext \
12445    conftest$ac_exeext conftest.$ac_ext
12446  if test -z "$lt_cv_aix_libpath__CXX"; then
12447    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12448  fi
12449
12450fi
12451
12452  aix_libpath=$lt_cv_aix_libpath__CXX
12453fi
12454
12455          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12456
12457          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"
12458        else
12459          if test "$host_cpu" = ia64; then
12460	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12461	    allow_undefined_flag_CXX="-z nodefs"
12462	    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"
12463          else
12464	    # Determine the default libpath from the value encoded in an
12465	    # empty executable.
12466	    if test "${lt_cv_aix_libpath+set}" = set; then
12467  aix_libpath=$lt_cv_aix_libpath
12468else
12469  if ${lt_cv_aix_libpath__CXX+:} false; then :
12470  $as_echo_n "(cached) " >&6
12471else
12472  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12473/* end confdefs.h.  */
12474
12475int
12476main ()
12477{
12478
12479  ;
12480  return 0;
12481}
12482_ACEOF
12483if ac_fn_cxx_try_link "$LINENO"; then :
12484
12485  lt_aix_libpath_sed='
12486      /Import File Strings/,/^$/ {
12487	  /^0/ {
12488	      s/^0  *\([^ ]*\) *$/\1/
12489	      p
12490	  }
12491      }'
12492  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12493  # Check for a 64-bit object if we didn't find anything.
12494  if test -z "$lt_cv_aix_libpath__CXX"; then
12495    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12496  fi
12497fi
12498rm -f core conftest.err conftest.$ac_objext \
12499    conftest$ac_exeext conftest.$ac_ext
12500  if test -z "$lt_cv_aix_libpath__CXX"; then
12501    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12502  fi
12503
12504fi
12505
12506  aix_libpath=$lt_cv_aix_libpath__CXX
12507fi
12508
12509	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12510	    # Warning - without using the other run time loading flags,
12511	    # -berok will link without error, but may produce a broken library.
12512	    no_undefined_flag_CXX=' ${wl}-bernotok'
12513	    allow_undefined_flag_CXX=' ${wl}-berok'
12514	    if test "$with_gnu_ld" = yes; then
12515	      # We only use this code for GNU lds that support --whole-archive.
12516	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12517	    else
12518	      # Exported symbols can be pulled into shared objects from archives
12519	      whole_archive_flag_spec_CXX='$convenience'
12520	    fi
12521	    archive_cmds_need_lc_CXX=yes
12522	    # This is similar to how AIX traditionally builds its shared
12523	    # libraries.
12524	    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'
12525          fi
12526        fi
12527        ;;
12528
12529      beos*)
12530	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12531	  allow_undefined_flag_CXX=unsupported
12532	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12533	  # support --undefined.  This deserves some investigation.  FIXME
12534	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12535	else
12536	  ld_shlibs_CXX=no
12537	fi
12538	;;
12539
12540      chorus*)
12541        case $cc_basename in
12542          *)
12543	  # FIXME: insert proper C++ library support
12544	  ld_shlibs_CXX=no
12545	  ;;
12546        esac
12547        ;;
12548
12549      cygwin* | mingw* | pw32* | cegcc*)
12550	case $GXX,$cc_basename in
12551	,cl* | no,cl*)
12552	  # Native MSVC
12553	  # hardcode_libdir_flag_spec is actually meaningless, as there is
12554	  # no search path for DLLs.
12555	  hardcode_libdir_flag_spec_CXX=' '
12556	  allow_undefined_flag_CXX=unsupported
12557	  always_export_symbols_CXX=yes
12558	  file_list_spec_CXX='@'
12559	  # Tell ltmain to make .lib files, not .a files.
12560	  libext=lib
12561	  # Tell ltmain to make .dll files, not .so files.
12562	  shrext_cmds=".dll"
12563	  # FIXME: Setting linknames here is a bad hack.
12564	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12565	  archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12566	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12567	    else
12568	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12569	    fi~
12570	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12571	    linknames='
12572	  # The linker will not automatically build a static lib if we build a DLL.
12573	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12574	  enable_shared_with_static_runtimes_CXX=yes
12575	  # Don't use ranlib
12576	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
12577	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12578	    lt_tool_outputfile="@TOOL_OUTPUT@"~
12579	    case $lt_outputfile in
12580	      *.exe|*.EXE) ;;
12581	      *)
12582		lt_outputfile="$lt_outputfile.exe"
12583		lt_tool_outputfile="$lt_tool_outputfile.exe"
12584		;;
12585	    esac~
12586	    func_to_tool_file "$lt_outputfile"~
12587	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12588	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12589	      $RM "$lt_outputfile.manifest";
12590	    fi'
12591	  ;;
12592	*)
12593	  # g++
12594	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12595	  # as there is no search path for DLLs.
12596	  hardcode_libdir_flag_spec_CXX='-L$libdir'
12597	  export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12598	  allow_undefined_flag_CXX=unsupported
12599	  always_export_symbols_CXX=no
12600	  enable_shared_with_static_runtimes_CXX=yes
12601
12602	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12603	    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'
12604	    # If the export-symbols file already is a .def file (1st line
12605	    # is EXPORTS), use it as is; otherwise, prepend...
12606	    archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12607	      cp $export_symbols $output_objdir/$soname.def;
12608	    else
12609	      echo EXPORTS > $output_objdir/$soname.def;
12610	      cat $export_symbols >> $output_objdir/$soname.def;
12611	    fi~
12612	    $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'
12613	  else
12614	    ld_shlibs_CXX=no
12615	  fi
12616	  ;;
12617	esac
12618	;;
12619      darwin* | rhapsody*)
12620
12621
12622  archive_cmds_need_lc_CXX=no
12623  hardcode_direct_CXX=no
12624  hardcode_automatic_CXX=yes
12625  hardcode_shlibpath_var_CXX=unsupported
12626  if test "$lt_cv_ld_force_load" = "yes"; then
12627    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\"`'
12628
12629  else
12630    whole_archive_flag_spec_CXX=''
12631  fi
12632  link_all_deplibs_CXX=yes
12633  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12634  case $cc_basename in
12635     ifort*) _lt_dar_can_shared=yes ;;
12636     *) _lt_dar_can_shared=$GCC ;;
12637  esac
12638  if test "$_lt_dar_can_shared" = "yes"; then
12639    output_verbose_link_cmd=func_echo_all
12640    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}"
12641    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12642    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}"
12643    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}"
12644       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12645      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}"
12646      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}"
12647    fi
12648
12649  else
12650  ld_shlibs_CXX=no
12651  fi
12652
12653	;;
12654
12655      dgux*)
12656        case $cc_basename in
12657          ec++*)
12658	    # FIXME: insert proper C++ library support
12659	    ld_shlibs_CXX=no
12660	    ;;
12661          ghcx*)
12662	    # Green Hills C++ Compiler
12663	    # FIXME: insert proper C++ library support
12664	    ld_shlibs_CXX=no
12665	    ;;
12666          *)
12667	    # FIXME: insert proper C++ library support
12668	    ld_shlibs_CXX=no
12669	    ;;
12670        esac
12671        ;;
12672
12673      freebsd2.*)
12674        # C++ shared libraries reported to be fairly broken before
12675	# switch to ELF
12676        ld_shlibs_CXX=no
12677        ;;
12678
12679      freebsd-elf*)
12680        archive_cmds_need_lc_CXX=no
12681        ;;
12682
12683      freebsd* | dragonfly*)
12684        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12685        # conventions
12686        ld_shlibs_CXX=yes
12687        ;;
12688
12689      haiku*)
12690        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12691        link_all_deplibs_CXX=yes
12692        ;;
12693
12694      hpux9*)
12695        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12696        hardcode_libdir_separator_CXX=:
12697        export_dynamic_flag_spec_CXX='${wl}-E'
12698        hardcode_direct_CXX=yes
12699        hardcode_minus_L_CXX=yes # Not in the search PATH,
12700				             # but as the default
12701				             # location of the library.
12702
12703        case $cc_basename in
12704          CC*)
12705            # FIXME: insert proper C++ library support
12706            ld_shlibs_CXX=no
12707            ;;
12708          aCC*)
12709            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'
12710            # Commands to make compiler produce verbose output that lists
12711            # what "hidden" libraries, object files and flags are used when
12712            # linking a shared library.
12713            #
12714            # There doesn't appear to be a way to prevent this compiler from
12715            # explicitly linking system object files so we need to strip them
12716            # from the output so that they don't get included in the library
12717            # dependencies.
12718            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"'
12719            ;;
12720          *)
12721            if test "$GXX" = yes; then
12722              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'
12723            else
12724              # FIXME: insert proper C++ library support
12725              ld_shlibs_CXX=no
12726            fi
12727            ;;
12728        esac
12729        ;;
12730
12731      hpux10*|hpux11*)
12732        if test $with_gnu_ld = no; then
12733	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12734	  hardcode_libdir_separator_CXX=:
12735
12736          case $host_cpu in
12737            hppa*64*|ia64*)
12738              ;;
12739            *)
12740	      export_dynamic_flag_spec_CXX='${wl}-E'
12741              ;;
12742          esac
12743        fi
12744        case $host_cpu in
12745          hppa*64*|ia64*)
12746            hardcode_direct_CXX=no
12747            hardcode_shlibpath_var_CXX=no
12748            ;;
12749          *)
12750            hardcode_direct_CXX=yes
12751            hardcode_direct_absolute_CXX=yes
12752            hardcode_minus_L_CXX=yes # Not in the search PATH,
12753					         # but as the default
12754					         # location of the library.
12755            ;;
12756        esac
12757
12758        case $cc_basename in
12759          CC*)
12760	    # FIXME: insert proper C++ library support
12761	    ld_shlibs_CXX=no
12762	    ;;
12763          aCC*)
12764	    case $host_cpu in
12765	      hppa*64*)
12766	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12767	        ;;
12768	      ia64*)
12769	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12770	        ;;
12771	      *)
12772	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12773	        ;;
12774	    esac
12775	    # Commands to make compiler produce verbose output that lists
12776	    # what "hidden" libraries, object files and flags are used when
12777	    # linking a shared library.
12778	    #
12779	    # There doesn't appear to be a way to prevent this compiler from
12780	    # explicitly linking system object files so we need to strip them
12781	    # from the output so that they don't get included in the library
12782	    # dependencies.
12783	    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"'
12784	    ;;
12785          *)
12786	    if test "$GXX" = yes; then
12787	      if test $with_gnu_ld = no; then
12788	        case $host_cpu in
12789	          hppa*64*)
12790	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12791	            ;;
12792	          ia64*)
12793	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12794	            ;;
12795	          *)
12796	            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'
12797	            ;;
12798	        esac
12799	      fi
12800	    else
12801	      # FIXME: insert proper C++ library support
12802	      ld_shlibs_CXX=no
12803	    fi
12804	    ;;
12805        esac
12806        ;;
12807
12808      interix[3-9]*)
12809	hardcode_direct_CXX=no
12810	hardcode_shlibpath_var_CXX=no
12811	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12812	export_dynamic_flag_spec_CXX='${wl}-E'
12813	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12814	# Instead, shared libraries are loaded at an image base (0x10000000 by
12815	# default) and relocated if they conflict, which is a slow very memory
12816	# consuming and fragmenting process.  To avoid this, we pick a random,
12817	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12818	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12819	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'
12820	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'
12821	;;
12822      irix5* | irix6*)
12823        case $cc_basename in
12824          CC*)
12825	    # SGI C++
12826	    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'
12827
12828	    # Archives containing C++ object files must be created using
12829	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12830	    # necessary to make sure instantiated templates are included
12831	    # in the archive.
12832	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12833	    ;;
12834          *)
12835	    if test "$GXX" = yes; then
12836	      if test "$with_gnu_ld" = no; then
12837	        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'
12838	      else
12839	        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'
12840	      fi
12841	    fi
12842	    link_all_deplibs_CXX=yes
12843	    ;;
12844        esac
12845        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12846        hardcode_libdir_separator_CXX=:
12847        inherit_rpath_CXX=yes
12848        ;;
12849
12850      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12851        case $cc_basename in
12852          KCC*)
12853	    # Kuck and Associates, Inc. (KAI) C++ Compiler
12854
12855	    # KCC will only create a shared library if the output file
12856	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
12857	    # to its proper name (with version) after linking.
12858	    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'
12859	    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'
12860	    # Commands to make compiler produce verbose output that lists
12861	    # what "hidden" libraries, object files and flags are used when
12862	    # linking a shared library.
12863	    #
12864	    # There doesn't appear to be a way to prevent this compiler from
12865	    # explicitly linking system object files so we need to strip them
12866	    # from the output so that they don't get included in the library
12867	    # dependencies.
12868	    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"'
12869
12870	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12871	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12872
12873	    # Archives containing C++ object files must be created using
12874	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12875	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12876	    ;;
12877	  icpc* | ecpc* )
12878	    # Intel C++
12879	    with_gnu_ld=yes
12880	    # version 8.0 and above of icpc choke on multiply defined symbols
12881	    # if we add $predep_objects and $postdep_objects, however 7.1 and
12882	    # earlier do not add the objects themselves.
12883	    case `$CC -V 2>&1` in
12884	      *"Version 7."*)
12885	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12886		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'
12887		;;
12888	      *)  # Version 8.0 or newer
12889	        tmp_idyn=
12890	        case $host_cpu in
12891		  ia64*) tmp_idyn=' -i_dynamic';;
12892		esac
12893	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12894		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'
12895		;;
12896	    esac
12897	    archive_cmds_need_lc_CXX=no
12898	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12899	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12900	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12901	    ;;
12902          pgCC* | pgcpp*)
12903            # Portland Group C++ compiler
12904	    case `$CC -V` in
12905	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12906	      prelink_cmds_CXX='tpldir=Template.dir~
12907		rm -rf $tpldir~
12908		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12909		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12910	      old_archive_cmds_CXX='tpldir=Template.dir~
12911		rm -rf $tpldir~
12912		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12913		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12914		$RANLIB $oldlib'
12915	      archive_cmds_CXX='tpldir=Template.dir~
12916		rm -rf $tpldir~
12917		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12918		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12919	      archive_expsym_cmds_CXX='tpldir=Template.dir~
12920		rm -rf $tpldir~
12921		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12922		$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'
12923	      ;;
12924	    *) # Version 6 and above use weak symbols
12925	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12926	      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'
12927	      ;;
12928	    esac
12929
12930	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12931	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12932	    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'
12933            ;;
12934	  cxx*)
12935	    # Compaq C++
12936	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12937	    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'
12938
12939	    runpath_var=LD_RUN_PATH
12940	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12941	    hardcode_libdir_separator_CXX=:
12942
12943	    # Commands to make compiler produce verbose output that lists
12944	    # what "hidden" libraries, object files and flags are used when
12945	    # linking a shared library.
12946	    #
12947	    # There doesn't appear to be a way to prevent this compiler from
12948	    # explicitly linking system object files so we need to strip them
12949	    # from the output so that they don't get included in the library
12950	    # dependencies.
12951	    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'
12952	    ;;
12953	  xl* | mpixl* | bgxl*)
12954	    # IBM XL 8.0 on PPC, with GNU ld
12955	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12956	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12957	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12958	    if test "x$supports_anon_versioning" = xyes; then
12959	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12960		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12961		echo "local: *; };" >> $output_objdir/$libname.ver~
12962		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12963	    fi
12964	    ;;
12965	  *)
12966	    case `$CC -V 2>&1 | sed 5q` in
12967	    *Sun\ C*)
12968	      # Sun C++ 5.9
12969	      no_undefined_flag_CXX=' -zdefs'
12970	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12971	      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'
12972	      hardcode_libdir_flag_spec_CXX='-R$libdir'
12973	      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'
12974	      compiler_needs_object_CXX=yes
12975
12976	      # Not sure whether something based on
12977	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12978	      # would be better.
12979	      output_verbose_link_cmd='func_echo_all'
12980
12981	      # Archives containing C++ object files must be created using
12982	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12983	      # necessary to make sure instantiated templates are included
12984	      # in the archive.
12985	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12986	      ;;
12987	    esac
12988	    ;;
12989	esac
12990	;;
12991
12992      lynxos*)
12993        # FIXME: insert proper C++ library support
12994	ld_shlibs_CXX=no
12995	;;
12996
12997      m88k*)
12998        # FIXME: insert proper C++ library support
12999        ld_shlibs_CXX=no
13000	;;
13001
13002      mvs*)
13003        case $cc_basename in
13004          cxx*)
13005	    # FIXME: insert proper C++ library support
13006	    ld_shlibs_CXX=no
13007	    ;;
13008	  *)
13009	    # FIXME: insert proper C++ library support
13010	    ld_shlibs_CXX=no
13011	    ;;
13012	esac
13013	;;
13014
13015      netbsd*)
13016        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13017	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13018	  wlarc=
13019	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13020	  hardcode_direct_CXX=yes
13021	  hardcode_shlibpath_var_CXX=no
13022	fi
13023	# Workaround some broken pre-1.5 toolchains
13024	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13025	;;
13026
13027      *nto* | *qnx*)
13028        ld_shlibs_CXX=yes
13029	;;
13030
13031      openbsd2*)
13032        # C++ shared libraries are fairly broken
13033	ld_shlibs_CXX=no
13034	;;
13035
13036      openbsd*)
13037	if test -f /usr/libexec/ld.so; then
13038	  hardcode_direct_CXX=yes
13039	  hardcode_shlibpath_var_CXX=no
13040	  hardcode_direct_absolute_CXX=yes
13041	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13042	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13043	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13044	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13045	    export_dynamic_flag_spec_CXX='${wl}-E'
13046	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13047	  fi
13048	  output_verbose_link_cmd=func_echo_all
13049	else
13050	  ld_shlibs_CXX=no
13051	fi
13052	;;
13053
13054      osf3* | osf4* | osf5*)
13055        case $cc_basename in
13056          KCC*)
13057	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13058
13059	    # KCC will only create a shared library if the output file
13060	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13061	    # to its proper name (with version) after linking.
13062	    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'
13063
13064	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13065	    hardcode_libdir_separator_CXX=:
13066
13067	    # Archives containing C++ object files must be created using
13068	    # the KAI C++ compiler.
13069	    case $host in
13070	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13071	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13072	    esac
13073	    ;;
13074          RCC*)
13075	    # Rational C++ 2.4.1
13076	    # FIXME: insert proper C++ library support
13077	    ld_shlibs_CXX=no
13078	    ;;
13079          cxx*)
13080	    case $host in
13081	      osf3*)
13082	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13083	        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'
13084	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13085		;;
13086	      *)
13087	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13088	        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'
13089	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13090	          echo "-hidden">> $lib.exp~
13091	          $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~
13092	          $RM $lib.exp'
13093	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13094		;;
13095	    esac
13096
13097	    hardcode_libdir_separator_CXX=:
13098
13099	    # Commands to make compiler produce verbose output that lists
13100	    # what "hidden" libraries, object files and flags are used when
13101	    # linking a shared library.
13102	    #
13103	    # There doesn't appear to be a way to prevent this compiler from
13104	    # explicitly linking system object files so we need to strip them
13105	    # from the output so that they don't get included in the library
13106	    # dependencies.
13107	    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"'
13108	    ;;
13109	  *)
13110	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13111	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13112	      case $host in
13113	        osf3*)
13114	          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'
13115		  ;;
13116	        *)
13117	          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'
13118		  ;;
13119	      esac
13120
13121	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13122	      hardcode_libdir_separator_CXX=:
13123
13124	      # Commands to make compiler produce verbose output that lists
13125	      # what "hidden" libraries, object files and flags are used when
13126	      # linking a shared library.
13127	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13128
13129	    else
13130	      # FIXME: insert proper C++ library support
13131	      ld_shlibs_CXX=no
13132	    fi
13133	    ;;
13134        esac
13135        ;;
13136
13137      psos*)
13138        # FIXME: insert proper C++ library support
13139        ld_shlibs_CXX=no
13140        ;;
13141
13142      sunos4*)
13143        case $cc_basename in
13144          CC*)
13145	    # Sun C++ 4.x
13146	    # FIXME: insert proper C++ library support
13147	    ld_shlibs_CXX=no
13148	    ;;
13149          lcc*)
13150	    # Lucid
13151	    # FIXME: insert proper C++ library support
13152	    ld_shlibs_CXX=no
13153	    ;;
13154          *)
13155	    # FIXME: insert proper C++ library support
13156	    ld_shlibs_CXX=no
13157	    ;;
13158        esac
13159        ;;
13160
13161      solaris*)
13162        case $cc_basename in
13163          CC* | sunCC*)
13164	    # Sun C++ 4.2, 5.x and Centerline C++
13165            archive_cmds_need_lc_CXX=yes
13166	    no_undefined_flag_CXX=' -zdefs'
13167	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13168	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13169	      $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'
13170
13171	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13172	    hardcode_shlibpath_var_CXX=no
13173	    case $host_os in
13174	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13175	      *)
13176		# The compiler driver will combine and reorder linker options,
13177		# but understands `-z linker_flag'.
13178	        # Supported since Solaris 2.6 (maybe 2.5.1?)
13179		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13180	        ;;
13181	    esac
13182	    link_all_deplibs_CXX=yes
13183
13184	    output_verbose_link_cmd='func_echo_all'
13185
13186	    # Archives containing C++ object files must be created using
13187	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13188	    # necessary to make sure instantiated templates are included
13189	    # in the archive.
13190	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13191	    ;;
13192          gcx*)
13193	    # Green Hills C++ Compiler
13194	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13195
13196	    # The C++ compiler must be used to create the archive.
13197	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13198	    ;;
13199          *)
13200	    # GNU C++ compiler with Solaris linker
13201	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13202	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13203	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13204	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13205	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13206		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13207
13208	        # Commands to make compiler produce verbose output that lists
13209	        # what "hidden" libraries, object files and flags are used when
13210	        # linking a shared library.
13211	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13212	      else
13213	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
13214	        # platform.
13215	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13216	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13217		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13218
13219	        # Commands to make compiler produce verbose output that lists
13220	        # what "hidden" libraries, object files and flags are used when
13221	        # linking a shared library.
13222	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13223	      fi
13224
13225	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13226	      case $host_os in
13227		solaris2.[0-5] | solaris2.[0-5].*) ;;
13228		*)
13229		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13230		  ;;
13231	      esac
13232	    fi
13233	    ;;
13234        esac
13235        ;;
13236
13237    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13238      no_undefined_flag_CXX='${wl}-z,text'
13239      archive_cmds_need_lc_CXX=no
13240      hardcode_shlibpath_var_CXX=no
13241      runpath_var='LD_RUN_PATH'
13242
13243      case $cc_basename in
13244        CC*)
13245	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13246	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13247	  ;;
13248	*)
13249	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13251	  ;;
13252      esac
13253      ;;
13254
13255      sysv5* | sco3.2v5* | sco5v6*)
13256	# Note: We can NOT use -z defs as we might desire, because we do not
13257	# link with -lc, and that would cause any symbols used from libc to
13258	# always be unresolved, which means just about no library would
13259	# ever link correctly.  If we're not using GNU ld we use -z text
13260	# though, which does catch some bad symbols but isn't as heavy-handed
13261	# as -z defs.
13262	no_undefined_flag_CXX='${wl}-z,text'
13263	allow_undefined_flag_CXX='${wl}-z,nodefs'
13264	archive_cmds_need_lc_CXX=no
13265	hardcode_shlibpath_var_CXX=no
13266	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13267	hardcode_libdir_separator_CXX=':'
13268	link_all_deplibs_CXX=yes
13269	export_dynamic_flag_spec_CXX='${wl}-Bexport'
13270	runpath_var='LD_RUN_PATH'
13271
13272	case $cc_basename in
13273          CC*)
13274	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13275	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13276	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13277	      '"$old_archive_cmds_CXX"
13278	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13279	      '"$reload_cmds_CXX"
13280	    ;;
13281	  *)
13282	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13283	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13284	    ;;
13285	esac
13286      ;;
13287
13288      tandem*)
13289        case $cc_basename in
13290          NCC*)
13291	    # NonStop-UX NCC 3.20
13292	    # FIXME: insert proper C++ library support
13293	    ld_shlibs_CXX=no
13294	    ;;
13295          *)
13296	    # FIXME: insert proper C++ library support
13297	    ld_shlibs_CXX=no
13298	    ;;
13299        esac
13300        ;;
13301
13302      vxworks*)
13303        # FIXME: insert proper C++ library support
13304        ld_shlibs_CXX=no
13305        ;;
13306
13307      *)
13308        # FIXME: insert proper C++ library support
13309        ld_shlibs_CXX=no
13310        ;;
13311    esac
13312
13313    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13314$as_echo "$ld_shlibs_CXX" >&6; }
13315    test "$ld_shlibs_CXX" = no && can_build_shared=no
13316
13317    GCC_CXX="$GXX"
13318    LD_CXX="$LD"
13319
13320    ## CAVEAT EMPTOR:
13321    ## There is no encapsulation within the following macros, do not change
13322    ## the running order or otherwise move them around unless you know exactly
13323    ## what you are doing...
13324    # Dependencies to place before and after the object being linked:
13325predep_objects_CXX=
13326postdep_objects_CXX=
13327predeps_CXX=
13328postdeps_CXX=
13329compiler_lib_search_path_CXX=
13330
13331cat > conftest.$ac_ext <<_LT_EOF
13332class Foo
13333{
13334public:
13335  Foo (void) { a = 0; }
13336private:
13337  int a;
13338};
13339_LT_EOF
13340
13341
13342_lt_libdeps_save_CFLAGS=$CFLAGS
13343case "$CC $CFLAGS " in #(
13344*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13345*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13346*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13347esac
13348
13349if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13350  (eval $ac_compile) 2>&5
13351  ac_status=$?
13352  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13353  test $ac_status = 0; }; then
13354  # Parse the compiler output and extract the necessary
13355  # objects, libraries and library flags.
13356
13357  # Sentinel used to keep track of whether or not we are before
13358  # the conftest object file.
13359  pre_test_object_deps_done=no
13360
13361  for p in `eval "$output_verbose_link_cmd"`; do
13362    case ${prev}${p} in
13363
13364    -L* | -R* | -l*)
13365       # Some compilers place space between "-{L,R}" and the path.
13366       # Remove the space.
13367       if test $p = "-L" ||
13368          test $p = "-R"; then
13369	 prev=$p
13370	 continue
13371       fi
13372
13373       # Expand the sysroot to ease extracting the directories later.
13374       if test -z "$prev"; then
13375         case $p in
13376         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13377         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13378         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13379         esac
13380       fi
13381       case $p in
13382       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13383       esac
13384       if test "$pre_test_object_deps_done" = no; then
13385	 case ${prev} in
13386	 -L | -R)
13387	   # Internal compiler library paths should come after those
13388	   # provided the user.  The postdeps already come after the
13389	   # user supplied libs so there is no need to process them.
13390	   if test -z "$compiler_lib_search_path_CXX"; then
13391	     compiler_lib_search_path_CXX="${prev}${p}"
13392	   else
13393	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13394	   fi
13395	   ;;
13396	 # The "-l" case would never come before the object being
13397	 # linked, so don't bother handling this case.
13398	 esac
13399       else
13400	 if test -z "$postdeps_CXX"; then
13401	   postdeps_CXX="${prev}${p}"
13402	 else
13403	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13404	 fi
13405       fi
13406       prev=
13407       ;;
13408
13409    *.lto.$objext) ;; # Ignore GCC LTO objects
13410    *.$objext)
13411       # This assumes that the test object file only shows up
13412       # once in the compiler output.
13413       if test "$p" = "conftest.$objext"; then
13414	 pre_test_object_deps_done=yes
13415	 continue
13416       fi
13417
13418       if test "$pre_test_object_deps_done" = no; then
13419	 if test -z "$predep_objects_CXX"; then
13420	   predep_objects_CXX="$p"
13421	 else
13422	   predep_objects_CXX="$predep_objects_CXX $p"
13423	 fi
13424       else
13425	 if test -z "$postdep_objects_CXX"; then
13426	   postdep_objects_CXX="$p"
13427	 else
13428	   postdep_objects_CXX="$postdep_objects_CXX $p"
13429	 fi
13430       fi
13431       ;;
13432
13433    *) ;; # Ignore the rest.
13434
13435    esac
13436  done
13437
13438  # Clean up.
13439  rm -f a.out a.exe
13440else
13441  echo "libtool.m4: error: problem compiling CXX test program"
13442fi
13443
13444$RM -f confest.$objext
13445CFLAGS=$_lt_libdeps_save_CFLAGS
13446
13447# PORTME: override above test on systems where it is broken
13448case $host_os in
13449interix[3-9]*)
13450  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13451  # hack all around it, let's just trust "g++" to DTRT.
13452  predep_objects_CXX=
13453  postdep_objects_CXX=
13454  postdeps_CXX=
13455  ;;
13456
13457linux*)
13458  case `$CC -V 2>&1 | sed 5q` in
13459  *Sun\ C*)
13460    # Sun C++ 5.9
13461
13462    # The more standards-conforming stlport4 library is
13463    # incompatible with the Cstd library. Avoid specifying
13464    # it if it's in CXXFLAGS. Ignore libCrun as
13465    # -library=stlport4 depends on it.
13466    case " $CXX $CXXFLAGS " in
13467    *" -library=stlport4 "*)
13468      solaris_use_stlport4=yes
13469      ;;
13470    esac
13471
13472    if test "$solaris_use_stlport4" != yes; then
13473      postdeps_CXX='-library=Cstd -library=Crun'
13474    fi
13475    ;;
13476  esac
13477  ;;
13478
13479solaris*)
13480  case $cc_basename in
13481  CC* | sunCC*)
13482    # The more standards-conforming stlport4 library is
13483    # incompatible with the Cstd library. Avoid specifying
13484    # it if it's in CXXFLAGS. Ignore libCrun as
13485    # -library=stlport4 depends on it.
13486    case " $CXX $CXXFLAGS " in
13487    *" -library=stlport4 "*)
13488      solaris_use_stlport4=yes
13489      ;;
13490    esac
13491
13492    # Adding this requires a known-good setup of shared libraries for
13493    # Sun compiler versions before 5.6, else PIC objects from an old
13494    # archive will be linked into the output, leading to subtle bugs.
13495    if test "$solaris_use_stlport4" != yes; then
13496      postdeps_CXX='-library=Cstd -library=Crun'
13497    fi
13498    ;;
13499  esac
13500  ;;
13501esac
13502
13503
13504case " $postdeps_CXX " in
13505*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13506esac
13507 compiler_lib_search_dirs_CXX=
13508if test -n "${compiler_lib_search_path_CXX}"; then
13509 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13510fi
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542    lt_prog_compiler_wl_CXX=
13543lt_prog_compiler_pic_CXX=
13544lt_prog_compiler_static_CXX=
13545
13546
13547  # C++ specific cases for pic, static, wl, etc.
13548  if test "$GXX" = yes; then
13549    lt_prog_compiler_wl_CXX='-Wl,'
13550    lt_prog_compiler_static_CXX='-static'
13551
13552    case $host_os in
13553    aix*)
13554      # All AIX code is PIC.
13555      if test "$host_cpu" = ia64; then
13556	# AIX 5 now supports IA64 processor
13557	lt_prog_compiler_static_CXX='-Bstatic'
13558      fi
13559      ;;
13560
13561    amigaos*)
13562      case $host_cpu in
13563      powerpc)
13564            # see comment about AmigaOS4 .so support
13565            lt_prog_compiler_pic_CXX='-fPIC'
13566        ;;
13567      m68k)
13568            # FIXME: we need at least 68020 code to build shared libraries, but
13569            # adding the `-m68020' flag to GCC prevents building anything better,
13570            # like `-m68040'.
13571            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13572        ;;
13573      esac
13574      ;;
13575
13576    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13577      # PIC is the default for these OSes.
13578      ;;
13579    mingw* | cygwin* | os2* | pw32* | cegcc*)
13580      # This hack is so that the source file can tell whether it is being
13581      # built for inclusion in a dll (and should export symbols for example).
13582      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13583      # (--disable-auto-import) libraries
13584      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13585      ;;
13586    darwin* | rhapsody*)
13587      # PIC is the default on this platform
13588      # Common symbols not allowed in MH_DYLIB files
13589      lt_prog_compiler_pic_CXX='-fno-common'
13590      ;;
13591    *djgpp*)
13592      # DJGPP does not support shared libraries at all
13593      lt_prog_compiler_pic_CXX=
13594      ;;
13595    haiku*)
13596      # PIC is the default for Haiku.
13597      # The "-static" flag exists, but is broken.
13598      lt_prog_compiler_static_CXX=
13599      ;;
13600    interix[3-9]*)
13601      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13602      # Instead, we relocate shared libraries at runtime.
13603      ;;
13604    sysv4*MP*)
13605      if test -d /usr/nec; then
13606	lt_prog_compiler_pic_CXX=-Kconform_pic
13607      fi
13608      ;;
13609    hpux*)
13610      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13611      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13612      # sets the default TLS model and affects inlining.
13613      case $host_cpu in
13614      hppa*64*)
13615	;;
13616      *)
13617	lt_prog_compiler_pic_CXX='-fPIC'
13618	;;
13619      esac
13620      ;;
13621    *qnx* | *nto*)
13622      # QNX uses GNU C++, but need to define -shared option too, otherwise
13623      # it will coredump.
13624      lt_prog_compiler_pic_CXX='-fPIC -shared'
13625      ;;
13626    *)
13627      lt_prog_compiler_pic_CXX='-fPIC'
13628      ;;
13629    esac
13630  else
13631    case $host_os in
13632      aix[4-9]*)
13633	# All AIX code is PIC.
13634	if test "$host_cpu" = ia64; then
13635	  # AIX 5 now supports IA64 processor
13636	  lt_prog_compiler_static_CXX='-Bstatic'
13637	else
13638	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13639	fi
13640	;;
13641      chorus*)
13642	case $cc_basename in
13643	cxch68*)
13644	  # Green Hills C++ Compiler
13645	  # _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"
13646	  ;;
13647	esac
13648	;;
13649      mingw* | cygwin* | os2* | pw32* | cegcc*)
13650	# This hack is so that the source file can tell whether it is being
13651	# built for inclusion in a dll (and should export symbols for example).
13652	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13653	;;
13654      dgux*)
13655	case $cc_basename in
13656	  ec++*)
13657	    lt_prog_compiler_pic_CXX='-KPIC'
13658	    ;;
13659	  ghcx*)
13660	    # Green Hills C++ Compiler
13661	    lt_prog_compiler_pic_CXX='-pic'
13662	    ;;
13663	  *)
13664	    ;;
13665	esac
13666	;;
13667      freebsd* | dragonfly*)
13668	# FreeBSD uses GNU C++
13669	;;
13670      hpux9* | hpux10* | hpux11*)
13671	case $cc_basename in
13672	  CC*)
13673	    lt_prog_compiler_wl_CXX='-Wl,'
13674	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13675	    if test "$host_cpu" != ia64; then
13676	      lt_prog_compiler_pic_CXX='+Z'
13677	    fi
13678	    ;;
13679	  aCC*)
13680	    lt_prog_compiler_wl_CXX='-Wl,'
13681	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13682	    case $host_cpu in
13683	    hppa*64*|ia64*)
13684	      # +Z the default
13685	      ;;
13686	    *)
13687	      lt_prog_compiler_pic_CXX='+Z'
13688	      ;;
13689	    esac
13690	    ;;
13691	  *)
13692	    ;;
13693	esac
13694	;;
13695      interix*)
13696	# This is c89, which is MS Visual C++ (no shared libs)
13697	# Anyone wants to do a port?
13698	;;
13699      irix5* | irix6* | nonstopux*)
13700	case $cc_basename in
13701	  CC*)
13702	    lt_prog_compiler_wl_CXX='-Wl,'
13703	    lt_prog_compiler_static_CXX='-non_shared'
13704	    # CC pic flag -KPIC is the default.
13705	    ;;
13706	  *)
13707	    ;;
13708	esac
13709	;;
13710      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13711	case $cc_basename in
13712	  KCC*)
13713	    # KAI C++ Compiler
13714	    lt_prog_compiler_wl_CXX='--backend -Wl,'
13715	    lt_prog_compiler_pic_CXX='-fPIC'
13716	    ;;
13717	  ecpc* )
13718	    # old Intel C++ for x86_64 which still supported -KPIC.
13719	    lt_prog_compiler_wl_CXX='-Wl,'
13720	    lt_prog_compiler_pic_CXX='-KPIC'
13721	    lt_prog_compiler_static_CXX='-static'
13722	    ;;
13723	  icpc* )
13724	    # Intel C++, used to be incompatible with GCC.
13725	    # ICC 10 doesn't accept -KPIC any more.
13726	    lt_prog_compiler_wl_CXX='-Wl,'
13727	    lt_prog_compiler_pic_CXX='-fPIC'
13728	    lt_prog_compiler_static_CXX='-static'
13729	    ;;
13730	  pgCC* | pgcpp*)
13731	    # Portland Group C++ compiler
13732	    lt_prog_compiler_wl_CXX='-Wl,'
13733	    lt_prog_compiler_pic_CXX='-fpic'
13734	    lt_prog_compiler_static_CXX='-Bstatic'
13735	    ;;
13736	  cxx*)
13737	    # Compaq C++
13738	    # Make sure the PIC flag is empty.  It appears that all Alpha
13739	    # Linux and Compaq Tru64 Unix objects are PIC.
13740	    lt_prog_compiler_pic_CXX=
13741	    lt_prog_compiler_static_CXX='-non_shared'
13742	    ;;
13743	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13744	    # IBM XL 8.0, 9.0 on PPC and BlueGene
13745	    lt_prog_compiler_wl_CXX='-Wl,'
13746	    lt_prog_compiler_pic_CXX='-qpic'
13747	    lt_prog_compiler_static_CXX='-qstaticlink'
13748	    ;;
13749	  *)
13750	    case `$CC -V 2>&1 | sed 5q` in
13751	    *Sun\ C*)
13752	      # Sun C++ 5.9
13753	      lt_prog_compiler_pic_CXX='-KPIC'
13754	      lt_prog_compiler_static_CXX='-Bstatic'
13755	      lt_prog_compiler_wl_CXX='-Qoption ld '
13756	      ;;
13757	    esac
13758	    ;;
13759	esac
13760	;;
13761      lynxos*)
13762	;;
13763      m88k*)
13764	;;
13765      mvs*)
13766	case $cc_basename in
13767	  cxx*)
13768	    lt_prog_compiler_pic_CXX='-W c,exportall'
13769	    ;;
13770	  *)
13771	    ;;
13772	esac
13773	;;
13774      netbsd* | netbsdelf*-gnu)
13775	;;
13776      *qnx* | *nto*)
13777        # QNX uses GNU C++, but need to define -shared option too, otherwise
13778        # it will coredump.
13779        lt_prog_compiler_pic_CXX='-fPIC -shared'
13780        ;;
13781      osf3* | osf4* | osf5*)
13782	case $cc_basename in
13783	  KCC*)
13784	    lt_prog_compiler_wl_CXX='--backend -Wl,'
13785	    ;;
13786	  RCC*)
13787	    # Rational C++ 2.4.1
13788	    lt_prog_compiler_pic_CXX='-pic'
13789	    ;;
13790	  cxx*)
13791	    # Digital/Compaq C++
13792	    lt_prog_compiler_wl_CXX='-Wl,'
13793	    # Make sure the PIC flag is empty.  It appears that all Alpha
13794	    # Linux and Compaq Tru64 Unix objects are PIC.
13795	    lt_prog_compiler_pic_CXX=
13796	    lt_prog_compiler_static_CXX='-non_shared'
13797	    ;;
13798	  *)
13799	    ;;
13800	esac
13801	;;
13802      psos*)
13803	;;
13804      solaris*)
13805	case $cc_basename in
13806	  CC* | sunCC*)
13807	    # Sun C++ 4.2, 5.x and Centerline C++
13808	    lt_prog_compiler_pic_CXX='-KPIC'
13809	    lt_prog_compiler_static_CXX='-Bstatic'
13810	    lt_prog_compiler_wl_CXX='-Qoption ld '
13811	    ;;
13812	  gcx*)
13813	    # Green Hills C++ Compiler
13814	    lt_prog_compiler_pic_CXX='-PIC'
13815	    ;;
13816	  *)
13817	    ;;
13818	esac
13819	;;
13820      sunos4*)
13821	case $cc_basename in
13822	  CC*)
13823	    # Sun C++ 4.x
13824	    lt_prog_compiler_pic_CXX='-pic'
13825	    lt_prog_compiler_static_CXX='-Bstatic'
13826	    ;;
13827	  lcc*)
13828	    # Lucid
13829	    lt_prog_compiler_pic_CXX='-pic'
13830	    ;;
13831	  *)
13832	    ;;
13833	esac
13834	;;
13835      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13836	case $cc_basename in
13837	  CC*)
13838	    lt_prog_compiler_wl_CXX='-Wl,'
13839	    lt_prog_compiler_pic_CXX='-KPIC'
13840	    lt_prog_compiler_static_CXX='-Bstatic'
13841	    ;;
13842	esac
13843	;;
13844      tandem*)
13845	case $cc_basename in
13846	  NCC*)
13847	    # NonStop-UX NCC 3.20
13848	    lt_prog_compiler_pic_CXX='-KPIC'
13849	    ;;
13850	  *)
13851	    ;;
13852	esac
13853	;;
13854      vxworks*)
13855	;;
13856      *)
13857	lt_prog_compiler_can_build_shared_CXX=no
13858	;;
13859    esac
13860  fi
13861
13862case $host_os in
13863  # For platforms which do not support PIC, -DPIC is meaningless:
13864  *djgpp*)
13865    lt_prog_compiler_pic_CXX=
13866    ;;
13867  *)
13868    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13869    ;;
13870esac
13871
13872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13873$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13874if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13875  $as_echo_n "(cached) " >&6
13876else
13877  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13878fi
13879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13880$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13881lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13882
13883#
13884# Check to make sure the PIC flag actually works.
13885#
13886if test -n "$lt_prog_compiler_pic_CXX"; then
13887  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13888$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13889if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13890  $as_echo_n "(cached) " >&6
13891else
13892  lt_cv_prog_compiler_pic_works_CXX=no
13893   ac_outfile=conftest.$ac_objext
13894   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13895   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13896   # Insert the option either (1) after the last *FLAGS variable, or
13897   # (2) before a word containing "conftest.", or (3) at the end.
13898   # Note that $ac_compile itself does not contain backslashes and begins
13899   # with a dollar sign (not a hyphen), so the echo should work correctly.
13900   # The option is referenced via a variable to avoid confusing sed.
13901   lt_compile=`echo "$ac_compile" | $SED \
13902   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13903   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13904   -e 's:$: $lt_compiler_flag:'`
13905   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13906   (eval "$lt_compile" 2>conftest.err)
13907   ac_status=$?
13908   cat conftest.err >&5
13909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910   if (exit $ac_status) && test -s "$ac_outfile"; then
13911     # The compiler can only warn and ignore the option if not recognized
13912     # So say no if there are warnings other than the usual output.
13913     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13914     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13915     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13916       lt_cv_prog_compiler_pic_works_CXX=yes
13917     fi
13918   fi
13919   $RM conftest*
13920
13921fi
13922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13923$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13924
13925if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13926    case $lt_prog_compiler_pic_CXX in
13927     "" | " "*) ;;
13928     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13929     esac
13930else
13931    lt_prog_compiler_pic_CXX=
13932     lt_prog_compiler_can_build_shared_CXX=no
13933fi
13934
13935fi
13936
13937
13938
13939
13940
13941#
13942# Check to make sure the static flag actually works.
13943#
13944wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13946$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13947if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13948  $as_echo_n "(cached) " >&6
13949else
13950  lt_cv_prog_compiler_static_works_CXX=no
13951   save_LDFLAGS="$LDFLAGS"
13952   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13953   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13954   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13955     # The linker can only warn and ignore the option if not recognized
13956     # So say no if there are warnings
13957     if test -s conftest.err; then
13958       # Append any errors to the config.log.
13959       cat conftest.err 1>&5
13960       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13961       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13962       if diff conftest.exp conftest.er2 >/dev/null; then
13963         lt_cv_prog_compiler_static_works_CXX=yes
13964       fi
13965     else
13966       lt_cv_prog_compiler_static_works_CXX=yes
13967     fi
13968   fi
13969   $RM -r conftest*
13970   LDFLAGS="$save_LDFLAGS"
13971
13972fi
13973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13974$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13975
13976if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13977    :
13978else
13979    lt_prog_compiler_static_CXX=
13980fi
13981
13982
13983
13984
13985    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13986$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13987if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13988  $as_echo_n "(cached) " >&6
13989else
13990  lt_cv_prog_compiler_c_o_CXX=no
13991   $RM -r conftest 2>/dev/null
13992   mkdir conftest
13993   cd conftest
13994   mkdir out
13995   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13996
13997   lt_compiler_flag="-o out/conftest2.$ac_objext"
13998   # Insert the option either (1) after the last *FLAGS variable, or
13999   # (2) before a word containing "conftest.", or (3) at the end.
14000   # Note that $ac_compile itself does not contain backslashes and begins
14001   # with a dollar sign (not a hyphen), so the echo should work correctly.
14002   lt_compile=`echo "$ac_compile" | $SED \
14003   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14004   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14005   -e 's:$: $lt_compiler_flag:'`
14006   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14007   (eval "$lt_compile" 2>out/conftest.err)
14008   ac_status=$?
14009   cat out/conftest.err >&5
14010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14012   then
14013     # The compiler can only warn and ignore the option if not recognized
14014     # So say no if there are warnings
14015     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14016     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14017     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14018       lt_cv_prog_compiler_c_o_CXX=yes
14019     fi
14020   fi
14021   chmod u+w . 2>&5
14022   $RM conftest*
14023   # SGI C++ compiler will create directory out/ii_files/ for
14024   # template instantiation
14025   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14026   $RM out/* && rmdir out
14027   cd ..
14028   $RM -r conftest
14029   $RM conftest*
14030
14031fi
14032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14033$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14034
14035
14036
14037    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14038$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14039if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14040  $as_echo_n "(cached) " >&6
14041else
14042  lt_cv_prog_compiler_c_o_CXX=no
14043   $RM -r conftest 2>/dev/null
14044   mkdir conftest
14045   cd conftest
14046   mkdir out
14047   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14048
14049   lt_compiler_flag="-o out/conftest2.$ac_objext"
14050   # Insert the option either (1) after the last *FLAGS variable, or
14051   # (2) before a word containing "conftest.", or (3) at the end.
14052   # Note that $ac_compile itself does not contain backslashes and begins
14053   # with a dollar sign (not a hyphen), so the echo should work correctly.
14054   lt_compile=`echo "$ac_compile" | $SED \
14055   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14056   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14057   -e 's:$: $lt_compiler_flag:'`
14058   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14059   (eval "$lt_compile" 2>out/conftest.err)
14060   ac_status=$?
14061   cat out/conftest.err >&5
14062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14064   then
14065     # The compiler can only warn and ignore the option if not recognized
14066     # So say no if there are warnings
14067     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14068     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14069     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14070       lt_cv_prog_compiler_c_o_CXX=yes
14071     fi
14072   fi
14073   chmod u+w . 2>&5
14074   $RM conftest*
14075   # SGI C++ compiler will create directory out/ii_files/ for
14076   # template instantiation
14077   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14078   $RM out/* && rmdir out
14079   cd ..
14080   $RM -r conftest
14081   $RM conftest*
14082
14083fi
14084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14085$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14086
14087
14088
14089
14090hard_links="nottested"
14091if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14092  # do not overwrite the value of need_locks provided by the user
14093  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14094$as_echo_n "checking if we can lock with hard links... " >&6; }
14095  hard_links=yes
14096  $RM conftest*
14097  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14098  touch conftest.a
14099  ln conftest.a conftest.b 2>&5 || hard_links=no
14100  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14102$as_echo "$hard_links" >&6; }
14103  if test "$hard_links" = no; then
14104    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14105$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14106    need_locks=warn
14107  fi
14108else
14109  need_locks=no
14110fi
14111
14112
14113
14114    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14115$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14116
14117  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14118  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14119  case $host_os in
14120  aix[4-9]*)
14121    # If we're using GNU nm, then we don't want the "-C" option.
14122    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14123    # Also, AIX nm treats weak defined symbols like other global defined
14124    # symbols, whereas GNU nm marks them as "W".
14125    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14126      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'
14127    else
14128      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'
14129    fi
14130    ;;
14131  pw32*)
14132    export_symbols_cmds_CXX="$ltdll_cmds"
14133    ;;
14134  cygwin* | mingw* | cegcc*)
14135    case $cc_basename in
14136    cl*)
14137      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14138      ;;
14139    *)
14140      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'
14141      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14142      ;;
14143    esac
14144    ;;
14145  linux* | k*bsd*-gnu | gnu*)
14146    link_all_deplibs_CXX=no
14147    ;;
14148  *)
14149    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14150    ;;
14151  esac
14152
14153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14154$as_echo "$ld_shlibs_CXX" >&6; }
14155test "$ld_shlibs_CXX" = no && can_build_shared=no
14156
14157with_gnu_ld_CXX=$with_gnu_ld
14158
14159
14160
14161
14162
14163
14164#
14165# Do we need to explicitly link libc?
14166#
14167case "x$archive_cmds_need_lc_CXX" in
14168x|xyes)
14169  # Assume -lc should be added
14170  archive_cmds_need_lc_CXX=yes
14171
14172  if test "$enable_shared" = yes && test "$GCC" = yes; then
14173    case $archive_cmds_CXX in
14174    *'~'*)
14175      # FIXME: we may have to deal with multi-command sequences.
14176      ;;
14177    '$CC '*)
14178      # Test whether the compiler implicitly links with -lc since on some
14179      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14180      # to ld, don't add -lc before -lgcc.
14181      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14182$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14183if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14184  $as_echo_n "(cached) " >&6
14185else
14186  $RM conftest*
14187	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14188
14189	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14190  (eval $ac_compile) 2>&5
14191  ac_status=$?
14192  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14193  test $ac_status = 0; } 2>conftest.err; then
14194	  soname=conftest
14195	  lib=conftest
14196	  libobjs=conftest.$ac_objext
14197	  deplibs=
14198	  wl=$lt_prog_compiler_wl_CXX
14199	  pic_flag=$lt_prog_compiler_pic_CXX
14200	  compiler_flags=-v
14201	  linker_flags=-v
14202	  verstring=
14203	  output_objdir=.
14204	  libname=conftest
14205	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14206	  allow_undefined_flag_CXX=
14207	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14208  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14209  ac_status=$?
14210  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14211  test $ac_status = 0; }
14212	  then
14213	    lt_cv_archive_cmds_need_lc_CXX=no
14214	  else
14215	    lt_cv_archive_cmds_need_lc_CXX=yes
14216	  fi
14217	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14218	else
14219	  cat conftest.err 1>&5
14220	fi
14221	$RM conftest*
14222
14223fi
14224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14225$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14226      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14227      ;;
14228    esac
14229  fi
14230  ;;
14231esac
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14295$as_echo_n "checking dynamic linker characteristics... " >&6; }
14296
14297library_names_spec=
14298libname_spec='lib$name'
14299soname_spec=
14300shrext_cmds=".so"
14301postinstall_cmds=
14302postuninstall_cmds=
14303finish_cmds=
14304finish_eval=
14305shlibpath_var=
14306shlibpath_overrides_runpath=unknown
14307version_type=none
14308dynamic_linker="$host_os ld.so"
14309sys_lib_dlsearch_path_spec="/lib /usr/lib"
14310need_lib_prefix=unknown
14311hardcode_into_libs=no
14312
14313# when you set need_version to no, make sure it does not cause -set_version
14314# flags to be left without arguments
14315need_version=unknown
14316
14317case $host_os in
14318aix3*)
14319  version_type=linux # correct to gnu/linux during the next big refactor
14320  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14321  shlibpath_var=LIBPATH
14322
14323  # AIX 3 has no versioning support, so we append a major version to the name.
14324  soname_spec='${libname}${release}${shared_ext}$major'
14325  ;;
14326
14327aix[4-9]*)
14328  version_type=linux # correct to gnu/linux during the next big refactor
14329  need_lib_prefix=no
14330  need_version=no
14331  hardcode_into_libs=yes
14332  if test "$host_cpu" = ia64; then
14333    # AIX 5 supports IA64
14334    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14335    shlibpath_var=LD_LIBRARY_PATH
14336  else
14337    # With GCC up to 2.95.x, collect2 would create an import file
14338    # for dependence libraries.  The import file would start with
14339    # the line `#! .'.  This would cause the generated library to
14340    # depend on `.', always an invalid library.  This was fixed in
14341    # development snapshots of GCC prior to 3.0.
14342    case $host_os in
14343      aix4 | aix4.[01] | aix4.[01].*)
14344      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14345	   echo ' yes '
14346	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14347	:
14348      else
14349	can_build_shared=no
14350      fi
14351      ;;
14352    esac
14353    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14354    # soname into executable. Probably we can add versioning support to
14355    # collect2, so additional links can be useful in future.
14356    if test "$aix_use_runtimelinking" = yes; then
14357      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14358      # instead of lib<name>.a to let people know that these are not
14359      # typical AIX shared libraries.
14360      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14361    else
14362      # We preserve .a as extension for shared libraries through AIX4.2
14363      # and later when we are not doing run time linking.
14364      library_names_spec='${libname}${release}.a $libname.a'
14365      soname_spec='${libname}${release}${shared_ext}$major'
14366    fi
14367    shlibpath_var=LIBPATH
14368  fi
14369  ;;
14370
14371amigaos*)
14372  case $host_cpu in
14373  powerpc)
14374    # Since July 2007 AmigaOS4 officially supports .so libraries.
14375    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14376    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14377    ;;
14378  m68k)
14379    library_names_spec='$libname.ixlibrary $libname.a'
14380    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14381    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'
14382    ;;
14383  esac
14384  ;;
14385
14386beos*)
14387  library_names_spec='${libname}${shared_ext}'
14388  dynamic_linker="$host_os ld.so"
14389  shlibpath_var=LIBRARY_PATH
14390  ;;
14391
14392bsdi[45]*)
14393  version_type=linux # correct to gnu/linux during the next big refactor
14394  need_version=no
14395  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14396  soname_spec='${libname}${release}${shared_ext}$major'
14397  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14398  shlibpath_var=LD_LIBRARY_PATH
14399  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14400  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14401  # the default ld.so.conf also contains /usr/contrib/lib and
14402  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14403  # libtool to hard-code these into programs
14404  ;;
14405
14406cygwin* | mingw* | pw32* | cegcc*)
14407  version_type=windows
14408  shrext_cmds=".dll"
14409  need_version=no
14410  need_lib_prefix=no
14411
14412  case $GCC,$cc_basename in
14413  yes,*)
14414    # gcc
14415    library_names_spec='$libname.dll.a'
14416    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14417    postinstall_cmds='base_file=`basename \${file}`~
14418      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14419      dldir=$destdir/`dirname \$dlpath`~
14420      test -d \$dldir || mkdir -p \$dldir~
14421      $install_prog $dir/$dlname \$dldir/$dlname~
14422      chmod a+x \$dldir/$dlname~
14423      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14424        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14425      fi'
14426    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14427      dlpath=$dir/\$dldll~
14428       $RM \$dlpath'
14429    shlibpath_overrides_runpath=yes
14430
14431    case $host_os in
14432    cygwin*)
14433      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14434      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14435
14436      ;;
14437    mingw* | cegcc*)
14438      # MinGW DLLs use traditional 'lib' prefix
14439      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14440      ;;
14441    pw32*)
14442      # pw32 DLLs use 'pw' prefix rather than 'lib'
14443      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14444      ;;
14445    esac
14446    dynamic_linker='Win32 ld.exe'
14447    ;;
14448
14449  *,cl*)
14450    # Native MSVC
14451    libname_spec='$name'
14452    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14453    library_names_spec='${libname}.dll.lib'
14454
14455    case $build_os in
14456    mingw*)
14457      sys_lib_search_path_spec=
14458      lt_save_ifs=$IFS
14459      IFS=';'
14460      for lt_path in $LIB
14461      do
14462        IFS=$lt_save_ifs
14463        # Let DOS variable expansion print the short 8.3 style file name.
14464        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14465        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14466      done
14467      IFS=$lt_save_ifs
14468      # Convert to MSYS style.
14469      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14470      ;;
14471    cygwin*)
14472      # Convert to unix form, then to dos form, then back to unix form
14473      # but this time dos style (no spaces!) so that the unix form looks
14474      # like /cygdrive/c/PROGRA~1:/cygdr...
14475      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14476      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14477      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14478      ;;
14479    *)
14480      sys_lib_search_path_spec="$LIB"
14481      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14482        # It is most probably a Windows format PATH.
14483        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14484      else
14485        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14486      fi
14487      # FIXME: find the short name or the path components, as spaces are
14488      # common. (e.g. "Program Files" -> "PROGRA~1")
14489      ;;
14490    esac
14491
14492    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14493    postinstall_cmds='base_file=`basename \${file}`~
14494      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14495      dldir=$destdir/`dirname \$dlpath`~
14496      test -d \$dldir || mkdir -p \$dldir~
14497      $install_prog $dir/$dlname \$dldir/$dlname'
14498    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14499      dlpath=$dir/\$dldll~
14500       $RM \$dlpath'
14501    shlibpath_overrides_runpath=yes
14502    dynamic_linker='Win32 link.exe'
14503    ;;
14504
14505  *)
14506    # Assume MSVC wrapper
14507    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14508    dynamic_linker='Win32 ld.exe'
14509    ;;
14510  esac
14511  # FIXME: first we should search . and the directory the executable is in
14512  shlibpath_var=PATH
14513  ;;
14514
14515darwin* | rhapsody*)
14516  dynamic_linker="$host_os dyld"
14517  version_type=darwin
14518  need_lib_prefix=no
14519  need_version=no
14520  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14521  soname_spec='${libname}${release}${major}$shared_ext'
14522  shlibpath_overrides_runpath=yes
14523  shlibpath_var=DYLD_LIBRARY_PATH
14524  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14525
14526  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14527  ;;
14528
14529dgux*)
14530  version_type=linux # correct to gnu/linux during the next big refactor
14531  need_lib_prefix=no
14532  need_version=no
14533  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14534  soname_spec='${libname}${release}${shared_ext}$major'
14535  shlibpath_var=LD_LIBRARY_PATH
14536  ;;
14537
14538freebsd* | dragonfly*)
14539  # DragonFly does not have aout.  When/if they implement a new
14540  # versioning mechanism, adjust this.
14541  if test -x /usr/bin/objformat; then
14542    objformat=`/usr/bin/objformat`
14543  else
14544    case $host_os in
14545    freebsd[23].*) objformat=aout ;;
14546    *) objformat=elf ;;
14547    esac
14548  fi
14549  version_type=freebsd-$objformat
14550  case $version_type in
14551    freebsd-elf*)
14552      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14553      need_version=no
14554      need_lib_prefix=no
14555      ;;
14556    freebsd-*)
14557      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14558      need_version=yes
14559      ;;
14560  esac
14561  shlibpath_var=LD_LIBRARY_PATH
14562  case $host_os in
14563  freebsd2.*)
14564    shlibpath_overrides_runpath=yes
14565    ;;
14566  freebsd3.[01]* | freebsdelf3.[01]*)
14567    shlibpath_overrides_runpath=yes
14568    hardcode_into_libs=yes
14569    ;;
14570  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14571  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14572    shlibpath_overrides_runpath=no
14573    hardcode_into_libs=yes
14574    ;;
14575  *) # from 4.6 on, and DragonFly
14576    shlibpath_overrides_runpath=yes
14577    hardcode_into_libs=yes
14578    ;;
14579  esac
14580  ;;
14581
14582haiku*)
14583  version_type=linux # correct to gnu/linux during the next big refactor
14584  need_lib_prefix=no
14585  need_version=no
14586  dynamic_linker="$host_os runtime_loader"
14587  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14588  soname_spec='${libname}${release}${shared_ext}$major'
14589  shlibpath_var=LIBRARY_PATH
14590  shlibpath_overrides_runpath=yes
14591  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14592  hardcode_into_libs=yes
14593  ;;
14594
14595hpux9* | hpux10* | hpux11*)
14596  # Give a soname corresponding to the major version so that dld.sl refuses to
14597  # link against other versions.
14598  version_type=sunos
14599  need_lib_prefix=no
14600  need_version=no
14601  case $host_cpu in
14602  ia64*)
14603    shrext_cmds='.so'
14604    hardcode_into_libs=yes
14605    dynamic_linker="$host_os dld.so"
14606    shlibpath_var=LD_LIBRARY_PATH
14607    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14608    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14609    soname_spec='${libname}${release}${shared_ext}$major'
14610    if test "X$HPUX_IA64_MODE" = X32; then
14611      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14612    else
14613      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14614    fi
14615    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14616    ;;
14617  hppa*64*)
14618    shrext_cmds='.sl'
14619    hardcode_into_libs=yes
14620    dynamic_linker="$host_os dld.sl"
14621    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14622    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14623    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14624    soname_spec='${libname}${release}${shared_ext}$major'
14625    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14626    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14627    ;;
14628  *)
14629    shrext_cmds='.sl'
14630    dynamic_linker="$host_os dld.sl"
14631    shlibpath_var=SHLIB_PATH
14632    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14633    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14634    soname_spec='${libname}${release}${shared_ext}$major'
14635    ;;
14636  esac
14637  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14638  postinstall_cmds='chmod 555 $lib'
14639  # or fails outright, so override atomically:
14640  install_override_mode=555
14641  ;;
14642
14643interix[3-9]*)
14644  version_type=linux # correct to gnu/linux during the next big refactor
14645  need_lib_prefix=no
14646  need_version=no
14647  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14648  soname_spec='${libname}${release}${shared_ext}$major'
14649  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14650  shlibpath_var=LD_LIBRARY_PATH
14651  shlibpath_overrides_runpath=no
14652  hardcode_into_libs=yes
14653  ;;
14654
14655irix5* | irix6* | nonstopux*)
14656  case $host_os in
14657    nonstopux*) version_type=nonstopux ;;
14658    *)
14659	if test "$lt_cv_prog_gnu_ld" = yes; then
14660		version_type=linux # correct to gnu/linux during the next big refactor
14661	else
14662		version_type=irix
14663	fi ;;
14664  esac
14665  need_lib_prefix=no
14666  need_version=no
14667  soname_spec='${libname}${release}${shared_ext}$major'
14668  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14669  case $host_os in
14670  irix5* | nonstopux*)
14671    libsuff= shlibsuff=
14672    ;;
14673  *)
14674    case $LD in # libtool.m4 will add one of these switches to LD
14675    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14676      libsuff= shlibsuff= libmagic=32-bit;;
14677    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14678      libsuff=32 shlibsuff=N32 libmagic=N32;;
14679    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14680      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14681    *) libsuff= shlibsuff= libmagic=never-match;;
14682    esac
14683    ;;
14684  esac
14685  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14686  shlibpath_overrides_runpath=no
14687  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14688  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14689  hardcode_into_libs=yes
14690  ;;
14691
14692# No shared lib support for Linux oldld, aout, or coff.
14693linux*oldld* | linux*aout* | linux*coff*)
14694  dynamic_linker=no
14695  ;;
14696
14697# This must be glibc/ELF.
14698linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14699  version_type=linux # correct to gnu/linux during the next big refactor
14700  need_lib_prefix=no
14701  need_version=no
14702  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14703  soname_spec='${libname}${release}${shared_ext}$major'
14704  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14705  shlibpath_var=LD_LIBRARY_PATH
14706  shlibpath_overrides_runpath=no
14707
14708  # Some binutils ld are patched to set DT_RUNPATH
14709  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14710  $as_echo_n "(cached) " >&6
14711else
14712  lt_cv_shlibpath_overrides_runpath=no
14713    save_LDFLAGS=$LDFLAGS
14714    save_libdir=$libdir
14715    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14716	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14717    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14718/* end confdefs.h.  */
14719
14720int
14721main ()
14722{
14723
14724  ;
14725  return 0;
14726}
14727_ACEOF
14728if ac_fn_cxx_try_link "$LINENO"; then :
14729  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14730  lt_cv_shlibpath_overrides_runpath=yes
14731fi
14732fi
14733rm -f core conftest.err conftest.$ac_objext \
14734    conftest$ac_exeext conftest.$ac_ext
14735    LDFLAGS=$save_LDFLAGS
14736    libdir=$save_libdir
14737
14738fi
14739
14740  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14741
14742  # This implies no fast_install, which is unacceptable.
14743  # Some rework will be needed to allow for fast_install
14744  # before this can be enabled.
14745  hardcode_into_libs=yes
14746
14747  # Append ld.so.conf contents to the search path
14748  if test -f /etc/ld.so.conf; then
14749    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' ' '`
14750    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14751  fi
14752
14753  # We used to test for /lib/ld.so.1 and disable shared libraries on
14754  # powerpc, because MkLinux only supported shared libraries with the
14755  # GNU dynamic linker.  Since this was broken with cross compilers,
14756  # most powerpc-linux boxes support dynamic linking these days and
14757  # people can always --disable-shared, the test was removed, and we
14758  # assume the GNU/Linux dynamic linker is in use.
14759  dynamic_linker='GNU/Linux ld.so'
14760  ;;
14761
14762netbsdelf*-gnu)
14763  version_type=linux
14764  need_lib_prefix=no
14765  need_version=no
14766  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14767  soname_spec='${libname}${release}${shared_ext}$major'
14768  shlibpath_var=LD_LIBRARY_PATH
14769  shlibpath_overrides_runpath=no
14770  hardcode_into_libs=yes
14771  dynamic_linker='NetBSD ld.elf_so'
14772  ;;
14773
14774netbsd*)
14775  version_type=sunos
14776  need_lib_prefix=no
14777  need_version=no
14778  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14779    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14780    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14781    dynamic_linker='NetBSD (a.out) ld.so'
14782  else
14783    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14784    soname_spec='${libname}${release}${shared_ext}$major'
14785    dynamic_linker='NetBSD ld.elf_so'
14786  fi
14787  shlibpath_var=LD_LIBRARY_PATH
14788  shlibpath_overrides_runpath=yes
14789  hardcode_into_libs=yes
14790  ;;
14791
14792newsos6)
14793  version_type=linux # correct to gnu/linux during the next big refactor
14794  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14795  shlibpath_var=LD_LIBRARY_PATH
14796  shlibpath_overrides_runpath=yes
14797  ;;
14798
14799*nto* | *qnx*)
14800  version_type=qnx
14801  need_lib_prefix=no
14802  need_version=no
14803  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14804  soname_spec='${libname}${release}${shared_ext}$major'
14805  shlibpath_var=LD_LIBRARY_PATH
14806  shlibpath_overrides_runpath=no
14807  hardcode_into_libs=yes
14808  dynamic_linker='ldqnx.so'
14809  ;;
14810
14811openbsd*)
14812  version_type=sunos
14813  sys_lib_dlsearch_path_spec="/usr/lib"
14814  need_lib_prefix=no
14815  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14816  case $host_os in
14817    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
14818    *)				need_version=no  ;;
14819  esac
14820  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14821  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14822  shlibpath_var=LD_LIBRARY_PATH
14823  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14824    case $host_os in
14825      openbsd2.[89] | openbsd2.[89].*)
14826	shlibpath_overrides_runpath=no
14827	;;
14828      *)
14829	shlibpath_overrides_runpath=yes
14830	;;
14831      esac
14832  else
14833    shlibpath_overrides_runpath=yes
14834  fi
14835  ;;
14836
14837os2*)
14838  libname_spec='$name'
14839  shrext_cmds=".dll"
14840  need_lib_prefix=no
14841  library_names_spec='$libname${shared_ext} $libname.a'
14842  dynamic_linker='OS/2 ld.exe'
14843  shlibpath_var=LIBPATH
14844  ;;
14845
14846osf3* | osf4* | osf5*)
14847  version_type=osf
14848  need_lib_prefix=no
14849  need_version=no
14850  soname_spec='${libname}${release}${shared_ext}$major'
14851  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14852  shlibpath_var=LD_LIBRARY_PATH
14853  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14854  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14855  ;;
14856
14857rdos*)
14858  dynamic_linker=no
14859  ;;
14860
14861solaris*)
14862  version_type=linux # correct to gnu/linux during the next big refactor
14863  need_lib_prefix=no
14864  need_version=no
14865  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14866  soname_spec='${libname}${release}${shared_ext}$major'
14867  shlibpath_var=LD_LIBRARY_PATH
14868  shlibpath_overrides_runpath=yes
14869  hardcode_into_libs=yes
14870  # ldd complains unless libraries are executable
14871  postinstall_cmds='chmod +x $lib'
14872  ;;
14873
14874sunos4*)
14875  version_type=sunos
14876  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14877  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14878  shlibpath_var=LD_LIBRARY_PATH
14879  shlibpath_overrides_runpath=yes
14880  if test "$with_gnu_ld" = yes; then
14881    need_lib_prefix=no
14882  fi
14883  need_version=yes
14884  ;;
14885
14886sysv4 | sysv4.3*)
14887  version_type=linux # correct to gnu/linux during the next big refactor
14888  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14889  soname_spec='${libname}${release}${shared_ext}$major'
14890  shlibpath_var=LD_LIBRARY_PATH
14891  case $host_vendor in
14892    sni)
14893      shlibpath_overrides_runpath=no
14894      need_lib_prefix=no
14895      runpath_var=LD_RUN_PATH
14896      ;;
14897    siemens)
14898      need_lib_prefix=no
14899      ;;
14900    motorola)
14901      need_lib_prefix=no
14902      need_version=no
14903      shlibpath_overrides_runpath=no
14904      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14905      ;;
14906  esac
14907  ;;
14908
14909sysv4*MP*)
14910  if test -d /usr/nec ;then
14911    version_type=linux # correct to gnu/linux during the next big refactor
14912    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14913    soname_spec='$libname${shared_ext}.$major'
14914    shlibpath_var=LD_LIBRARY_PATH
14915  fi
14916  ;;
14917
14918sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14919  version_type=freebsd-elf
14920  need_lib_prefix=no
14921  need_version=no
14922  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14923  soname_spec='${libname}${release}${shared_ext}$major'
14924  shlibpath_var=LD_LIBRARY_PATH
14925  shlibpath_overrides_runpath=yes
14926  hardcode_into_libs=yes
14927  if test "$with_gnu_ld" = yes; then
14928    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14929  else
14930    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14931    case $host_os in
14932      sco3.2v5*)
14933        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14934	;;
14935    esac
14936  fi
14937  sys_lib_dlsearch_path_spec='/usr/lib'
14938  ;;
14939
14940tpf*)
14941  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14942  version_type=linux # correct to gnu/linux during the next big refactor
14943  need_lib_prefix=no
14944  need_version=no
14945  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14946  shlibpath_var=LD_LIBRARY_PATH
14947  shlibpath_overrides_runpath=no
14948  hardcode_into_libs=yes
14949  ;;
14950
14951uts4*)
14952  version_type=linux # correct to gnu/linux during the next big refactor
14953  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14954  soname_spec='${libname}${release}${shared_ext}$major'
14955  shlibpath_var=LD_LIBRARY_PATH
14956  ;;
14957
14958*)
14959  dynamic_linker=no
14960  ;;
14961esac
14962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14963$as_echo "$dynamic_linker" >&6; }
14964test "$dynamic_linker" = no && can_build_shared=no
14965
14966variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14967if test "$GCC" = yes; then
14968  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14969fi
14970
14971if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14972  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14973fi
14974if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14975  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14976fi
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15016$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15017hardcode_action_CXX=
15018if test -n "$hardcode_libdir_flag_spec_CXX" ||
15019   test -n "$runpath_var_CXX" ||
15020   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15021
15022  # We can hardcode non-existent directories.
15023  if test "$hardcode_direct_CXX" != no &&
15024     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15025     # have to relink, otherwise we might link with an installed library
15026     # when we should be linking with a yet-to-be-installed one
15027     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15028     test "$hardcode_minus_L_CXX" != no; then
15029    # Linking always hardcodes the temporary library directory.
15030    hardcode_action_CXX=relink
15031  else
15032    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15033    hardcode_action_CXX=immediate
15034  fi
15035else
15036  # We cannot hardcode anything, or else we can only hardcode existing
15037  # directories.
15038  hardcode_action_CXX=unsupported
15039fi
15040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15041$as_echo "$hardcode_action_CXX" >&6; }
15042
15043if test "$hardcode_action_CXX" = relink ||
15044   test "$inherit_rpath_CXX" = yes; then
15045  # Fast installation is not supported
15046  enable_fast_install=no
15047elif test "$shlibpath_overrides_runpath" = yes ||
15048     test "$enable_shared" = no; then
15049  # Fast installation is not necessary
15050  enable_fast_install=needless
15051fi
15052
15053
15054
15055
15056
15057
15058
15059  fi # test -n "$compiler"
15060
15061  CC=$lt_save_CC
15062  CFLAGS=$lt_save_CFLAGS
15063  LDCXX=$LD
15064  LD=$lt_save_LD
15065  GCC=$lt_save_GCC
15066  with_gnu_ld=$lt_save_with_gnu_ld
15067  lt_cv_path_LDCXX=$lt_cv_path_LD
15068  lt_cv_path_LD=$lt_save_path_LD
15069  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15070  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15071fi # test "$_lt_caught_CXX_error" != yes
15072
15073ac_ext=c
15074ac_cpp='$CPP $CPPFLAGS'
15075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15077ac_compiler_gnu=$ac_cv_c_compiler_gnu
15078
15079
15080
15081LIBCONCORD_VERSION="4"
15082case $host_os in
15083  darwin*)
15084    LIBCONCORD_LDFLAGS="-lconcord.$LIBCONCORD_VERSION"
15085    ;;
15086  mingw*)
15087    LIBCONCORD_LDFLAGS="-l:libconcord-$LIBCONCORD_VERSION.dll -lwsock32"
15088    ;;
15089  *)
15090    LIBCONCORD_LDFLAGS="-l:libconcord.so.$LIBCONCORD_VERSION"
15091    ;;
15092esac
15093LIBCONCORD_LDFLAGS=$LIBCONCORD_LDFLAGS
15094
15095ac_config_headers="$ac_config_headers config.h"
15096
15097ac_config_files="$ac_config_files Makefile"
15098
15099cat >confcache <<\_ACEOF
15100# This file is a shell script that caches the results of configure
15101# tests run on this system so they can be shared between configure
15102# scripts and configure runs, see configure's option --config-cache.
15103# It is not useful on other systems.  If it contains results you don't
15104# want to keep, you may remove or edit it.
15105#
15106# config.status only pays attention to the cache file if you give it
15107# the --recheck option to rerun configure.
15108#
15109# `ac_cv_env_foo' variables (set or unset) will be overridden when
15110# loading this file, other *unset* `ac_cv_foo' will be assigned the
15111# following values.
15112
15113_ACEOF
15114
15115# The following way of writing the cache mishandles newlines in values,
15116# but we know of no workaround that is simple, portable, and efficient.
15117# So, we kill variables containing newlines.
15118# Ultrix sh set writes to stderr and can't be redirected directly,
15119# and sets the high bit in the cache file unless we assign to the vars.
15120(
15121  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15122    eval ac_val=\$$ac_var
15123    case $ac_val in #(
15124    *${as_nl}*)
15125      case $ac_var in #(
15126      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15127$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15128      esac
15129      case $ac_var in #(
15130      _ | IFS | as_nl) ;; #(
15131      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15132      *) { eval $ac_var=; unset $ac_var;} ;;
15133      esac ;;
15134    esac
15135  done
15136
15137  (set) 2>&1 |
15138    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15139    *${as_nl}ac_space=\ *)
15140      # `set' does not quote correctly, so add quotes: double-quote
15141      # substitution turns \\\\ into \\, and sed turns \\ into \.
15142      sed -n \
15143	"s/'/'\\\\''/g;
15144	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15145      ;; #(
15146    *)
15147      # `set' quotes correctly as required by POSIX, so do not add quotes.
15148      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15149      ;;
15150    esac |
15151    sort
15152) |
15153  sed '
15154     /^ac_cv_env_/b end
15155     t clear
15156     :clear
15157     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15158     t end
15159     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15160     :end' >>confcache
15161if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15162  if test -w "$cache_file"; then
15163    if test "x$cache_file" != "x/dev/null"; then
15164      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15165$as_echo "$as_me: updating cache $cache_file" >&6;}
15166      if test ! -f "$cache_file" || test -h "$cache_file"; then
15167	cat confcache >"$cache_file"
15168      else
15169        case $cache_file in #(
15170        */* | ?:*)
15171	  mv -f confcache "$cache_file"$$ &&
15172	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15173        *)
15174	  mv -f confcache "$cache_file" ;;
15175	esac
15176      fi
15177    fi
15178  else
15179    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15180$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15181  fi
15182fi
15183rm -f confcache
15184
15185test "x$prefix" = xNONE && prefix=$ac_default_prefix
15186# Let make expand exec_prefix.
15187test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15188
15189DEFS=-DHAVE_CONFIG_H
15190
15191ac_libobjs=
15192ac_ltlibobjs=
15193U=
15194for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15195  # 1. Remove the extension, and $U if already installed.
15196  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15197  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15198  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15199  #    will be set to the directory where LIBOBJS objects are built.
15200  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15201  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15202done
15203LIBOBJS=$ac_libobjs
15204
15205LTLIBOBJS=$ac_ltlibobjs
15206
15207
15208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15209$as_echo_n "checking that generated files are newer than configure... " >&6; }
15210   if test -n "$am_sleep_pid"; then
15211     # Hide warnings about reused PIDs.
15212     wait $am_sleep_pid 2>/dev/null
15213   fi
15214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15215$as_echo "done" >&6; }
15216 if test -n "$EXEEXT"; then
15217  am__EXEEXT_TRUE=
15218  am__EXEEXT_FALSE='#'
15219else
15220  am__EXEEXT_TRUE='#'
15221  am__EXEEXT_FALSE=
15222fi
15223
15224if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15225  as_fn_error $? "conditional \"AMDEP\" was never defined.
15226Usually this means the macro was only invoked conditionally." "$LINENO" 5
15227fi
15228if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15229  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15230Usually this means the macro was only invoked conditionally." "$LINENO" 5
15231fi
15232if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15233  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15234Usually this means the macro was only invoked conditionally." "$LINENO" 5
15235fi
15236
15237: "${CONFIG_STATUS=./config.status}"
15238ac_write_fail=0
15239ac_clean_files_save=$ac_clean_files
15240ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15241{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15242$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15243as_write_fail=0
15244cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15245#! $SHELL
15246# Generated by $as_me.
15247# Run this file to recreate the current configuration.
15248# Compiler output produced by configure, useful for debugging
15249# configure, is in config.log if it exists.
15250
15251debug=false
15252ac_cs_recheck=false
15253ac_cs_silent=false
15254
15255SHELL=\${CONFIG_SHELL-$SHELL}
15256export SHELL
15257_ASEOF
15258cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15259## -------------------- ##
15260## M4sh Initialization. ##
15261## -------------------- ##
15262
15263# Be more Bourne compatible
15264DUALCASE=1; export DUALCASE # for MKS sh
15265if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15266  emulate sh
15267  NULLCMD=:
15268  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15269  # is contrary to our usage.  Disable this feature.
15270  alias -g '${1+"$@"}'='"$@"'
15271  setopt NO_GLOB_SUBST
15272else
15273  case `(set -o) 2>/dev/null` in #(
15274  *posix*) :
15275    set -o posix ;; #(
15276  *) :
15277     ;;
15278esac
15279fi
15280
15281
15282as_nl='
15283'
15284export as_nl
15285# Printing a long string crashes Solaris 7 /usr/bin/printf.
15286as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15287as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15288as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15289# Prefer a ksh shell builtin over an external printf program on Solaris,
15290# but without wasting forks for bash or zsh.
15291if test -z "$BASH_VERSION$ZSH_VERSION" \
15292    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15293  as_echo='print -r --'
15294  as_echo_n='print -rn --'
15295elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15296  as_echo='printf %s\n'
15297  as_echo_n='printf %s'
15298else
15299  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15300    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15301    as_echo_n='/usr/ucb/echo -n'
15302  else
15303    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15304    as_echo_n_body='eval
15305      arg=$1;
15306      case $arg in #(
15307      *"$as_nl"*)
15308	expr "X$arg" : "X\\(.*\\)$as_nl";
15309	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15310      esac;
15311      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15312    '
15313    export as_echo_n_body
15314    as_echo_n='sh -c $as_echo_n_body as_echo'
15315  fi
15316  export as_echo_body
15317  as_echo='sh -c $as_echo_body as_echo'
15318fi
15319
15320# The user is always right.
15321if test "${PATH_SEPARATOR+set}" != set; then
15322  PATH_SEPARATOR=:
15323  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15324    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15325      PATH_SEPARATOR=';'
15326  }
15327fi
15328
15329
15330# IFS
15331# We need space, tab and new line, in precisely that order.  Quoting is
15332# there to prevent editors from complaining about space-tab.
15333# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15334# splitting by setting IFS to empty value.)
15335IFS=" ""	$as_nl"
15336
15337# Find who we are.  Look in the path if we contain no directory separator.
15338as_myself=
15339case $0 in #((
15340  *[\\/]* ) as_myself=$0 ;;
15341  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15342for as_dir in $PATH
15343do
15344  IFS=$as_save_IFS
15345  test -z "$as_dir" && as_dir=.
15346    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15347  done
15348IFS=$as_save_IFS
15349
15350     ;;
15351esac
15352# We did not find ourselves, most probably we were run as `sh COMMAND'
15353# in which case we are not to be found in the path.
15354if test "x$as_myself" = x; then
15355  as_myself=$0
15356fi
15357if test ! -f "$as_myself"; then
15358  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15359  exit 1
15360fi
15361
15362# Unset variables that we do not need and which cause bugs (e.g. in
15363# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15364# suppresses any "Segmentation fault" message there.  '((' could
15365# trigger a bug in pdksh 5.2.14.
15366for as_var in BASH_ENV ENV MAIL MAILPATH
15367do eval test x\${$as_var+set} = xset \
15368  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15369done
15370PS1='$ '
15371PS2='> '
15372PS4='+ '
15373
15374# NLS nuisances.
15375LC_ALL=C
15376export LC_ALL
15377LANGUAGE=C
15378export LANGUAGE
15379
15380# CDPATH.
15381(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15382
15383
15384# as_fn_error STATUS ERROR [LINENO LOG_FD]
15385# ----------------------------------------
15386# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15387# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15388# script with STATUS, using 1 if that was 0.
15389as_fn_error ()
15390{
15391  as_status=$1; test $as_status -eq 0 && as_status=1
15392  if test "$4"; then
15393    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15394    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15395  fi
15396  $as_echo "$as_me: error: $2" >&2
15397  as_fn_exit $as_status
15398} # as_fn_error
15399
15400
15401# as_fn_set_status STATUS
15402# -----------------------
15403# Set $? to STATUS, without forking.
15404as_fn_set_status ()
15405{
15406  return $1
15407} # as_fn_set_status
15408
15409# as_fn_exit STATUS
15410# -----------------
15411# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15412as_fn_exit ()
15413{
15414  set +e
15415  as_fn_set_status $1
15416  exit $1
15417} # as_fn_exit
15418
15419# as_fn_unset VAR
15420# ---------------
15421# Portably unset VAR.
15422as_fn_unset ()
15423{
15424  { eval $1=; unset $1;}
15425}
15426as_unset=as_fn_unset
15427# as_fn_append VAR VALUE
15428# ----------------------
15429# Append the text in VALUE to the end of the definition contained in VAR. Take
15430# advantage of any shell optimizations that allow amortized linear growth over
15431# repeated appends, instead of the typical quadratic growth present in naive
15432# implementations.
15433if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15434  eval 'as_fn_append ()
15435  {
15436    eval $1+=\$2
15437  }'
15438else
15439  as_fn_append ()
15440  {
15441    eval $1=\$$1\$2
15442  }
15443fi # as_fn_append
15444
15445# as_fn_arith ARG...
15446# ------------------
15447# Perform arithmetic evaluation on the ARGs, and store the result in the
15448# global $as_val. Take advantage of shells that can avoid forks. The arguments
15449# must be portable across $(()) and expr.
15450if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15451  eval 'as_fn_arith ()
15452  {
15453    as_val=$(( $* ))
15454  }'
15455else
15456  as_fn_arith ()
15457  {
15458    as_val=`expr "$@" || test $? -eq 1`
15459  }
15460fi # as_fn_arith
15461
15462
15463if expr a : '\(a\)' >/dev/null 2>&1 &&
15464   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15465  as_expr=expr
15466else
15467  as_expr=false
15468fi
15469
15470if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15471  as_basename=basename
15472else
15473  as_basename=false
15474fi
15475
15476if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15477  as_dirname=dirname
15478else
15479  as_dirname=false
15480fi
15481
15482as_me=`$as_basename -- "$0" ||
15483$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15484	 X"$0" : 'X\(//\)$' \| \
15485	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15486$as_echo X/"$0" |
15487    sed '/^.*\/\([^/][^/]*\)\/*$/{
15488	    s//\1/
15489	    q
15490	  }
15491	  /^X\/\(\/\/\)$/{
15492	    s//\1/
15493	    q
15494	  }
15495	  /^X\/\(\/\).*/{
15496	    s//\1/
15497	    q
15498	  }
15499	  s/.*/./; q'`
15500
15501# Avoid depending upon Character Ranges.
15502as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15503as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15504as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15505as_cr_digits='0123456789'
15506as_cr_alnum=$as_cr_Letters$as_cr_digits
15507
15508ECHO_C= ECHO_N= ECHO_T=
15509case `echo -n x` in #(((((
15510-n*)
15511  case `echo 'xy\c'` in
15512  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
15513  xy)  ECHO_C='\c';;
15514  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15515       ECHO_T='	';;
15516  esac;;
15517*)
15518  ECHO_N='-n';;
15519esac
15520
15521rm -f conf$$ conf$$.exe conf$$.file
15522if test -d conf$$.dir; then
15523  rm -f conf$$.dir/conf$$.file
15524else
15525  rm -f conf$$.dir
15526  mkdir conf$$.dir 2>/dev/null
15527fi
15528if (echo >conf$$.file) 2>/dev/null; then
15529  if ln -s conf$$.file conf$$ 2>/dev/null; then
15530    as_ln_s='ln -s'
15531    # ... but there are two gotchas:
15532    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15533    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15534    # In both cases, we have to default to `cp -pR'.
15535    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15536      as_ln_s='cp -pR'
15537  elif ln conf$$.file conf$$ 2>/dev/null; then
15538    as_ln_s=ln
15539  else
15540    as_ln_s='cp -pR'
15541  fi
15542else
15543  as_ln_s='cp -pR'
15544fi
15545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15546rmdir conf$$.dir 2>/dev/null
15547
15548
15549# as_fn_mkdir_p
15550# -------------
15551# Create "$as_dir" as a directory, including parents if necessary.
15552as_fn_mkdir_p ()
15553{
15554
15555  case $as_dir in #(
15556  -*) as_dir=./$as_dir;;
15557  esac
15558  test -d "$as_dir" || eval $as_mkdir_p || {
15559    as_dirs=
15560    while :; do
15561      case $as_dir in #(
15562      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15563      *) as_qdir=$as_dir;;
15564      esac
15565      as_dirs="'$as_qdir' $as_dirs"
15566      as_dir=`$as_dirname -- "$as_dir" ||
15567$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15568	 X"$as_dir" : 'X\(//\)[^/]' \| \
15569	 X"$as_dir" : 'X\(//\)$' \| \
15570	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15571$as_echo X"$as_dir" |
15572    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15573	    s//\1/
15574	    q
15575	  }
15576	  /^X\(\/\/\)[^/].*/{
15577	    s//\1/
15578	    q
15579	  }
15580	  /^X\(\/\/\)$/{
15581	    s//\1/
15582	    q
15583	  }
15584	  /^X\(\/\).*/{
15585	    s//\1/
15586	    q
15587	  }
15588	  s/.*/./; q'`
15589      test -d "$as_dir" && break
15590    done
15591    test -z "$as_dirs" || eval "mkdir $as_dirs"
15592  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15593
15594
15595} # as_fn_mkdir_p
15596if mkdir -p . 2>/dev/null; then
15597  as_mkdir_p='mkdir -p "$as_dir"'
15598else
15599  test -d ./-p && rmdir ./-p
15600  as_mkdir_p=false
15601fi
15602
15603
15604# as_fn_executable_p FILE
15605# -----------------------
15606# Test if FILE is an executable regular file.
15607as_fn_executable_p ()
15608{
15609  test -f "$1" && test -x "$1"
15610} # as_fn_executable_p
15611as_test_x='test -x'
15612as_executable_p=as_fn_executable_p
15613
15614# Sed expression to map a string onto a valid CPP name.
15615as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15616
15617# Sed expression to map a string onto a valid variable name.
15618as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15619
15620
15621exec 6>&1
15622## ----------------------------------- ##
15623## Main body of $CONFIG_STATUS script. ##
15624## ----------------------------------- ##
15625_ASEOF
15626test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15627
15628cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15629# Save the log message, to keep $0 and so on meaningful, and to
15630# report actual input values of CONFIG_FILES etc. instead of their
15631# values after options handling.
15632ac_log="
15633This file was extended by concordance $as_me 1.2, which was
15634generated by GNU Autoconf 2.69.  Invocation command line was
15635
15636  CONFIG_FILES    = $CONFIG_FILES
15637  CONFIG_HEADERS  = $CONFIG_HEADERS
15638  CONFIG_LINKS    = $CONFIG_LINKS
15639  CONFIG_COMMANDS = $CONFIG_COMMANDS
15640  $ $0 $@
15641
15642on `(hostname || uname -n) 2>/dev/null | sed 1q`
15643"
15644
15645_ACEOF
15646
15647case $ac_config_files in *"
15648"*) set x $ac_config_files; shift; ac_config_files=$*;;
15649esac
15650
15651case $ac_config_headers in *"
15652"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15653esac
15654
15655
15656cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15657# Files that config.status was made for.
15658config_files="$ac_config_files"
15659config_headers="$ac_config_headers"
15660config_commands="$ac_config_commands"
15661
15662_ACEOF
15663
15664cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15665ac_cs_usage="\
15666\`$as_me' instantiates files and other configuration actions
15667from templates according to the current configuration.  Unless the files
15668and actions are specified as TAGs, all are instantiated by default.
15669
15670Usage: $0 [OPTION]... [TAG]...
15671
15672  -h, --help       print this help, then exit
15673  -V, --version    print version number and configuration settings, then exit
15674      --config     print configuration, then exit
15675  -q, --quiet, --silent
15676                   do not print progress messages
15677  -d, --debug      don't remove temporary files
15678      --recheck    update $as_me by reconfiguring in the same conditions
15679      --file=FILE[:TEMPLATE]
15680                   instantiate the configuration file FILE
15681      --header=FILE[:TEMPLATE]
15682                   instantiate the configuration header FILE
15683
15684Configuration files:
15685$config_files
15686
15687Configuration headers:
15688$config_headers
15689
15690Configuration commands:
15691$config_commands
15692
15693Report bugs to <concordance-devel@lists.sourceforge.net>."
15694
15695_ACEOF
15696cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15697ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15698ac_cs_version="\\
15699concordance config.status 1.2
15700configured by $0, generated by GNU Autoconf 2.69,
15701  with options \\"\$ac_cs_config\\"
15702
15703Copyright (C) 2012 Free Software Foundation, Inc.
15704This config.status script is free software; the Free Software Foundation
15705gives unlimited permission to copy, distribute and modify it."
15706
15707ac_pwd='$ac_pwd'
15708srcdir='$srcdir'
15709INSTALL='$INSTALL'
15710MKDIR_P='$MKDIR_P'
15711AWK='$AWK'
15712test -n "\$AWK" || AWK=awk
15713_ACEOF
15714
15715cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15716# The default lists apply if the user does not specify any file.
15717ac_need_defaults=:
15718while test $# != 0
15719do
15720  case $1 in
15721  --*=?*)
15722    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15723    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15724    ac_shift=:
15725    ;;
15726  --*=)
15727    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15728    ac_optarg=
15729    ac_shift=:
15730    ;;
15731  *)
15732    ac_option=$1
15733    ac_optarg=$2
15734    ac_shift=shift
15735    ;;
15736  esac
15737
15738  case $ac_option in
15739  # Handling of the options.
15740  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15741    ac_cs_recheck=: ;;
15742  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15743    $as_echo "$ac_cs_version"; exit ;;
15744  --config | --confi | --conf | --con | --co | --c )
15745    $as_echo "$ac_cs_config"; exit ;;
15746  --debug | --debu | --deb | --de | --d | -d )
15747    debug=: ;;
15748  --file | --fil | --fi | --f )
15749    $ac_shift
15750    case $ac_optarg in
15751    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15752    '') as_fn_error $? "missing file argument" ;;
15753    esac
15754    as_fn_append CONFIG_FILES " '$ac_optarg'"
15755    ac_need_defaults=false;;
15756  --header | --heade | --head | --hea )
15757    $ac_shift
15758    case $ac_optarg in
15759    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15760    esac
15761    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15762    ac_need_defaults=false;;
15763  --he | --h)
15764    # Conflict between --help and --header
15765    as_fn_error $? "ambiguous option: \`$1'
15766Try \`$0 --help' for more information.";;
15767  --help | --hel | -h )
15768    $as_echo "$ac_cs_usage"; exit ;;
15769  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15770  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15771    ac_cs_silent=: ;;
15772
15773  # This is an error.
15774  -*) as_fn_error $? "unrecognized option: \`$1'
15775Try \`$0 --help' for more information." ;;
15776
15777  *) as_fn_append ac_config_targets " $1"
15778     ac_need_defaults=false ;;
15779
15780  esac
15781  shift
15782done
15783
15784ac_configure_extra_args=
15785
15786if $ac_cs_silent; then
15787  exec 6>/dev/null
15788  ac_configure_extra_args="$ac_configure_extra_args --silent"
15789fi
15790
15791_ACEOF
15792cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15793if \$ac_cs_recheck; then
15794  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15795  shift
15796  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15797  CONFIG_SHELL='$SHELL'
15798  export CONFIG_SHELL
15799  exec "\$@"
15800fi
15801
15802_ACEOF
15803cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15804exec 5>>config.log
15805{
15806  echo
15807  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15808## Running $as_me. ##
15809_ASBOX
15810  $as_echo "$ac_log"
15811} >&5
15812
15813_ACEOF
15814cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15815#
15816# INIT-COMMANDS
15817#
15818AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15819
15820
15821# The HP-UX ksh and POSIX shell print the target directory to stdout
15822# if CDPATH is set.
15823(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15824
15825sed_quote_subst='$sed_quote_subst'
15826double_quote_subst='$double_quote_subst'
15827delay_variable_subst='$delay_variable_subst'
15828macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15829macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15830enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15831enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15832pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15833enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15834SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15835ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15836PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15837host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15838host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15839host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15840build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15841build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15842build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15843SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15844Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15845GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15846EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15847FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15848LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15849NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15850LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15851max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15852ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15853exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15854lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15855lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15856lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15857lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15858lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15859reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15860reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15861OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15862deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15863file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15864file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15865want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15866DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15867sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15868AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15869AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15870archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15871STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15872RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15873old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15874old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15875old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15876lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15877CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15878CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15879compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15880GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15881lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15882lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15883lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15884lt_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"`'
15885nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15886lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15887objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15888MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15889lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15890lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15891lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15892lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15893lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15894need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15895MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15896DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15897NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15898LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15899OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15900OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15901libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15902shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15903extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15904archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15905enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15906export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15907whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15908compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15909old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15910old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15911archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15912archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15913module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15914module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15915with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15916allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15917no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15918hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15919hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15920hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15921hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15922hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15923hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15924hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15925inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15926link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15927always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15928export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15929exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15930include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15931prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15932postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15933file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15934variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15935need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15936need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15937version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15938runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15939shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15940shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15941libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15942library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15943soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15944install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15945postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15946postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15947finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15948finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15949hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15950sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15951sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15952hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15953enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15954enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15955enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15956old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15957striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15958compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15959predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15960postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15961predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15962postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15963compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15964LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15965reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15966reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15967old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15968compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15969GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15970lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15971lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15972lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15973lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15974lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15975archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15976enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15977export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15978whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15979compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15980old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15981old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15982archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15983archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15984module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15985module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15986with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15987allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15988no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15989hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15990hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15991hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15992hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15993hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15994hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15995hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15996inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15997link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15998always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15999export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16000exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16001include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16002prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16003postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16004file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16005hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16006compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16007predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16008postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16009predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16010postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16011compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16012
16013LTCC='$LTCC'
16014LTCFLAGS='$LTCFLAGS'
16015compiler='$compiler_DEFAULT'
16016
16017# A function that is used when there is no print builtin or printf.
16018func_fallback_echo ()
16019{
16020  eval 'cat <<_LTECHO_EOF
16021\$1
16022_LTECHO_EOF'
16023}
16024
16025# Quote evaled strings.
16026for var in SHELL \
16027ECHO \
16028PATH_SEPARATOR \
16029SED \
16030GREP \
16031EGREP \
16032FGREP \
16033LD \
16034NM \
16035LN_S \
16036lt_SP2NL \
16037lt_NL2SP \
16038reload_flag \
16039OBJDUMP \
16040deplibs_check_method \
16041file_magic_cmd \
16042file_magic_glob \
16043want_nocaseglob \
16044DLLTOOL \
16045sharedlib_from_linklib_cmd \
16046AR \
16047AR_FLAGS \
16048archiver_list_spec \
16049STRIP \
16050RANLIB \
16051CC \
16052CFLAGS \
16053compiler \
16054lt_cv_sys_global_symbol_pipe \
16055lt_cv_sys_global_symbol_to_cdecl \
16056lt_cv_sys_global_symbol_to_c_name_address \
16057lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16058nm_file_list_spec \
16059lt_prog_compiler_no_builtin_flag \
16060lt_prog_compiler_pic \
16061lt_prog_compiler_wl \
16062lt_prog_compiler_static \
16063lt_cv_prog_compiler_c_o \
16064need_locks \
16065MANIFEST_TOOL \
16066DSYMUTIL \
16067NMEDIT \
16068LIPO \
16069OTOOL \
16070OTOOL64 \
16071shrext_cmds \
16072export_dynamic_flag_spec \
16073whole_archive_flag_spec \
16074compiler_needs_object \
16075with_gnu_ld \
16076allow_undefined_flag \
16077no_undefined_flag \
16078hardcode_libdir_flag_spec \
16079hardcode_libdir_separator \
16080exclude_expsyms \
16081include_expsyms \
16082file_list_spec \
16083variables_saved_for_relink \
16084libname_spec \
16085library_names_spec \
16086soname_spec \
16087install_override_mode \
16088finish_eval \
16089old_striplib \
16090striplib \
16091compiler_lib_search_dirs \
16092predep_objects \
16093postdep_objects \
16094predeps \
16095postdeps \
16096compiler_lib_search_path \
16097LD_CXX \
16098reload_flag_CXX \
16099compiler_CXX \
16100lt_prog_compiler_no_builtin_flag_CXX \
16101lt_prog_compiler_pic_CXX \
16102lt_prog_compiler_wl_CXX \
16103lt_prog_compiler_static_CXX \
16104lt_cv_prog_compiler_c_o_CXX \
16105export_dynamic_flag_spec_CXX \
16106whole_archive_flag_spec_CXX \
16107compiler_needs_object_CXX \
16108with_gnu_ld_CXX \
16109allow_undefined_flag_CXX \
16110no_undefined_flag_CXX \
16111hardcode_libdir_flag_spec_CXX \
16112hardcode_libdir_separator_CXX \
16113exclude_expsyms_CXX \
16114include_expsyms_CXX \
16115file_list_spec_CXX \
16116compiler_lib_search_dirs_CXX \
16117predep_objects_CXX \
16118postdep_objects_CXX \
16119predeps_CXX \
16120postdeps_CXX \
16121compiler_lib_search_path_CXX; do
16122    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16123    *[\\\\\\\`\\"\\\$]*)
16124      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16125      ;;
16126    *)
16127      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16128      ;;
16129    esac
16130done
16131
16132# Double-quote double-evaled strings.
16133for var in reload_cmds \
16134old_postinstall_cmds \
16135old_postuninstall_cmds \
16136old_archive_cmds \
16137extract_expsyms_cmds \
16138old_archive_from_new_cmds \
16139old_archive_from_expsyms_cmds \
16140archive_cmds \
16141archive_expsym_cmds \
16142module_cmds \
16143module_expsym_cmds \
16144export_symbols_cmds \
16145prelink_cmds \
16146postlink_cmds \
16147postinstall_cmds \
16148postuninstall_cmds \
16149finish_cmds \
16150sys_lib_search_path_spec \
16151sys_lib_dlsearch_path_spec \
16152reload_cmds_CXX \
16153old_archive_cmds_CXX \
16154old_archive_from_new_cmds_CXX \
16155old_archive_from_expsyms_cmds_CXX \
16156archive_cmds_CXX \
16157archive_expsym_cmds_CXX \
16158module_cmds_CXX \
16159module_expsym_cmds_CXX \
16160export_symbols_cmds_CXX \
16161prelink_cmds_CXX \
16162postlink_cmds_CXX; do
16163    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16164    *[\\\\\\\`\\"\\\$]*)
16165      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16166      ;;
16167    *)
16168      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16169      ;;
16170    esac
16171done
16172
16173ac_aux_dir='$ac_aux_dir'
16174xsi_shell='$xsi_shell'
16175lt_shell_append='$lt_shell_append'
16176
16177# See if we are running on zsh, and set the options which allow our
16178# commands through without removal of \ escapes INIT.
16179if test -n "\${ZSH_VERSION+set}" ; then
16180   setopt NO_GLOB_SUBST
16181fi
16182
16183
16184    PACKAGE='$PACKAGE'
16185    VERSION='$VERSION'
16186    TIMESTAMP='$TIMESTAMP'
16187    RM='$RM'
16188    ofile='$ofile'
16189
16190
16191
16192
16193
16194
16195_ACEOF
16196
16197cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16198
16199# Handling of arguments.
16200for ac_config_target in $ac_config_targets
16201do
16202  case $ac_config_target in
16203    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16204    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16205    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16206    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16207
16208  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16209  esac
16210done
16211
16212
16213# If the user did not use the arguments to specify the items to instantiate,
16214# then the envvar interface is used.  Set only those that are not.
16215# We use the long form for the default assignment because of an extremely
16216# bizarre bug on SunOS 4.1.3.
16217if $ac_need_defaults; then
16218  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16219  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16220  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16221fi
16222
16223# Have a temporary directory for convenience.  Make it in the build tree
16224# simply because there is no reason against having it here, and in addition,
16225# creating and moving files from /tmp can sometimes cause problems.
16226# Hook for its removal unless debugging.
16227# Note that there is a small window in which the directory will not be cleaned:
16228# after its creation but before its name has been assigned to `$tmp'.
16229$debug ||
16230{
16231  tmp= ac_tmp=
16232  trap 'exit_status=$?
16233  : "${ac_tmp:=$tmp}"
16234  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16235' 0
16236  trap 'as_fn_exit 1' 1 2 13 15
16237}
16238# Create a (secure) tmp directory for tmp files.
16239
16240{
16241  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16242  test -d "$tmp"
16243}  ||
16244{
16245  tmp=./conf$$-$RANDOM
16246  (umask 077 && mkdir "$tmp")
16247} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16248ac_tmp=$tmp
16249
16250# Set up the scripts for CONFIG_FILES section.
16251# No need to generate them if there are no CONFIG_FILES.
16252# This happens for instance with `./config.status config.h'.
16253if test -n "$CONFIG_FILES"; then
16254
16255
16256ac_cr=`echo X | tr X '\015'`
16257# On cygwin, bash can eat \r inside `` if the user requested igncr.
16258# But we know of no other shell where ac_cr would be empty at this
16259# point, so we can use a bashism as a fallback.
16260if test "x$ac_cr" = x; then
16261  eval ac_cr=\$\'\\r\'
16262fi
16263ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16264if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16265  ac_cs_awk_cr='\\r'
16266else
16267  ac_cs_awk_cr=$ac_cr
16268fi
16269
16270echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16271_ACEOF
16272
16273
16274{
16275  echo "cat >conf$$subs.awk <<_ACEOF" &&
16276  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16277  echo "_ACEOF"
16278} >conf$$subs.sh ||
16279  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16280ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16281ac_delim='%!_!# '
16282for ac_last_try in false false false false false :; do
16283  . ./conf$$subs.sh ||
16284    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16285
16286  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16287  if test $ac_delim_n = $ac_delim_num; then
16288    break
16289  elif $ac_last_try; then
16290    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16291  else
16292    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16293  fi
16294done
16295rm -f conf$$subs.sh
16296
16297cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16298cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16299_ACEOF
16300sed -n '
16301h
16302s/^/S["/; s/!.*/"]=/
16303p
16304g
16305s/^[^!]*!//
16306:repl
16307t repl
16308s/'"$ac_delim"'$//
16309t delim
16310:nl
16311h
16312s/\(.\{148\}\)..*/\1/
16313t more1
16314s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16315p
16316n
16317b repl
16318:more1
16319s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16320p
16321g
16322s/.\{148\}//
16323t nl
16324:delim
16325h
16326s/\(.\{148\}\)..*/\1/
16327t more2
16328s/["\\]/\\&/g; s/^/"/; s/$/"/
16329p
16330b
16331:more2
16332s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16333p
16334g
16335s/.\{148\}//
16336t delim
16337' <conf$$subs.awk | sed '
16338/^[^""]/{
16339  N
16340  s/\n//
16341}
16342' >>$CONFIG_STATUS || ac_write_fail=1
16343rm -f conf$$subs.awk
16344cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16345_ACAWK
16346cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16347  for (key in S) S_is_set[key] = 1
16348  FS = ""
16349
16350}
16351{
16352  line = $ 0
16353  nfields = split(line, field, "@")
16354  substed = 0
16355  len = length(field[1])
16356  for (i = 2; i < nfields; i++) {
16357    key = field[i]
16358    keylen = length(key)
16359    if (S_is_set[key]) {
16360      value = S[key]
16361      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16362      len += length(value) + length(field[++i])
16363      substed = 1
16364    } else
16365      len += 1 + keylen
16366  }
16367
16368  print line
16369}
16370
16371_ACAWK
16372_ACEOF
16373cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16374if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16375  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16376else
16377  cat
16378fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16379  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16380_ACEOF
16381
16382# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16383# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16384# trailing colons and then remove the whole line if VPATH becomes empty
16385# (actually we leave an empty line to preserve line numbers).
16386if test "x$srcdir" = x.; then
16387  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
16388h
16389s///
16390s/^/:/
16391s/[	 ]*$/:/
16392s/:\$(srcdir):/:/g
16393s/:\${srcdir}:/:/g
16394s/:@srcdir@:/:/g
16395s/^:*//
16396s/:*$//
16397x
16398s/\(=[	 ]*\).*/\1/
16399G
16400s/\n//
16401s/^[^=]*=[	 ]*$//
16402}'
16403fi
16404
16405cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16406fi # test -n "$CONFIG_FILES"
16407
16408# Set up the scripts for CONFIG_HEADERS section.
16409# No need to generate them if there are no CONFIG_HEADERS.
16410# This happens for instance with `./config.status Makefile'.
16411if test -n "$CONFIG_HEADERS"; then
16412cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16413BEGIN {
16414_ACEOF
16415
16416# Transform confdefs.h into an awk script `defines.awk', embedded as
16417# here-document in config.status, that substitutes the proper values into
16418# config.h.in to produce config.h.
16419
16420# Create a delimiter string that does not exist in confdefs.h, to ease
16421# handling of long lines.
16422ac_delim='%!_!# '
16423for ac_last_try in false false :; do
16424  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16425  if test -z "$ac_tt"; then
16426    break
16427  elif $ac_last_try; then
16428    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16429  else
16430    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16431  fi
16432done
16433
16434# For the awk script, D is an array of macro values keyed by name,
16435# likewise P contains macro parameters if any.  Preserve backslash
16436# newline sequences.
16437
16438ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16439sed -n '
16440s/.\{148\}/&'"$ac_delim"'/g
16441t rset
16442:rset
16443s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
16444t def
16445d
16446:def
16447s/\\$//
16448t bsnl
16449s/["\\]/\\&/g
16450s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16451D["\1"]=" \3"/p
16452s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
16453d
16454:bsnl
16455s/["\\]/\\&/g
16456s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16457D["\1"]=" \3\\\\\\n"\\/p
16458t cont
16459s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16460t cont
16461d
16462:cont
16463n
16464s/.\{148\}/&'"$ac_delim"'/g
16465t clear
16466:clear
16467s/\\$//
16468t bsnlc
16469s/["\\]/\\&/g; s/^/"/; s/$/"/p
16470d
16471:bsnlc
16472s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16473b cont
16474' <confdefs.h | sed '
16475s/'"$ac_delim"'/"\\\
16476"/g' >>$CONFIG_STATUS || ac_write_fail=1
16477
16478cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16479  for (key in D) D_is_set[key] = 1
16480  FS = ""
16481}
16482/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16483  line = \$ 0
16484  split(line, arg, " ")
16485  if (arg[1] == "#") {
16486    defundef = arg[2]
16487    mac1 = arg[3]
16488  } else {
16489    defundef = substr(arg[1], 2)
16490    mac1 = arg[2]
16491  }
16492  split(mac1, mac2, "(") #)
16493  macro = mac2[1]
16494  prefix = substr(line, 1, index(line, defundef) - 1)
16495  if (D_is_set[macro]) {
16496    # Preserve the white space surrounding the "#".
16497    print prefix "define", macro P[macro] D[macro]
16498    next
16499  } else {
16500    # Replace #undef with comments.  This is necessary, for example,
16501    # in the case of _POSIX_SOURCE, which is predefined and required
16502    # on some systems where configure will not decide to define it.
16503    if (defundef == "undef") {
16504      print "/*", prefix defundef, macro, "*/"
16505      next
16506    }
16507  }
16508}
16509{ print }
16510_ACAWK
16511_ACEOF
16512cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16513  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16514fi # test -n "$CONFIG_HEADERS"
16515
16516
16517eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16518shift
16519for ac_tag
16520do
16521  case $ac_tag in
16522  :[FHLC]) ac_mode=$ac_tag; continue;;
16523  esac
16524  case $ac_mode$ac_tag in
16525  :[FHL]*:*);;
16526  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16527  :[FH]-) ac_tag=-:-;;
16528  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16529  esac
16530  ac_save_IFS=$IFS
16531  IFS=:
16532  set x $ac_tag
16533  IFS=$ac_save_IFS
16534  shift
16535  ac_file=$1
16536  shift
16537
16538  case $ac_mode in
16539  :L) ac_source=$1;;
16540  :[FH])
16541    ac_file_inputs=
16542    for ac_f
16543    do
16544      case $ac_f in
16545      -) ac_f="$ac_tmp/stdin";;
16546      *) # Look for the file first in the build tree, then in the source tree
16547	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16548	 # because $ac_f cannot contain `:'.
16549	 test -f "$ac_f" ||
16550	   case $ac_f in
16551	   [\\/$]*) false;;
16552	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16553	   esac ||
16554	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16555      esac
16556      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16557      as_fn_append ac_file_inputs " '$ac_f'"
16558    done
16559
16560    # Let's still pretend it is `configure' which instantiates (i.e., don't
16561    # use $as_me), people would be surprised to read:
16562    #    /* config.h.  Generated by config.status.  */
16563    configure_input='Generated from '`
16564	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16565	`' by configure.'
16566    if test x"$ac_file" != x-; then
16567      configure_input="$ac_file.  $configure_input"
16568      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16569$as_echo "$as_me: creating $ac_file" >&6;}
16570    fi
16571    # Neutralize special characters interpreted by sed in replacement strings.
16572    case $configure_input in #(
16573    *\&* | *\|* | *\\* )
16574       ac_sed_conf_input=`$as_echo "$configure_input" |
16575       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16576    *) ac_sed_conf_input=$configure_input;;
16577    esac
16578
16579    case $ac_tag in
16580    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16581      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16582    esac
16583    ;;
16584  esac
16585
16586  ac_dir=`$as_dirname -- "$ac_file" ||
16587$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16588	 X"$ac_file" : 'X\(//\)[^/]' \| \
16589	 X"$ac_file" : 'X\(//\)$' \| \
16590	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16591$as_echo X"$ac_file" |
16592    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16593	    s//\1/
16594	    q
16595	  }
16596	  /^X\(\/\/\)[^/].*/{
16597	    s//\1/
16598	    q
16599	  }
16600	  /^X\(\/\/\)$/{
16601	    s//\1/
16602	    q
16603	  }
16604	  /^X\(\/\).*/{
16605	    s//\1/
16606	    q
16607	  }
16608	  s/.*/./; q'`
16609  as_dir="$ac_dir"; as_fn_mkdir_p
16610  ac_builddir=.
16611
16612case "$ac_dir" in
16613.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16614*)
16615  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16616  # A ".." for each directory in $ac_dir_suffix.
16617  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16618  case $ac_top_builddir_sub in
16619  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16620  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16621  esac ;;
16622esac
16623ac_abs_top_builddir=$ac_pwd
16624ac_abs_builddir=$ac_pwd$ac_dir_suffix
16625# for backward compatibility:
16626ac_top_builddir=$ac_top_build_prefix
16627
16628case $srcdir in
16629  .)  # We are building in place.
16630    ac_srcdir=.
16631    ac_top_srcdir=$ac_top_builddir_sub
16632    ac_abs_top_srcdir=$ac_pwd ;;
16633  [\\/]* | ?:[\\/]* )  # Absolute name.
16634    ac_srcdir=$srcdir$ac_dir_suffix;
16635    ac_top_srcdir=$srcdir
16636    ac_abs_top_srcdir=$srcdir ;;
16637  *) # Relative name.
16638    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16639    ac_top_srcdir=$ac_top_build_prefix$srcdir
16640    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16641esac
16642ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16643
16644
16645  case $ac_mode in
16646  :F)
16647  #
16648  # CONFIG_FILE
16649  #
16650
16651  case $INSTALL in
16652  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16653  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16654  esac
16655  ac_MKDIR_P=$MKDIR_P
16656  case $MKDIR_P in
16657  [\\/$]* | ?:[\\/]* ) ;;
16658  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16659  esac
16660_ACEOF
16661
16662cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16663# If the template does not know about datarootdir, expand it.
16664# FIXME: This hack should be removed a few years after 2.60.
16665ac_datarootdir_hack=; ac_datarootdir_seen=
16666ac_sed_dataroot='
16667/datarootdir/ {
16668  p
16669  q
16670}
16671/@datadir@/p
16672/@docdir@/p
16673/@infodir@/p
16674/@localedir@/p
16675/@mandir@/p'
16676case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16677*datarootdir*) ac_datarootdir_seen=yes;;
16678*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16679  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16680$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16681_ACEOF
16682cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16683  ac_datarootdir_hack='
16684  s&@datadir@&$datadir&g
16685  s&@docdir@&$docdir&g
16686  s&@infodir@&$infodir&g
16687  s&@localedir@&$localedir&g
16688  s&@mandir@&$mandir&g
16689  s&\\\${datarootdir}&$datarootdir&g' ;;
16690esac
16691_ACEOF
16692
16693# Neutralize VPATH when `$srcdir' = `.'.
16694# Shell code in configure.ac might set extrasub.
16695# FIXME: do we really want to maintain this feature?
16696cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16697ac_sed_extra="$ac_vpsub
16698$extrasub
16699_ACEOF
16700cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16701:t
16702/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16703s|@configure_input@|$ac_sed_conf_input|;t t
16704s&@top_builddir@&$ac_top_builddir_sub&;t t
16705s&@top_build_prefix@&$ac_top_build_prefix&;t t
16706s&@srcdir@&$ac_srcdir&;t t
16707s&@abs_srcdir@&$ac_abs_srcdir&;t t
16708s&@top_srcdir@&$ac_top_srcdir&;t t
16709s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16710s&@builddir@&$ac_builddir&;t t
16711s&@abs_builddir@&$ac_abs_builddir&;t t
16712s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16713s&@INSTALL@&$ac_INSTALL&;t t
16714s&@MKDIR_P@&$ac_MKDIR_P&;t t
16715$ac_datarootdir_hack
16716"
16717eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16718  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16719
16720test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16721  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16722  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
16723      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16724  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16725which seems to be undefined.  Please make sure it is defined" >&5
16726$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16727which seems to be undefined.  Please make sure it is defined" >&2;}
16728
16729  rm -f "$ac_tmp/stdin"
16730  case $ac_file in
16731  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16732  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16733  esac \
16734  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16735 ;;
16736  :H)
16737  #
16738  # CONFIG_HEADER
16739  #
16740  if test x"$ac_file" != x-; then
16741    {
16742      $as_echo "/* $configure_input  */" \
16743      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16744    } >"$ac_tmp/config.h" \
16745      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16746    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16747      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16748$as_echo "$as_me: $ac_file is unchanged" >&6;}
16749    else
16750      rm -f "$ac_file"
16751      mv "$ac_tmp/config.h" "$ac_file" \
16752	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16753    fi
16754  else
16755    $as_echo "/* $configure_input  */" \
16756      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16757      || as_fn_error $? "could not create -" "$LINENO" 5
16758  fi
16759# Compute "$ac_file"'s index in $config_headers.
16760_am_arg="$ac_file"
16761_am_stamp_count=1
16762for _am_header in $config_headers :; do
16763  case $_am_header in
16764    $_am_arg | $_am_arg:* )
16765      break ;;
16766    * )
16767      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16768  esac
16769done
16770echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16771$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16772	 X"$_am_arg" : 'X\(//\)[^/]' \| \
16773	 X"$_am_arg" : 'X\(//\)$' \| \
16774	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16775$as_echo X"$_am_arg" |
16776    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16777	    s//\1/
16778	    q
16779	  }
16780	  /^X\(\/\/\)[^/].*/{
16781	    s//\1/
16782	    q
16783	  }
16784	  /^X\(\/\/\)$/{
16785	    s//\1/
16786	    q
16787	  }
16788	  /^X\(\/\).*/{
16789	    s//\1/
16790	    q
16791	  }
16792	  s/.*/./; q'`/stamp-h$_am_stamp_count
16793 ;;
16794
16795  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16796$as_echo "$as_me: executing $ac_file commands" >&6;}
16797 ;;
16798  esac
16799
16800
16801  case $ac_file$ac_mode in
16802    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16803  # Older Autoconf quotes --file arguments for eval, but not when files
16804  # are listed without --file.  Let's play safe and only enable the eval
16805  # if we detect the quoting.
16806  case $CONFIG_FILES in
16807  *\'*) eval set x "$CONFIG_FILES" ;;
16808  *)   set x $CONFIG_FILES ;;
16809  esac
16810  shift
16811  for mf
16812  do
16813    # Strip MF so we end up with the name of the file.
16814    mf=`echo "$mf" | sed -e 's/:.*$//'`
16815    # Check whether this is an Automake generated Makefile or not.
16816    # We used to match only the files named 'Makefile.in', but
16817    # some people rename them; so instead we look at the file content.
16818    # Grep'ing the first line is not enough: some people post-process
16819    # each Makefile.in and add a new line on top of each file to say so.
16820    # Grep'ing the whole file is not good either: AIX grep has a line
16821    # limit of 2048, but all sed's we know have understand at least 4000.
16822    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16823      dirpart=`$as_dirname -- "$mf" ||
16824$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16825	 X"$mf" : 'X\(//\)[^/]' \| \
16826	 X"$mf" : 'X\(//\)$' \| \
16827	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16828$as_echo X"$mf" |
16829    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16830	    s//\1/
16831	    q
16832	  }
16833	  /^X\(\/\/\)[^/].*/{
16834	    s//\1/
16835	    q
16836	  }
16837	  /^X\(\/\/\)$/{
16838	    s//\1/
16839	    q
16840	  }
16841	  /^X\(\/\).*/{
16842	    s//\1/
16843	    q
16844	  }
16845	  s/.*/./; q'`
16846    else
16847      continue
16848    fi
16849    # Extract the definition of DEPDIR, am__include, and am__quote
16850    # from the Makefile without running 'make'.
16851    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16852    test -z "$DEPDIR" && continue
16853    am__include=`sed -n 's/^am__include = //p' < "$mf"`
16854    test -z "$am__include" && continue
16855    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16856    # Find all dependency output files, they are included files with
16857    # $(DEPDIR) in their names.  We invoke sed twice because it is the
16858    # simplest approach to changing $(DEPDIR) to its actual value in the
16859    # expansion.
16860    for file in `sed -n "
16861      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16862	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16863      # Make sure the directory exists.
16864      test -f "$dirpart/$file" && continue
16865      fdir=`$as_dirname -- "$file" ||
16866$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16867	 X"$file" : 'X\(//\)[^/]' \| \
16868	 X"$file" : 'X\(//\)$' \| \
16869	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16870$as_echo X"$file" |
16871    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16872	    s//\1/
16873	    q
16874	  }
16875	  /^X\(\/\/\)[^/].*/{
16876	    s//\1/
16877	    q
16878	  }
16879	  /^X\(\/\/\)$/{
16880	    s//\1/
16881	    q
16882	  }
16883	  /^X\(\/\).*/{
16884	    s//\1/
16885	    q
16886	  }
16887	  s/.*/./; q'`
16888      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16889      # echo "creating $dirpart/$file"
16890      echo '# dummy' > "$dirpart/$file"
16891    done
16892  done
16893}
16894 ;;
16895    "libtool":C)
16896
16897    # See if we are running on zsh, and set the options which allow our
16898    # commands through without removal of \ escapes.
16899    if test -n "${ZSH_VERSION+set}" ; then
16900      setopt NO_GLOB_SUBST
16901    fi
16902
16903    cfgfile="${ofile}T"
16904    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16905    $RM "$cfgfile"
16906
16907    cat <<_LT_EOF >> "$cfgfile"
16908#! $SHELL
16909
16910# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16911# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16912# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16913# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16914#
16915#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16916#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16917#                 Foundation, Inc.
16918#   Written by Gordon Matzigkeit, 1996
16919#
16920#   This file is part of GNU Libtool.
16921#
16922# GNU Libtool is free software; you can redistribute it and/or
16923# modify it under the terms of the GNU General Public License as
16924# published by the Free Software Foundation; either version 2 of
16925# the License, or (at your option) any later version.
16926#
16927# As a special exception to the GNU General Public License,
16928# if you distribute this file as part of a program or library that
16929# is built using GNU Libtool, you may include this file under the
16930# same distribution terms that you use for the rest of that program.
16931#
16932# GNU Libtool is distributed in the hope that it will be useful,
16933# but WITHOUT ANY WARRANTY; without even the implied warranty of
16934# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16935# GNU General Public License for more details.
16936#
16937# You should have received a copy of the GNU General Public License
16938# along with GNU Libtool; see the file COPYING.  If not, a copy
16939# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16940# obtained by writing to the Free Software Foundation, Inc.,
16941# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16942
16943
16944# The names of the tagged configurations supported by this script.
16945available_tags="CXX "
16946
16947# ### BEGIN LIBTOOL CONFIG
16948
16949# Which release of libtool.m4 was used?
16950macro_version=$macro_version
16951macro_revision=$macro_revision
16952
16953# Whether or not to build shared libraries.
16954build_libtool_libs=$enable_shared
16955
16956# Whether or not to build static libraries.
16957build_old_libs=$enable_static
16958
16959# What type of objects to build.
16960pic_mode=$pic_mode
16961
16962# Whether or not to optimize for fast installation.
16963fast_install=$enable_fast_install
16964
16965# Shell to use when invoking shell scripts.
16966SHELL=$lt_SHELL
16967
16968# An echo program that protects backslashes.
16969ECHO=$lt_ECHO
16970
16971# The PATH separator for the build system.
16972PATH_SEPARATOR=$lt_PATH_SEPARATOR
16973
16974# The host system.
16975host_alias=$host_alias
16976host=$host
16977host_os=$host_os
16978
16979# The build system.
16980build_alias=$build_alias
16981build=$build
16982build_os=$build_os
16983
16984# A sed program that does not truncate output.
16985SED=$lt_SED
16986
16987# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16988Xsed="\$SED -e 1s/^X//"
16989
16990# A grep program that handles long lines.
16991GREP=$lt_GREP
16992
16993# An ERE matcher.
16994EGREP=$lt_EGREP
16995
16996# A literal string matcher.
16997FGREP=$lt_FGREP
16998
16999# A BSD- or MS-compatible name lister.
17000NM=$lt_NM
17001
17002# Whether we need soft or hard links.
17003LN_S=$lt_LN_S
17004
17005# What is the maximum length of a command?
17006max_cmd_len=$max_cmd_len
17007
17008# Object file suffix (normally "o").
17009objext=$ac_objext
17010
17011# Executable file suffix (normally "").
17012exeext=$exeext
17013
17014# whether the shell understands "unset".
17015lt_unset=$lt_unset
17016
17017# turn spaces into newlines.
17018SP2NL=$lt_lt_SP2NL
17019
17020# turn newlines into spaces.
17021NL2SP=$lt_lt_NL2SP
17022
17023# convert \$build file names to \$host format.
17024to_host_file_cmd=$lt_cv_to_host_file_cmd
17025
17026# convert \$build files to toolchain format.
17027to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17028
17029# An object symbol dumper.
17030OBJDUMP=$lt_OBJDUMP
17031
17032# Method to check whether dependent libraries are shared objects.
17033deplibs_check_method=$lt_deplibs_check_method
17034
17035# Command to use when deplibs_check_method = "file_magic".
17036file_magic_cmd=$lt_file_magic_cmd
17037
17038# How to find potential files when deplibs_check_method = "file_magic".
17039file_magic_glob=$lt_file_magic_glob
17040
17041# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17042want_nocaseglob=$lt_want_nocaseglob
17043
17044# DLL creation program.
17045DLLTOOL=$lt_DLLTOOL
17046
17047# Command to associate shared and link libraries.
17048sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17049
17050# The archiver.
17051AR=$lt_AR
17052
17053# Flags to create an archive.
17054AR_FLAGS=$lt_AR_FLAGS
17055
17056# How to feed a file listing to the archiver.
17057archiver_list_spec=$lt_archiver_list_spec
17058
17059# A symbol stripping program.
17060STRIP=$lt_STRIP
17061
17062# Commands used to install an old-style archive.
17063RANLIB=$lt_RANLIB
17064old_postinstall_cmds=$lt_old_postinstall_cmds
17065old_postuninstall_cmds=$lt_old_postuninstall_cmds
17066
17067# Whether to use a lock for old archive extraction.
17068lock_old_archive_extraction=$lock_old_archive_extraction
17069
17070# A C compiler.
17071LTCC=$lt_CC
17072
17073# LTCC compiler flags.
17074LTCFLAGS=$lt_CFLAGS
17075
17076# Take the output of nm and produce a listing of raw symbols and C names.
17077global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17078
17079# Transform the output of nm in a proper C declaration.
17080global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17081
17082# Transform the output of nm in a C name address pair.
17083global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17084
17085# Transform the output of nm in a C name address pair when lib prefix is needed.
17086global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17087
17088# Specify filename containing input files for \$NM.
17089nm_file_list_spec=$lt_nm_file_list_spec
17090
17091# The root where to search for dependent libraries,and in which our libraries should be installed.
17092lt_sysroot=$lt_sysroot
17093
17094# The name of the directory that contains temporary libtool files.
17095objdir=$objdir
17096
17097# Used to examine libraries when file_magic_cmd begins with "file".
17098MAGIC_CMD=$MAGIC_CMD
17099
17100# Must we lock files when doing compilation?
17101need_locks=$lt_need_locks
17102
17103# Manifest tool.
17104MANIFEST_TOOL=$lt_MANIFEST_TOOL
17105
17106# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17107DSYMUTIL=$lt_DSYMUTIL
17108
17109# Tool to change global to local symbols on Mac OS X.
17110NMEDIT=$lt_NMEDIT
17111
17112# Tool to manipulate fat objects and archives on Mac OS X.
17113LIPO=$lt_LIPO
17114
17115# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17116OTOOL=$lt_OTOOL
17117
17118# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17119OTOOL64=$lt_OTOOL64
17120
17121# Old archive suffix (normally "a").
17122libext=$libext
17123
17124# Shared library suffix (normally ".so").
17125shrext_cmds=$lt_shrext_cmds
17126
17127# The commands to extract the exported symbol list from a shared archive.
17128extract_expsyms_cmds=$lt_extract_expsyms_cmds
17129
17130# Variables whose values should be saved in libtool wrapper scripts and
17131# restored at link time.
17132variables_saved_for_relink=$lt_variables_saved_for_relink
17133
17134# Do we need the "lib" prefix for modules?
17135need_lib_prefix=$need_lib_prefix
17136
17137# Do we need a version for libraries?
17138need_version=$need_version
17139
17140# Library versioning type.
17141version_type=$version_type
17142
17143# Shared library runtime path variable.
17144runpath_var=$runpath_var
17145
17146# Shared library path variable.
17147shlibpath_var=$shlibpath_var
17148
17149# Is shlibpath searched before the hard-coded library search path?
17150shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17151
17152# Format of library name prefix.
17153libname_spec=$lt_libname_spec
17154
17155# List of archive names.  First name is the real one, the rest are links.
17156# The last name is the one that the linker finds with -lNAME
17157library_names_spec=$lt_library_names_spec
17158
17159# The coded name of the library, if different from the real name.
17160soname_spec=$lt_soname_spec
17161
17162# Permission mode override for installation of shared libraries.
17163install_override_mode=$lt_install_override_mode
17164
17165# Command to use after installation of a shared archive.
17166postinstall_cmds=$lt_postinstall_cmds
17167
17168# Command to use after uninstallation of a shared archive.
17169postuninstall_cmds=$lt_postuninstall_cmds
17170
17171# Commands used to finish a libtool library installation in a directory.
17172finish_cmds=$lt_finish_cmds
17173
17174# As "finish_cmds", except a single script fragment to be evaled but
17175# not shown.
17176finish_eval=$lt_finish_eval
17177
17178# Whether we should hardcode library paths into libraries.
17179hardcode_into_libs=$hardcode_into_libs
17180
17181# Compile-time system search path for libraries.
17182sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17183
17184# Run-time system search path for libraries.
17185sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17186
17187# Whether dlopen is supported.
17188dlopen_support=$enable_dlopen
17189
17190# Whether dlopen of programs is supported.
17191dlopen_self=$enable_dlopen_self
17192
17193# Whether dlopen of statically linked programs is supported.
17194dlopen_self_static=$enable_dlopen_self_static
17195
17196# Commands to strip libraries.
17197old_striplib=$lt_old_striplib
17198striplib=$lt_striplib
17199
17200
17201# The linker used to build libraries.
17202LD=$lt_LD
17203
17204# How to create reloadable object files.
17205reload_flag=$lt_reload_flag
17206reload_cmds=$lt_reload_cmds
17207
17208# Commands used to build an old-style archive.
17209old_archive_cmds=$lt_old_archive_cmds
17210
17211# A language specific compiler.
17212CC=$lt_compiler
17213
17214# Is the compiler the GNU compiler?
17215with_gcc=$GCC
17216
17217# Compiler flag to turn off builtin functions.
17218no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17219
17220# Additional compiler flags for building library objects.
17221pic_flag=$lt_lt_prog_compiler_pic
17222
17223# How to pass a linker flag through the compiler.
17224wl=$lt_lt_prog_compiler_wl
17225
17226# Compiler flag to prevent dynamic linking.
17227link_static_flag=$lt_lt_prog_compiler_static
17228
17229# Does compiler simultaneously support -c and -o options?
17230compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17231
17232# Whether or not to add -lc for building shared libraries.
17233build_libtool_need_lc=$archive_cmds_need_lc
17234
17235# Whether or not to disallow shared libs when runtime libs are static.
17236allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17237
17238# Compiler flag to allow reflexive dlopens.
17239export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17240
17241# Compiler flag to generate shared objects directly from archives.
17242whole_archive_flag_spec=$lt_whole_archive_flag_spec
17243
17244# Whether the compiler copes with passing no objects directly.
17245compiler_needs_object=$lt_compiler_needs_object
17246
17247# Create an old-style archive from a shared archive.
17248old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17249
17250# Create a temporary old-style archive to link instead of a shared archive.
17251old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17252
17253# Commands used to build a shared archive.
17254archive_cmds=$lt_archive_cmds
17255archive_expsym_cmds=$lt_archive_expsym_cmds
17256
17257# Commands used to build a loadable module if different from building
17258# a shared archive.
17259module_cmds=$lt_module_cmds
17260module_expsym_cmds=$lt_module_expsym_cmds
17261
17262# Whether we are building with GNU ld or not.
17263with_gnu_ld=$lt_with_gnu_ld
17264
17265# Flag that allows shared libraries with undefined symbols to be built.
17266allow_undefined_flag=$lt_allow_undefined_flag
17267
17268# Flag that enforces no undefined symbols.
17269no_undefined_flag=$lt_no_undefined_flag
17270
17271# Flag to hardcode \$libdir into a binary during linking.
17272# This must work even if \$libdir does not exist
17273hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17274
17275# Whether we need a single "-rpath" flag with a separated argument.
17276hardcode_libdir_separator=$lt_hardcode_libdir_separator
17277
17278# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17279# DIR into the resulting binary.
17280hardcode_direct=$hardcode_direct
17281
17282# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17283# DIR into the resulting binary and the resulting library dependency is
17284# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17285# library is relocated.
17286hardcode_direct_absolute=$hardcode_direct_absolute
17287
17288# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17289# into the resulting binary.
17290hardcode_minus_L=$hardcode_minus_L
17291
17292# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17293# into the resulting binary.
17294hardcode_shlibpath_var=$hardcode_shlibpath_var
17295
17296# Set to "yes" if building a shared library automatically hardcodes DIR
17297# into the library and all subsequent libraries and executables linked
17298# against it.
17299hardcode_automatic=$hardcode_automatic
17300
17301# Set to yes if linker adds runtime paths of dependent libraries
17302# to runtime path list.
17303inherit_rpath=$inherit_rpath
17304
17305# Whether libtool must link a program against all its dependency libraries.
17306link_all_deplibs=$link_all_deplibs
17307
17308# Set to "yes" if exported symbols are required.
17309always_export_symbols=$always_export_symbols
17310
17311# The commands to list exported symbols.
17312export_symbols_cmds=$lt_export_symbols_cmds
17313
17314# Symbols that should not be listed in the preloaded symbols.
17315exclude_expsyms=$lt_exclude_expsyms
17316
17317# Symbols that must always be exported.
17318include_expsyms=$lt_include_expsyms
17319
17320# Commands necessary for linking programs (against libraries) with templates.
17321prelink_cmds=$lt_prelink_cmds
17322
17323# Commands necessary for finishing linking programs.
17324postlink_cmds=$lt_postlink_cmds
17325
17326# Specify filename containing input files.
17327file_list_spec=$lt_file_list_spec
17328
17329# How to hardcode a shared library path into an executable.
17330hardcode_action=$hardcode_action
17331
17332# The directories searched by this compiler when creating a shared library.
17333compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17334
17335# Dependencies to place before and after the objects being linked to
17336# create a shared library.
17337predep_objects=$lt_predep_objects
17338postdep_objects=$lt_postdep_objects
17339predeps=$lt_predeps
17340postdeps=$lt_postdeps
17341
17342# The library search path used internally by the compiler when linking
17343# a shared library.
17344compiler_lib_search_path=$lt_compiler_lib_search_path
17345
17346# ### END LIBTOOL CONFIG
17347
17348_LT_EOF
17349
17350  case $host_os in
17351  aix3*)
17352    cat <<\_LT_EOF >> "$cfgfile"
17353# AIX sometimes has problems with the GCC collect2 program.  For some
17354# reason, if we set the COLLECT_NAMES environment variable, the problems
17355# vanish in a puff of smoke.
17356if test "X${COLLECT_NAMES+set}" != Xset; then
17357  COLLECT_NAMES=
17358  export COLLECT_NAMES
17359fi
17360_LT_EOF
17361    ;;
17362  esac
17363
17364
17365ltmain="$ac_aux_dir/ltmain.sh"
17366
17367
17368  # We use sed instead of cat because bash on DJGPP gets confused if
17369  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17370  # text mode, it properly converts lines to CR/LF.  This bash problem
17371  # is reportedly fixed, but why not run on old versions too?
17372  sed '$q' "$ltmain" >> "$cfgfile" \
17373     || (rm -f "$cfgfile"; exit 1)
17374
17375  if test x"$xsi_shell" = xyes; then
17376  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17377func_dirname ()\
17378{\
17379\    case ${1} in\
17380\      */*) func_dirname_result="${1%/*}${2}" ;;\
17381\      *  ) func_dirname_result="${3}" ;;\
17382\    esac\
17383} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17384  && mv -f "$cfgfile.tmp" "$cfgfile" \
17385    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17386test 0 -eq $? || _lt_function_replace_fail=:
17387
17388
17389  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17390func_basename ()\
17391{\
17392\    func_basename_result="${1##*/}"\
17393} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17394  && mv -f "$cfgfile.tmp" "$cfgfile" \
17395    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17396test 0 -eq $? || _lt_function_replace_fail=:
17397
17398
17399  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17400func_dirname_and_basename ()\
17401{\
17402\    case ${1} in\
17403\      */*) func_dirname_result="${1%/*}${2}" ;;\
17404\      *  ) func_dirname_result="${3}" ;;\
17405\    esac\
17406\    func_basename_result="${1##*/}"\
17407} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17408  && mv -f "$cfgfile.tmp" "$cfgfile" \
17409    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17410test 0 -eq $? || _lt_function_replace_fail=:
17411
17412
17413  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17414func_stripname ()\
17415{\
17416\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17417\    # positional parameters, so assign one to ordinary parameter first.\
17418\    func_stripname_result=${3}\
17419\    func_stripname_result=${func_stripname_result#"${1}"}\
17420\    func_stripname_result=${func_stripname_result%"${2}"}\
17421} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17422  && mv -f "$cfgfile.tmp" "$cfgfile" \
17423    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17424test 0 -eq $? || _lt_function_replace_fail=:
17425
17426
17427  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17428func_split_long_opt ()\
17429{\
17430\    func_split_long_opt_name=${1%%=*}\
17431\    func_split_long_opt_arg=${1#*=}\
17432} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17433  && mv -f "$cfgfile.tmp" "$cfgfile" \
17434    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17435test 0 -eq $? || _lt_function_replace_fail=:
17436
17437
17438  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17439func_split_short_opt ()\
17440{\
17441\    func_split_short_opt_arg=${1#??}\
17442\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17443} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17444  && mv -f "$cfgfile.tmp" "$cfgfile" \
17445    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17446test 0 -eq $? || _lt_function_replace_fail=:
17447
17448
17449  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17450func_lo2o ()\
17451{\
17452\    case ${1} in\
17453\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17454\      *)    func_lo2o_result=${1} ;;\
17455\    esac\
17456} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17457  && mv -f "$cfgfile.tmp" "$cfgfile" \
17458    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17459test 0 -eq $? || _lt_function_replace_fail=:
17460
17461
17462  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17463func_xform ()\
17464{\
17465    func_xform_result=${1%.*}.lo\
17466} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17467  && mv -f "$cfgfile.tmp" "$cfgfile" \
17468    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17469test 0 -eq $? || _lt_function_replace_fail=:
17470
17471
17472  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17473func_arith ()\
17474{\
17475    func_arith_result=$(( $* ))\
17476} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17477  && mv -f "$cfgfile.tmp" "$cfgfile" \
17478    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17479test 0 -eq $? || _lt_function_replace_fail=:
17480
17481
17482  sed -e '/^func_len ()$/,/^} # func_len /c\
17483func_len ()\
17484{\
17485    func_len_result=${#1}\
17486} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17487  && mv -f "$cfgfile.tmp" "$cfgfile" \
17488    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17489test 0 -eq $? || _lt_function_replace_fail=:
17490
17491fi
17492
17493if test x"$lt_shell_append" = xyes; then
17494  sed -e '/^func_append ()$/,/^} # func_append /c\
17495func_append ()\
17496{\
17497    eval "${1}+=\\${2}"\
17498} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17499  && mv -f "$cfgfile.tmp" "$cfgfile" \
17500    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17501test 0 -eq $? || _lt_function_replace_fail=:
17502
17503
17504  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17505func_append_quoted ()\
17506{\
17507\    func_quote_for_eval "${2}"\
17508\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17509} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17510  && mv -f "$cfgfile.tmp" "$cfgfile" \
17511    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17512test 0 -eq $? || _lt_function_replace_fail=:
17513
17514
17515  # Save a `func_append' function call where possible by direct use of '+='
17516  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17517    && mv -f "$cfgfile.tmp" "$cfgfile" \
17518      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17519  test 0 -eq $? || _lt_function_replace_fail=:
17520else
17521  # Save a `func_append' function call even when '+=' is not available
17522  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17523    && mv -f "$cfgfile.tmp" "$cfgfile" \
17524      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17525  test 0 -eq $? || _lt_function_replace_fail=:
17526fi
17527
17528if test x"$_lt_function_replace_fail" = x":"; then
17529  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17530$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17531fi
17532
17533
17534   mv -f "$cfgfile" "$ofile" ||
17535    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17536  chmod +x "$ofile"
17537
17538
17539    cat <<_LT_EOF >> "$ofile"
17540
17541# ### BEGIN LIBTOOL TAG CONFIG: CXX
17542
17543# The linker used to build libraries.
17544LD=$lt_LD_CXX
17545
17546# How to create reloadable object files.
17547reload_flag=$lt_reload_flag_CXX
17548reload_cmds=$lt_reload_cmds_CXX
17549
17550# Commands used to build an old-style archive.
17551old_archive_cmds=$lt_old_archive_cmds_CXX
17552
17553# A language specific compiler.
17554CC=$lt_compiler_CXX
17555
17556# Is the compiler the GNU compiler?
17557with_gcc=$GCC_CXX
17558
17559# Compiler flag to turn off builtin functions.
17560no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17561
17562# Additional compiler flags for building library objects.
17563pic_flag=$lt_lt_prog_compiler_pic_CXX
17564
17565# How to pass a linker flag through the compiler.
17566wl=$lt_lt_prog_compiler_wl_CXX
17567
17568# Compiler flag to prevent dynamic linking.
17569link_static_flag=$lt_lt_prog_compiler_static_CXX
17570
17571# Does compiler simultaneously support -c and -o options?
17572compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17573
17574# Whether or not to add -lc for building shared libraries.
17575build_libtool_need_lc=$archive_cmds_need_lc_CXX
17576
17577# Whether or not to disallow shared libs when runtime libs are static.
17578allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17579
17580# Compiler flag to allow reflexive dlopens.
17581export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17582
17583# Compiler flag to generate shared objects directly from archives.
17584whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17585
17586# Whether the compiler copes with passing no objects directly.
17587compiler_needs_object=$lt_compiler_needs_object_CXX
17588
17589# Create an old-style archive from a shared archive.
17590old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17591
17592# Create a temporary old-style archive to link instead of a shared archive.
17593old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17594
17595# Commands used to build a shared archive.
17596archive_cmds=$lt_archive_cmds_CXX
17597archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17598
17599# Commands used to build a loadable module if different from building
17600# a shared archive.
17601module_cmds=$lt_module_cmds_CXX
17602module_expsym_cmds=$lt_module_expsym_cmds_CXX
17603
17604# Whether we are building with GNU ld or not.
17605with_gnu_ld=$lt_with_gnu_ld_CXX
17606
17607# Flag that allows shared libraries with undefined symbols to be built.
17608allow_undefined_flag=$lt_allow_undefined_flag_CXX
17609
17610# Flag that enforces no undefined symbols.
17611no_undefined_flag=$lt_no_undefined_flag_CXX
17612
17613# Flag to hardcode \$libdir into a binary during linking.
17614# This must work even if \$libdir does not exist
17615hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17616
17617# Whether we need a single "-rpath" flag with a separated argument.
17618hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17619
17620# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17621# DIR into the resulting binary.
17622hardcode_direct=$hardcode_direct_CXX
17623
17624# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17625# DIR into the resulting binary and the resulting library dependency is
17626# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17627# library is relocated.
17628hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17629
17630# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17631# into the resulting binary.
17632hardcode_minus_L=$hardcode_minus_L_CXX
17633
17634# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17635# into the resulting binary.
17636hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17637
17638# Set to "yes" if building a shared library automatically hardcodes DIR
17639# into the library and all subsequent libraries and executables linked
17640# against it.
17641hardcode_automatic=$hardcode_automatic_CXX
17642
17643# Set to yes if linker adds runtime paths of dependent libraries
17644# to runtime path list.
17645inherit_rpath=$inherit_rpath_CXX
17646
17647# Whether libtool must link a program against all its dependency libraries.
17648link_all_deplibs=$link_all_deplibs_CXX
17649
17650# Set to "yes" if exported symbols are required.
17651always_export_symbols=$always_export_symbols_CXX
17652
17653# The commands to list exported symbols.
17654export_symbols_cmds=$lt_export_symbols_cmds_CXX
17655
17656# Symbols that should not be listed in the preloaded symbols.
17657exclude_expsyms=$lt_exclude_expsyms_CXX
17658
17659# Symbols that must always be exported.
17660include_expsyms=$lt_include_expsyms_CXX
17661
17662# Commands necessary for linking programs (against libraries) with templates.
17663prelink_cmds=$lt_prelink_cmds_CXX
17664
17665# Commands necessary for finishing linking programs.
17666postlink_cmds=$lt_postlink_cmds_CXX
17667
17668# Specify filename containing input files.
17669file_list_spec=$lt_file_list_spec_CXX
17670
17671# How to hardcode a shared library path into an executable.
17672hardcode_action=$hardcode_action_CXX
17673
17674# The directories searched by this compiler when creating a shared library.
17675compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17676
17677# Dependencies to place before and after the objects being linked to
17678# create a shared library.
17679predep_objects=$lt_predep_objects_CXX
17680postdep_objects=$lt_postdep_objects_CXX
17681predeps=$lt_predeps_CXX
17682postdeps=$lt_postdeps_CXX
17683
17684# The library search path used internally by the compiler when linking
17685# a shared library.
17686compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17687
17688# ### END LIBTOOL TAG CONFIG: CXX
17689_LT_EOF
17690
17691 ;;
17692
17693  esac
17694done # for ac_tag
17695
17696
17697as_fn_exit 0
17698_ACEOF
17699ac_clean_files=$ac_clean_files_save
17700
17701test $ac_write_fail = 0 ||
17702  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17703
17704
17705# configure is writing to config.log, and then calls config.status.
17706# config.status does its own redirection, appending to config.log.
17707# Unfortunately, on DOS this fails, as config.log is still kept open
17708# by configure, so config.status won't be able to write to it; its
17709# output is simply discarded.  So we exec the FD to /dev/null,
17710# effectively closing config.log, so it can be properly (re)opened and
17711# appended to by config.status.  When coming back to configure, we
17712# need to make the FD available again.
17713if test "$no_create" != yes; then
17714  ac_cs_success=:
17715  ac_config_status_args=
17716  test "$silent" = yes &&
17717    ac_config_status_args="$ac_config_status_args --quiet"
17718  exec 5>/dev/null
17719  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17720  exec 5>>config.log
17721  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17722  # would make configure fail if this is the last instruction.
17723  $ac_cs_success || as_fn_exit 1
17724fi
17725if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17726  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17727$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17728fi
17729
17730