1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for ssdeep 2.14.1.
4#
5# Report bugs to <floss_ssdeep@irq.a4lg.com>.
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: floss_ssdeep@irq.a4lg.com about your system, including
279$0: any error possibly output before this message. Then
280$0: install a modern shell, or manually run the script
281$0: 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='ssdeep'
592PACKAGE_TARNAME='ssdeep'
593PACKAGE_VERSION='2.14.1'
594PACKAGE_STRING='ssdeep 2.14.1'
595PACKAGE_BUGREPORT='floss_ssdeep@irq.a4lg.com'
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
638CXXCPP
639CPP
640LT_SYS_LIBRARY_PATH
641OTOOL64
642OTOOL
643LIPO
644NMEDIT
645DSYMUTIL
646MANIFEST_TOOL
647RANLIB
648ac_ct_AR
649AR
650LN_S
651NM
652ac_ct_DUMPBIN
653DUMPBIN
654LD
655FGREP
656EGREP
657GREP
658SED
659LIBTOOL
660OBJDUMP
661DLLTOOL
662AS
663am__fastdepCXX_FALSE
664am__fastdepCXX_TRUE
665CXXDEPMODE
666ac_ct_CXX
667CXXFLAGS
668CXX
669am__fastdepCC_FALSE
670am__fastdepCC_TRUE
671CCDEPMODE
672am__nodep
673AMDEPBACKSLASH
674AMDEP_FALSE
675AMDEP_TRUE
676am__quote
677am__include
678DEPDIR
679OBJEXT
680EXEEXT
681ac_ct_CC
682CPPFLAGS
683LDFLAGS
684CFLAGS
685CC
686host_os
687host_vendor
688host_cpu
689host
690build_os
691build_vendor
692build_cpu
693build
694AM_BACKSLASH
695AM_DEFAULT_VERBOSITY
696AM_DEFAULT_V
697AM_V
698am__untar
699am__tar
700AMTAR
701am__leading_dot
702SET_MAKE
703AWK
704mkdir_p
705MKDIR_P
706INSTALL_STRIP_PROGRAM
707STRIP
708install_sh
709MAKEINFO
710AUTOHEADER
711AUTOMAKE
712AUTOCONF
713ACLOCAL
714VERSION
715PACKAGE
716CYGPATH_W
717am__isrc
718INSTALL_DATA
719INSTALL_SCRIPT
720INSTALL_PROGRAM
721target_alias
722host_alias
723build_alias
724LIBS
725ECHO_T
726ECHO_N
727ECHO_C
728DEFS
729mandir
730localedir
731libdir
732psdir
733pdfdir
734dvidir
735htmldir
736infodir
737docdir
738oldincludedir
739includedir
740localstatedir
741sharedstatedir
742sysconfdir
743datadir
744datarootdir
745libexecdir
746sbindir
747bindir
748program_transform_name
749prefix
750exec_prefix
751PACKAGE_URL
752PACKAGE_BUGREPORT
753PACKAGE_STRING
754PACKAGE_VERSION
755PACKAGE_TARNAME
756PACKAGE_NAME
757PATH_SEPARATOR
758SHELL'
759ac_subst_files=''
760ac_user_opts='
761enable_option_checking
762enable_silent_rules
763enable_dependency_tracking
764enable_shared
765enable_static
766with_pic
767enable_fast_install
768with_aix_soname
769with_gnu_ld
770with_sysroot
771enable_libtool_lock
772enable_auto_search
773with_auto_headers
774with_auto_libs
775enable_largefile
776enable_bitparallel_string_ops
777'
778      ac_precious_vars='build_alias
779host_alias
780target_alias
781CC
782CFLAGS
783LDFLAGS
784LIBS
785CPPFLAGS
786CXX
787CXXFLAGS
788CCC
789LT_SYS_LIBRARY_PATH
790CPP
791CXXCPP'
792
793
794# Initialize some variables set by options.
795ac_init_help=
796ac_init_version=false
797ac_unrecognized_opts=
798ac_unrecognized_sep=
799# The variables have the same names as the options, with
800# dashes changed to underlines.
801cache_file=/dev/null
802exec_prefix=NONE
803no_create=
804no_recursion=
805prefix=NONE
806program_prefix=NONE
807program_suffix=NONE
808program_transform_name=s,x,x,
809silent=
810site=
811srcdir=
812verbose=
813x_includes=NONE
814x_libraries=NONE
815
816# Installation directory options.
817# These are left unexpanded so users can "make install exec_prefix=/foo"
818# and all the variables that are supposed to be based on exec_prefix
819# by default will actually change.
820# Use braces instead of parens because sh, perl, etc. also accept them.
821# (The list follows the same order as the GNU Coding Standards.)
822bindir='${exec_prefix}/bin'
823sbindir='${exec_prefix}/sbin'
824libexecdir='${exec_prefix}/libexec'
825datarootdir='${prefix}/share'
826datadir='${datarootdir}'
827sysconfdir='${prefix}/etc'
828sharedstatedir='${prefix}/com'
829localstatedir='${prefix}/var'
830includedir='${prefix}/include'
831oldincludedir='/usr/include'
832docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833infodir='${datarootdir}/info'
834htmldir='${docdir}'
835dvidir='${docdir}'
836pdfdir='${docdir}'
837psdir='${docdir}'
838libdir='${exec_prefix}/lib'
839localedir='${datarootdir}/locale'
840mandir='${datarootdir}/man'
841
842ac_prev=
843ac_dashdash=
844for ac_option
845do
846  # If the previous option needs an argument, assign it.
847  if test -n "$ac_prev"; then
848    eval $ac_prev=\$ac_option
849    ac_prev=
850    continue
851  fi
852
853  case $ac_option in
854  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855  *=)   ac_optarg= ;;
856  *)    ac_optarg=yes ;;
857  esac
858
859  # Accept the important Cygnus configure options, so we can diagnose typos.
860
861  case $ac_dashdash$ac_option in
862  --)
863    ac_dashdash=yes ;;
864
865  -bindir | --bindir | --bindi | --bind | --bin | --bi)
866    ac_prev=bindir ;;
867  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
868    bindir=$ac_optarg ;;
869
870  -build | --build | --buil | --bui | --bu)
871    ac_prev=build_alias ;;
872  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
873    build_alias=$ac_optarg ;;
874
875  -cache-file | --cache-file | --cache-fil | --cache-fi \
876  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
877    ac_prev=cache_file ;;
878  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
879  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
880    cache_file=$ac_optarg ;;
881
882  --config-cache | -C)
883    cache_file=config.cache ;;
884
885  -datadir | --datadir | --datadi | --datad)
886    ac_prev=datadir ;;
887  -datadir=* | --datadir=* | --datadi=* | --datad=*)
888    datadir=$ac_optarg ;;
889
890  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
891  | --dataroo | --dataro | --datar)
892    ac_prev=datarootdir ;;
893  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
894  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
895    datarootdir=$ac_optarg ;;
896
897  -disable-* | --disable-*)
898    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
899    # Reject names that are not valid shell variable names.
900    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
901      as_fn_error $? "invalid feature name: $ac_useropt"
902    ac_useropt_orig=$ac_useropt
903    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904    case $ac_user_opts in
905      *"
906"enable_$ac_useropt"
907"*) ;;
908      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
909	 ac_unrecognized_sep=', ';;
910    esac
911    eval enable_$ac_useropt=no ;;
912
913  -docdir | --docdir | --docdi | --doc | --do)
914    ac_prev=docdir ;;
915  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
916    docdir=$ac_optarg ;;
917
918  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
919    ac_prev=dvidir ;;
920  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
921    dvidir=$ac_optarg ;;
922
923  -enable-* | --enable-*)
924    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
925    # Reject names that are not valid shell variable names.
926    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
927      as_fn_error $? "invalid feature name: $ac_useropt"
928    ac_useropt_orig=$ac_useropt
929    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930    case $ac_user_opts in
931      *"
932"enable_$ac_useropt"
933"*) ;;
934      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
935	 ac_unrecognized_sep=', ';;
936    esac
937    eval enable_$ac_useropt=\$ac_optarg ;;
938
939  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
940  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
941  | --exec | --exe | --ex)
942    ac_prev=exec_prefix ;;
943  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
944  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
945  | --exec=* | --exe=* | --ex=*)
946    exec_prefix=$ac_optarg ;;
947
948  -gas | --gas | --ga | --g)
949    # Obsolete; use --with-gas.
950    with_gas=yes ;;
951
952  -help | --help | --hel | --he | -h)
953    ac_init_help=long ;;
954  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
955    ac_init_help=recursive ;;
956  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
957    ac_init_help=short ;;
958
959  -host | --host | --hos | --ho)
960    ac_prev=host_alias ;;
961  -host=* | --host=* | --hos=* | --ho=*)
962    host_alias=$ac_optarg ;;
963
964  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
965    ac_prev=htmldir ;;
966  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
967  | --ht=*)
968    htmldir=$ac_optarg ;;
969
970  -includedir | --includedir | --includedi | --included | --include \
971  | --includ | --inclu | --incl | --inc)
972    ac_prev=includedir ;;
973  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
974  | --includ=* | --inclu=* | --incl=* | --inc=*)
975    includedir=$ac_optarg ;;
976
977  -infodir | --infodir | --infodi | --infod | --info | --inf)
978    ac_prev=infodir ;;
979  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
980    infodir=$ac_optarg ;;
981
982  -libdir | --libdir | --libdi | --libd)
983    ac_prev=libdir ;;
984  -libdir=* | --libdir=* | --libdi=* | --libd=*)
985    libdir=$ac_optarg ;;
986
987  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
988  | --libexe | --libex | --libe)
989    ac_prev=libexecdir ;;
990  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
991  | --libexe=* | --libex=* | --libe=*)
992    libexecdir=$ac_optarg ;;
993
994  -localedir | --localedir | --localedi | --localed | --locale)
995    ac_prev=localedir ;;
996  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
997    localedir=$ac_optarg ;;
998
999  -localstatedir | --localstatedir | --localstatedi | --localstated \
1000  | --localstate | --localstat | --localsta | --localst | --locals)
1001    ac_prev=localstatedir ;;
1002  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1003  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1004    localstatedir=$ac_optarg ;;
1005
1006  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1007    ac_prev=mandir ;;
1008  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1009    mandir=$ac_optarg ;;
1010
1011  -nfp | --nfp | --nf)
1012    # Obsolete; use --without-fp.
1013    with_fp=no ;;
1014
1015  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1016  | --no-cr | --no-c | -n)
1017    no_create=yes ;;
1018
1019  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1020  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1021    no_recursion=yes ;;
1022
1023  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1024  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1025  | --oldin | --oldi | --old | --ol | --o)
1026    ac_prev=oldincludedir ;;
1027  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1028  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1029  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1030    oldincludedir=$ac_optarg ;;
1031
1032  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1033    ac_prev=prefix ;;
1034  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1035    prefix=$ac_optarg ;;
1036
1037  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1038  | --program-pre | --program-pr | --program-p)
1039    ac_prev=program_prefix ;;
1040  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1041  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1042    program_prefix=$ac_optarg ;;
1043
1044  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1045  | --program-suf | --program-su | --program-s)
1046    ac_prev=program_suffix ;;
1047  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1048  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1049    program_suffix=$ac_optarg ;;
1050
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    ac_prev=program_transform_name ;;
1059  -program-transform-name=* | --program-transform-name=* \
1060  | --program-transform-nam=* | --program-transform-na=* \
1061  | --program-transform-n=* | --program-transform-=* \
1062  | --program-transform=* | --program-transfor=* \
1063  | --program-transfo=* | --program-transf=* \
1064  | --program-trans=* | --program-tran=* \
1065  | --progr-tra=* | --program-tr=* | --program-t=*)
1066    program_transform_name=$ac_optarg ;;
1067
1068  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1069    ac_prev=pdfdir ;;
1070  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1071    pdfdir=$ac_optarg ;;
1072
1073  -psdir | --psdir | --psdi | --psd | --ps)
1074    ac_prev=psdir ;;
1075  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1076    psdir=$ac_optarg ;;
1077
1078  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1079  | -silent | --silent | --silen | --sile | --sil)
1080    silent=yes ;;
1081
1082  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1083    ac_prev=sbindir ;;
1084  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1085  | --sbi=* | --sb=*)
1086    sbindir=$ac_optarg ;;
1087
1088  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1089  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1090  | --sharedst | --shareds | --shared | --share | --shar \
1091  | --sha | --sh)
1092    ac_prev=sharedstatedir ;;
1093  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1094  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1095  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1096  | --sha=* | --sh=*)
1097    sharedstatedir=$ac_optarg ;;
1098
1099  -site | --site | --sit)
1100    ac_prev=site ;;
1101  -site=* | --site=* | --sit=*)
1102    site=$ac_optarg ;;
1103
1104  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1105    ac_prev=srcdir ;;
1106  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1107    srcdir=$ac_optarg ;;
1108
1109  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1110  | --syscon | --sysco | --sysc | --sys | --sy)
1111    ac_prev=sysconfdir ;;
1112  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1113  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1114    sysconfdir=$ac_optarg ;;
1115
1116  -target | --target | --targe | --targ | --tar | --ta | --t)
1117    ac_prev=target_alias ;;
1118  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1119    target_alias=$ac_optarg ;;
1120
1121  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1122    verbose=yes ;;
1123
1124  -version | --version | --versio | --versi | --vers | -V)
1125    ac_init_version=: ;;
1126
1127  -with-* | --with-*)
1128    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1129    # Reject names that are not valid shell variable names.
1130    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131      as_fn_error $? "invalid package name: $ac_useropt"
1132    ac_useropt_orig=$ac_useropt
1133    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134    case $ac_user_opts in
1135      *"
1136"with_$ac_useropt"
1137"*) ;;
1138      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1139	 ac_unrecognized_sep=', ';;
1140    esac
1141    eval with_$ac_useropt=\$ac_optarg ;;
1142
1143  -without-* | --without-*)
1144    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1145    # Reject names that are not valid shell variable names.
1146    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1147      as_fn_error $? "invalid package name: $ac_useropt"
1148    ac_useropt_orig=$ac_useropt
1149    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150    case $ac_user_opts in
1151      *"
1152"with_$ac_useropt"
1153"*) ;;
1154      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1155	 ac_unrecognized_sep=', ';;
1156    esac
1157    eval with_$ac_useropt=no ;;
1158
1159  --x)
1160    # Obsolete; use --with-x.
1161    with_x=yes ;;
1162
1163  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1164  | --x-incl | --x-inc | --x-in | --x-i)
1165    ac_prev=x_includes ;;
1166  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1167  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1168    x_includes=$ac_optarg ;;
1169
1170  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1171  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1172    ac_prev=x_libraries ;;
1173  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1174  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1175    x_libraries=$ac_optarg ;;
1176
1177  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1178Try \`$0 --help' for more information"
1179    ;;
1180
1181  *=*)
1182    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1183    # Reject names that are not valid shell variable names.
1184    case $ac_envvar in #(
1185      '' | [0-9]* | *[!_$as_cr_alnum]* )
1186      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1187    esac
1188    eval $ac_envvar=\$ac_optarg
1189    export $ac_envvar ;;
1190
1191  *)
1192    # FIXME: should be removed in autoconf 3.0.
1193    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1194    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1195      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1196    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1197    ;;
1198
1199  esac
1200done
1201
1202if test -n "$ac_prev"; then
1203  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1204  as_fn_error $? "missing argument to $ac_option"
1205fi
1206
1207if test -n "$ac_unrecognized_opts"; then
1208  case $enable_option_checking in
1209    no) ;;
1210    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1211    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1212  esac
1213fi
1214
1215# Check all directory arguments for consistency.
1216for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1217		datadir sysconfdir sharedstatedir localstatedir includedir \
1218		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1219		libdir localedir mandir
1220do
1221  eval ac_val=\$$ac_var
1222  # Remove trailing slashes.
1223  case $ac_val in
1224    */ )
1225      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1226      eval $ac_var=\$ac_val;;
1227  esac
1228  # Be sure to have absolute directory names.
1229  case $ac_val in
1230    [\\/$]* | ?:[\\/]* )  continue;;
1231    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1232  esac
1233  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1234done
1235
1236# There might be people who depend on the old broken behavior: `$host'
1237# used to hold the argument of --host etc.
1238# FIXME: To remove some day.
1239build=$build_alias
1240host=$host_alias
1241target=$target_alias
1242
1243# FIXME: To remove some day.
1244if test "x$host_alias" != x; then
1245  if test "x$build_alias" = x; then
1246    cross_compiling=maybe
1247  elif test "x$build_alias" != "x$host_alias"; then
1248    cross_compiling=yes
1249  fi
1250fi
1251
1252ac_tool_prefix=
1253test -n "$host_alias" && ac_tool_prefix=$host_alias-
1254
1255test "$silent" = yes && exec 6>/dev/null
1256
1257
1258ac_pwd=`pwd` && test -n "$ac_pwd" &&
1259ac_ls_di=`ls -di .` &&
1260ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1261  as_fn_error $? "working directory cannot be determined"
1262test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263  as_fn_error $? "pwd does not report name of working directory"
1264
1265
1266# Find the source files, if location was not specified.
1267if test -z "$srcdir"; then
1268  ac_srcdir_defaulted=yes
1269  # Try the directory containing this script, then the parent directory.
1270  ac_confdir=`$as_dirname -- "$as_myself" ||
1271$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272	 X"$as_myself" : 'X\(//\)[^/]' \| \
1273	 X"$as_myself" : 'X\(//\)$' \| \
1274	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275$as_echo X"$as_myself" |
1276    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277	    s//\1/
1278	    q
1279	  }
1280	  /^X\(\/\/\)[^/].*/{
1281	    s//\1/
1282	    q
1283	  }
1284	  /^X\(\/\/\)$/{
1285	    s//\1/
1286	    q
1287	  }
1288	  /^X\(\/\).*/{
1289	    s//\1/
1290	    q
1291	  }
1292	  s/.*/./; q'`
1293  srcdir=$ac_confdir
1294  if test ! -r "$srcdir/$ac_unique_file"; then
1295    srcdir=..
1296  fi
1297else
1298  ac_srcdir_defaulted=no
1299fi
1300if test ! -r "$srcdir/$ac_unique_file"; then
1301  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1302  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1303fi
1304ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1305ac_abs_confdir=`(
1306	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1307	pwd)`
1308# When building in place, set srcdir=.
1309if test "$ac_abs_confdir" = "$ac_pwd"; then
1310  srcdir=.
1311fi
1312# Remove unnecessary trailing slashes from srcdir.
1313# Double slashes in file names in object file debugging info
1314# mess up M-x gdb in Emacs.
1315case $srcdir in
1316*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1317esac
1318for ac_var in $ac_precious_vars; do
1319  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1320  eval ac_env_${ac_var}_value=\$${ac_var}
1321  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1322  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1323done
1324
1325#
1326# Report the --help message.
1327#
1328if test "$ac_init_help" = "long"; then
1329  # Omit some internal or obsolete options to make the list less imposing.
1330  # This message is too long to be a string in the A/UX 3.1 sh.
1331  cat <<_ACEOF
1332\`configure' configures ssdeep 2.14.1 to adapt to many kinds of systems.
1333
1334Usage: $0 [OPTION]... [VAR=VALUE]...
1335
1336To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337VAR=VALUE.  See below for descriptions of some of the useful variables.
1338
1339Defaults for the options are specified in brackets.
1340
1341Configuration:
1342  -h, --help              display this help and exit
1343      --help=short        display options specific to this package
1344      --help=recursive    display the short help of all the included packages
1345  -V, --version           display version information and exit
1346  -q, --quiet, --silent   do not print \`checking ...' messages
1347      --cache-file=FILE   cache test results in FILE [disabled]
1348  -C, --config-cache      alias for \`--cache-file=config.cache'
1349  -n, --no-create         do not create output files
1350      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1351
1352Installation directories:
1353  --prefix=PREFIX         install architecture-independent files in PREFIX
1354                          [$ac_default_prefix]
1355  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1356                          [PREFIX]
1357
1358By default, \`make install' will install all the files in
1359\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1360an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361for instance \`--prefix=\$HOME'.
1362
1363For better control, use the options below.
1364
1365Fine tuning of the installation directories:
1366  --bindir=DIR            user executables [EPREFIX/bin]
1367  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1368  --libexecdir=DIR        program executables [EPREFIX/libexec]
1369  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1370  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1371  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1372  --libdir=DIR            object code libraries [EPREFIX/lib]
1373  --includedir=DIR        C header files [PREFIX/include]
1374  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1375  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1376  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1377  --infodir=DIR           info documentation [DATAROOTDIR/info]
1378  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1379  --mandir=DIR            man documentation [DATAROOTDIR/man]
1380  --docdir=DIR            documentation root [DATAROOTDIR/doc/ssdeep]
1381  --htmldir=DIR           html documentation [DOCDIR]
1382  --dvidir=DIR            dvi documentation [DOCDIR]
1383  --pdfdir=DIR            pdf documentation [DOCDIR]
1384  --psdir=DIR             ps documentation [DOCDIR]
1385_ACEOF
1386
1387  cat <<\_ACEOF
1388
1389Program names:
1390  --program-prefix=PREFIX            prepend PREFIX to installed program names
1391  --program-suffix=SUFFIX            append SUFFIX to installed program names
1392  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1393
1394System types:
1395  --build=BUILD     configure for building on BUILD [guessed]
1396  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1397_ACEOF
1398fi
1399
1400if test -n "$ac_init_help"; then
1401  case $ac_init_help in
1402     short | recursive ) echo "Configuration of ssdeep 2.14.1:";;
1403   esac
1404  cat <<\_ACEOF
1405
1406Optional Features:
1407  --disable-option-checking  ignore unrecognized --enable/--with options
1408  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1409  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1410  --enable-silent-rules   less verbose build output (undo: "make V=1")
1411  --disable-silent-rules  verbose build output (undo: "make V=0")
1412  --enable-dependency-tracking
1413                          do not reject slow dependency extractors
1414  --disable-dependency-tracking
1415                          speeds up one-time build
1416  --enable-shared[=PKGS]  build shared libraries [default=yes]
1417  --enable-static[=PKGS]  build static libraries [default=yes]
1418  --enable-fast-install[=PKGS]
1419                          optimize for fast installation [default=yes]
1420  --disable-libtool-lock  avoid locking (might break parallel builds)
1421  --disable-auto-search   disable searching additional include and library
1422                          directories
1423  --disable-largefile     omit support for large files
1424  --disable-bitparallel-string-ops
1425                          disable using bit-parallel string operations (which
1426                          would work best at 64-bit environment)
1427
1428Optional Packages:
1429  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1430  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1431  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1432                          both]
1433  --with-aix-soname=aix|svr4|both
1434                          shared library versioning (aka "SONAME") variant to
1435                          provide on AIX, [default=aix].
1436  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1437  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1438                          compiler's sysroot if not specified).
1439  --without-auto-headers  disable searching additional include directories
1440  --without-auto-libs     disable searching additional library directories
1441
1442Some influential environment variables:
1443  CC          C compiler command
1444  CFLAGS      C compiler flags
1445  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1446              nonstandard directory <lib dir>
1447  LIBS        libraries to pass to the linker, e.g. -l<library>
1448  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1449              you have headers in a nonstandard directory <include dir>
1450  CXX         C++ compiler command
1451  CXXFLAGS    C++ compiler flags
1452  LT_SYS_LIBRARY_PATH
1453              User-defined run-time library search path.
1454  CPP         C preprocessor
1455  CXXCPP      C++ preprocessor
1456
1457Use these variables to override the choices made by `configure' or to help
1458it to find libraries and programs with nonstandard names/locations.
1459
1460Report bugs to <floss_ssdeep@irq.a4lg.com>.
1461_ACEOF
1462ac_status=$?
1463fi
1464
1465if test "$ac_init_help" = "recursive"; then
1466  # If there are subdirs, report their specific --help.
1467  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1468    test -d "$ac_dir" ||
1469      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1470      continue
1471    ac_builddir=.
1472
1473case "$ac_dir" in
1474.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1475*)
1476  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1477  # A ".." for each directory in $ac_dir_suffix.
1478  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1479  case $ac_top_builddir_sub in
1480  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1481  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1482  esac ;;
1483esac
1484ac_abs_top_builddir=$ac_pwd
1485ac_abs_builddir=$ac_pwd$ac_dir_suffix
1486# for backward compatibility:
1487ac_top_builddir=$ac_top_build_prefix
1488
1489case $srcdir in
1490  .)  # We are building in place.
1491    ac_srcdir=.
1492    ac_top_srcdir=$ac_top_builddir_sub
1493    ac_abs_top_srcdir=$ac_pwd ;;
1494  [\\/]* | ?:[\\/]* )  # Absolute name.
1495    ac_srcdir=$srcdir$ac_dir_suffix;
1496    ac_top_srcdir=$srcdir
1497    ac_abs_top_srcdir=$srcdir ;;
1498  *) # Relative name.
1499    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1500    ac_top_srcdir=$ac_top_build_prefix$srcdir
1501    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1502esac
1503ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1504
1505    cd "$ac_dir" || { ac_status=$?; continue; }
1506    # Check for guested configure.
1507    if test -f "$ac_srcdir/configure.gnu"; then
1508      echo &&
1509      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1510    elif test -f "$ac_srcdir/configure"; then
1511      echo &&
1512      $SHELL "$ac_srcdir/configure" --help=recursive
1513    else
1514      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1515    fi || ac_status=$?
1516    cd "$ac_pwd" || { ac_status=$?; break; }
1517  done
1518fi
1519
1520test -n "$ac_init_help" && exit $ac_status
1521if $ac_init_version; then
1522  cat <<\_ACEOF
1523ssdeep configure 2.14.1
1524generated by GNU Autoconf 2.69
1525
1526Copyright (C) 2012 Free Software Foundation, Inc.
1527This configure script is free software; the Free Software Foundation
1528gives unlimited permission to copy, distribute and modify it.
1529_ACEOF
1530  exit
1531fi
1532
1533## ------------------------ ##
1534## Autoconf initialization. ##
1535## ------------------------ ##
1536
1537# ac_fn_c_try_compile LINENO
1538# --------------------------
1539# Try to compile conftest.$ac_ext, and return whether this succeeded.
1540ac_fn_c_try_compile ()
1541{
1542  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1543  rm -f conftest.$ac_objext
1544  if { { ac_try="$ac_compile"
1545case "(($ac_try" in
1546  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1547  *) ac_try_echo=$ac_try;;
1548esac
1549eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1550$as_echo "$ac_try_echo"; } >&5
1551  (eval "$ac_compile") 2>conftest.err
1552  ac_status=$?
1553  if test -s conftest.err; then
1554    grep -v '^ *+' conftest.err >conftest.er1
1555    cat conftest.er1 >&5
1556    mv -f conftest.er1 conftest.err
1557  fi
1558  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1559  test $ac_status = 0; } && {
1560	 test -z "$ac_c_werror_flag" ||
1561	 test ! -s conftest.err
1562       } && test -s conftest.$ac_objext; then :
1563  ac_retval=0
1564else
1565  $as_echo "$as_me: failed program was:" >&5
1566sed 's/^/| /' conftest.$ac_ext >&5
1567
1568	ac_retval=1
1569fi
1570  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1571  as_fn_set_status $ac_retval
1572
1573} # ac_fn_c_try_compile
1574
1575# ac_fn_cxx_try_compile LINENO
1576# ----------------------------
1577# Try to compile conftest.$ac_ext, and return whether this succeeded.
1578ac_fn_cxx_try_compile ()
1579{
1580  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581  rm -f conftest.$ac_objext
1582  if { { ac_try="$ac_compile"
1583case "(($ac_try" in
1584  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1585  *) ac_try_echo=$ac_try;;
1586esac
1587eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588$as_echo "$ac_try_echo"; } >&5
1589  (eval "$ac_compile") 2>conftest.err
1590  ac_status=$?
1591  if test -s conftest.err; then
1592    grep -v '^ *+' conftest.err >conftest.er1
1593    cat conftest.er1 >&5
1594    mv -f conftest.er1 conftest.err
1595  fi
1596  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597  test $ac_status = 0; } && {
1598	 test -z "$ac_cxx_werror_flag" ||
1599	 test ! -s conftest.err
1600       } && test -s conftest.$ac_objext; then :
1601  ac_retval=0
1602else
1603  $as_echo "$as_me: failed program was:" >&5
1604sed 's/^/| /' conftest.$ac_ext >&5
1605
1606	ac_retval=1
1607fi
1608  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609  as_fn_set_status $ac_retval
1610
1611} # ac_fn_cxx_try_compile
1612
1613# ac_fn_c_try_link LINENO
1614# -----------------------
1615# Try to link conftest.$ac_ext, and return whether this succeeded.
1616ac_fn_c_try_link ()
1617{
1618  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619  rm -f conftest.$ac_objext conftest$ac_exeext
1620  if { { ac_try="$ac_link"
1621case "(($ac_try" in
1622  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1623  *) ac_try_echo=$ac_try;;
1624esac
1625eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626$as_echo "$ac_try_echo"; } >&5
1627  (eval "$ac_link") 2>conftest.err
1628  ac_status=$?
1629  if test -s conftest.err; then
1630    grep -v '^ *+' conftest.err >conftest.er1
1631    cat conftest.er1 >&5
1632    mv -f conftest.er1 conftest.err
1633  fi
1634  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635  test $ac_status = 0; } && {
1636	 test -z "$ac_c_werror_flag" ||
1637	 test ! -s conftest.err
1638       } && test -s conftest$ac_exeext && {
1639	 test "$cross_compiling" = yes ||
1640	 test -x conftest$ac_exeext
1641       }; then :
1642  ac_retval=0
1643else
1644  $as_echo "$as_me: failed program was:" >&5
1645sed 's/^/| /' conftest.$ac_ext >&5
1646
1647	ac_retval=1
1648fi
1649  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1650  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1651  # interfere with the next link command; also delete a directory that is
1652  # left behind by Apple's compiler.  We do this before executing the actions.
1653  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1654  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655  as_fn_set_status $ac_retval
1656
1657} # ac_fn_c_try_link
1658
1659# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1660# -------------------------------------------------------
1661# Tests whether HEADER exists and can be compiled using the include files in
1662# INCLUDES, setting the cache variable VAR accordingly.
1663ac_fn_c_check_header_compile ()
1664{
1665  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667$as_echo_n "checking for $2... " >&6; }
1668if eval \${$3+:} false; then :
1669  $as_echo_n "(cached) " >&6
1670else
1671  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1672/* end confdefs.h.  */
1673$4
1674#include <$2>
1675_ACEOF
1676if ac_fn_c_try_compile "$LINENO"; then :
1677  eval "$3=yes"
1678else
1679  eval "$3=no"
1680fi
1681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1682fi
1683eval ac_res=\$$3
1684	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685$as_echo "$ac_res" >&6; }
1686  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687
1688} # ac_fn_c_check_header_compile
1689
1690# ac_fn_c_try_cpp LINENO
1691# ----------------------
1692# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1693ac_fn_c_try_cpp ()
1694{
1695  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696  if { { ac_try="$ac_cpp conftest.$ac_ext"
1697case "(($ac_try" in
1698  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699  *) ac_try_echo=$ac_try;;
1700esac
1701eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702$as_echo "$ac_try_echo"; } >&5
1703  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1704  ac_status=$?
1705  if test -s conftest.err; then
1706    grep -v '^ *+' conftest.err >conftest.er1
1707    cat conftest.er1 >&5
1708    mv -f conftest.er1 conftest.err
1709  fi
1710  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711  test $ac_status = 0; } > conftest.i && {
1712	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1713	 test ! -s conftest.err
1714       }; then :
1715  ac_retval=0
1716else
1717  $as_echo "$as_me: failed program was:" >&5
1718sed 's/^/| /' conftest.$ac_ext >&5
1719
1720    ac_retval=1
1721fi
1722  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1723  as_fn_set_status $ac_retval
1724
1725} # ac_fn_c_try_cpp
1726
1727# ac_fn_c_try_run LINENO
1728# ----------------------
1729# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1730# that executables *can* be run.
1731ac_fn_c_try_run ()
1732{
1733  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734  if { { ac_try="$ac_link"
1735case "(($ac_try" in
1736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1737  *) ac_try_echo=$ac_try;;
1738esac
1739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740$as_echo "$ac_try_echo"; } >&5
1741  (eval "$ac_link") 2>&5
1742  ac_status=$?
1743  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1745  { { case "(($ac_try" in
1746  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747  *) ac_try_echo=$ac_try;;
1748esac
1749eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750$as_echo "$ac_try_echo"; } >&5
1751  (eval "$ac_try") 2>&5
1752  ac_status=$?
1753  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754  test $ac_status = 0; }; }; then :
1755  ac_retval=0
1756else
1757  $as_echo "$as_me: program exited with status $ac_status" >&5
1758       $as_echo "$as_me: failed program was:" >&5
1759sed 's/^/| /' conftest.$ac_ext >&5
1760
1761       ac_retval=$ac_status
1762fi
1763  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1764  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765  as_fn_set_status $ac_retval
1766
1767} # ac_fn_c_try_run
1768
1769# ac_fn_c_check_func LINENO FUNC VAR
1770# ----------------------------------
1771# Tests whether FUNC exists, setting the cache variable VAR accordingly
1772ac_fn_c_check_func ()
1773{
1774  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776$as_echo_n "checking for $2... " >&6; }
1777if eval \${$3+:} false; then :
1778  $as_echo_n "(cached) " >&6
1779else
1780  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781/* end confdefs.h.  */
1782/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1783   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1784#define $2 innocuous_$2
1785
1786/* System header to define __stub macros and hopefully few prototypes,
1787    which can conflict with char $2 (); below.
1788    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1789    <limits.h> exists even on freestanding compilers.  */
1790
1791#ifdef __STDC__
1792# include <limits.h>
1793#else
1794# include <assert.h>
1795#endif
1796
1797#undef $2
1798
1799/* Override any GCC internal prototype to avoid an error.
1800   Use char because int might match the return type of a GCC
1801   builtin and then its argument prototype would still apply.  */
1802#ifdef __cplusplus
1803extern "C"
1804#endif
1805char $2 ();
1806/* The GNU C library defines this for functions which it implements
1807    to always fail with ENOSYS.  Some functions are actually named
1808    something starting with __ and the normal name is an alias.  */
1809#if defined __stub_$2 || defined __stub___$2
1810choke me
1811#endif
1812
1813int
1814main ()
1815{
1816return $2 ();
1817  ;
1818  return 0;
1819}
1820_ACEOF
1821if ac_fn_c_try_link "$LINENO"; then :
1822  eval "$3=yes"
1823else
1824  eval "$3=no"
1825fi
1826rm -f core conftest.err conftest.$ac_objext \
1827    conftest$ac_exeext conftest.$ac_ext
1828fi
1829eval ac_res=\$$3
1830	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1831$as_echo "$ac_res" >&6; }
1832  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833
1834} # ac_fn_c_check_func
1835
1836# ac_fn_cxx_try_cpp LINENO
1837# ------------------------
1838# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1839ac_fn_cxx_try_cpp ()
1840{
1841  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842  if { { ac_try="$ac_cpp conftest.$ac_ext"
1843case "(($ac_try" in
1844  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1845  *) ac_try_echo=$ac_try;;
1846esac
1847eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1848$as_echo "$ac_try_echo"; } >&5
1849  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1850  ac_status=$?
1851  if test -s conftest.err; then
1852    grep -v '^ *+' conftest.err >conftest.er1
1853    cat conftest.er1 >&5
1854    mv -f conftest.er1 conftest.err
1855  fi
1856  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857  test $ac_status = 0; } > conftest.i && {
1858	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1859	 test ! -s conftest.err
1860       }; then :
1861  ac_retval=0
1862else
1863  $as_echo "$as_me: failed program was:" >&5
1864sed 's/^/| /' conftest.$ac_ext >&5
1865
1866    ac_retval=1
1867fi
1868  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869  as_fn_set_status $ac_retval
1870
1871} # ac_fn_cxx_try_cpp
1872
1873# ac_fn_cxx_try_link LINENO
1874# -------------------------
1875# Try to link conftest.$ac_ext, and return whether this succeeded.
1876ac_fn_cxx_try_link ()
1877{
1878  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879  rm -f conftest.$ac_objext conftest$ac_exeext
1880  if { { ac_try="$ac_link"
1881case "(($ac_try" in
1882  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883  *) ac_try_echo=$ac_try;;
1884esac
1885eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886$as_echo "$ac_try_echo"; } >&5
1887  (eval "$ac_link") 2>conftest.err
1888  ac_status=$?
1889  if test -s conftest.err; then
1890    grep -v '^ *+' conftest.err >conftest.er1
1891    cat conftest.er1 >&5
1892    mv -f conftest.er1 conftest.err
1893  fi
1894  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895  test $ac_status = 0; } && {
1896	 test -z "$ac_cxx_werror_flag" ||
1897	 test ! -s conftest.err
1898       } && test -s conftest$ac_exeext && {
1899	 test "$cross_compiling" = yes ||
1900	 test -x conftest$ac_exeext
1901       }; then :
1902  ac_retval=0
1903else
1904  $as_echo "$as_me: failed program was:" >&5
1905sed 's/^/| /' conftest.$ac_ext >&5
1906
1907	ac_retval=1
1908fi
1909  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1910  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1911  # interfere with the next link command; also delete a directory that is
1912  # left behind by Apple's compiler.  We do this before executing the actions.
1913  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1914  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915  as_fn_set_status $ac_retval
1916
1917} # ac_fn_cxx_try_link
1918
1919# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1920# -------------------------------------------------------
1921# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1922# the include files in INCLUDES and setting the cache variable VAR
1923# accordingly.
1924ac_fn_c_check_header_mongrel ()
1925{
1926  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927  if eval \${$3+:} false; then :
1928  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929$as_echo_n "checking for $2... " >&6; }
1930if eval \${$3+:} false; then :
1931  $as_echo_n "(cached) " >&6
1932fi
1933eval ac_res=\$$3
1934	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935$as_echo "$ac_res" >&6; }
1936else
1937  # Is the header compilable?
1938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1939$as_echo_n "checking $2 usability... " >&6; }
1940cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1941/* end confdefs.h.  */
1942$4
1943#include <$2>
1944_ACEOF
1945if ac_fn_c_try_compile "$LINENO"; then :
1946  ac_header_compiler=yes
1947else
1948  ac_header_compiler=no
1949fi
1950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1952$as_echo "$ac_header_compiler" >&6; }
1953
1954# Is the header present?
1955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1956$as_echo_n "checking $2 presence... " >&6; }
1957cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958/* end confdefs.h.  */
1959#include <$2>
1960_ACEOF
1961if ac_fn_c_try_cpp "$LINENO"; then :
1962  ac_header_preproc=yes
1963else
1964  ac_header_preproc=no
1965fi
1966rm -f conftest.err conftest.i conftest.$ac_ext
1967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1968$as_echo "$ac_header_preproc" >&6; }
1969
1970# So?  What about this header?
1971case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1972  yes:no: )
1973    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1974$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1975    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1976$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1977    ;;
1978  no:yes:* )
1979    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1980$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1981    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1982$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1983    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1984$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1985    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1986$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1987    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1988$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1989( $as_echo "## ---------------------------------------- ##
1990## Report this to floss_ssdeep@irq.a4lg.com ##
1991## ---------------------------------------- ##"
1992     ) | sed "s/^/$as_me: WARNING:     /" >&2
1993    ;;
1994esac
1995  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1996$as_echo_n "checking for $2... " >&6; }
1997if eval \${$3+:} false; then :
1998  $as_echo_n "(cached) " >&6
1999else
2000  eval "$3=\$ac_header_compiler"
2001fi
2002eval ac_res=\$$3
2003	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004$as_echo "$ac_res" >&6; }
2005fi
2006  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007
2008} # ac_fn_c_check_header_mongrel
2009cat >config.log <<_ACEOF
2010This file contains any messages produced by compilers while
2011running configure, to aid debugging if configure makes a mistake.
2012
2013It was created by ssdeep $as_me 2.14.1, which was
2014generated by GNU Autoconf 2.69.  Invocation command line was
2015
2016  $ $0 $@
2017
2018_ACEOF
2019exec 5>>config.log
2020{
2021cat <<_ASUNAME
2022## --------- ##
2023## Platform. ##
2024## --------- ##
2025
2026hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2027uname -m = `(uname -m) 2>/dev/null || echo unknown`
2028uname -r = `(uname -r) 2>/dev/null || echo unknown`
2029uname -s = `(uname -s) 2>/dev/null || echo unknown`
2030uname -v = `(uname -v) 2>/dev/null || echo unknown`
2031
2032/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2033/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2034
2035/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2036/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2037/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2038/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2039/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2040/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2041/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2042
2043_ASUNAME
2044
2045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046for as_dir in $PATH
2047do
2048  IFS=$as_save_IFS
2049  test -z "$as_dir" && as_dir=.
2050    $as_echo "PATH: $as_dir"
2051  done
2052IFS=$as_save_IFS
2053
2054} >&5
2055
2056cat >&5 <<_ACEOF
2057
2058
2059## ----------- ##
2060## Core tests. ##
2061## ----------- ##
2062
2063_ACEOF
2064
2065
2066# Keep a trace of the command line.
2067# Strip out --no-create and --no-recursion so they do not pile up.
2068# Strip out --silent because we don't want to record it for future runs.
2069# Also quote any args containing shell meta-characters.
2070# Make two passes to allow for proper duplicate-argument suppression.
2071ac_configure_args=
2072ac_configure_args0=
2073ac_configure_args1=
2074ac_must_keep_next=false
2075for ac_pass in 1 2
2076do
2077  for ac_arg
2078  do
2079    case $ac_arg in
2080    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2081    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2082    | -silent | --silent | --silen | --sile | --sil)
2083      continue ;;
2084    *\'*)
2085      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2086    esac
2087    case $ac_pass in
2088    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2089    2)
2090      as_fn_append ac_configure_args1 " '$ac_arg'"
2091      if test $ac_must_keep_next = true; then
2092	ac_must_keep_next=false # Got value, back to normal.
2093      else
2094	case $ac_arg in
2095	  *=* | --config-cache | -C | -disable-* | --disable-* \
2096	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2097	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2098	  | -with-* | --with-* | -without-* | --without-* | --x)
2099	    case "$ac_configure_args0 " in
2100	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2101	    esac
2102	    ;;
2103	  -* ) ac_must_keep_next=true ;;
2104	esac
2105      fi
2106      as_fn_append ac_configure_args " '$ac_arg'"
2107      ;;
2108    esac
2109  done
2110done
2111{ ac_configure_args0=; unset ac_configure_args0;}
2112{ ac_configure_args1=; unset ac_configure_args1;}
2113
2114# When interrupted or exit'd, cleanup temporary files, and complete
2115# config.log.  We remove comments because anyway the quotes in there
2116# would cause problems or look ugly.
2117# WARNING: Use '\'' to represent an apostrophe within the trap.
2118# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2119trap 'exit_status=$?
2120  # Save into config.log some information that might help in debugging.
2121  {
2122    echo
2123
2124    $as_echo "## ---------------- ##
2125## Cache variables. ##
2126## ---------------- ##"
2127    echo
2128    # The following way of writing the cache mishandles newlines in values,
2129(
2130  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2131    eval ac_val=\$$ac_var
2132    case $ac_val in #(
2133    *${as_nl}*)
2134      case $ac_var in #(
2135      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2136$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2137      esac
2138      case $ac_var in #(
2139      _ | IFS | as_nl) ;; #(
2140      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2141      *) { eval $ac_var=; unset $ac_var;} ;;
2142      esac ;;
2143    esac
2144  done
2145  (set) 2>&1 |
2146    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2147    *${as_nl}ac_space=\ *)
2148      sed -n \
2149	"s/'\''/'\''\\\\'\'''\''/g;
2150	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2151      ;; #(
2152    *)
2153      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2154      ;;
2155    esac |
2156    sort
2157)
2158    echo
2159
2160    $as_echo "## ----------------- ##
2161## Output variables. ##
2162## ----------------- ##"
2163    echo
2164    for ac_var in $ac_subst_vars
2165    do
2166      eval ac_val=\$$ac_var
2167      case $ac_val in
2168      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2169      esac
2170      $as_echo "$ac_var='\''$ac_val'\''"
2171    done | sort
2172    echo
2173
2174    if test -n "$ac_subst_files"; then
2175      $as_echo "## ------------------- ##
2176## File substitutions. ##
2177## ------------------- ##"
2178      echo
2179      for ac_var in $ac_subst_files
2180      do
2181	eval ac_val=\$$ac_var
2182	case $ac_val in
2183	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2184	esac
2185	$as_echo "$ac_var='\''$ac_val'\''"
2186      done | sort
2187      echo
2188    fi
2189
2190    if test -s confdefs.h; then
2191      $as_echo "## ----------- ##
2192## confdefs.h. ##
2193## ----------- ##"
2194      echo
2195      cat confdefs.h
2196      echo
2197    fi
2198    test "$ac_signal" != 0 &&
2199      $as_echo "$as_me: caught signal $ac_signal"
2200    $as_echo "$as_me: exit $exit_status"
2201  } >&5
2202  rm -f core *.core core.conftest.* &&
2203    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2204    exit $exit_status
2205' 0
2206for ac_signal in 1 2 13 15; do
2207  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2208done
2209ac_signal=0
2210
2211# confdefs.h avoids OS command line length limits that DEFS can exceed.
2212rm -f -r conftest* confdefs.h
2213
2214$as_echo "/* confdefs.h */" > confdefs.h
2215
2216# Predefined preprocessor variables.
2217
2218cat >>confdefs.h <<_ACEOF
2219#define PACKAGE_NAME "$PACKAGE_NAME"
2220_ACEOF
2221
2222cat >>confdefs.h <<_ACEOF
2223#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2224_ACEOF
2225
2226cat >>confdefs.h <<_ACEOF
2227#define PACKAGE_VERSION "$PACKAGE_VERSION"
2228_ACEOF
2229
2230cat >>confdefs.h <<_ACEOF
2231#define PACKAGE_STRING "$PACKAGE_STRING"
2232_ACEOF
2233
2234cat >>confdefs.h <<_ACEOF
2235#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2236_ACEOF
2237
2238cat >>confdefs.h <<_ACEOF
2239#define PACKAGE_URL "$PACKAGE_URL"
2240_ACEOF
2241
2242
2243# Let the site file select an alternate cache file if it wants to.
2244# Prefer an explicitly selected file to automatically selected ones.
2245ac_site_file1=NONE
2246ac_site_file2=NONE
2247if test -n "$CONFIG_SITE"; then
2248  # We do not want a PATH search for config.site.
2249  case $CONFIG_SITE in #((
2250    -*)  ac_site_file1=./$CONFIG_SITE;;
2251    */*) ac_site_file1=$CONFIG_SITE;;
2252    *)   ac_site_file1=./$CONFIG_SITE;;
2253  esac
2254elif test "x$prefix" != xNONE; then
2255  ac_site_file1=$prefix/share/config.site
2256  ac_site_file2=$prefix/etc/config.site
2257else
2258  ac_site_file1=$ac_default_prefix/share/config.site
2259  ac_site_file2=$ac_default_prefix/etc/config.site
2260fi
2261for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2262do
2263  test "x$ac_site_file" = xNONE && continue
2264  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2265    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2266$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2267    sed 's/^/| /' "$ac_site_file" >&5
2268    . "$ac_site_file" \
2269      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2270$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2271as_fn_error $? "failed to load site script $ac_site_file
2272See \`config.log' for more details" "$LINENO" 5; }
2273  fi
2274done
2275
2276if test -r "$cache_file"; then
2277  # Some versions of bash will fail to source /dev/null (special files
2278  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2279  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2280    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2281$as_echo "$as_me: loading cache $cache_file" >&6;}
2282    case $cache_file in
2283      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2284      *)                      . "./$cache_file";;
2285    esac
2286  fi
2287else
2288  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2289$as_echo "$as_me: creating cache $cache_file" >&6;}
2290  >$cache_file
2291fi
2292
2293# Check that the precious variables saved in the cache have kept the same
2294# value.
2295ac_cache_corrupted=false
2296for ac_var in $ac_precious_vars; do
2297  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2298  eval ac_new_set=\$ac_env_${ac_var}_set
2299  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2300  eval ac_new_val=\$ac_env_${ac_var}_value
2301  case $ac_old_set,$ac_new_set in
2302    set,)
2303      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2304$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2305      ac_cache_corrupted=: ;;
2306    ,set)
2307      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2308$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2309      ac_cache_corrupted=: ;;
2310    ,);;
2311    *)
2312      if test "x$ac_old_val" != "x$ac_new_val"; then
2313	# differences in whitespace do not lead to failure.
2314	ac_old_val_w=`echo x $ac_old_val`
2315	ac_new_val_w=`echo x $ac_new_val`
2316	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2317	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2318$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2319	  ac_cache_corrupted=:
2320	else
2321	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2322$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2323	  eval $ac_var=\$ac_old_val
2324	fi
2325	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2326$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2327	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2328$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2329      fi;;
2330  esac
2331  # Pass precious variables to config.status.
2332  if test "$ac_new_set" = set; then
2333    case $ac_new_val in
2334    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2335    *) ac_arg=$ac_var=$ac_new_val ;;
2336    esac
2337    case " $ac_configure_args " in
2338      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2339      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2340    esac
2341  fi
2342done
2343if $ac_cache_corrupted; then
2344  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2345$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2346  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2347$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2348  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2349fi
2350## -------------------- ##
2351## Main body of script. ##
2352## -------------------- ##
2353
2354ac_ext=c
2355ac_cpp='$CPP $CPPFLAGS'
2356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2358ac_compiler_gnu=$ac_cv_c_compiler_gnu
2359
2360
2361am__api_version='1.15'
2362
2363ac_aux_dir=
2364for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2365  if test -f "$ac_dir/install-sh"; then
2366    ac_aux_dir=$ac_dir
2367    ac_install_sh="$ac_aux_dir/install-sh -c"
2368    break
2369  elif test -f "$ac_dir/install.sh"; then
2370    ac_aux_dir=$ac_dir
2371    ac_install_sh="$ac_aux_dir/install.sh -c"
2372    break
2373  elif test -f "$ac_dir/shtool"; then
2374    ac_aux_dir=$ac_dir
2375    ac_install_sh="$ac_aux_dir/shtool install -c"
2376    break
2377  fi
2378done
2379if test -z "$ac_aux_dir"; then
2380  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2381fi
2382
2383# These three variables are undocumented and unsupported,
2384# and are intended to be withdrawn in a future Autoconf release.
2385# They can cause serious problems if a builder's source tree is in a directory
2386# whose full name contains unusual characters.
2387ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2388ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2389ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2390
2391
2392# Find a good install program.  We prefer a C program (faster),
2393# so one script is as good as another.  But avoid the broken or
2394# incompatible versions:
2395# SysV /etc/install, /usr/sbin/install
2396# SunOS /usr/etc/install
2397# IRIX /sbin/install
2398# AIX /bin/install
2399# AmigaOS /C/install, which installs bootblocks on floppy discs
2400# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2401# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2402# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2403# OS/2's system install, which has a completely different semantic
2404# ./install, which can be erroneously created by make from ./install.sh.
2405# Reject install programs that cannot install multiple files.
2406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2407$as_echo_n "checking for a BSD-compatible install... " >&6; }
2408if test -z "$INSTALL"; then
2409if ${ac_cv_path_install+:} false; then :
2410  $as_echo_n "(cached) " >&6
2411else
2412  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413for as_dir in $PATH
2414do
2415  IFS=$as_save_IFS
2416  test -z "$as_dir" && as_dir=.
2417    # Account for people who put trailing slashes in PATH elements.
2418case $as_dir/ in #((
2419  ./ | .// | /[cC]/* | \
2420  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2421  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2422  /usr/ucb/* ) ;;
2423  *)
2424    # OSF1 and SCO ODT 3.0 have their own names for install.
2425    # Don't use installbsd from OSF since it installs stuff as root
2426    # by default.
2427    for ac_prog in ginstall scoinst install; do
2428      for ac_exec_ext in '' $ac_executable_extensions; do
2429	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2430	  if test $ac_prog = install &&
2431	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2432	    # AIX install.  It has an incompatible calling convention.
2433	    :
2434	  elif test $ac_prog = install &&
2435	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2436	    # program-specific install script used by HP pwplus--don't use.
2437	    :
2438	  else
2439	    rm -rf conftest.one conftest.two conftest.dir
2440	    echo one > conftest.one
2441	    echo two > conftest.two
2442	    mkdir conftest.dir
2443	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2444	      test -s conftest.one && test -s conftest.two &&
2445	      test -s conftest.dir/conftest.one &&
2446	      test -s conftest.dir/conftest.two
2447	    then
2448	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2449	      break 3
2450	    fi
2451	  fi
2452	fi
2453      done
2454    done
2455    ;;
2456esac
2457
2458  done
2459IFS=$as_save_IFS
2460
2461rm -rf conftest.one conftest.two conftest.dir
2462
2463fi
2464  if test "${ac_cv_path_install+set}" = set; then
2465    INSTALL=$ac_cv_path_install
2466  else
2467    # As a last resort, use the slow shell script.  Don't cache a
2468    # value for INSTALL within a source directory, because that will
2469    # break other packages using the cache if that directory is
2470    # removed, or if the value is a relative name.
2471    INSTALL=$ac_install_sh
2472  fi
2473fi
2474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2475$as_echo "$INSTALL" >&6; }
2476
2477# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2478# It thinks the first close brace ends the variable substitution.
2479test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2480
2481test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2482
2483test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2484
2485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2486$as_echo_n "checking whether build environment is sane... " >&6; }
2487# Reject unsafe characters in $srcdir or the absolute working directory
2488# name.  Accept space and tab only in the latter.
2489am_lf='
2490'
2491case `pwd` in
2492  *[\\\"\#\$\&\'\`$am_lf]*)
2493    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2494esac
2495case $srcdir in
2496  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2497    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2498esac
2499
2500# Do 'set' in a subshell so we don't clobber the current shell's
2501# arguments.  Must try -L first in case configure is actually a
2502# symlink; some systems play weird games with the mod time of symlinks
2503# (eg FreeBSD returns the mod time of the symlink's containing
2504# directory).
2505if (
2506   am_has_slept=no
2507   for am_try in 1 2; do
2508     echo "timestamp, slept: $am_has_slept" > conftest.file
2509     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2510     if test "$*" = "X"; then
2511	# -L didn't work.
2512	set X `ls -t "$srcdir/configure" conftest.file`
2513     fi
2514     if test "$*" != "X $srcdir/configure conftest.file" \
2515	&& test "$*" != "X conftest.file $srcdir/configure"; then
2516
2517	# If neither matched, then we have a broken ls.  This can happen
2518	# if, for instance, CONFIG_SHELL is bash and it inherits a
2519	# broken ls alias from the environment.  This has actually
2520	# happened.  Such a system could not be considered "sane".
2521	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2522  alias in your environment" "$LINENO" 5
2523     fi
2524     if test "$2" = conftest.file || test $am_try -eq 2; then
2525       break
2526     fi
2527     # Just in case.
2528     sleep 1
2529     am_has_slept=yes
2530   done
2531   test "$2" = conftest.file
2532   )
2533then
2534   # Ok.
2535   :
2536else
2537   as_fn_error $? "newly created file is older than distributed files!
2538Check your system clock" "$LINENO" 5
2539fi
2540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2541$as_echo "yes" >&6; }
2542# If we didn't sleep, we still need to ensure time stamps of config.status and
2543# generated files are strictly newer.
2544am_sleep_pid=
2545if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2546  ( sleep 1 ) &
2547  am_sleep_pid=$!
2548fi
2549
2550rm -f conftest.file
2551
2552test "$program_prefix" != NONE &&
2553  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2554# Use a double $ so make ignores it.
2555test "$program_suffix" != NONE &&
2556  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2557# Double any \ or $.
2558# By default was `s,x,x', remove it if useless.
2559ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2560program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2561
2562# Expand $ac_aux_dir to an absolute path.
2563am_aux_dir=`cd "$ac_aux_dir" && pwd`
2564
2565if test x"${MISSING+set}" != xset; then
2566  case $am_aux_dir in
2567  *\ * | *\	*)
2568    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2569  *)
2570    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2571  esac
2572fi
2573# Use eval to expand $SHELL
2574if eval "$MISSING --is-lightweight"; then
2575  am_missing_run="$MISSING "
2576else
2577  am_missing_run=
2578  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2579$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2580fi
2581
2582if test x"${install_sh+set}" != xset; then
2583  case $am_aux_dir in
2584  *\ * | *\	*)
2585    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2586  *)
2587    install_sh="\${SHELL} $am_aux_dir/install-sh"
2588  esac
2589fi
2590
2591# Installed binaries are usually stripped using 'strip' when the user
2592# run "make install-strip".  However 'strip' might not be the right
2593# tool to use in cross-compilation environments, therefore Automake
2594# will honor the 'STRIP' environment variable to overrule this program.
2595if test "$cross_compiling" != no; then
2596  if test -n "$ac_tool_prefix"; then
2597  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2598set dummy ${ac_tool_prefix}strip; ac_word=$2
2599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600$as_echo_n "checking for $ac_word... " >&6; }
2601if ${ac_cv_prog_STRIP+:} false; then :
2602  $as_echo_n "(cached) " >&6
2603else
2604  if test -n "$STRIP"; then
2605  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2606else
2607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608for as_dir in $PATH
2609do
2610  IFS=$as_save_IFS
2611  test -z "$as_dir" && as_dir=.
2612    for ac_exec_ext in '' $ac_executable_extensions; do
2613  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2614    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616    break 2
2617  fi
2618done
2619  done
2620IFS=$as_save_IFS
2621
2622fi
2623fi
2624STRIP=$ac_cv_prog_STRIP
2625if test -n "$STRIP"; then
2626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2627$as_echo "$STRIP" >&6; }
2628else
2629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2630$as_echo "no" >&6; }
2631fi
2632
2633
2634fi
2635if test -z "$ac_cv_prog_STRIP"; then
2636  ac_ct_STRIP=$STRIP
2637  # Extract the first word of "strip", so it can be a program name with args.
2638set dummy strip; ac_word=$2
2639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2640$as_echo_n "checking for $ac_word... " >&6; }
2641if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2642  $as_echo_n "(cached) " >&6
2643else
2644  if test -n "$ac_ct_STRIP"; then
2645  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2646else
2647as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648for as_dir in $PATH
2649do
2650  IFS=$as_save_IFS
2651  test -z "$as_dir" && as_dir=.
2652    for ac_exec_ext in '' $ac_executable_extensions; do
2653  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2654    ac_cv_prog_ac_ct_STRIP="strip"
2655    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2656    break 2
2657  fi
2658done
2659  done
2660IFS=$as_save_IFS
2661
2662fi
2663fi
2664ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2665if test -n "$ac_ct_STRIP"; then
2666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2667$as_echo "$ac_ct_STRIP" >&6; }
2668else
2669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2670$as_echo "no" >&6; }
2671fi
2672
2673  if test "x$ac_ct_STRIP" = x; then
2674    STRIP=":"
2675  else
2676    case $cross_compiling:$ac_tool_warned in
2677yes:)
2678{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2679$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2680ac_tool_warned=yes ;;
2681esac
2682    STRIP=$ac_ct_STRIP
2683  fi
2684else
2685  STRIP="$ac_cv_prog_STRIP"
2686fi
2687
2688fi
2689INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2690
2691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2692$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2693if test -z "$MKDIR_P"; then
2694  if ${ac_cv_path_mkdir+:} false; then :
2695  $as_echo_n "(cached) " >&6
2696else
2697  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2699do
2700  IFS=$as_save_IFS
2701  test -z "$as_dir" && as_dir=.
2702    for ac_prog in mkdir gmkdir; do
2703	 for ac_exec_ext in '' $ac_executable_extensions; do
2704	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2705	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2706	     'mkdir (GNU coreutils) '* | \
2707	     'mkdir (coreutils) '* | \
2708	     'mkdir (fileutils) '4.1*)
2709	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2710	       break 3;;
2711	   esac
2712	 done
2713       done
2714  done
2715IFS=$as_save_IFS
2716
2717fi
2718
2719  test -d ./--version && rmdir ./--version
2720  if test "${ac_cv_path_mkdir+set}" = set; then
2721    MKDIR_P="$ac_cv_path_mkdir -p"
2722  else
2723    # As a last resort, use the slow shell script.  Don't cache a
2724    # value for MKDIR_P within a source directory, because that will
2725    # break other packages using the cache if that directory is
2726    # removed, or if the value is a relative name.
2727    MKDIR_P="$ac_install_sh -d"
2728  fi
2729fi
2730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2731$as_echo "$MKDIR_P" >&6; }
2732
2733for ac_prog in gawk mawk nawk awk
2734do
2735  # Extract the first word of "$ac_prog", so it can be a program name with args.
2736set dummy $ac_prog; ac_word=$2
2737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2738$as_echo_n "checking for $ac_word... " >&6; }
2739if ${ac_cv_prog_AWK+:} false; then :
2740  $as_echo_n "(cached) " >&6
2741else
2742  if test -n "$AWK"; then
2743  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2744else
2745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2746for as_dir in $PATH
2747do
2748  IFS=$as_save_IFS
2749  test -z "$as_dir" && as_dir=.
2750    for ac_exec_ext in '' $ac_executable_extensions; do
2751  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2752    ac_cv_prog_AWK="$ac_prog"
2753    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2754    break 2
2755  fi
2756done
2757  done
2758IFS=$as_save_IFS
2759
2760fi
2761fi
2762AWK=$ac_cv_prog_AWK
2763if test -n "$AWK"; then
2764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2765$as_echo "$AWK" >&6; }
2766else
2767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768$as_echo "no" >&6; }
2769fi
2770
2771
2772  test -n "$AWK" && break
2773done
2774
2775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2776$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2777set x ${MAKE-make}
2778ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2779if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2780  $as_echo_n "(cached) " >&6
2781else
2782  cat >conftest.make <<\_ACEOF
2783SHELL = /bin/sh
2784all:
2785	@echo '@@@%%%=$(MAKE)=@@@%%%'
2786_ACEOF
2787# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2788case `${MAKE-make} -f conftest.make 2>/dev/null` in
2789  *@@@%%%=?*=@@@%%%*)
2790    eval ac_cv_prog_make_${ac_make}_set=yes;;
2791  *)
2792    eval ac_cv_prog_make_${ac_make}_set=no;;
2793esac
2794rm -f conftest.make
2795fi
2796if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2798$as_echo "yes" >&6; }
2799  SET_MAKE=
2800else
2801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2802$as_echo "no" >&6; }
2803  SET_MAKE="MAKE=${MAKE-make}"
2804fi
2805
2806rm -rf .tst 2>/dev/null
2807mkdir .tst 2>/dev/null
2808if test -d .tst; then
2809  am__leading_dot=.
2810else
2811  am__leading_dot=_
2812fi
2813rmdir .tst 2>/dev/null
2814
2815# Check whether --enable-silent-rules was given.
2816if test "${enable_silent_rules+set}" = set; then :
2817  enableval=$enable_silent_rules;
2818fi
2819
2820case $enable_silent_rules in # (((
2821  yes) AM_DEFAULT_VERBOSITY=0;;
2822   no) AM_DEFAULT_VERBOSITY=1;;
2823    *) AM_DEFAULT_VERBOSITY=1;;
2824esac
2825am_make=${MAKE-make}
2826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2827$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2828if ${am_cv_make_support_nested_variables+:} false; then :
2829  $as_echo_n "(cached) " >&6
2830else
2831  if $as_echo 'TRUE=$(BAR$(V))
2832BAR0=false
2833BAR1=true
2834V=1
2835am__doit:
2836	@$(TRUE)
2837.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2838  am_cv_make_support_nested_variables=yes
2839else
2840  am_cv_make_support_nested_variables=no
2841fi
2842fi
2843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2844$as_echo "$am_cv_make_support_nested_variables" >&6; }
2845if test $am_cv_make_support_nested_variables = yes; then
2846    AM_V='$(V)'
2847  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2848else
2849  AM_V=$AM_DEFAULT_VERBOSITY
2850  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2851fi
2852AM_BACKSLASH='\'
2853
2854if test "`cd $srcdir && pwd`" != "`pwd`"; then
2855  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2856  # is not polluted with repeated "-I."
2857  am__isrc=' -I$(srcdir)'
2858  # test to see if srcdir already configured
2859  if test -f $srcdir/config.status; then
2860    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2861  fi
2862fi
2863
2864# test whether we have cygpath
2865if test -z "$CYGPATH_W"; then
2866  if (cygpath --version) >/dev/null 2>/dev/null; then
2867    CYGPATH_W='cygpath -w'
2868  else
2869    CYGPATH_W=echo
2870  fi
2871fi
2872
2873
2874# Define the identity of the package.
2875 PACKAGE='ssdeep'
2876 VERSION='2.14.1'
2877
2878
2879cat >>confdefs.h <<_ACEOF
2880#define PACKAGE "$PACKAGE"
2881_ACEOF
2882
2883
2884cat >>confdefs.h <<_ACEOF
2885#define VERSION "$VERSION"
2886_ACEOF
2887
2888# Some tools Automake needs.
2889
2890ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2891
2892
2893AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2894
2895
2896AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2897
2898
2899AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2900
2901
2902MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2903
2904# For better backward compatibility.  To be removed once Automake 1.9.x
2905# dies out for good.  For more background, see:
2906# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2907# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2908mkdir_p='$(MKDIR_P)'
2909
2910# We need awk for the "check" target (and possibly the TAP driver).  The
2911# system "awk" is bad on some platforms.
2912# Always define AMTAR for backward compatibility.  Yes, it's still used
2913# in the wild :-(  We should find a proper way to deprecate it ...
2914AMTAR='$${TAR-tar}'
2915
2916
2917# We'll loop over all known methods to create a tar archive until one works.
2918_am_tools='gnutar  pax cpio none'
2919
2920am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2921
2922
2923
2924
2925
2926
2927# POSIX will say in a future version that running "rm -f" with no argument
2928# is OK; and we want to be able to make that assumption in our Makefile
2929# recipes.  So use an aggressive probe to check that the usage we want is
2930# actually supported "in the wild" to an acceptable degree.
2931# See automake bug#10828.
2932# To make any issue more visible, cause the running configure to be aborted
2933# by default if the 'rm' program in use doesn't match our expectations; the
2934# user can still override this though.
2935if rm -f && rm -fr && rm -rf; then : OK; else
2936  cat >&2 <<'END'
2937Oops!
2938
2939Your 'rm' program seems unable to run without file operands specified
2940on the command line, even when the '-f' option is present.  This is contrary
2941to the behaviour of most rm programs out there, and not conforming with
2942the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2943
2944Please tell bug-automake@gnu.org about your system, including the value
2945of your $PATH and any error possibly output before this message.  This
2946can help us improve future automake versions.
2947
2948END
2949  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2950    echo 'Configuration will proceed anyway, since you have set the' >&2
2951    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2952    echo >&2
2953  else
2954    cat >&2 <<'END'
2955Aborting the configuration process, to ensure you take notice of the issue.
2956
2957You can download and install GNU coreutils to get an 'rm' implementation
2958that behaves properly: <http://www.gnu.org/software/coreutils/>.
2959
2960If you want to complete the configuration process using your problematic
2961'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2962to "yes", and re-run configure.
2963
2964END
2965    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2966  fi
2967fi
2968
2969
2970ac_config_files="$ac_config_files Makefile"
2971
2972ac_config_headers="$ac_config_headers config.h"
2973
2974
2975# Make sure we can run config.sub.
2976$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2977  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2978
2979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2980$as_echo_n "checking build system type... " >&6; }
2981if ${ac_cv_build+:} false; then :
2982  $as_echo_n "(cached) " >&6
2983else
2984  ac_build_alias=$build_alias
2985test "x$ac_build_alias" = x &&
2986  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2987test "x$ac_build_alias" = x &&
2988  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2989ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2990  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2991
2992fi
2993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2994$as_echo "$ac_cv_build" >&6; }
2995case $ac_cv_build in
2996*-*-*) ;;
2997*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2998esac
2999build=$ac_cv_build
3000ac_save_IFS=$IFS; IFS='-'
3001set x $ac_cv_build
3002shift
3003build_cpu=$1
3004build_vendor=$2
3005shift; shift
3006# Remember, the first character of IFS is used to create $*,
3007# except with old shells:
3008build_os=$*
3009IFS=$ac_save_IFS
3010case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3011
3012
3013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3014$as_echo_n "checking host system type... " >&6; }
3015if ${ac_cv_host+:} false; then :
3016  $as_echo_n "(cached) " >&6
3017else
3018  if test "x$host_alias" = x; then
3019  ac_cv_host=$ac_cv_build
3020else
3021  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3022    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3023fi
3024
3025fi
3026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3027$as_echo "$ac_cv_host" >&6; }
3028case $ac_cv_host in
3029*-*-*) ;;
3030*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3031esac
3032host=$ac_cv_host
3033ac_save_IFS=$IFS; IFS='-'
3034set x $ac_cv_host
3035shift
3036host_cpu=$1
3037host_vendor=$2
3038shift; shift
3039# Remember, the first character of IFS is used to create $*,
3040# except with old shells:
3041host_os=$*
3042IFS=$ac_save_IFS
3043case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3044
3045
3046
3047ac_ext=c
3048ac_cpp='$CPP $CPPFLAGS'
3049ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3050ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3051ac_compiler_gnu=$ac_cv_c_compiler_gnu
3052if test -n "$ac_tool_prefix"; then
3053  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3054set dummy ${ac_tool_prefix}gcc; ac_word=$2
3055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056$as_echo_n "checking for $ac_word... " >&6; }
3057if ${ac_cv_prog_CC+:} false; then :
3058  $as_echo_n "(cached) " >&6
3059else
3060  if test -n "$CC"; then
3061  ac_cv_prog_CC="$CC" # Let the user override the test.
3062else
3063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064for as_dir in $PATH
3065do
3066  IFS=$as_save_IFS
3067  test -z "$as_dir" && as_dir=.
3068    for ac_exec_ext in '' $ac_executable_extensions; do
3069  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3070    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3071    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3072    break 2
3073  fi
3074done
3075  done
3076IFS=$as_save_IFS
3077
3078fi
3079fi
3080CC=$ac_cv_prog_CC
3081if test -n "$CC"; then
3082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3083$as_echo "$CC" >&6; }
3084else
3085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086$as_echo "no" >&6; }
3087fi
3088
3089
3090fi
3091if test -z "$ac_cv_prog_CC"; then
3092  ac_ct_CC=$CC
3093  # Extract the first word of "gcc", so it can be a program name with args.
3094set dummy gcc; ac_word=$2
3095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096$as_echo_n "checking for $ac_word... " >&6; }
3097if ${ac_cv_prog_ac_ct_CC+:} false; then :
3098  $as_echo_n "(cached) " >&6
3099else
3100  if test -n "$ac_ct_CC"; then
3101  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3102else
3103as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104for as_dir in $PATH
3105do
3106  IFS=$as_save_IFS
3107  test -z "$as_dir" && as_dir=.
3108    for ac_exec_ext in '' $ac_executable_extensions; do
3109  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3110    ac_cv_prog_ac_ct_CC="gcc"
3111    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3112    break 2
3113  fi
3114done
3115  done
3116IFS=$as_save_IFS
3117
3118fi
3119fi
3120ac_ct_CC=$ac_cv_prog_ac_ct_CC
3121if test -n "$ac_ct_CC"; then
3122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3123$as_echo "$ac_ct_CC" >&6; }
3124else
3125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126$as_echo "no" >&6; }
3127fi
3128
3129  if test "x$ac_ct_CC" = x; then
3130    CC=""
3131  else
3132    case $cross_compiling:$ac_tool_warned in
3133yes:)
3134{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3135$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3136ac_tool_warned=yes ;;
3137esac
3138    CC=$ac_ct_CC
3139  fi
3140else
3141  CC="$ac_cv_prog_CC"
3142fi
3143
3144if test -z "$CC"; then
3145          if test -n "$ac_tool_prefix"; then
3146    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3147set dummy ${ac_tool_prefix}cc; ac_word=$2
3148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149$as_echo_n "checking for $ac_word... " >&6; }
3150if ${ac_cv_prog_CC+:} false; then :
3151  $as_echo_n "(cached) " >&6
3152else
3153  if test -n "$CC"; then
3154  ac_cv_prog_CC="$CC" # Let the user override the test.
3155else
3156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157for as_dir in $PATH
3158do
3159  IFS=$as_save_IFS
3160  test -z "$as_dir" && as_dir=.
3161    for ac_exec_ext in '' $ac_executable_extensions; do
3162  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163    ac_cv_prog_CC="${ac_tool_prefix}cc"
3164    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165    break 2
3166  fi
3167done
3168  done
3169IFS=$as_save_IFS
3170
3171fi
3172fi
3173CC=$ac_cv_prog_CC
3174if test -n "$CC"; then
3175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3176$as_echo "$CC" >&6; }
3177else
3178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179$as_echo "no" >&6; }
3180fi
3181
3182
3183  fi
3184fi
3185if test -z "$CC"; then
3186  # Extract the first word of "cc", so it can be a program name with args.
3187set dummy cc; ac_word=$2
3188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189$as_echo_n "checking for $ac_word... " >&6; }
3190if ${ac_cv_prog_CC+:} false; then :
3191  $as_echo_n "(cached) " >&6
3192else
3193  if test -n "$CC"; then
3194  ac_cv_prog_CC="$CC" # Let the user override the test.
3195else
3196  ac_prog_rejected=no
3197as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198for as_dir in $PATH
3199do
3200  IFS=$as_save_IFS
3201  test -z "$as_dir" && as_dir=.
3202    for ac_exec_ext in '' $ac_executable_extensions; do
3203  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3204    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3205       ac_prog_rejected=yes
3206       continue
3207     fi
3208    ac_cv_prog_CC="cc"
3209    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3210    break 2
3211  fi
3212done
3213  done
3214IFS=$as_save_IFS
3215
3216if test $ac_prog_rejected = yes; then
3217  # We found a bogon in the path, so make sure we never use it.
3218  set dummy $ac_cv_prog_CC
3219  shift
3220  if test $# != 0; then
3221    # We chose a different compiler from the bogus one.
3222    # However, it has the same basename, so the bogon will be chosen
3223    # first if we set CC to just the basename; use the full file name.
3224    shift
3225    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3226  fi
3227fi
3228fi
3229fi
3230CC=$ac_cv_prog_CC
3231if test -n "$CC"; then
3232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3233$as_echo "$CC" >&6; }
3234else
3235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236$as_echo "no" >&6; }
3237fi
3238
3239
3240fi
3241if test -z "$CC"; then
3242  if test -n "$ac_tool_prefix"; then
3243  for ac_prog in cl.exe
3244  do
3245    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3246set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3248$as_echo_n "checking for $ac_word... " >&6; }
3249if ${ac_cv_prog_CC+:} false; then :
3250  $as_echo_n "(cached) " >&6
3251else
3252  if test -n "$CC"; then
3253  ac_cv_prog_CC="$CC" # Let the user override the test.
3254else
3255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3256for as_dir in $PATH
3257do
3258  IFS=$as_save_IFS
3259  test -z "$as_dir" && as_dir=.
3260    for ac_exec_ext in '' $ac_executable_extensions; do
3261  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3262    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3263    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3264    break 2
3265  fi
3266done
3267  done
3268IFS=$as_save_IFS
3269
3270fi
3271fi
3272CC=$ac_cv_prog_CC
3273if test -n "$CC"; then
3274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3275$as_echo "$CC" >&6; }
3276else
3277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278$as_echo "no" >&6; }
3279fi
3280
3281
3282    test -n "$CC" && break
3283  done
3284fi
3285if test -z "$CC"; then
3286  ac_ct_CC=$CC
3287  for ac_prog in cl.exe
3288do
3289  # Extract the first word of "$ac_prog", so it can be a program name with args.
3290set dummy $ac_prog; ac_word=$2
3291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292$as_echo_n "checking for $ac_word... " >&6; }
3293if ${ac_cv_prog_ac_ct_CC+:} false; then :
3294  $as_echo_n "(cached) " >&6
3295else
3296  if test -n "$ac_ct_CC"; then
3297  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3298else
3299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300for as_dir in $PATH
3301do
3302  IFS=$as_save_IFS
3303  test -z "$as_dir" && as_dir=.
3304    for ac_exec_ext in '' $ac_executable_extensions; do
3305  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3306    ac_cv_prog_ac_ct_CC="$ac_prog"
3307    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3308    break 2
3309  fi
3310done
3311  done
3312IFS=$as_save_IFS
3313
3314fi
3315fi
3316ac_ct_CC=$ac_cv_prog_ac_ct_CC
3317if test -n "$ac_ct_CC"; then
3318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3319$as_echo "$ac_ct_CC" >&6; }
3320else
3321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3322$as_echo "no" >&6; }
3323fi
3324
3325
3326  test -n "$ac_ct_CC" && break
3327done
3328
3329  if test "x$ac_ct_CC" = x; then
3330    CC=""
3331  else
3332    case $cross_compiling:$ac_tool_warned in
3333yes:)
3334{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3335$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3336ac_tool_warned=yes ;;
3337esac
3338    CC=$ac_ct_CC
3339  fi
3340fi
3341
3342fi
3343
3344
3345test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3346$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3347as_fn_error $? "no acceptable C compiler found in \$PATH
3348See \`config.log' for more details" "$LINENO" 5; }
3349
3350# Provide some information about the compiler.
3351$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3352set X $ac_compile
3353ac_compiler=$2
3354for ac_option in --version -v -V -qversion; do
3355  { { ac_try="$ac_compiler $ac_option >&5"
3356case "(($ac_try" in
3357  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358  *) ac_try_echo=$ac_try;;
3359esac
3360eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3361$as_echo "$ac_try_echo"; } >&5
3362  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3363  ac_status=$?
3364  if test -s conftest.err; then
3365    sed '10a\
3366... rest of stderr output deleted ...
3367         10q' conftest.err >conftest.er1
3368    cat conftest.er1 >&5
3369  fi
3370  rm -f conftest.er1 conftest.err
3371  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3372  test $ac_status = 0; }
3373done
3374
3375cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376/* end confdefs.h.  */
3377
3378int
3379main ()
3380{
3381
3382  ;
3383  return 0;
3384}
3385_ACEOF
3386ac_clean_files_save=$ac_clean_files
3387ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3388# Try to create an executable without -o first, disregard a.out.
3389# It will help us diagnose broken compilers, and finding out an intuition
3390# of exeext.
3391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3392$as_echo_n "checking whether the C compiler works... " >&6; }
3393ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3394
3395# The possible output files:
3396ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3397
3398ac_rmfiles=
3399for ac_file in $ac_files
3400do
3401  case $ac_file in
3402    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3403    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3404  esac
3405done
3406rm -f $ac_rmfiles
3407
3408if { { ac_try="$ac_link_default"
3409case "(($ac_try" in
3410  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3411  *) ac_try_echo=$ac_try;;
3412esac
3413eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3414$as_echo "$ac_try_echo"; } >&5
3415  (eval "$ac_link_default") 2>&5
3416  ac_status=$?
3417  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3418  test $ac_status = 0; }; then :
3419  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3420# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3421# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3422# so that the user can short-circuit this test for compilers unknown to
3423# Autoconf.
3424for ac_file in $ac_files ''
3425do
3426  test -f "$ac_file" || continue
3427  case $ac_file in
3428    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3429	;;
3430    [ab].out )
3431	# We found the default executable, but exeext='' is most
3432	# certainly right.
3433	break;;
3434    *.* )
3435	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3436	then :; else
3437	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3438	fi
3439	# We set ac_cv_exeext here because the later test for it is not
3440	# safe: cross compilers may not add the suffix if given an `-o'
3441	# argument, so we may need to know it at that point already.
3442	# Even if this section looks crufty: it has the advantage of
3443	# actually working.
3444	break;;
3445    * )
3446	break;;
3447  esac
3448done
3449test "$ac_cv_exeext" = no && ac_cv_exeext=
3450
3451else
3452  ac_file=''
3453fi
3454if test -z "$ac_file"; then :
3455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3456$as_echo "no" >&6; }
3457$as_echo "$as_me: failed program was:" >&5
3458sed 's/^/| /' conftest.$ac_ext >&5
3459
3460{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3461$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3462as_fn_error 77 "C compiler cannot create executables
3463See \`config.log' for more details" "$LINENO" 5; }
3464else
3465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3466$as_echo "yes" >&6; }
3467fi
3468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3469$as_echo_n "checking for C compiler default output file name... " >&6; }
3470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3471$as_echo "$ac_file" >&6; }
3472ac_exeext=$ac_cv_exeext
3473
3474rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3475ac_clean_files=$ac_clean_files_save
3476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3477$as_echo_n "checking for suffix of executables... " >&6; }
3478if { { ac_try="$ac_link"
3479case "(($ac_try" in
3480  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3481  *) ac_try_echo=$ac_try;;
3482esac
3483eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3484$as_echo "$ac_try_echo"; } >&5
3485  (eval "$ac_link") 2>&5
3486  ac_status=$?
3487  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3488  test $ac_status = 0; }; then :
3489  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3490# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3491# work properly (i.e., refer to `conftest.exe'), while it won't with
3492# `rm'.
3493for ac_file in conftest.exe conftest conftest.*; do
3494  test -f "$ac_file" || continue
3495  case $ac_file in
3496    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3497    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3498	  break;;
3499    * ) break;;
3500  esac
3501done
3502else
3503  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3504$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3505as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3506See \`config.log' for more details" "$LINENO" 5; }
3507fi
3508rm -f conftest conftest$ac_cv_exeext
3509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3510$as_echo "$ac_cv_exeext" >&6; }
3511
3512rm -f conftest.$ac_ext
3513EXEEXT=$ac_cv_exeext
3514ac_exeext=$EXEEXT
3515cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3516/* end confdefs.h.  */
3517#include <stdio.h>
3518int
3519main ()
3520{
3521FILE *f = fopen ("conftest.out", "w");
3522 return ferror (f) || fclose (f) != 0;
3523
3524  ;
3525  return 0;
3526}
3527_ACEOF
3528ac_clean_files="$ac_clean_files conftest.out"
3529# Check that the compiler produces executables we can run.  If not, either
3530# the compiler is broken, or we cross compile.
3531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3532$as_echo_n "checking whether we are cross compiling... " >&6; }
3533if test "$cross_compiling" != yes; then
3534  { { ac_try="$ac_link"
3535case "(($ac_try" in
3536  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3537  *) ac_try_echo=$ac_try;;
3538esac
3539eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3540$as_echo "$ac_try_echo"; } >&5
3541  (eval "$ac_link") 2>&5
3542  ac_status=$?
3543  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3544  test $ac_status = 0; }
3545  if { ac_try='./conftest$ac_cv_exeext'
3546  { { case "(($ac_try" in
3547  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3548  *) ac_try_echo=$ac_try;;
3549esac
3550eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3551$as_echo "$ac_try_echo"; } >&5
3552  (eval "$ac_try") 2>&5
3553  ac_status=$?
3554  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3555  test $ac_status = 0; }; }; then
3556    cross_compiling=no
3557  else
3558    if test "$cross_compiling" = maybe; then
3559	cross_compiling=yes
3560    else
3561	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3562$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3563as_fn_error $? "cannot run C compiled programs.
3564If you meant to cross compile, use \`--host'.
3565See \`config.log' for more details" "$LINENO" 5; }
3566    fi
3567  fi
3568fi
3569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3570$as_echo "$cross_compiling" >&6; }
3571
3572rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3573ac_clean_files=$ac_clean_files_save
3574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3575$as_echo_n "checking for suffix of object files... " >&6; }
3576if ${ac_cv_objext+:} false; then :
3577  $as_echo_n "(cached) " >&6
3578else
3579  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3580/* end confdefs.h.  */
3581
3582int
3583main ()
3584{
3585
3586  ;
3587  return 0;
3588}
3589_ACEOF
3590rm -f conftest.o conftest.obj
3591if { { ac_try="$ac_compile"
3592case "(($ac_try" in
3593  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3594  *) ac_try_echo=$ac_try;;
3595esac
3596eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3597$as_echo "$ac_try_echo"; } >&5
3598  (eval "$ac_compile") 2>&5
3599  ac_status=$?
3600  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3601  test $ac_status = 0; }; then :
3602  for ac_file in conftest.o conftest.obj conftest.*; do
3603  test -f "$ac_file" || continue;
3604  case $ac_file in
3605    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3606    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3607       break;;
3608  esac
3609done
3610else
3611  $as_echo "$as_me: failed program was:" >&5
3612sed 's/^/| /' conftest.$ac_ext >&5
3613
3614{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3615$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3616as_fn_error $? "cannot compute suffix of object files: cannot compile
3617See \`config.log' for more details" "$LINENO" 5; }
3618fi
3619rm -f conftest.$ac_cv_objext conftest.$ac_ext
3620fi
3621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3622$as_echo "$ac_cv_objext" >&6; }
3623OBJEXT=$ac_cv_objext
3624ac_objext=$OBJEXT
3625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3626$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3627if ${ac_cv_c_compiler_gnu+:} false; then :
3628  $as_echo_n "(cached) " >&6
3629else
3630  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631/* end confdefs.h.  */
3632
3633int
3634main ()
3635{
3636#ifndef __GNUC__
3637       choke me
3638#endif
3639
3640  ;
3641  return 0;
3642}
3643_ACEOF
3644if ac_fn_c_try_compile "$LINENO"; then :
3645  ac_compiler_gnu=yes
3646else
3647  ac_compiler_gnu=no
3648fi
3649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3650ac_cv_c_compiler_gnu=$ac_compiler_gnu
3651
3652fi
3653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3654$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3655if test $ac_compiler_gnu = yes; then
3656  GCC=yes
3657else
3658  GCC=
3659fi
3660ac_test_CFLAGS=${CFLAGS+set}
3661ac_save_CFLAGS=$CFLAGS
3662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3663$as_echo_n "checking whether $CC accepts -g... " >&6; }
3664if ${ac_cv_prog_cc_g+:} false; then :
3665  $as_echo_n "(cached) " >&6
3666else
3667  ac_save_c_werror_flag=$ac_c_werror_flag
3668   ac_c_werror_flag=yes
3669   ac_cv_prog_cc_g=no
3670   CFLAGS="-g"
3671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672/* end confdefs.h.  */
3673
3674int
3675main ()
3676{
3677
3678  ;
3679  return 0;
3680}
3681_ACEOF
3682if ac_fn_c_try_compile "$LINENO"; then :
3683  ac_cv_prog_cc_g=yes
3684else
3685  CFLAGS=""
3686      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687/* end confdefs.h.  */
3688
3689int
3690main ()
3691{
3692
3693  ;
3694  return 0;
3695}
3696_ACEOF
3697if ac_fn_c_try_compile "$LINENO"; then :
3698
3699else
3700  ac_c_werror_flag=$ac_save_c_werror_flag
3701	 CFLAGS="-g"
3702	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3703/* end confdefs.h.  */
3704
3705int
3706main ()
3707{
3708
3709  ;
3710  return 0;
3711}
3712_ACEOF
3713if ac_fn_c_try_compile "$LINENO"; then :
3714  ac_cv_prog_cc_g=yes
3715fi
3716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3717fi
3718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3719fi
3720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721   ac_c_werror_flag=$ac_save_c_werror_flag
3722fi
3723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3724$as_echo "$ac_cv_prog_cc_g" >&6; }
3725if test "$ac_test_CFLAGS" = set; then
3726  CFLAGS=$ac_save_CFLAGS
3727elif test $ac_cv_prog_cc_g = yes; then
3728  if test "$GCC" = yes; then
3729    CFLAGS="-g -O2"
3730  else
3731    CFLAGS="-g"
3732  fi
3733else
3734  if test "$GCC" = yes; then
3735    CFLAGS="-O2"
3736  else
3737    CFLAGS=
3738  fi
3739fi
3740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3741$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3742if ${ac_cv_prog_cc_c89+:} false; then :
3743  $as_echo_n "(cached) " >&6
3744else
3745  ac_cv_prog_cc_c89=no
3746ac_save_CC=$CC
3747cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748/* end confdefs.h.  */
3749#include <stdarg.h>
3750#include <stdio.h>
3751struct stat;
3752/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3753struct buf { int x; };
3754FILE * (*rcsopen) (struct buf *, struct stat *, int);
3755static char *e (p, i)
3756     char **p;
3757     int i;
3758{
3759  return p[i];
3760}
3761static char *f (char * (*g) (char **, int), char **p, ...)
3762{
3763  char *s;
3764  va_list v;
3765  va_start (v,p);
3766  s = g (p, va_arg (v,int));
3767  va_end (v);
3768  return s;
3769}
3770
3771/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3772   function prototypes and stuff, but not '\xHH' hex character constants.
3773   These don't provoke an error unfortunately, instead are silently treated
3774   as 'x'.  The following induces an error, until -std is added to get
3775   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3776   array size at least.  It's necessary to write '\x00'==0 to get something
3777   that's true only with -std.  */
3778int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3779
3780/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3781   inside strings and character constants.  */
3782#define FOO(x) 'x'
3783int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3784
3785int test (int i, double x);
3786struct s1 {int (*f) (int a);};
3787struct s2 {int (*f) (double a);};
3788int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3789int argc;
3790char **argv;
3791int
3792main ()
3793{
3794return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3795  ;
3796  return 0;
3797}
3798_ACEOF
3799for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3800	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3801do
3802  CC="$ac_save_CC $ac_arg"
3803  if ac_fn_c_try_compile "$LINENO"; then :
3804  ac_cv_prog_cc_c89=$ac_arg
3805fi
3806rm -f core conftest.err conftest.$ac_objext
3807  test "x$ac_cv_prog_cc_c89" != "xno" && break
3808done
3809rm -f conftest.$ac_ext
3810CC=$ac_save_CC
3811
3812fi
3813# AC_CACHE_VAL
3814case "x$ac_cv_prog_cc_c89" in
3815  x)
3816    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3817$as_echo "none needed" >&6; } ;;
3818  xno)
3819    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3820$as_echo "unsupported" >&6; } ;;
3821  *)
3822    CC="$CC $ac_cv_prog_cc_c89"
3823    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3824$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3825esac
3826if test "x$ac_cv_prog_cc_c89" != xno; then :
3827
3828fi
3829
3830ac_ext=c
3831ac_cpp='$CPP $CPPFLAGS'
3832ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3833ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3834ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835
3836ac_ext=c
3837ac_cpp='$CPP $CPPFLAGS'
3838ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3839ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3840ac_compiler_gnu=$ac_cv_c_compiler_gnu
3841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3842$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3843if ${am_cv_prog_cc_c_o+:} false; then :
3844  $as_echo_n "(cached) " >&6
3845else
3846  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3847/* end confdefs.h.  */
3848
3849int
3850main ()
3851{
3852
3853  ;
3854  return 0;
3855}
3856_ACEOF
3857  # Make sure it works both with $CC and with simple cc.
3858  # Following AC_PROG_CC_C_O, we do the test twice because some
3859  # compilers refuse to overwrite an existing .o file with -o,
3860  # though they will create one.
3861  am_cv_prog_cc_c_o=yes
3862  for am_i in 1 2; do
3863    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3864   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3865   ac_status=$?
3866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867   (exit $ac_status); } \
3868         && test -f conftest2.$ac_objext; then
3869      : OK
3870    else
3871      am_cv_prog_cc_c_o=no
3872      break
3873    fi
3874  done
3875  rm -f core conftest*
3876  unset am_i
3877fi
3878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3879$as_echo "$am_cv_prog_cc_c_o" >&6; }
3880if test "$am_cv_prog_cc_c_o" != yes; then
3881   # Losing compiler, so override with the script.
3882   # FIXME: It is wrong to rewrite CC.
3883   # But if we don't then we get into trouble of one sort or another.
3884   # A longer-term fix would be to have automake use am__CC in this case,
3885   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3886   CC="$am_aux_dir/compile $CC"
3887fi
3888ac_ext=c
3889ac_cpp='$CPP $CPPFLAGS'
3890ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3891ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3892ac_compiler_gnu=$ac_cv_c_compiler_gnu
3893
3894DEPDIR="${am__leading_dot}deps"
3895
3896ac_config_commands="$ac_config_commands depfiles"
3897
3898
3899am_make=${MAKE-make}
3900cat > confinc << 'END'
3901am__doit:
3902	@echo this is the am__doit target
3903.PHONY: am__doit
3904END
3905# If we don't find an include directive, just comment out the code.
3906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3907$as_echo_n "checking for style of include used by $am_make... " >&6; }
3908am__include="#"
3909am__quote=
3910_am_result=none
3911# First try GNU make style include.
3912echo "include confinc" > confmf
3913# Ignore all kinds of additional output from 'make'.
3914case `$am_make -s -f confmf 2> /dev/null` in #(
3915*the\ am__doit\ target*)
3916  am__include=include
3917  am__quote=
3918  _am_result=GNU
3919  ;;
3920esac
3921# Now try BSD make style include.
3922if test "$am__include" = "#"; then
3923   echo '.include "confinc"' > confmf
3924   case `$am_make -s -f confmf 2> /dev/null` in #(
3925   *the\ am__doit\ target*)
3926     am__include=.include
3927     am__quote="\""
3928     _am_result=BSD
3929     ;;
3930   esac
3931fi
3932
3933
3934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3935$as_echo "$_am_result" >&6; }
3936rm -f confinc confmf
3937
3938# Check whether --enable-dependency-tracking was given.
3939if test "${enable_dependency_tracking+set}" = set; then :
3940  enableval=$enable_dependency_tracking;
3941fi
3942
3943if test "x$enable_dependency_tracking" != xno; then
3944  am_depcomp="$ac_aux_dir/depcomp"
3945  AMDEPBACKSLASH='\'
3946  am__nodep='_no'
3947fi
3948 if test "x$enable_dependency_tracking" != xno; then
3949  AMDEP_TRUE=
3950  AMDEP_FALSE='#'
3951else
3952  AMDEP_TRUE='#'
3953  AMDEP_FALSE=
3954fi
3955
3956
3957
3958depcc="$CC"   am_compiler_list=
3959
3960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3961$as_echo_n "checking dependency style of $depcc... " >&6; }
3962if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3963  $as_echo_n "(cached) " >&6
3964else
3965  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3966  # We make a subdir and do the tests there.  Otherwise we can end up
3967  # making bogus files that we don't know about and never remove.  For
3968  # instance it was reported that on HP-UX the gcc test will end up
3969  # making a dummy file named 'D' -- because '-MD' means "put the output
3970  # in D".
3971  rm -rf conftest.dir
3972  mkdir conftest.dir
3973  # Copy depcomp to subdir because otherwise we won't find it if we're
3974  # using a relative directory.
3975  cp "$am_depcomp" conftest.dir
3976  cd conftest.dir
3977  # We will build objects and dependencies in a subdirectory because
3978  # it helps to detect inapplicable dependency modes.  For instance
3979  # both Tru64's cc and ICC support -MD to output dependencies as a
3980  # side effect of compilation, but ICC will put the dependencies in
3981  # the current directory while Tru64 will put them in the object
3982  # directory.
3983  mkdir sub
3984
3985  am_cv_CC_dependencies_compiler_type=none
3986  if test "$am_compiler_list" = ""; then
3987     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3988  fi
3989  am__universal=false
3990  case " $depcc " in #(
3991     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3992     esac
3993
3994  for depmode in $am_compiler_list; do
3995    # Setup a source with many dependencies, because some compilers
3996    # like to wrap large dependency lists on column 80 (with \), and
3997    # we should not choose a depcomp mode which is confused by this.
3998    #
3999    # We need to recreate these files for each test, as the compiler may
4000    # overwrite some of them when testing with obscure command lines.
4001    # This happens at least with the AIX C compiler.
4002    : > sub/conftest.c
4003    for i in 1 2 3 4 5 6; do
4004      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4005      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4006      # Solaris 10 /bin/sh.
4007      echo '/* dummy */' > sub/conftst$i.h
4008    done
4009    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4010
4011    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4012    # mode.  It turns out that the SunPro C++ compiler does not properly
4013    # handle '-M -o', and we need to detect this.  Also, some Intel
4014    # versions had trouble with output in subdirs.
4015    am__obj=sub/conftest.${OBJEXT-o}
4016    am__minus_obj="-o $am__obj"
4017    case $depmode in
4018    gcc)
4019      # This depmode causes a compiler race in universal mode.
4020      test "$am__universal" = false || continue
4021      ;;
4022    nosideeffect)
4023      # After this tag, mechanisms are not by side-effect, so they'll
4024      # only be used when explicitly requested.
4025      if test "x$enable_dependency_tracking" = xyes; then
4026	continue
4027      else
4028	break
4029      fi
4030      ;;
4031    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4032      # This compiler won't grok '-c -o', but also, the minuso test has
4033      # not run yet.  These depmodes are late enough in the game, and
4034      # so weak that their functioning should not be impacted.
4035      am__obj=conftest.${OBJEXT-o}
4036      am__minus_obj=
4037      ;;
4038    none) break ;;
4039    esac
4040    if depmode=$depmode \
4041       source=sub/conftest.c object=$am__obj \
4042       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4043       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4044         >/dev/null 2>conftest.err &&
4045       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4046       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4047       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4048       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4049      # icc doesn't choke on unknown options, it will just issue warnings
4050      # or remarks (even with -Werror).  So we grep stderr for any message
4051      # that says an option was ignored or not supported.
4052      # When given -MP, icc 7.0 and 7.1 complain thusly:
4053      #   icc: Command line warning: ignoring option '-M'; no argument required
4054      # The diagnosis changed in icc 8.0:
4055      #   icc: Command line remark: option '-MP' not supported
4056      if (grep 'ignoring option' conftest.err ||
4057          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4058        am_cv_CC_dependencies_compiler_type=$depmode
4059        break
4060      fi
4061    fi
4062  done
4063
4064  cd ..
4065  rm -rf conftest.dir
4066else
4067  am_cv_CC_dependencies_compiler_type=none
4068fi
4069
4070fi
4071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4072$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4073CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4074
4075 if
4076  test "x$enable_dependency_tracking" != xno \
4077  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4078  am__fastdepCC_TRUE=
4079  am__fastdepCC_FALSE='#'
4080else
4081  am__fastdepCC_TRUE='#'
4082  am__fastdepCC_FALSE=
4083fi
4084
4085
4086ac_ext=cpp
4087ac_cpp='$CXXCPP $CPPFLAGS'
4088ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4089ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4090ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4091if test -z "$CXX"; then
4092  if test -n "$CCC"; then
4093    CXX=$CCC
4094  else
4095    if test -n "$ac_tool_prefix"; then
4096  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4097  do
4098    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4099set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4101$as_echo_n "checking for $ac_word... " >&6; }
4102if ${ac_cv_prog_CXX+:} false; then :
4103  $as_echo_n "(cached) " >&6
4104else
4105  if test -n "$CXX"; then
4106  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4107else
4108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109for as_dir in $PATH
4110do
4111  IFS=$as_save_IFS
4112  test -z "$as_dir" && as_dir=.
4113    for ac_exec_ext in '' $ac_executable_extensions; do
4114  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4115    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4116    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4117    break 2
4118  fi
4119done
4120  done
4121IFS=$as_save_IFS
4122
4123fi
4124fi
4125CXX=$ac_cv_prog_CXX
4126if test -n "$CXX"; then
4127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4128$as_echo "$CXX" >&6; }
4129else
4130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4131$as_echo "no" >&6; }
4132fi
4133
4134
4135    test -n "$CXX" && break
4136  done
4137fi
4138if test -z "$CXX"; then
4139  ac_ct_CXX=$CXX
4140  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4141do
4142  # Extract the first word of "$ac_prog", so it can be a program name with args.
4143set dummy $ac_prog; ac_word=$2
4144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4145$as_echo_n "checking for $ac_word... " >&6; }
4146if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4147  $as_echo_n "(cached) " >&6
4148else
4149  if test -n "$ac_ct_CXX"; then
4150  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4151else
4152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4153for as_dir in $PATH
4154do
4155  IFS=$as_save_IFS
4156  test -z "$as_dir" && as_dir=.
4157    for ac_exec_ext in '' $ac_executable_extensions; do
4158  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4159    ac_cv_prog_ac_ct_CXX="$ac_prog"
4160    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4161    break 2
4162  fi
4163done
4164  done
4165IFS=$as_save_IFS
4166
4167fi
4168fi
4169ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4170if test -n "$ac_ct_CXX"; then
4171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4172$as_echo "$ac_ct_CXX" >&6; }
4173else
4174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4175$as_echo "no" >&6; }
4176fi
4177
4178
4179  test -n "$ac_ct_CXX" && break
4180done
4181
4182  if test "x$ac_ct_CXX" = x; then
4183    CXX="g++"
4184  else
4185    case $cross_compiling:$ac_tool_warned in
4186yes:)
4187{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4188$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4189ac_tool_warned=yes ;;
4190esac
4191    CXX=$ac_ct_CXX
4192  fi
4193fi
4194
4195  fi
4196fi
4197# Provide some information about the compiler.
4198$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4199set X $ac_compile
4200ac_compiler=$2
4201for ac_option in --version -v -V -qversion; do
4202  { { ac_try="$ac_compiler $ac_option >&5"
4203case "(($ac_try" in
4204  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4205  *) ac_try_echo=$ac_try;;
4206esac
4207eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4208$as_echo "$ac_try_echo"; } >&5
4209  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4210  ac_status=$?
4211  if test -s conftest.err; then
4212    sed '10a\
4213... rest of stderr output deleted ...
4214         10q' conftest.err >conftest.er1
4215    cat conftest.er1 >&5
4216  fi
4217  rm -f conftest.er1 conftest.err
4218  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4219  test $ac_status = 0; }
4220done
4221
4222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4223$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4224if ${ac_cv_cxx_compiler_gnu+:} false; then :
4225  $as_echo_n "(cached) " >&6
4226else
4227  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228/* end confdefs.h.  */
4229
4230int
4231main ()
4232{
4233#ifndef __GNUC__
4234       choke me
4235#endif
4236
4237  ;
4238  return 0;
4239}
4240_ACEOF
4241if ac_fn_cxx_try_compile "$LINENO"; then :
4242  ac_compiler_gnu=yes
4243else
4244  ac_compiler_gnu=no
4245fi
4246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4248
4249fi
4250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4251$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4252if test $ac_compiler_gnu = yes; then
4253  GXX=yes
4254else
4255  GXX=
4256fi
4257ac_test_CXXFLAGS=${CXXFLAGS+set}
4258ac_save_CXXFLAGS=$CXXFLAGS
4259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4260$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4261if ${ac_cv_prog_cxx_g+:} false; then :
4262  $as_echo_n "(cached) " >&6
4263else
4264  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4265   ac_cxx_werror_flag=yes
4266   ac_cv_prog_cxx_g=no
4267   CXXFLAGS="-g"
4268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269/* end confdefs.h.  */
4270
4271int
4272main ()
4273{
4274
4275  ;
4276  return 0;
4277}
4278_ACEOF
4279if ac_fn_cxx_try_compile "$LINENO"; then :
4280  ac_cv_prog_cxx_g=yes
4281else
4282  CXXFLAGS=""
4283      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284/* end confdefs.h.  */
4285
4286int
4287main ()
4288{
4289
4290  ;
4291  return 0;
4292}
4293_ACEOF
4294if ac_fn_cxx_try_compile "$LINENO"; then :
4295
4296else
4297  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4298	 CXXFLAGS="-g"
4299	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300/* end confdefs.h.  */
4301
4302int
4303main ()
4304{
4305
4306  ;
4307  return 0;
4308}
4309_ACEOF
4310if ac_fn_cxx_try_compile "$LINENO"; then :
4311  ac_cv_prog_cxx_g=yes
4312fi
4313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4314fi
4315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4316fi
4317rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4318   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4319fi
4320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4321$as_echo "$ac_cv_prog_cxx_g" >&6; }
4322if test "$ac_test_CXXFLAGS" = set; then
4323  CXXFLAGS=$ac_save_CXXFLAGS
4324elif test $ac_cv_prog_cxx_g = yes; then
4325  if test "$GXX" = yes; then
4326    CXXFLAGS="-g -O2"
4327  else
4328    CXXFLAGS="-g"
4329  fi
4330else
4331  if test "$GXX" = yes; then
4332    CXXFLAGS="-O2"
4333  else
4334    CXXFLAGS=
4335  fi
4336fi
4337ac_ext=c
4338ac_cpp='$CPP $CPPFLAGS'
4339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4341ac_compiler_gnu=$ac_cv_c_compiler_gnu
4342
4343depcc="$CXX"  am_compiler_list=
4344
4345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4346$as_echo_n "checking dependency style of $depcc... " >&6; }
4347if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4348  $as_echo_n "(cached) " >&6
4349else
4350  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4351  # We make a subdir and do the tests there.  Otherwise we can end up
4352  # making bogus files that we don't know about and never remove.  For
4353  # instance it was reported that on HP-UX the gcc test will end up
4354  # making a dummy file named 'D' -- because '-MD' means "put the output
4355  # in D".
4356  rm -rf conftest.dir
4357  mkdir conftest.dir
4358  # Copy depcomp to subdir because otherwise we won't find it if we're
4359  # using a relative directory.
4360  cp "$am_depcomp" conftest.dir
4361  cd conftest.dir
4362  # We will build objects and dependencies in a subdirectory because
4363  # it helps to detect inapplicable dependency modes.  For instance
4364  # both Tru64's cc and ICC support -MD to output dependencies as a
4365  # side effect of compilation, but ICC will put the dependencies in
4366  # the current directory while Tru64 will put them in the object
4367  # directory.
4368  mkdir sub
4369
4370  am_cv_CXX_dependencies_compiler_type=none
4371  if test "$am_compiler_list" = ""; then
4372     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4373  fi
4374  am__universal=false
4375  case " $depcc " in #(
4376     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4377     esac
4378
4379  for depmode in $am_compiler_list; do
4380    # Setup a source with many dependencies, because some compilers
4381    # like to wrap large dependency lists on column 80 (with \), and
4382    # we should not choose a depcomp mode which is confused by this.
4383    #
4384    # We need to recreate these files for each test, as the compiler may
4385    # overwrite some of them when testing with obscure command lines.
4386    # This happens at least with the AIX C compiler.
4387    : > sub/conftest.c
4388    for i in 1 2 3 4 5 6; do
4389      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4390      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4391      # Solaris 10 /bin/sh.
4392      echo '/* dummy */' > sub/conftst$i.h
4393    done
4394    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4395
4396    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4397    # mode.  It turns out that the SunPro C++ compiler does not properly
4398    # handle '-M -o', and we need to detect this.  Also, some Intel
4399    # versions had trouble with output in subdirs.
4400    am__obj=sub/conftest.${OBJEXT-o}
4401    am__minus_obj="-o $am__obj"
4402    case $depmode in
4403    gcc)
4404      # This depmode causes a compiler race in universal mode.
4405      test "$am__universal" = false || continue
4406      ;;
4407    nosideeffect)
4408      # After this tag, mechanisms are not by side-effect, so they'll
4409      # only be used when explicitly requested.
4410      if test "x$enable_dependency_tracking" = xyes; then
4411	continue
4412      else
4413	break
4414      fi
4415      ;;
4416    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4417      # This compiler won't grok '-c -o', but also, the minuso test has
4418      # not run yet.  These depmodes are late enough in the game, and
4419      # so weak that their functioning should not be impacted.
4420      am__obj=conftest.${OBJEXT-o}
4421      am__minus_obj=
4422      ;;
4423    none) break ;;
4424    esac
4425    if depmode=$depmode \
4426       source=sub/conftest.c object=$am__obj \
4427       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4428       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4429         >/dev/null 2>conftest.err &&
4430       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4431       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4432       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4433       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4434      # icc doesn't choke on unknown options, it will just issue warnings
4435      # or remarks (even with -Werror).  So we grep stderr for any message
4436      # that says an option was ignored or not supported.
4437      # When given -MP, icc 7.0 and 7.1 complain thusly:
4438      #   icc: Command line warning: ignoring option '-M'; no argument required
4439      # The diagnosis changed in icc 8.0:
4440      #   icc: Command line remark: option '-MP' not supported
4441      if (grep 'ignoring option' conftest.err ||
4442          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4443        am_cv_CXX_dependencies_compiler_type=$depmode
4444        break
4445      fi
4446    fi
4447  done
4448
4449  cd ..
4450  rm -rf conftest.dir
4451else
4452  am_cv_CXX_dependencies_compiler_type=none
4453fi
4454
4455fi
4456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4457$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4458CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4459
4460 if
4461  test "x$enable_dependency_tracking" != xno \
4462  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4463  am__fastdepCXX_TRUE=
4464  am__fastdepCXX_FALSE='#'
4465else
4466  am__fastdepCXX_TRUE='#'
4467  am__fastdepCXX_FALSE=
4468fi
4469
4470
4471enable_win32_dll=yes
4472
4473case $host in
4474*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4475  if test -n "$ac_tool_prefix"; then
4476  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4477set dummy ${ac_tool_prefix}as; ac_word=$2
4478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479$as_echo_n "checking for $ac_word... " >&6; }
4480if ${ac_cv_prog_AS+:} false; then :
4481  $as_echo_n "(cached) " >&6
4482else
4483  if test -n "$AS"; then
4484  ac_cv_prog_AS="$AS" # Let the user override the test.
4485else
4486as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487for as_dir in $PATH
4488do
4489  IFS=$as_save_IFS
4490  test -z "$as_dir" && as_dir=.
4491    for ac_exec_ext in '' $ac_executable_extensions; do
4492  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4493    ac_cv_prog_AS="${ac_tool_prefix}as"
4494    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4495    break 2
4496  fi
4497done
4498  done
4499IFS=$as_save_IFS
4500
4501fi
4502fi
4503AS=$ac_cv_prog_AS
4504if test -n "$AS"; then
4505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4506$as_echo "$AS" >&6; }
4507else
4508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509$as_echo "no" >&6; }
4510fi
4511
4512
4513fi
4514if test -z "$ac_cv_prog_AS"; then
4515  ac_ct_AS=$AS
4516  # Extract the first word of "as", so it can be a program name with args.
4517set dummy as; ac_word=$2
4518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4519$as_echo_n "checking for $ac_word... " >&6; }
4520if ${ac_cv_prog_ac_ct_AS+:} false; then :
4521  $as_echo_n "(cached) " >&6
4522else
4523  if test -n "$ac_ct_AS"; then
4524  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4525else
4526as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4527for as_dir in $PATH
4528do
4529  IFS=$as_save_IFS
4530  test -z "$as_dir" && as_dir=.
4531    for ac_exec_ext in '' $ac_executable_extensions; do
4532  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4533    ac_cv_prog_ac_ct_AS="as"
4534    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4535    break 2
4536  fi
4537done
4538  done
4539IFS=$as_save_IFS
4540
4541fi
4542fi
4543ac_ct_AS=$ac_cv_prog_ac_ct_AS
4544if test -n "$ac_ct_AS"; then
4545  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4546$as_echo "$ac_ct_AS" >&6; }
4547else
4548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4549$as_echo "no" >&6; }
4550fi
4551
4552  if test "x$ac_ct_AS" = x; then
4553    AS="false"
4554  else
4555    case $cross_compiling:$ac_tool_warned in
4556yes:)
4557{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4558$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4559ac_tool_warned=yes ;;
4560esac
4561    AS=$ac_ct_AS
4562  fi
4563else
4564  AS="$ac_cv_prog_AS"
4565fi
4566
4567  if test -n "$ac_tool_prefix"; then
4568  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4569set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4571$as_echo_n "checking for $ac_word... " >&6; }
4572if ${ac_cv_prog_DLLTOOL+:} false; then :
4573  $as_echo_n "(cached) " >&6
4574else
4575  if test -n "$DLLTOOL"; then
4576  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4577else
4578as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579for as_dir in $PATH
4580do
4581  IFS=$as_save_IFS
4582  test -z "$as_dir" && as_dir=.
4583    for ac_exec_ext in '' $ac_executable_extensions; do
4584  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4585    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4586    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4587    break 2
4588  fi
4589done
4590  done
4591IFS=$as_save_IFS
4592
4593fi
4594fi
4595DLLTOOL=$ac_cv_prog_DLLTOOL
4596if test -n "$DLLTOOL"; then
4597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4598$as_echo "$DLLTOOL" >&6; }
4599else
4600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4601$as_echo "no" >&6; }
4602fi
4603
4604
4605fi
4606if test -z "$ac_cv_prog_DLLTOOL"; then
4607  ac_ct_DLLTOOL=$DLLTOOL
4608  # Extract the first word of "dlltool", so it can be a program name with args.
4609set dummy dlltool; ac_word=$2
4610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611$as_echo_n "checking for $ac_word... " >&6; }
4612if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4613  $as_echo_n "(cached) " >&6
4614else
4615  if test -n "$ac_ct_DLLTOOL"; then
4616  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4617else
4618as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619for as_dir in $PATH
4620do
4621  IFS=$as_save_IFS
4622  test -z "$as_dir" && as_dir=.
4623    for ac_exec_ext in '' $ac_executable_extensions; do
4624  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4625    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4626    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4627    break 2
4628  fi
4629done
4630  done
4631IFS=$as_save_IFS
4632
4633fi
4634fi
4635ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4636if test -n "$ac_ct_DLLTOOL"; then
4637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4638$as_echo "$ac_ct_DLLTOOL" >&6; }
4639else
4640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641$as_echo "no" >&6; }
4642fi
4643
4644  if test "x$ac_ct_DLLTOOL" = x; then
4645    DLLTOOL="false"
4646  else
4647    case $cross_compiling:$ac_tool_warned in
4648yes:)
4649{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4650$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4651ac_tool_warned=yes ;;
4652esac
4653    DLLTOOL=$ac_ct_DLLTOOL
4654  fi
4655else
4656  DLLTOOL="$ac_cv_prog_DLLTOOL"
4657fi
4658
4659  if test -n "$ac_tool_prefix"; then
4660  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4661set dummy ${ac_tool_prefix}objdump; ac_word=$2
4662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663$as_echo_n "checking for $ac_word... " >&6; }
4664if ${ac_cv_prog_OBJDUMP+:} false; then :
4665  $as_echo_n "(cached) " >&6
4666else
4667  if test -n "$OBJDUMP"; then
4668  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4669else
4670as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671for as_dir in $PATH
4672do
4673  IFS=$as_save_IFS
4674  test -z "$as_dir" && as_dir=.
4675    for ac_exec_ext in '' $ac_executable_extensions; do
4676  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4677    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4678    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4679    break 2
4680  fi
4681done
4682  done
4683IFS=$as_save_IFS
4684
4685fi
4686fi
4687OBJDUMP=$ac_cv_prog_OBJDUMP
4688if test -n "$OBJDUMP"; then
4689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4690$as_echo "$OBJDUMP" >&6; }
4691else
4692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693$as_echo "no" >&6; }
4694fi
4695
4696
4697fi
4698if test -z "$ac_cv_prog_OBJDUMP"; then
4699  ac_ct_OBJDUMP=$OBJDUMP
4700  # Extract the first word of "objdump", so it can be a program name with args.
4701set dummy objdump; ac_word=$2
4702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703$as_echo_n "checking for $ac_word... " >&6; }
4704if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4705  $as_echo_n "(cached) " >&6
4706else
4707  if test -n "$ac_ct_OBJDUMP"; then
4708  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4709else
4710as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4711for as_dir in $PATH
4712do
4713  IFS=$as_save_IFS
4714  test -z "$as_dir" && as_dir=.
4715    for ac_exec_ext in '' $ac_executable_extensions; do
4716  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4717    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4718    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4719    break 2
4720  fi
4721done
4722  done
4723IFS=$as_save_IFS
4724
4725fi
4726fi
4727ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4728if test -n "$ac_ct_OBJDUMP"; then
4729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4730$as_echo "$ac_ct_OBJDUMP" >&6; }
4731else
4732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733$as_echo "no" >&6; }
4734fi
4735
4736  if test "x$ac_ct_OBJDUMP" = x; then
4737    OBJDUMP="false"
4738  else
4739    case $cross_compiling:$ac_tool_warned in
4740yes:)
4741{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4742$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4743ac_tool_warned=yes ;;
4744esac
4745    OBJDUMP=$ac_ct_OBJDUMP
4746  fi
4747else
4748  OBJDUMP="$ac_cv_prog_OBJDUMP"
4749fi
4750
4751  ;;
4752esac
4753
4754test -z "$AS" && AS=as
4755
4756
4757
4758
4759
4760test -z "$DLLTOOL" && DLLTOOL=dlltool
4761
4762
4763
4764
4765
4766test -z "$OBJDUMP" && OBJDUMP=objdump
4767
4768
4769
4770
4771
4772
4773
4774case `pwd` in
4775  *\ * | *\	*)
4776    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4777$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4778esac
4779
4780
4781
4782macro_version='2.4.6'
4783macro_revision='2.4.6'
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797ltmain=$ac_aux_dir/ltmain.sh
4798
4799# Backslashify metacharacters that are still active within
4800# double-quoted strings.
4801sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4802
4803# Same as above, but do not quote variable references.
4804double_quote_subst='s/\(["`\\]\)/\\\1/g'
4805
4806# Sed substitution to delay expansion of an escaped shell variable in a
4807# double_quote_subst'ed string.
4808delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4809
4810# Sed substitution to delay expansion of an escaped single quote.
4811delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4812
4813# Sed substitution to avoid accidental globbing in evaled expressions
4814no_glob_subst='s/\*/\\\*/g'
4815
4816ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4817ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4818ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4819
4820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4821$as_echo_n "checking how to print strings... " >&6; }
4822# Test print first, because it will be a builtin if present.
4823if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4824   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4825  ECHO='print -r --'
4826elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4827  ECHO='printf %s\n'
4828else
4829  # Use this function as a fallback that always works.
4830  func_fallback_echo ()
4831  {
4832    eval 'cat <<_LTECHO_EOF
4833$1
4834_LTECHO_EOF'
4835  }
4836  ECHO='func_fallback_echo'
4837fi
4838
4839# func_echo_all arg...
4840# Invoke $ECHO with all args, space-separated.
4841func_echo_all ()
4842{
4843    $ECHO ""
4844}
4845
4846case $ECHO in
4847  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4848$as_echo "printf" >&6; } ;;
4849  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4850$as_echo "print -r" >&6; } ;;
4851  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4852$as_echo "cat" >&6; } ;;
4853esac
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4869$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4870if ${ac_cv_path_SED+:} false; then :
4871  $as_echo_n "(cached) " >&6
4872else
4873            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4874     for ac_i in 1 2 3 4 5 6 7; do
4875       ac_script="$ac_script$as_nl$ac_script"
4876     done
4877     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4878     { ac_script=; unset ac_script;}
4879     if test -z "$SED"; then
4880  ac_path_SED_found=false
4881  # Loop through the user's path and test for each of PROGNAME-LIST
4882  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4883for as_dir in $PATH
4884do
4885  IFS=$as_save_IFS
4886  test -z "$as_dir" && as_dir=.
4887    for ac_prog in sed gsed; do
4888    for ac_exec_ext in '' $ac_executable_extensions; do
4889      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4890      as_fn_executable_p "$ac_path_SED" || continue
4891# Check for GNU ac_path_SED and select it if it is found.
4892  # Check for GNU $ac_path_SED
4893case `"$ac_path_SED" --version 2>&1` in
4894*GNU*)
4895  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4896*)
4897  ac_count=0
4898  $as_echo_n 0123456789 >"conftest.in"
4899  while :
4900  do
4901    cat "conftest.in" "conftest.in" >"conftest.tmp"
4902    mv "conftest.tmp" "conftest.in"
4903    cp "conftest.in" "conftest.nl"
4904    $as_echo '' >> "conftest.nl"
4905    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4906    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4907    as_fn_arith $ac_count + 1 && ac_count=$as_val
4908    if test $ac_count -gt ${ac_path_SED_max-0}; then
4909      # Best one so far, save it but keep looking for a better one
4910      ac_cv_path_SED="$ac_path_SED"
4911      ac_path_SED_max=$ac_count
4912    fi
4913    # 10*(2^10) chars as input seems more than enough
4914    test $ac_count -gt 10 && break
4915  done
4916  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4917esac
4918
4919      $ac_path_SED_found && break 3
4920    done
4921  done
4922  done
4923IFS=$as_save_IFS
4924  if test -z "$ac_cv_path_SED"; then
4925    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4926  fi
4927else
4928  ac_cv_path_SED=$SED
4929fi
4930
4931fi
4932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4933$as_echo "$ac_cv_path_SED" >&6; }
4934 SED="$ac_cv_path_SED"
4935  rm -f conftest.sed
4936
4937test -z "$SED" && SED=sed
4938Xsed="$SED -e 1s/^X//"
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4951$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4952if ${ac_cv_path_GREP+:} false; then :
4953  $as_echo_n "(cached) " >&6
4954else
4955  if test -z "$GREP"; then
4956  ac_path_GREP_found=false
4957  # Loop through the user's path and test for each of PROGNAME-LIST
4958  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4960do
4961  IFS=$as_save_IFS
4962  test -z "$as_dir" && as_dir=.
4963    for ac_prog in grep ggrep; do
4964    for ac_exec_ext in '' $ac_executable_extensions; do
4965      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4966      as_fn_executable_p "$ac_path_GREP" || continue
4967# Check for GNU ac_path_GREP and select it if it is found.
4968  # Check for GNU $ac_path_GREP
4969case `"$ac_path_GREP" --version 2>&1` in
4970*GNU*)
4971  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4972*)
4973  ac_count=0
4974  $as_echo_n 0123456789 >"conftest.in"
4975  while :
4976  do
4977    cat "conftest.in" "conftest.in" >"conftest.tmp"
4978    mv "conftest.tmp" "conftest.in"
4979    cp "conftest.in" "conftest.nl"
4980    $as_echo 'GREP' >> "conftest.nl"
4981    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4982    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4983    as_fn_arith $ac_count + 1 && ac_count=$as_val
4984    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4985      # Best one so far, save it but keep looking for a better one
4986      ac_cv_path_GREP="$ac_path_GREP"
4987      ac_path_GREP_max=$ac_count
4988    fi
4989    # 10*(2^10) chars as input seems more than enough
4990    test $ac_count -gt 10 && break
4991  done
4992  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4993esac
4994
4995      $ac_path_GREP_found && break 3
4996    done
4997  done
4998  done
4999IFS=$as_save_IFS
5000  if test -z "$ac_cv_path_GREP"; then
5001    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5002  fi
5003else
5004  ac_cv_path_GREP=$GREP
5005fi
5006
5007fi
5008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5009$as_echo "$ac_cv_path_GREP" >&6; }
5010 GREP="$ac_cv_path_GREP"
5011
5012
5013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5014$as_echo_n "checking for egrep... " >&6; }
5015if ${ac_cv_path_EGREP+:} false; then :
5016  $as_echo_n "(cached) " >&6
5017else
5018  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5019   then ac_cv_path_EGREP="$GREP -E"
5020   else
5021     if test -z "$EGREP"; then
5022  ac_path_EGREP_found=false
5023  # Loop through the user's path and test for each of PROGNAME-LIST
5024  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5026do
5027  IFS=$as_save_IFS
5028  test -z "$as_dir" && as_dir=.
5029    for ac_prog in egrep; do
5030    for ac_exec_ext in '' $ac_executable_extensions; do
5031      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5032      as_fn_executable_p "$ac_path_EGREP" || continue
5033# Check for GNU ac_path_EGREP and select it if it is found.
5034  # Check for GNU $ac_path_EGREP
5035case `"$ac_path_EGREP" --version 2>&1` in
5036*GNU*)
5037  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5038*)
5039  ac_count=0
5040  $as_echo_n 0123456789 >"conftest.in"
5041  while :
5042  do
5043    cat "conftest.in" "conftest.in" >"conftest.tmp"
5044    mv "conftest.tmp" "conftest.in"
5045    cp "conftest.in" "conftest.nl"
5046    $as_echo 'EGREP' >> "conftest.nl"
5047    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5048    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5049    as_fn_arith $ac_count + 1 && ac_count=$as_val
5050    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5051      # Best one so far, save it but keep looking for a better one
5052      ac_cv_path_EGREP="$ac_path_EGREP"
5053      ac_path_EGREP_max=$ac_count
5054    fi
5055    # 10*(2^10) chars as input seems more than enough
5056    test $ac_count -gt 10 && break
5057  done
5058  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5059esac
5060
5061      $ac_path_EGREP_found && break 3
5062    done
5063  done
5064  done
5065IFS=$as_save_IFS
5066  if test -z "$ac_cv_path_EGREP"; then
5067    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5068  fi
5069else
5070  ac_cv_path_EGREP=$EGREP
5071fi
5072
5073   fi
5074fi
5075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5076$as_echo "$ac_cv_path_EGREP" >&6; }
5077 EGREP="$ac_cv_path_EGREP"
5078
5079
5080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5081$as_echo_n "checking for fgrep... " >&6; }
5082if ${ac_cv_path_FGREP+:} false; then :
5083  $as_echo_n "(cached) " >&6
5084else
5085  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5086   then ac_cv_path_FGREP="$GREP -F"
5087   else
5088     if test -z "$FGREP"; then
5089  ac_path_FGREP_found=false
5090  # Loop through the user's path and test for each of PROGNAME-LIST
5091  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5093do
5094  IFS=$as_save_IFS
5095  test -z "$as_dir" && as_dir=.
5096    for ac_prog in fgrep; do
5097    for ac_exec_ext in '' $ac_executable_extensions; do
5098      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5099      as_fn_executable_p "$ac_path_FGREP" || continue
5100# Check for GNU ac_path_FGREP and select it if it is found.
5101  # Check for GNU $ac_path_FGREP
5102case `"$ac_path_FGREP" --version 2>&1` in
5103*GNU*)
5104  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5105*)
5106  ac_count=0
5107  $as_echo_n 0123456789 >"conftest.in"
5108  while :
5109  do
5110    cat "conftest.in" "conftest.in" >"conftest.tmp"
5111    mv "conftest.tmp" "conftest.in"
5112    cp "conftest.in" "conftest.nl"
5113    $as_echo 'FGREP' >> "conftest.nl"
5114    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5115    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5116    as_fn_arith $ac_count + 1 && ac_count=$as_val
5117    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5118      # Best one so far, save it but keep looking for a better one
5119      ac_cv_path_FGREP="$ac_path_FGREP"
5120      ac_path_FGREP_max=$ac_count
5121    fi
5122    # 10*(2^10) chars as input seems more than enough
5123    test $ac_count -gt 10 && break
5124  done
5125  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5126esac
5127
5128      $ac_path_FGREP_found && break 3
5129    done
5130  done
5131  done
5132IFS=$as_save_IFS
5133  if test -z "$ac_cv_path_FGREP"; then
5134    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5135  fi
5136else
5137  ac_cv_path_FGREP=$FGREP
5138fi
5139
5140   fi
5141fi
5142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5143$as_echo "$ac_cv_path_FGREP" >&6; }
5144 FGREP="$ac_cv_path_FGREP"
5145
5146
5147test -z "$GREP" && GREP=grep
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167# Check whether --with-gnu-ld was given.
5168if test "${with_gnu_ld+set}" = set; then :
5169  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5170else
5171  with_gnu_ld=no
5172fi
5173
5174ac_prog=ld
5175if test yes = "$GCC"; then
5176  # Check if gcc -print-prog-name=ld gives a path.
5177  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5178$as_echo_n "checking for ld used by $CC... " >&6; }
5179  case $host in
5180  *-*-mingw*)
5181    # gcc leaves a trailing carriage return, which upsets mingw
5182    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5183  *)
5184    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5185  esac
5186  case $ac_prog in
5187    # Accept absolute paths.
5188    [\\/]* | ?:[\\/]*)
5189      re_direlt='/[^/][^/]*/\.\./'
5190      # Canonicalize the pathname of ld
5191      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5192      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5193	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5194      done
5195      test -z "$LD" && LD=$ac_prog
5196      ;;
5197  "")
5198    # If it fails, then pretend we aren't using GCC.
5199    ac_prog=ld
5200    ;;
5201  *)
5202    # If it is relative, then search for the first ld in PATH.
5203    with_gnu_ld=unknown
5204    ;;
5205  esac
5206elif test yes = "$with_gnu_ld"; then
5207  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5208$as_echo_n "checking for GNU ld... " >&6; }
5209else
5210  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5211$as_echo_n "checking for non-GNU ld... " >&6; }
5212fi
5213if ${lt_cv_path_LD+:} false; then :
5214  $as_echo_n "(cached) " >&6
5215else
5216  if test -z "$LD"; then
5217  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5218  for ac_dir in $PATH; do
5219    IFS=$lt_save_ifs
5220    test -z "$ac_dir" && ac_dir=.
5221    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5222      lt_cv_path_LD=$ac_dir/$ac_prog
5223      # Check to see if the program is GNU ld.  I'd rather use --version,
5224      # but apparently some variants of GNU ld only accept -v.
5225      # Break only if it was the GNU/non-GNU ld that we prefer.
5226      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5227      *GNU* | *'with BFD'*)
5228	test no != "$with_gnu_ld" && break
5229	;;
5230      *)
5231	test yes != "$with_gnu_ld" && break
5232	;;
5233      esac
5234    fi
5235  done
5236  IFS=$lt_save_ifs
5237else
5238  lt_cv_path_LD=$LD # Let the user override the test with a path.
5239fi
5240fi
5241
5242LD=$lt_cv_path_LD
5243if test -n "$LD"; then
5244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5245$as_echo "$LD" >&6; }
5246else
5247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5248$as_echo "no" >&6; }
5249fi
5250test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5252$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5253if ${lt_cv_prog_gnu_ld+:} false; then :
5254  $as_echo_n "(cached) " >&6
5255else
5256  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5257case `$LD -v 2>&1 </dev/null` in
5258*GNU* | *'with BFD'*)
5259  lt_cv_prog_gnu_ld=yes
5260  ;;
5261*)
5262  lt_cv_prog_gnu_ld=no
5263  ;;
5264esac
5265fi
5266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5267$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5268with_gnu_ld=$lt_cv_prog_gnu_ld
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5279$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5280if ${lt_cv_path_NM+:} false; then :
5281  $as_echo_n "(cached) " >&6
5282else
5283  if test -n "$NM"; then
5284  # Let the user override the test.
5285  lt_cv_path_NM=$NM
5286else
5287  lt_nm_to_check=${ac_tool_prefix}nm
5288  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5289    lt_nm_to_check="$lt_nm_to_check nm"
5290  fi
5291  for lt_tmp_nm in $lt_nm_to_check; do
5292    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5293    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5294      IFS=$lt_save_ifs
5295      test -z "$ac_dir" && ac_dir=.
5296      tmp_nm=$ac_dir/$lt_tmp_nm
5297      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5298	# Check to see if the nm accepts a BSD-compat flag.
5299	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5300	#   nm: unknown option "B" ignored
5301	# Tru64's nm complains that /dev/null is an invalid object file
5302	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5303	case $build_os in
5304	mingw*) lt_bad_file=conftest.nm/nofile ;;
5305	*) lt_bad_file=/dev/null ;;
5306	esac
5307	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5308	*$lt_bad_file* | *'Invalid file or object type'*)
5309	  lt_cv_path_NM="$tmp_nm -B"
5310	  break 2
5311	  ;;
5312	*)
5313	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5314	  */dev/null*)
5315	    lt_cv_path_NM="$tmp_nm -p"
5316	    break 2
5317	    ;;
5318	  *)
5319	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5320	    continue # so that we can try to find one that supports BSD flags
5321	    ;;
5322	  esac
5323	  ;;
5324	esac
5325      fi
5326    done
5327    IFS=$lt_save_ifs
5328  done
5329  : ${lt_cv_path_NM=no}
5330fi
5331fi
5332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5333$as_echo "$lt_cv_path_NM" >&6; }
5334if test no != "$lt_cv_path_NM"; then
5335  NM=$lt_cv_path_NM
5336else
5337  # Didn't find any BSD compatible name lister, look for dumpbin.
5338  if test -n "$DUMPBIN"; then :
5339    # Let the user override the test.
5340  else
5341    if test -n "$ac_tool_prefix"; then
5342  for ac_prog in dumpbin "link -dump"
5343  do
5344    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5345set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5347$as_echo_n "checking for $ac_word... " >&6; }
5348if ${ac_cv_prog_DUMPBIN+:} false; then :
5349  $as_echo_n "(cached) " >&6
5350else
5351  if test -n "$DUMPBIN"; then
5352  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5353else
5354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5355for as_dir in $PATH
5356do
5357  IFS=$as_save_IFS
5358  test -z "$as_dir" && as_dir=.
5359    for ac_exec_ext in '' $ac_executable_extensions; do
5360  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5361    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5362    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5363    break 2
5364  fi
5365done
5366  done
5367IFS=$as_save_IFS
5368
5369fi
5370fi
5371DUMPBIN=$ac_cv_prog_DUMPBIN
5372if test -n "$DUMPBIN"; then
5373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5374$as_echo "$DUMPBIN" >&6; }
5375else
5376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5377$as_echo "no" >&6; }
5378fi
5379
5380
5381    test -n "$DUMPBIN" && break
5382  done
5383fi
5384if test -z "$DUMPBIN"; then
5385  ac_ct_DUMPBIN=$DUMPBIN
5386  for ac_prog in dumpbin "link -dump"
5387do
5388  # Extract the first word of "$ac_prog", so it can be a program name with args.
5389set dummy $ac_prog; ac_word=$2
5390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391$as_echo_n "checking for $ac_word... " >&6; }
5392if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5393  $as_echo_n "(cached) " >&6
5394else
5395  if test -n "$ac_ct_DUMPBIN"; then
5396  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5397else
5398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5399for as_dir in $PATH
5400do
5401  IFS=$as_save_IFS
5402  test -z "$as_dir" && as_dir=.
5403    for ac_exec_ext in '' $ac_executable_extensions; do
5404  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5405    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5406    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5407    break 2
5408  fi
5409done
5410  done
5411IFS=$as_save_IFS
5412
5413fi
5414fi
5415ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5416if test -n "$ac_ct_DUMPBIN"; then
5417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5418$as_echo "$ac_ct_DUMPBIN" >&6; }
5419else
5420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421$as_echo "no" >&6; }
5422fi
5423
5424
5425  test -n "$ac_ct_DUMPBIN" && break
5426done
5427
5428  if test "x$ac_ct_DUMPBIN" = x; then
5429    DUMPBIN=":"
5430  else
5431    case $cross_compiling:$ac_tool_warned in
5432yes:)
5433{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5434$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5435ac_tool_warned=yes ;;
5436esac
5437    DUMPBIN=$ac_ct_DUMPBIN
5438  fi
5439fi
5440
5441    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5442    *COFF*)
5443      DUMPBIN="$DUMPBIN -symbols -headers"
5444      ;;
5445    *)
5446      DUMPBIN=:
5447      ;;
5448    esac
5449  fi
5450
5451  if test : != "$DUMPBIN"; then
5452    NM=$DUMPBIN
5453  fi
5454fi
5455test -z "$NM" && NM=nm
5456
5457
5458
5459
5460
5461
5462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5463$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5464if ${lt_cv_nm_interface+:} false; then :
5465  $as_echo_n "(cached) " >&6
5466else
5467  lt_cv_nm_interface="BSD nm"
5468  echo "int some_variable = 0;" > conftest.$ac_ext
5469  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5470  (eval "$ac_compile" 2>conftest.err)
5471  cat conftest.err >&5
5472  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5473  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5474  cat conftest.err >&5
5475  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5476  cat conftest.out >&5
5477  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5478    lt_cv_nm_interface="MS dumpbin"
5479  fi
5480  rm -f conftest*
5481fi
5482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5483$as_echo "$lt_cv_nm_interface" >&6; }
5484
5485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5486$as_echo_n "checking whether ln -s works... " >&6; }
5487LN_S=$as_ln_s
5488if test "$LN_S" = "ln -s"; then
5489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5490$as_echo "yes" >&6; }
5491else
5492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5493$as_echo "no, using $LN_S" >&6; }
5494fi
5495
5496# find the maximum length of command line arguments
5497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5498$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5499if ${lt_cv_sys_max_cmd_len+:} false; then :
5500  $as_echo_n "(cached) " >&6
5501else
5502    i=0
5503  teststring=ABCD
5504
5505  case $build_os in
5506  msdosdjgpp*)
5507    # On DJGPP, this test can blow up pretty badly due to problems in libc
5508    # (any single argument exceeding 2000 bytes causes a buffer overrun
5509    # during glob expansion).  Even if it were fixed, the result of this
5510    # check would be larger than it should be.
5511    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5512    ;;
5513
5514  gnu*)
5515    # Under GNU Hurd, this test is not required because there is
5516    # no limit to the length of command line arguments.
5517    # Libtool will interpret -1 as no limit whatsoever
5518    lt_cv_sys_max_cmd_len=-1;
5519    ;;
5520
5521  cygwin* | mingw* | cegcc*)
5522    # On Win9x/ME, this test blows up -- it succeeds, but takes
5523    # about 5 minutes as the teststring grows exponentially.
5524    # Worse, since 9x/ME are not pre-emptively multitasking,
5525    # you end up with a "frozen" computer, even though with patience
5526    # the test eventually succeeds (with a max line length of 256k).
5527    # Instead, let's just punt: use the minimum linelength reported by
5528    # all of the supported platforms: 8192 (on NT/2K/XP).
5529    lt_cv_sys_max_cmd_len=8192;
5530    ;;
5531
5532  mint*)
5533    # On MiNT this can take a long time and run out of memory.
5534    lt_cv_sys_max_cmd_len=8192;
5535    ;;
5536
5537  amigaos*)
5538    # On AmigaOS with pdksh, this test takes hours, literally.
5539    # So we just punt and use a minimum line length of 8192.
5540    lt_cv_sys_max_cmd_len=8192;
5541    ;;
5542
5543  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5544    # This has been around since 386BSD, at least.  Likely further.
5545    if test -x /sbin/sysctl; then
5546      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5547    elif test -x /usr/sbin/sysctl; then
5548      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5549    else
5550      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5551    fi
5552    # And add a safety zone
5553    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5554    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5555    ;;
5556
5557  interix*)
5558    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5559    lt_cv_sys_max_cmd_len=196608
5560    ;;
5561
5562  os2*)
5563    # The test takes a long time on OS/2.
5564    lt_cv_sys_max_cmd_len=8192
5565    ;;
5566
5567  osf*)
5568    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5569    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5570    # nice to cause kernel panics so lets avoid the loop below.
5571    # First set a reasonable default.
5572    lt_cv_sys_max_cmd_len=16384
5573    #
5574    if test -x /sbin/sysconfig; then
5575      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5576        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5577      esac
5578    fi
5579    ;;
5580  sco3.2v5*)
5581    lt_cv_sys_max_cmd_len=102400
5582    ;;
5583  sysv5* | sco5v6* | sysv4.2uw2*)
5584    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5585    if test -n "$kargmax"; then
5586      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5587    else
5588      lt_cv_sys_max_cmd_len=32768
5589    fi
5590    ;;
5591  *)
5592    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5593    if test -n "$lt_cv_sys_max_cmd_len" && \
5594       test undefined != "$lt_cv_sys_max_cmd_len"; then
5595      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5596      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5597    else
5598      # Make teststring a little bigger before we do anything with it.
5599      # a 1K string should be a reasonable start.
5600      for i in 1 2 3 4 5 6 7 8; do
5601        teststring=$teststring$teststring
5602      done
5603      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5604      # If test is not a shell built-in, we'll probably end up computing a
5605      # maximum length that is only half of the actual maximum length, but
5606      # we can't tell.
5607      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5608	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5609	      test 17 != "$i" # 1/2 MB should be enough
5610      do
5611        i=`expr $i + 1`
5612        teststring=$teststring$teststring
5613      done
5614      # Only check the string length outside the loop.
5615      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5616      teststring=
5617      # Add a significant safety factor because C++ compilers can tack on
5618      # massive amounts of additional arguments before passing them to the
5619      # linker.  It appears as though 1/2 is a usable value.
5620      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5621    fi
5622    ;;
5623  esac
5624
5625fi
5626
5627if test -n "$lt_cv_sys_max_cmd_len"; then
5628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5629$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5630else
5631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5632$as_echo "none" >&6; }
5633fi
5634max_cmd_len=$lt_cv_sys_max_cmd_len
5635
5636
5637
5638
5639
5640
5641: ${CP="cp -f"}
5642: ${MV="mv -f"}
5643: ${RM="rm -f"}
5644
5645if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5646  lt_unset=unset
5647else
5648  lt_unset=false
5649fi
5650
5651
5652
5653
5654
5655# test EBCDIC or ASCII
5656case `echo X|tr X '\101'` in
5657 A) # ASCII based system
5658    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5659  lt_SP2NL='tr \040 \012'
5660  lt_NL2SP='tr \015\012 \040\040'
5661  ;;
5662 *) # EBCDIC based system
5663  lt_SP2NL='tr \100 \n'
5664  lt_NL2SP='tr \r\n \100\100'
5665  ;;
5666esac
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5677$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5678if ${lt_cv_to_host_file_cmd+:} false; then :
5679  $as_echo_n "(cached) " >&6
5680else
5681  case $host in
5682  *-*-mingw* )
5683    case $build in
5684      *-*-mingw* ) # actually msys
5685        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5686        ;;
5687      *-*-cygwin* )
5688        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5689        ;;
5690      * ) # otherwise, assume *nix
5691        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5692        ;;
5693    esac
5694    ;;
5695  *-*-cygwin* )
5696    case $build in
5697      *-*-mingw* ) # actually msys
5698        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5699        ;;
5700      *-*-cygwin* )
5701        lt_cv_to_host_file_cmd=func_convert_file_noop
5702        ;;
5703      * ) # otherwise, assume *nix
5704        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5705        ;;
5706    esac
5707    ;;
5708  * ) # unhandled hosts (and "normal" native builds)
5709    lt_cv_to_host_file_cmd=func_convert_file_noop
5710    ;;
5711esac
5712
5713fi
5714
5715to_host_file_cmd=$lt_cv_to_host_file_cmd
5716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5717$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5718
5719
5720
5721
5722
5723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5724$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5725if ${lt_cv_to_tool_file_cmd+:} false; then :
5726  $as_echo_n "(cached) " >&6
5727else
5728  #assume ordinary cross tools, or native build.
5729lt_cv_to_tool_file_cmd=func_convert_file_noop
5730case $host in
5731  *-*-mingw* )
5732    case $build in
5733      *-*-mingw* ) # actually msys
5734        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5735        ;;
5736    esac
5737    ;;
5738esac
5739
5740fi
5741
5742to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5744$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5745
5746
5747
5748
5749
5750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5751$as_echo_n "checking for $LD option to reload object files... " >&6; }
5752if ${lt_cv_ld_reload_flag+:} false; then :
5753  $as_echo_n "(cached) " >&6
5754else
5755  lt_cv_ld_reload_flag='-r'
5756fi
5757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5758$as_echo "$lt_cv_ld_reload_flag" >&6; }
5759reload_flag=$lt_cv_ld_reload_flag
5760case $reload_flag in
5761"" | " "*) ;;
5762*) reload_flag=" $reload_flag" ;;
5763esac
5764reload_cmds='$LD$reload_flag -o $output$reload_objs'
5765case $host_os in
5766  cygwin* | mingw* | pw32* | cegcc*)
5767    if test yes != "$GCC"; then
5768      reload_cmds=false
5769    fi
5770    ;;
5771  darwin*)
5772    if test yes = "$GCC"; then
5773      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5774    else
5775      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5776    fi
5777    ;;
5778esac
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788if test -n "$ac_tool_prefix"; then
5789  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5790set dummy ${ac_tool_prefix}objdump; ac_word=$2
5791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792$as_echo_n "checking for $ac_word... " >&6; }
5793if ${ac_cv_prog_OBJDUMP+:} false; then :
5794  $as_echo_n "(cached) " >&6
5795else
5796  if test -n "$OBJDUMP"; then
5797  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5798else
5799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800for as_dir in $PATH
5801do
5802  IFS=$as_save_IFS
5803  test -z "$as_dir" && as_dir=.
5804    for ac_exec_ext in '' $ac_executable_extensions; do
5805  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5806    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5807    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808    break 2
5809  fi
5810done
5811  done
5812IFS=$as_save_IFS
5813
5814fi
5815fi
5816OBJDUMP=$ac_cv_prog_OBJDUMP
5817if test -n "$OBJDUMP"; then
5818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5819$as_echo "$OBJDUMP" >&6; }
5820else
5821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822$as_echo "no" >&6; }
5823fi
5824
5825
5826fi
5827if test -z "$ac_cv_prog_OBJDUMP"; then
5828  ac_ct_OBJDUMP=$OBJDUMP
5829  # Extract the first word of "objdump", so it can be a program name with args.
5830set dummy objdump; ac_word=$2
5831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5832$as_echo_n "checking for $ac_word... " >&6; }
5833if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5834  $as_echo_n "(cached) " >&6
5835else
5836  if test -n "$ac_ct_OBJDUMP"; then
5837  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5838else
5839as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840for as_dir in $PATH
5841do
5842  IFS=$as_save_IFS
5843  test -z "$as_dir" && as_dir=.
5844    for ac_exec_ext in '' $ac_executable_extensions; do
5845  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5846    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5847    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5848    break 2
5849  fi
5850done
5851  done
5852IFS=$as_save_IFS
5853
5854fi
5855fi
5856ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5857if test -n "$ac_ct_OBJDUMP"; then
5858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5859$as_echo "$ac_ct_OBJDUMP" >&6; }
5860else
5861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862$as_echo "no" >&6; }
5863fi
5864
5865  if test "x$ac_ct_OBJDUMP" = x; then
5866    OBJDUMP="false"
5867  else
5868    case $cross_compiling:$ac_tool_warned in
5869yes:)
5870{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5871$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5872ac_tool_warned=yes ;;
5873esac
5874    OBJDUMP=$ac_ct_OBJDUMP
5875  fi
5876else
5877  OBJDUMP="$ac_cv_prog_OBJDUMP"
5878fi
5879
5880test -z "$OBJDUMP" && OBJDUMP=objdump
5881
5882
5883
5884
5885
5886
5887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5888$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5889if ${lt_cv_deplibs_check_method+:} false; then :
5890  $as_echo_n "(cached) " >&6
5891else
5892  lt_cv_file_magic_cmd='$MAGIC_CMD'
5893lt_cv_file_magic_test_file=
5894lt_cv_deplibs_check_method='unknown'
5895# Need to set the preceding variable on all platforms that support
5896# interlibrary dependencies.
5897# 'none' -- dependencies not supported.
5898# 'unknown' -- same as none, but documents that we really don't know.
5899# 'pass_all' -- all dependencies passed with no checks.
5900# 'test_compile' -- check by making test program.
5901# 'file_magic [[regex]]' -- check by looking for files in library path
5902# that responds to the $file_magic_cmd with a given extended regex.
5903# If you have 'file' or equivalent on your system and you're not sure
5904# whether 'pass_all' will *always* work, you probably want this one.
5905
5906case $host_os in
5907aix[4-9]*)
5908  lt_cv_deplibs_check_method=pass_all
5909  ;;
5910
5911beos*)
5912  lt_cv_deplibs_check_method=pass_all
5913  ;;
5914
5915bsdi[45]*)
5916  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5917  lt_cv_file_magic_cmd='/usr/bin/file -L'
5918  lt_cv_file_magic_test_file=/shlib/libc.so
5919  ;;
5920
5921cygwin*)
5922  # func_win32_libid is a shell function defined in ltmain.sh
5923  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5924  lt_cv_file_magic_cmd='func_win32_libid'
5925  ;;
5926
5927mingw* | pw32*)
5928  # Base MSYS/MinGW do not provide the 'file' command needed by
5929  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5930  # unless we find 'file', for example because we are cross-compiling.
5931  if ( file / ) >/dev/null 2>&1; then
5932    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5933    lt_cv_file_magic_cmd='func_win32_libid'
5934  else
5935    # Keep this pattern in sync with the one in func_win32_libid.
5936    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5937    lt_cv_file_magic_cmd='$OBJDUMP -f'
5938  fi
5939  ;;
5940
5941cegcc*)
5942  # use the weaker test based on 'objdump'. See mingw*.
5943  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5944  lt_cv_file_magic_cmd='$OBJDUMP -f'
5945  ;;
5946
5947darwin* | rhapsody*)
5948  lt_cv_deplibs_check_method=pass_all
5949  ;;
5950
5951freebsd* | dragonfly*)
5952  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5953    case $host_cpu in
5954    i*86 )
5955      # Not sure whether the presence of OpenBSD here was a mistake.
5956      # Let's accept both of them until this is cleared up.
5957      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5958      lt_cv_file_magic_cmd=/usr/bin/file
5959      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5960      ;;
5961    esac
5962  else
5963    lt_cv_deplibs_check_method=pass_all
5964  fi
5965  ;;
5966
5967haiku*)
5968  lt_cv_deplibs_check_method=pass_all
5969  ;;
5970
5971hpux10.20* | hpux11*)
5972  lt_cv_file_magic_cmd=/usr/bin/file
5973  case $host_cpu in
5974  ia64*)
5975    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5976    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5977    ;;
5978  hppa*64*)
5979    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]'
5980    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5981    ;;
5982  *)
5983    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5984    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5985    ;;
5986  esac
5987  ;;
5988
5989interix[3-9]*)
5990  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5991  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5992  ;;
5993
5994irix5* | irix6* | nonstopux*)
5995  case $LD in
5996  *-32|*"-32 ") libmagic=32-bit;;
5997  *-n32|*"-n32 ") libmagic=N32;;
5998  *-64|*"-64 ") libmagic=64-bit;;
5999  *) libmagic=never-match;;
6000  esac
6001  lt_cv_deplibs_check_method=pass_all
6002  ;;
6003
6004# This must be glibc/ELF.
6005linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6006  lt_cv_deplibs_check_method=pass_all
6007  ;;
6008
6009netbsd*)
6010  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6011    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6012  else
6013    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6014  fi
6015  ;;
6016
6017newos6*)
6018  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6019  lt_cv_file_magic_cmd=/usr/bin/file
6020  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6021  ;;
6022
6023*nto* | *qnx*)
6024  lt_cv_deplibs_check_method=pass_all
6025  ;;
6026
6027openbsd* | bitrig*)
6028  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6029    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6030  else
6031    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6032  fi
6033  ;;
6034
6035osf3* | osf4* | osf5*)
6036  lt_cv_deplibs_check_method=pass_all
6037  ;;
6038
6039rdos*)
6040  lt_cv_deplibs_check_method=pass_all
6041  ;;
6042
6043solaris*)
6044  lt_cv_deplibs_check_method=pass_all
6045  ;;
6046
6047sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6048  lt_cv_deplibs_check_method=pass_all
6049  ;;
6050
6051sysv4 | sysv4.3*)
6052  case $host_vendor in
6053  motorola)
6054    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]'
6055    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6056    ;;
6057  ncr)
6058    lt_cv_deplibs_check_method=pass_all
6059    ;;
6060  sequent)
6061    lt_cv_file_magic_cmd='/bin/file'
6062    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6063    ;;
6064  sni)
6065    lt_cv_file_magic_cmd='/bin/file'
6066    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6067    lt_cv_file_magic_test_file=/lib/libc.so
6068    ;;
6069  siemens)
6070    lt_cv_deplibs_check_method=pass_all
6071    ;;
6072  pc)
6073    lt_cv_deplibs_check_method=pass_all
6074    ;;
6075  esac
6076  ;;
6077
6078tpf*)
6079  lt_cv_deplibs_check_method=pass_all
6080  ;;
6081os2*)
6082  lt_cv_deplibs_check_method=pass_all
6083  ;;
6084esac
6085
6086fi
6087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6088$as_echo "$lt_cv_deplibs_check_method" >&6; }
6089
6090file_magic_glob=
6091want_nocaseglob=no
6092if test "$build" = "$host"; then
6093  case $host_os in
6094  mingw* | pw32*)
6095    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6096      want_nocaseglob=yes
6097    else
6098      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6099    fi
6100    ;;
6101  esac
6102fi
6103
6104file_magic_cmd=$lt_cv_file_magic_cmd
6105deplibs_check_method=$lt_cv_deplibs_check_method
6106test -z "$deplibs_check_method" && deplibs_check_method=unknown
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129if test -n "$ac_tool_prefix"; then
6130  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6131set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6133$as_echo_n "checking for $ac_word... " >&6; }
6134if ${ac_cv_prog_DLLTOOL+:} false; then :
6135  $as_echo_n "(cached) " >&6
6136else
6137  if test -n "$DLLTOOL"; then
6138  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6139else
6140as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141for as_dir in $PATH
6142do
6143  IFS=$as_save_IFS
6144  test -z "$as_dir" && as_dir=.
6145    for ac_exec_ext in '' $ac_executable_extensions; do
6146  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6147    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6148    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6149    break 2
6150  fi
6151done
6152  done
6153IFS=$as_save_IFS
6154
6155fi
6156fi
6157DLLTOOL=$ac_cv_prog_DLLTOOL
6158if test -n "$DLLTOOL"; then
6159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6160$as_echo "$DLLTOOL" >&6; }
6161else
6162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6163$as_echo "no" >&6; }
6164fi
6165
6166
6167fi
6168if test -z "$ac_cv_prog_DLLTOOL"; then
6169  ac_ct_DLLTOOL=$DLLTOOL
6170  # Extract the first word of "dlltool", so it can be a program name with args.
6171set dummy dlltool; ac_word=$2
6172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6173$as_echo_n "checking for $ac_word... " >&6; }
6174if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6175  $as_echo_n "(cached) " >&6
6176else
6177  if test -n "$ac_ct_DLLTOOL"; then
6178  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6179else
6180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181for as_dir in $PATH
6182do
6183  IFS=$as_save_IFS
6184  test -z "$as_dir" && as_dir=.
6185    for ac_exec_ext in '' $ac_executable_extensions; do
6186  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6187    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6188    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6189    break 2
6190  fi
6191done
6192  done
6193IFS=$as_save_IFS
6194
6195fi
6196fi
6197ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6198if test -n "$ac_ct_DLLTOOL"; then
6199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6200$as_echo "$ac_ct_DLLTOOL" >&6; }
6201else
6202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6203$as_echo "no" >&6; }
6204fi
6205
6206  if test "x$ac_ct_DLLTOOL" = x; then
6207    DLLTOOL="false"
6208  else
6209    case $cross_compiling:$ac_tool_warned in
6210yes:)
6211{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6212$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6213ac_tool_warned=yes ;;
6214esac
6215    DLLTOOL=$ac_ct_DLLTOOL
6216  fi
6217else
6218  DLLTOOL="$ac_cv_prog_DLLTOOL"
6219fi
6220
6221test -z "$DLLTOOL" && DLLTOOL=dlltool
6222
6223
6224
6225
6226
6227
6228
6229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6230$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6231if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6232  $as_echo_n "(cached) " >&6
6233else
6234  lt_cv_sharedlib_from_linklib_cmd='unknown'
6235
6236case $host_os in
6237cygwin* | mingw* | pw32* | cegcc*)
6238  # two different shell functions defined in ltmain.sh;
6239  # decide which one to use based on capabilities of $DLLTOOL
6240  case `$DLLTOOL --help 2>&1` in
6241  *--identify-strict*)
6242    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6243    ;;
6244  *)
6245    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6246    ;;
6247  esac
6248  ;;
6249*)
6250  # fallback: assume linklib IS sharedlib
6251  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6252  ;;
6253esac
6254
6255fi
6256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6257$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6258sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6259test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6260
6261
6262
6263
6264
6265
6266
6267
6268if test -n "$ac_tool_prefix"; then
6269  for ac_prog in ar
6270  do
6271    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6272set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6274$as_echo_n "checking for $ac_word... " >&6; }
6275if ${ac_cv_prog_AR+:} false; then :
6276  $as_echo_n "(cached) " >&6
6277else
6278  if test -n "$AR"; then
6279  ac_cv_prog_AR="$AR" # Let the user override the test.
6280else
6281as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6282for as_dir in $PATH
6283do
6284  IFS=$as_save_IFS
6285  test -z "$as_dir" && as_dir=.
6286    for ac_exec_ext in '' $ac_executable_extensions; do
6287  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6288    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6289    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6290    break 2
6291  fi
6292done
6293  done
6294IFS=$as_save_IFS
6295
6296fi
6297fi
6298AR=$ac_cv_prog_AR
6299if test -n "$AR"; then
6300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6301$as_echo "$AR" >&6; }
6302else
6303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6304$as_echo "no" >&6; }
6305fi
6306
6307
6308    test -n "$AR" && break
6309  done
6310fi
6311if test -z "$AR"; then
6312  ac_ct_AR=$AR
6313  for ac_prog in ar
6314do
6315  # Extract the first word of "$ac_prog", so it can be a program name with args.
6316set dummy $ac_prog; ac_word=$2
6317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6318$as_echo_n "checking for $ac_word... " >&6; }
6319if ${ac_cv_prog_ac_ct_AR+:} false; then :
6320  $as_echo_n "(cached) " >&6
6321else
6322  if test -n "$ac_ct_AR"; then
6323  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6324else
6325as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326for as_dir in $PATH
6327do
6328  IFS=$as_save_IFS
6329  test -z "$as_dir" && as_dir=.
6330    for ac_exec_ext in '' $ac_executable_extensions; do
6331  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6332    ac_cv_prog_ac_ct_AR="$ac_prog"
6333    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6334    break 2
6335  fi
6336done
6337  done
6338IFS=$as_save_IFS
6339
6340fi
6341fi
6342ac_ct_AR=$ac_cv_prog_ac_ct_AR
6343if test -n "$ac_ct_AR"; then
6344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6345$as_echo "$ac_ct_AR" >&6; }
6346else
6347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6348$as_echo "no" >&6; }
6349fi
6350
6351
6352  test -n "$ac_ct_AR" && break
6353done
6354
6355  if test "x$ac_ct_AR" = x; then
6356    AR="false"
6357  else
6358    case $cross_compiling:$ac_tool_warned in
6359yes:)
6360{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6361$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6362ac_tool_warned=yes ;;
6363esac
6364    AR=$ac_ct_AR
6365  fi
6366fi
6367
6368: ${AR=ar}
6369: ${AR_FLAGS=cru}
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6382$as_echo_n "checking for archiver @FILE support... " >&6; }
6383if ${lt_cv_ar_at_file+:} false; then :
6384  $as_echo_n "(cached) " >&6
6385else
6386  lt_cv_ar_at_file=no
6387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6388/* end confdefs.h.  */
6389
6390int
6391main ()
6392{
6393
6394  ;
6395  return 0;
6396}
6397_ACEOF
6398if ac_fn_c_try_compile "$LINENO"; then :
6399  echo conftest.$ac_objext > conftest.lst
6400      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6401      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6402  (eval $lt_ar_try) 2>&5
6403  ac_status=$?
6404  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6405  test $ac_status = 0; }
6406      if test 0 -eq "$ac_status"; then
6407	# Ensure the archiver fails upon bogus file names.
6408	rm -f conftest.$ac_objext libconftest.a
6409	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6410  (eval $lt_ar_try) 2>&5
6411  ac_status=$?
6412  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6413  test $ac_status = 0; }
6414	if test 0 -ne "$ac_status"; then
6415          lt_cv_ar_at_file=@
6416        fi
6417      fi
6418      rm -f conftest.* libconftest.a
6419
6420fi
6421rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6422
6423fi
6424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6425$as_echo "$lt_cv_ar_at_file" >&6; }
6426
6427if test no = "$lt_cv_ar_at_file"; then
6428  archiver_list_spec=
6429else
6430  archiver_list_spec=$lt_cv_ar_at_file
6431fi
6432
6433
6434
6435
6436
6437
6438
6439if test -n "$ac_tool_prefix"; then
6440  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6441set dummy ${ac_tool_prefix}strip; ac_word=$2
6442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6443$as_echo_n "checking for $ac_word... " >&6; }
6444if ${ac_cv_prog_STRIP+:} false; then :
6445  $as_echo_n "(cached) " >&6
6446else
6447  if test -n "$STRIP"; then
6448  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6449else
6450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451for as_dir in $PATH
6452do
6453  IFS=$as_save_IFS
6454  test -z "$as_dir" && as_dir=.
6455    for ac_exec_ext in '' $ac_executable_extensions; do
6456  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6457    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6458    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6459    break 2
6460  fi
6461done
6462  done
6463IFS=$as_save_IFS
6464
6465fi
6466fi
6467STRIP=$ac_cv_prog_STRIP
6468if test -n "$STRIP"; then
6469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6470$as_echo "$STRIP" >&6; }
6471else
6472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6473$as_echo "no" >&6; }
6474fi
6475
6476
6477fi
6478if test -z "$ac_cv_prog_STRIP"; then
6479  ac_ct_STRIP=$STRIP
6480  # Extract the first word of "strip", so it can be a program name with args.
6481set dummy strip; ac_word=$2
6482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6483$as_echo_n "checking for $ac_word... " >&6; }
6484if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6485  $as_echo_n "(cached) " >&6
6486else
6487  if test -n "$ac_ct_STRIP"; then
6488  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6489else
6490as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491for as_dir in $PATH
6492do
6493  IFS=$as_save_IFS
6494  test -z "$as_dir" && as_dir=.
6495    for ac_exec_ext in '' $ac_executable_extensions; do
6496  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6497    ac_cv_prog_ac_ct_STRIP="strip"
6498    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6499    break 2
6500  fi
6501done
6502  done
6503IFS=$as_save_IFS
6504
6505fi
6506fi
6507ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6508if test -n "$ac_ct_STRIP"; then
6509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6510$as_echo "$ac_ct_STRIP" >&6; }
6511else
6512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513$as_echo "no" >&6; }
6514fi
6515
6516  if test "x$ac_ct_STRIP" = x; then
6517    STRIP=":"
6518  else
6519    case $cross_compiling:$ac_tool_warned in
6520yes:)
6521{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6522$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6523ac_tool_warned=yes ;;
6524esac
6525    STRIP=$ac_ct_STRIP
6526  fi
6527else
6528  STRIP="$ac_cv_prog_STRIP"
6529fi
6530
6531test -z "$STRIP" && STRIP=:
6532
6533
6534
6535
6536
6537
6538if test -n "$ac_tool_prefix"; then
6539  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6540set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542$as_echo_n "checking for $ac_word... " >&6; }
6543if ${ac_cv_prog_RANLIB+:} false; then :
6544  $as_echo_n "(cached) " >&6
6545else
6546  if test -n "$RANLIB"; then
6547  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6548else
6549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550for as_dir in $PATH
6551do
6552  IFS=$as_save_IFS
6553  test -z "$as_dir" && as_dir=.
6554    for ac_exec_ext in '' $ac_executable_extensions; do
6555  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6556    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6557    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6558    break 2
6559  fi
6560done
6561  done
6562IFS=$as_save_IFS
6563
6564fi
6565fi
6566RANLIB=$ac_cv_prog_RANLIB
6567if test -n "$RANLIB"; then
6568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6569$as_echo "$RANLIB" >&6; }
6570else
6571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572$as_echo "no" >&6; }
6573fi
6574
6575
6576fi
6577if test -z "$ac_cv_prog_RANLIB"; then
6578  ac_ct_RANLIB=$RANLIB
6579  # Extract the first word of "ranlib", so it can be a program name with args.
6580set dummy ranlib; 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_ac_ct_RANLIB+:} false; then :
6584  $as_echo_n "(cached) " >&6
6585else
6586  if test -n "$ac_ct_RANLIB"; then
6587  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_ac_ct_RANLIB="ranlib"
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
6606ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6607if test -n "$ac_ct_RANLIB"; then
6608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6609$as_echo "$ac_ct_RANLIB" >&6; }
6610else
6611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612$as_echo "no" >&6; }
6613fi
6614
6615  if test "x$ac_ct_RANLIB" = x; then
6616    RANLIB=":"
6617  else
6618    case $cross_compiling:$ac_tool_warned in
6619yes:)
6620{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6621$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6622ac_tool_warned=yes ;;
6623esac
6624    RANLIB=$ac_ct_RANLIB
6625  fi
6626else
6627  RANLIB="$ac_cv_prog_RANLIB"
6628fi
6629
6630test -z "$RANLIB" && RANLIB=:
6631
6632
6633
6634
6635
6636
6637# Determine commands to create old-style static archives.
6638old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6639old_postinstall_cmds='chmod 644 $oldlib'
6640old_postuninstall_cmds=
6641
6642if test -n "$RANLIB"; then
6643  case $host_os in
6644  bitrig* | openbsd*)
6645    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6646    ;;
6647  *)
6648    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6649    ;;
6650  esac
6651  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6652fi
6653
6654case $host_os in
6655  darwin*)
6656    lock_old_archive_extraction=yes ;;
6657  *)
6658    lock_old_archive_extraction=no ;;
6659esac
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699# If no C compiler was specified, use CC.
6700LTCC=${LTCC-"$CC"}
6701
6702# If no C compiler flags were specified, use CFLAGS.
6703LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6704
6705# Allow CC to be a program name with arguments.
6706compiler=$CC
6707
6708
6709# Check for command to grab the raw symbol name followed by C symbol from nm.
6710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6711$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6712if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6713  $as_echo_n "(cached) " >&6
6714else
6715
6716# These are sane defaults that work on at least a few old systems.
6717# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6718
6719# Character class describing NM global symbol codes.
6720symcode='[BCDEGRST]'
6721
6722# Regexp to match symbols that can be accessed directly from C.
6723sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6724
6725# Define system-specific variables.
6726case $host_os in
6727aix*)
6728  symcode='[BCDT]'
6729  ;;
6730cygwin* | mingw* | pw32* | cegcc*)
6731  symcode='[ABCDGISTW]'
6732  ;;
6733hpux*)
6734  if test ia64 = "$host_cpu"; then
6735    symcode='[ABCDEGRST]'
6736  fi
6737  ;;
6738irix* | nonstopux*)
6739  symcode='[BCDEGRST]'
6740  ;;
6741osf*)
6742  symcode='[BCDEGQRST]'
6743  ;;
6744solaris*)
6745  symcode='[BDRT]'
6746  ;;
6747sco3.2v5*)
6748  symcode='[DT]'
6749  ;;
6750sysv4.2uw2*)
6751  symcode='[DT]'
6752  ;;
6753sysv5* | sco5v6* | unixware* | OpenUNIX*)
6754  symcode='[ABDT]'
6755  ;;
6756sysv4)
6757  symcode='[DFNSTU]'
6758  ;;
6759esac
6760
6761# If we're using GNU nm, then use its standard symbol codes.
6762case `$NM -V 2>&1` in
6763*GNU* | *'with BFD'*)
6764  symcode='[ABCDGIRSTW]' ;;
6765esac
6766
6767if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6768  # Gets list of data symbols to import.
6769  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6770  # Adjust the below global symbol transforms to fixup imported variables.
6771  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6772  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6773  lt_c_name_lib_hook="\
6774  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6775  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6776else
6777  # Disable hooks by default.
6778  lt_cv_sys_global_symbol_to_import=
6779  lt_cdecl_hook=
6780  lt_c_name_hook=
6781  lt_c_name_lib_hook=
6782fi
6783
6784# Transform an extracted symbol line into a proper C declaration.
6785# Some systems (esp. on ia64) link data and code symbols differently,
6786# so use this general approach.
6787lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6788$lt_cdecl_hook\
6789" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6790" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6791
6792# Transform an extracted symbol line into symbol name and symbol address
6793lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6794$lt_c_name_hook\
6795" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6796" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6797
6798# Transform an extracted symbol line into symbol name with lib prefix and
6799# symbol address.
6800lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6801$lt_c_name_lib_hook\
6802" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6803" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6804" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6805
6806# Handle CRLF in mingw tool chain
6807opt_cr=
6808case $build_os in
6809mingw*)
6810  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6811  ;;
6812esac
6813
6814# Try without a prefix underscore, then with it.
6815for ac_symprfx in "" "_"; do
6816
6817  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6818  symxfrm="\\1 $ac_symprfx\\2 \\2"
6819
6820  # Write the raw and C identifiers.
6821  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6822    # Fake it for dumpbin and say T for any non-static function,
6823    # D for any global variable and I for any imported variable.
6824    # Also find C++ and __fastcall symbols from MSVC++,
6825    # which start with @ or ?.
6826    lt_cv_sys_global_symbol_pipe="$AWK '"\
6827"     {last_section=section; section=\$ 3};"\
6828"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6829"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6830"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6831"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6832"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6833"     \$ 0!~/External *\|/{next};"\
6834"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6835"     {if(hide[section]) next};"\
6836"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6837"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6838"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6839"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6840"     ' prfx=^$ac_symprfx"
6841  else
6842    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6843  fi
6844  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6845
6846  # Check to see that the pipe works correctly.
6847  pipe_works=no
6848
6849  rm -f conftest*
6850  cat > conftest.$ac_ext <<_LT_EOF
6851#ifdef __cplusplus
6852extern "C" {
6853#endif
6854char nm_test_var;
6855void nm_test_func(void);
6856void nm_test_func(void){}
6857#ifdef __cplusplus
6858}
6859#endif
6860int main(){nm_test_var='a';nm_test_func();return(0);}
6861_LT_EOF
6862
6863  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6864  (eval $ac_compile) 2>&5
6865  ac_status=$?
6866  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6867  test $ac_status = 0; }; then
6868    # Now try to grab the symbols.
6869    nlist=conftest.nm
6870    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6871  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6872  ac_status=$?
6873  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6874  test $ac_status = 0; } && test -s "$nlist"; then
6875      # Try sorting and uniquifying the output.
6876      if sort "$nlist" | uniq > "$nlist"T; then
6877	mv -f "$nlist"T "$nlist"
6878      else
6879	rm -f "$nlist"T
6880      fi
6881
6882      # Make sure that we snagged all the symbols we need.
6883      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6884	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6885	  cat <<_LT_EOF > conftest.$ac_ext
6886/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6887#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6888/* DATA imports from DLLs on WIN32 can't be const, because runtime
6889   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6890# define LT_DLSYM_CONST
6891#elif defined __osf__
6892/* This system does not cope well with relocations in const data.  */
6893# define LT_DLSYM_CONST
6894#else
6895# define LT_DLSYM_CONST const
6896#endif
6897
6898#ifdef __cplusplus
6899extern "C" {
6900#endif
6901
6902_LT_EOF
6903	  # Now generate the symbol file.
6904	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6905
6906	  cat <<_LT_EOF >> conftest.$ac_ext
6907
6908/* The mapping between symbol names and symbols.  */
6909LT_DLSYM_CONST struct {
6910  const char *name;
6911  void       *address;
6912}
6913lt__PROGRAM__LTX_preloaded_symbols[] =
6914{
6915  { "@PROGRAM@", (void *) 0 },
6916_LT_EOF
6917	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6918	  cat <<\_LT_EOF >> conftest.$ac_ext
6919  {0, (void *) 0}
6920};
6921
6922/* This works around a problem in FreeBSD linker */
6923#ifdef FREEBSD_WORKAROUND
6924static const void *lt_preloaded_setup() {
6925  return lt__PROGRAM__LTX_preloaded_symbols;
6926}
6927#endif
6928
6929#ifdef __cplusplus
6930}
6931#endif
6932_LT_EOF
6933	  # Now try linking the two files.
6934	  mv conftest.$ac_objext conftstm.$ac_objext
6935	  lt_globsym_save_LIBS=$LIBS
6936	  lt_globsym_save_CFLAGS=$CFLAGS
6937	  LIBS=conftstm.$ac_objext
6938	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6939	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6940  (eval $ac_link) 2>&5
6941  ac_status=$?
6942  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6943  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6944	    pipe_works=yes
6945	  fi
6946	  LIBS=$lt_globsym_save_LIBS
6947	  CFLAGS=$lt_globsym_save_CFLAGS
6948	else
6949	  echo "cannot find nm_test_func in $nlist" >&5
6950	fi
6951      else
6952	echo "cannot find nm_test_var in $nlist" >&5
6953      fi
6954    else
6955      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6956    fi
6957  else
6958    echo "$progname: failed program was:" >&5
6959    cat conftest.$ac_ext >&5
6960  fi
6961  rm -rf conftest* conftst*
6962
6963  # Do not use the global_symbol_pipe unless it works.
6964  if test yes = "$pipe_works"; then
6965    break
6966  else
6967    lt_cv_sys_global_symbol_pipe=
6968  fi
6969done
6970
6971fi
6972
6973if test -z "$lt_cv_sys_global_symbol_pipe"; then
6974  lt_cv_sys_global_symbol_to_cdecl=
6975fi
6976if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6977  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6978$as_echo "failed" >&6; }
6979else
6980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6981$as_echo "ok" >&6; }
6982fi
6983
6984# Response file support.
6985if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6986  nm_file_list_spec='@'
6987elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6988  nm_file_list_spec='@'
6989fi
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7028$as_echo_n "checking for sysroot... " >&6; }
7029
7030# Check whether --with-sysroot was given.
7031if test "${with_sysroot+set}" = set; then :
7032  withval=$with_sysroot;
7033else
7034  with_sysroot=no
7035fi
7036
7037
7038lt_sysroot=
7039case $with_sysroot in #(
7040 yes)
7041   if test yes = "$GCC"; then
7042     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7043   fi
7044   ;; #(
7045 /*)
7046   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7047   ;; #(
7048 no|'')
7049   ;; #(
7050 *)
7051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7052$as_echo "$with_sysroot" >&6; }
7053   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7054   ;;
7055esac
7056
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7058$as_echo "${lt_sysroot:-no}" >&6; }
7059
7060
7061
7062
7063
7064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7065$as_echo_n "checking for a working dd... " >&6; }
7066if ${ac_cv_path_lt_DD+:} false; then :
7067  $as_echo_n "(cached) " >&6
7068else
7069  printf 0123456789abcdef0123456789abcdef >conftest.i
7070cat conftest.i conftest.i >conftest2.i
7071: ${lt_DD:=$DD}
7072if test -z "$lt_DD"; then
7073  ac_path_lt_DD_found=false
7074  # Loop through the user's path and test for each of PROGNAME-LIST
7075  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7076for as_dir in $PATH
7077do
7078  IFS=$as_save_IFS
7079  test -z "$as_dir" && as_dir=.
7080    for ac_prog in dd; do
7081    for ac_exec_ext in '' $ac_executable_extensions; do
7082      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7083      as_fn_executable_p "$ac_path_lt_DD" || continue
7084if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7085  cmp -s conftest.i conftest.out \
7086  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7087fi
7088      $ac_path_lt_DD_found && break 3
7089    done
7090  done
7091  done
7092IFS=$as_save_IFS
7093  if test -z "$ac_cv_path_lt_DD"; then
7094    :
7095  fi
7096else
7097  ac_cv_path_lt_DD=$lt_DD
7098fi
7099
7100rm -f conftest.i conftest2.i conftest.out
7101fi
7102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7103$as_echo "$ac_cv_path_lt_DD" >&6; }
7104
7105
7106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7107$as_echo_n "checking how to truncate binary pipes... " >&6; }
7108if ${lt_cv_truncate_bin+:} false; then :
7109  $as_echo_n "(cached) " >&6
7110else
7111  printf 0123456789abcdef0123456789abcdef >conftest.i
7112cat conftest.i conftest.i >conftest2.i
7113lt_cv_truncate_bin=
7114if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7115  cmp -s conftest.i conftest.out \
7116  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7117fi
7118rm -f conftest.i conftest2.i conftest.out
7119test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7120fi
7121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7122$as_echo "$lt_cv_truncate_bin" >&6; }
7123
7124
7125
7126
7127
7128
7129
7130# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7131func_cc_basename ()
7132{
7133    for cc_temp in $*""; do
7134      case $cc_temp in
7135        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7136        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7137        \-*) ;;
7138        *) break;;
7139      esac
7140    done
7141    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7142}
7143
7144# Check whether --enable-libtool-lock was given.
7145if test "${enable_libtool_lock+set}" = set; then :
7146  enableval=$enable_libtool_lock;
7147fi
7148
7149test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7150
7151# Some flags need to be propagated to the compiler or linker for good
7152# libtool support.
7153case $host in
7154ia64-*-hpux*)
7155  # Find out what ABI is being produced by ac_compile, and set mode
7156  # options accordingly.
7157  echo 'int i;' > conftest.$ac_ext
7158  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7159  (eval $ac_compile) 2>&5
7160  ac_status=$?
7161  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7162  test $ac_status = 0; }; then
7163    case `/usr/bin/file conftest.$ac_objext` in
7164      *ELF-32*)
7165	HPUX_IA64_MODE=32
7166	;;
7167      *ELF-64*)
7168	HPUX_IA64_MODE=64
7169	;;
7170    esac
7171  fi
7172  rm -rf conftest*
7173  ;;
7174*-*-irix6*)
7175  # Find out what ABI is being produced by ac_compile, and set linker
7176  # options accordingly.
7177  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7178  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7179  (eval $ac_compile) 2>&5
7180  ac_status=$?
7181  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7182  test $ac_status = 0; }; then
7183    if test yes = "$lt_cv_prog_gnu_ld"; then
7184      case `/usr/bin/file conftest.$ac_objext` in
7185	*32-bit*)
7186	  LD="${LD-ld} -melf32bsmip"
7187	  ;;
7188	*N32*)
7189	  LD="${LD-ld} -melf32bmipn32"
7190	  ;;
7191	*64-bit*)
7192	  LD="${LD-ld} -melf64bmip"
7193	;;
7194      esac
7195    else
7196      case `/usr/bin/file conftest.$ac_objext` in
7197	*32-bit*)
7198	  LD="${LD-ld} -32"
7199	  ;;
7200	*N32*)
7201	  LD="${LD-ld} -n32"
7202	  ;;
7203	*64-bit*)
7204	  LD="${LD-ld} -64"
7205	  ;;
7206      esac
7207    fi
7208  fi
7209  rm -rf conftest*
7210  ;;
7211
7212mips64*-*linux*)
7213  # Find out what ABI is being produced by ac_compile, and set linker
7214  # options accordingly.
7215  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7216  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7217  (eval $ac_compile) 2>&5
7218  ac_status=$?
7219  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7220  test $ac_status = 0; }; then
7221    emul=elf
7222    case `/usr/bin/file conftest.$ac_objext` in
7223      *32-bit*)
7224	emul="${emul}32"
7225	;;
7226      *64-bit*)
7227	emul="${emul}64"
7228	;;
7229    esac
7230    case `/usr/bin/file conftest.$ac_objext` in
7231      *MSB*)
7232	emul="${emul}btsmip"
7233	;;
7234      *LSB*)
7235	emul="${emul}ltsmip"
7236	;;
7237    esac
7238    case `/usr/bin/file conftest.$ac_objext` in
7239      *N32*)
7240	emul="${emul}n32"
7241	;;
7242    esac
7243    LD="${LD-ld} -m $emul"
7244  fi
7245  rm -rf conftest*
7246  ;;
7247
7248x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7249s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7250  # Find out what ABI is being produced by ac_compile, and set linker
7251  # options accordingly.  Note that the listed cases only cover the
7252  # situations where additional linker options are needed (such as when
7253  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7254  # vice versa); the common cases where no linker options are needed do
7255  # not appear in the list.
7256  echo 'int i;' > conftest.$ac_ext
7257  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7258  (eval $ac_compile) 2>&5
7259  ac_status=$?
7260  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7261  test $ac_status = 0; }; then
7262    case `/usr/bin/file conftest.o` in
7263      *32-bit*)
7264	case $host in
7265	  x86_64-*kfreebsd*-gnu)
7266	    LD="${LD-ld} -m elf_i386_fbsd"
7267	    ;;
7268	  x86_64-*linux*)
7269	    case `/usr/bin/file conftest.o` in
7270	      *x86-64*)
7271		LD="${LD-ld} -m elf32_x86_64"
7272		;;
7273	      *)
7274		LD="${LD-ld} -m elf_i386"
7275		;;
7276	    esac
7277	    ;;
7278	  powerpc64le-*linux*)
7279	    LD="${LD-ld} -m elf32lppclinux"
7280	    ;;
7281	  powerpc64-*linux*)
7282	    LD="${LD-ld} -m elf32ppclinux"
7283	    ;;
7284	  s390x-*linux*)
7285	    LD="${LD-ld} -m elf_s390"
7286	    ;;
7287	  sparc64-*linux*)
7288	    LD="${LD-ld} -m elf32_sparc"
7289	    ;;
7290	esac
7291	;;
7292      *64-bit*)
7293	case $host in
7294	  x86_64-*kfreebsd*-gnu)
7295	    LD="${LD-ld} -m elf_x86_64_fbsd"
7296	    ;;
7297	  x86_64-*linux*)
7298	    LD="${LD-ld} -m elf_x86_64"
7299	    ;;
7300	  powerpcle-*linux*)
7301	    LD="${LD-ld} -m elf64lppc"
7302	    ;;
7303	  powerpc-*linux*)
7304	    LD="${LD-ld} -m elf64ppc"
7305	    ;;
7306	  s390*-*linux*|s390*-*tpf*)
7307	    LD="${LD-ld} -m elf64_s390"
7308	    ;;
7309	  sparc*-*linux*)
7310	    LD="${LD-ld} -m elf64_sparc"
7311	    ;;
7312	esac
7313	;;
7314    esac
7315  fi
7316  rm -rf conftest*
7317  ;;
7318
7319*-*-sco3.2v5*)
7320  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7321  SAVE_CFLAGS=$CFLAGS
7322  CFLAGS="$CFLAGS -belf"
7323  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7324$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7325if ${lt_cv_cc_needs_belf+:} false; then :
7326  $as_echo_n "(cached) " >&6
7327else
7328  ac_ext=c
7329ac_cpp='$CPP $CPPFLAGS'
7330ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7331ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7332ac_compiler_gnu=$ac_cv_c_compiler_gnu
7333
7334     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7335/* end confdefs.h.  */
7336
7337int
7338main ()
7339{
7340
7341  ;
7342  return 0;
7343}
7344_ACEOF
7345if ac_fn_c_try_link "$LINENO"; then :
7346  lt_cv_cc_needs_belf=yes
7347else
7348  lt_cv_cc_needs_belf=no
7349fi
7350rm -f core conftest.err conftest.$ac_objext \
7351    conftest$ac_exeext conftest.$ac_ext
7352     ac_ext=c
7353ac_cpp='$CPP $CPPFLAGS'
7354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7356ac_compiler_gnu=$ac_cv_c_compiler_gnu
7357
7358fi
7359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7360$as_echo "$lt_cv_cc_needs_belf" >&6; }
7361  if test yes != "$lt_cv_cc_needs_belf"; then
7362    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7363    CFLAGS=$SAVE_CFLAGS
7364  fi
7365  ;;
7366*-*solaris*)
7367  # Find out what ABI is being produced by ac_compile, and set linker
7368  # options accordingly.
7369  echo 'int i;' > conftest.$ac_ext
7370  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7371  (eval $ac_compile) 2>&5
7372  ac_status=$?
7373  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7374  test $ac_status = 0; }; then
7375    case `/usr/bin/file conftest.o` in
7376    *64-bit*)
7377      case $lt_cv_prog_gnu_ld in
7378      yes*)
7379        case $host in
7380        i?86-*-solaris*|x86_64-*-solaris*)
7381          LD="${LD-ld} -m elf_x86_64"
7382          ;;
7383        sparc*-*-solaris*)
7384          LD="${LD-ld} -m elf64_sparc"
7385          ;;
7386        esac
7387        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7388        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7389          LD=${LD-ld}_sol2
7390        fi
7391        ;;
7392      *)
7393	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7394	  LD="${LD-ld} -64"
7395	fi
7396	;;
7397      esac
7398      ;;
7399    esac
7400  fi
7401  rm -rf conftest*
7402  ;;
7403esac
7404
7405need_locks=$enable_libtool_lock
7406
7407if test -n "$ac_tool_prefix"; then
7408  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7409set dummy ${ac_tool_prefix}mt; ac_word=$2
7410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7411$as_echo_n "checking for $ac_word... " >&6; }
7412if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7413  $as_echo_n "(cached) " >&6
7414else
7415  if test -n "$MANIFEST_TOOL"; then
7416  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7417else
7418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7419for as_dir in $PATH
7420do
7421  IFS=$as_save_IFS
7422  test -z "$as_dir" && as_dir=.
7423    for ac_exec_ext in '' $ac_executable_extensions; do
7424  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7425    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7426    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7427    break 2
7428  fi
7429done
7430  done
7431IFS=$as_save_IFS
7432
7433fi
7434fi
7435MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7436if test -n "$MANIFEST_TOOL"; then
7437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7438$as_echo "$MANIFEST_TOOL" >&6; }
7439else
7440  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441$as_echo "no" >&6; }
7442fi
7443
7444
7445fi
7446if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7447  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7448  # Extract the first word of "mt", so it can be a program name with args.
7449set dummy mt; ac_word=$2
7450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7451$as_echo_n "checking for $ac_word... " >&6; }
7452if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7453  $as_echo_n "(cached) " >&6
7454else
7455  if test -n "$ac_ct_MANIFEST_TOOL"; then
7456  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7457else
7458as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7459for as_dir in $PATH
7460do
7461  IFS=$as_save_IFS
7462  test -z "$as_dir" && as_dir=.
7463    for ac_exec_ext in '' $ac_executable_extensions; do
7464  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7465    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7466    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7467    break 2
7468  fi
7469done
7470  done
7471IFS=$as_save_IFS
7472
7473fi
7474fi
7475ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7476if test -n "$ac_ct_MANIFEST_TOOL"; then
7477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7478$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7479else
7480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7481$as_echo "no" >&6; }
7482fi
7483
7484  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7485    MANIFEST_TOOL=":"
7486  else
7487    case $cross_compiling:$ac_tool_warned in
7488yes:)
7489{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7490$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7491ac_tool_warned=yes ;;
7492esac
7493    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7494  fi
7495else
7496  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7497fi
7498
7499test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7501$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7502if ${lt_cv_path_mainfest_tool+:} false; then :
7503  $as_echo_n "(cached) " >&6
7504else
7505  lt_cv_path_mainfest_tool=no
7506  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7507  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7508  cat conftest.err >&5
7509  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7510    lt_cv_path_mainfest_tool=yes
7511  fi
7512  rm -f conftest*
7513fi
7514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7515$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7516if test yes != "$lt_cv_path_mainfest_tool"; then
7517  MANIFEST_TOOL=:
7518fi
7519
7520
7521
7522
7523
7524
7525  case $host_os in
7526    rhapsody* | darwin*)
7527    if test -n "$ac_tool_prefix"; then
7528  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7529set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7531$as_echo_n "checking for $ac_word... " >&6; }
7532if ${ac_cv_prog_DSYMUTIL+:} false; then :
7533  $as_echo_n "(cached) " >&6
7534else
7535  if test -n "$DSYMUTIL"; then
7536  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7537else
7538as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7539for as_dir in $PATH
7540do
7541  IFS=$as_save_IFS
7542  test -z "$as_dir" && as_dir=.
7543    for ac_exec_ext in '' $ac_executable_extensions; do
7544  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7545    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7546    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7547    break 2
7548  fi
7549done
7550  done
7551IFS=$as_save_IFS
7552
7553fi
7554fi
7555DSYMUTIL=$ac_cv_prog_DSYMUTIL
7556if test -n "$DSYMUTIL"; then
7557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7558$as_echo "$DSYMUTIL" >&6; }
7559else
7560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7561$as_echo "no" >&6; }
7562fi
7563
7564
7565fi
7566if test -z "$ac_cv_prog_DSYMUTIL"; then
7567  ac_ct_DSYMUTIL=$DSYMUTIL
7568  # Extract the first word of "dsymutil", so it can be a program name with args.
7569set dummy dsymutil; ac_word=$2
7570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7571$as_echo_n "checking for $ac_word... " >&6; }
7572if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7573  $as_echo_n "(cached) " >&6
7574else
7575  if test -n "$ac_ct_DSYMUTIL"; then
7576  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7577else
7578as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7579for as_dir in $PATH
7580do
7581  IFS=$as_save_IFS
7582  test -z "$as_dir" && as_dir=.
7583    for ac_exec_ext in '' $ac_executable_extensions; do
7584  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7585    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7586    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7587    break 2
7588  fi
7589done
7590  done
7591IFS=$as_save_IFS
7592
7593fi
7594fi
7595ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7596if test -n "$ac_ct_DSYMUTIL"; then
7597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7598$as_echo "$ac_ct_DSYMUTIL" >&6; }
7599else
7600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7601$as_echo "no" >&6; }
7602fi
7603
7604  if test "x$ac_ct_DSYMUTIL" = x; then
7605    DSYMUTIL=":"
7606  else
7607    case $cross_compiling:$ac_tool_warned in
7608yes:)
7609{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7610$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7611ac_tool_warned=yes ;;
7612esac
7613    DSYMUTIL=$ac_ct_DSYMUTIL
7614  fi
7615else
7616  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7617fi
7618
7619    if test -n "$ac_tool_prefix"; then
7620  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7621set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7623$as_echo_n "checking for $ac_word... " >&6; }
7624if ${ac_cv_prog_NMEDIT+:} false; then :
7625  $as_echo_n "(cached) " >&6
7626else
7627  if test -n "$NMEDIT"; then
7628  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7629else
7630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7631for as_dir in $PATH
7632do
7633  IFS=$as_save_IFS
7634  test -z "$as_dir" && as_dir=.
7635    for ac_exec_ext in '' $ac_executable_extensions; do
7636  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7637    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7638    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7639    break 2
7640  fi
7641done
7642  done
7643IFS=$as_save_IFS
7644
7645fi
7646fi
7647NMEDIT=$ac_cv_prog_NMEDIT
7648if test -n "$NMEDIT"; then
7649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7650$as_echo "$NMEDIT" >&6; }
7651else
7652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7653$as_echo "no" >&6; }
7654fi
7655
7656
7657fi
7658if test -z "$ac_cv_prog_NMEDIT"; then
7659  ac_ct_NMEDIT=$NMEDIT
7660  # Extract the first word of "nmedit", so it can be a program name with args.
7661set dummy nmedit; ac_word=$2
7662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7663$as_echo_n "checking for $ac_word... " >&6; }
7664if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7665  $as_echo_n "(cached) " >&6
7666else
7667  if test -n "$ac_ct_NMEDIT"; then
7668  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7669else
7670as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7671for as_dir in $PATH
7672do
7673  IFS=$as_save_IFS
7674  test -z "$as_dir" && as_dir=.
7675    for ac_exec_ext in '' $ac_executable_extensions; do
7676  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7677    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7678    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7679    break 2
7680  fi
7681done
7682  done
7683IFS=$as_save_IFS
7684
7685fi
7686fi
7687ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7688if test -n "$ac_ct_NMEDIT"; then
7689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7690$as_echo "$ac_ct_NMEDIT" >&6; }
7691else
7692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7693$as_echo "no" >&6; }
7694fi
7695
7696  if test "x$ac_ct_NMEDIT" = x; then
7697    NMEDIT=":"
7698  else
7699    case $cross_compiling:$ac_tool_warned in
7700yes:)
7701{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7702$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7703ac_tool_warned=yes ;;
7704esac
7705    NMEDIT=$ac_ct_NMEDIT
7706  fi
7707else
7708  NMEDIT="$ac_cv_prog_NMEDIT"
7709fi
7710
7711    if test -n "$ac_tool_prefix"; then
7712  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7713set dummy ${ac_tool_prefix}lipo; ac_word=$2
7714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7715$as_echo_n "checking for $ac_word... " >&6; }
7716if ${ac_cv_prog_LIPO+:} false; then :
7717  $as_echo_n "(cached) " >&6
7718else
7719  if test -n "$LIPO"; then
7720  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7721else
7722as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7723for as_dir in $PATH
7724do
7725  IFS=$as_save_IFS
7726  test -z "$as_dir" && as_dir=.
7727    for ac_exec_ext in '' $ac_executable_extensions; do
7728  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7729    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7730    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7731    break 2
7732  fi
7733done
7734  done
7735IFS=$as_save_IFS
7736
7737fi
7738fi
7739LIPO=$ac_cv_prog_LIPO
7740if test -n "$LIPO"; then
7741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7742$as_echo "$LIPO" >&6; }
7743else
7744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7745$as_echo "no" >&6; }
7746fi
7747
7748
7749fi
7750if test -z "$ac_cv_prog_LIPO"; then
7751  ac_ct_LIPO=$LIPO
7752  # Extract the first word of "lipo", so it can be a program name with args.
7753set dummy lipo; ac_word=$2
7754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7755$as_echo_n "checking for $ac_word... " >&6; }
7756if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7757  $as_echo_n "(cached) " >&6
7758else
7759  if test -n "$ac_ct_LIPO"; then
7760  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7761else
7762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7763for as_dir in $PATH
7764do
7765  IFS=$as_save_IFS
7766  test -z "$as_dir" && as_dir=.
7767    for ac_exec_ext in '' $ac_executable_extensions; do
7768  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7769    ac_cv_prog_ac_ct_LIPO="lipo"
7770    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7771    break 2
7772  fi
7773done
7774  done
7775IFS=$as_save_IFS
7776
7777fi
7778fi
7779ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7780if test -n "$ac_ct_LIPO"; then
7781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7782$as_echo "$ac_ct_LIPO" >&6; }
7783else
7784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7785$as_echo "no" >&6; }
7786fi
7787
7788  if test "x$ac_ct_LIPO" = x; then
7789    LIPO=":"
7790  else
7791    case $cross_compiling:$ac_tool_warned in
7792yes:)
7793{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7794$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7795ac_tool_warned=yes ;;
7796esac
7797    LIPO=$ac_ct_LIPO
7798  fi
7799else
7800  LIPO="$ac_cv_prog_LIPO"
7801fi
7802
7803    if test -n "$ac_tool_prefix"; then
7804  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7805set dummy ${ac_tool_prefix}otool; ac_word=$2
7806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7807$as_echo_n "checking for $ac_word... " >&6; }
7808if ${ac_cv_prog_OTOOL+:} false; then :
7809  $as_echo_n "(cached) " >&6
7810else
7811  if test -n "$OTOOL"; then
7812  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7813else
7814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7815for as_dir in $PATH
7816do
7817  IFS=$as_save_IFS
7818  test -z "$as_dir" && as_dir=.
7819    for ac_exec_ext in '' $ac_executable_extensions; do
7820  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7821    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7822    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7823    break 2
7824  fi
7825done
7826  done
7827IFS=$as_save_IFS
7828
7829fi
7830fi
7831OTOOL=$ac_cv_prog_OTOOL
7832if test -n "$OTOOL"; then
7833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7834$as_echo "$OTOOL" >&6; }
7835else
7836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7837$as_echo "no" >&6; }
7838fi
7839
7840
7841fi
7842if test -z "$ac_cv_prog_OTOOL"; then
7843  ac_ct_OTOOL=$OTOOL
7844  # Extract the first word of "otool", so it can be a program name with args.
7845set dummy otool; ac_word=$2
7846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7847$as_echo_n "checking for $ac_word... " >&6; }
7848if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7849  $as_echo_n "(cached) " >&6
7850else
7851  if test -n "$ac_ct_OTOOL"; then
7852  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7853else
7854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7855for as_dir in $PATH
7856do
7857  IFS=$as_save_IFS
7858  test -z "$as_dir" && as_dir=.
7859    for ac_exec_ext in '' $ac_executable_extensions; do
7860  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7861    ac_cv_prog_ac_ct_OTOOL="otool"
7862    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7863    break 2
7864  fi
7865done
7866  done
7867IFS=$as_save_IFS
7868
7869fi
7870fi
7871ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7872if test -n "$ac_ct_OTOOL"; then
7873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7874$as_echo "$ac_ct_OTOOL" >&6; }
7875else
7876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7877$as_echo "no" >&6; }
7878fi
7879
7880  if test "x$ac_ct_OTOOL" = x; then
7881    OTOOL=":"
7882  else
7883    case $cross_compiling:$ac_tool_warned in
7884yes:)
7885{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7886$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7887ac_tool_warned=yes ;;
7888esac
7889    OTOOL=$ac_ct_OTOOL
7890  fi
7891else
7892  OTOOL="$ac_cv_prog_OTOOL"
7893fi
7894
7895    if test -n "$ac_tool_prefix"; then
7896  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7897set dummy ${ac_tool_prefix}otool64; ac_word=$2
7898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7899$as_echo_n "checking for $ac_word... " >&6; }
7900if ${ac_cv_prog_OTOOL64+:} false; then :
7901  $as_echo_n "(cached) " >&6
7902else
7903  if test -n "$OTOOL64"; then
7904  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7905else
7906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7907for as_dir in $PATH
7908do
7909  IFS=$as_save_IFS
7910  test -z "$as_dir" && as_dir=.
7911    for ac_exec_ext in '' $ac_executable_extensions; do
7912  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7913    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7914    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7915    break 2
7916  fi
7917done
7918  done
7919IFS=$as_save_IFS
7920
7921fi
7922fi
7923OTOOL64=$ac_cv_prog_OTOOL64
7924if test -n "$OTOOL64"; then
7925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7926$as_echo "$OTOOL64" >&6; }
7927else
7928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7929$as_echo "no" >&6; }
7930fi
7931
7932
7933fi
7934if test -z "$ac_cv_prog_OTOOL64"; then
7935  ac_ct_OTOOL64=$OTOOL64
7936  # Extract the first word of "otool64", so it can be a program name with args.
7937set dummy otool64; ac_word=$2
7938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7939$as_echo_n "checking for $ac_word... " >&6; }
7940if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7941  $as_echo_n "(cached) " >&6
7942else
7943  if test -n "$ac_ct_OTOOL64"; then
7944  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7945else
7946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7947for as_dir in $PATH
7948do
7949  IFS=$as_save_IFS
7950  test -z "$as_dir" && as_dir=.
7951    for ac_exec_ext in '' $ac_executable_extensions; do
7952  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7953    ac_cv_prog_ac_ct_OTOOL64="otool64"
7954    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7955    break 2
7956  fi
7957done
7958  done
7959IFS=$as_save_IFS
7960
7961fi
7962fi
7963ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7964if test -n "$ac_ct_OTOOL64"; then
7965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7966$as_echo "$ac_ct_OTOOL64" >&6; }
7967else
7968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7969$as_echo "no" >&6; }
7970fi
7971
7972  if test "x$ac_ct_OTOOL64" = x; then
7973    OTOOL64=":"
7974  else
7975    case $cross_compiling:$ac_tool_warned in
7976yes:)
7977{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7978$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7979ac_tool_warned=yes ;;
7980esac
7981    OTOOL64=$ac_ct_OTOOL64
7982  fi
7983else
7984  OTOOL64="$ac_cv_prog_OTOOL64"
7985fi
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8014$as_echo_n "checking for -single_module linker flag... " >&6; }
8015if ${lt_cv_apple_cc_single_mod+:} false; then :
8016  $as_echo_n "(cached) " >&6
8017else
8018  lt_cv_apple_cc_single_mod=no
8019      if test -z "$LT_MULTI_MODULE"; then
8020	# By default we will add the -single_module flag. You can override
8021	# by either setting the environment variable LT_MULTI_MODULE
8022	# non-empty at configure time, or by adding -multi_module to the
8023	# link flags.
8024	rm -rf libconftest.dylib*
8025	echo "int foo(void){return 1;}" > conftest.c
8026	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8027-dynamiclib -Wl,-single_module conftest.c" >&5
8028	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8029	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8030        _lt_result=$?
8031	# If there is a non-empty error log, and "single_module"
8032	# appears in it, assume the flag caused a linker warning
8033        if test -s conftest.err && $GREP single_module conftest.err; then
8034	  cat conftest.err >&5
8035	# Otherwise, if the output was created with a 0 exit code from
8036	# the compiler, it worked.
8037	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8038	  lt_cv_apple_cc_single_mod=yes
8039	else
8040	  cat conftest.err >&5
8041	fi
8042	rm -rf libconftest.dylib*
8043	rm -f conftest.*
8044      fi
8045fi
8046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8047$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8048
8049    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8050$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8051if ${lt_cv_ld_exported_symbols_list+:} false; then :
8052  $as_echo_n "(cached) " >&6
8053else
8054  lt_cv_ld_exported_symbols_list=no
8055      save_LDFLAGS=$LDFLAGS
8056      echo "_main" > conftest.sym
8057      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8058      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8059/* end confdefs.h.  */
8060
8061int
8062main ()
8063{
8064
8065  ;
8066  return 0;
8067}
8068_ACEOF
8069if ac_fn_c_try_link "$LINENO"; then :
8070  lt_cv_ld_exported_symbols_list=yes
8071else
8072  lt_cv_ld_exported_symbols_list=no
8073fi
8074rm -f core conftest.err conftest.$ac_objext \
8075    conftest$ac_exeext conftest.$ac_ext
8076	LDFLAGS=$save_LDFLAGS
8077
8078fi
8079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8080$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8081
8082    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8083$as_echo_n "checking for -force_load linker flag... " >&6; }
8084if ${lt_cv_ld_force_load+:} false; then :
8085  $as_echo_n "(cached) " >&6
8086else
8087  lt_cv_ld_force_load=no
8088      cat > conftest.c << _LT_EOF
8089int forced_loaded() { return 2;}
8090_LT_EOF
8091      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8092      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8093      echo "$AR cru libconftest.a conftest.o" >&5
8094      $AR cru libconftest.a conftest.o 2>&5
8095      echo "$RANLIB libconftest.a" >&5
8096      $RANLIB libconftest.a 2>&5
8097      cat > conftest.c << _LT_EOF
8098int main() { return 0;}
8099_LT_EOF
8100      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8101      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8102      _lt_result=$?
8103      if test -s conftest.err && $GREP force_load conftest.err; then
8104	cat conftest.err >&5
8105      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8106	lt_cv_ld_force_load=yes
8107      else
8108	cat conftest.err >&5
8109      fi
8110        rm -f conftest.err libconftest.a conftest conftest.c
8111        rm -rf conftest.dSYM
8112
8113fi
8114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8115$as_echo "$lt_cv_ld_force_load" >&6; }
8116    case $host_os in
8117    rhapsody* | darwin1.[012])
8118      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8119    darwin1.*)
8120      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8121    darwin*) # darwin 5.x on
8122      # if running on 10.5 or later, the deployment target defaults
8123      # to the OS version, if on x86, and 10.4, the deployment
8124      # target defaults to 10.4. Don't you love it?
8125      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8126	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8127	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8128	10.[012][,.]*)
8129	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8130	10.*)
8131	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8132      esac
8133    ;;
8134  esac
8135    if test yes = "$lt_cv_apple_cc_single_mod"; then
8136      _lt_dar_single_mod='$single_module'
8137    fi
8138    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8139      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8140    else
8141      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8142    fi
8143    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8144      _lt_dsymutil='~$DSYMUTIL $lib || :'
8145    else
8146      _lt_dsymutil=
8147    fi
8148    ;;
8149  esac
8150
8151# func_munge_path_list VARIABLE PATH
8152# -----------------------------------
8153# VARIABLE is name of variable containing _space_ separated list of
8154# directories to be munged by the contents of PATH, which is string
8155# having a format:
8156# "DIR[:DIR]:"
8157#       string "DIR[ DIR]" will be prepended to VARIABLE
8158# ":DIR[:DIR]"
8159#       string "DIR[ DIR]" will be appended to VARIABLE
8160# "DIRP[:DIRP]::[DIRA:]DIRA"
8161#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8162#       "DIRA[ DIRA]" will be appended to VARIABLE
8163# "DIR[:DIR]"
8164#       VARIABLE will be replaced by "DIR[ DIR]"
8165func_munge_path_list ()
8166{
8167    case x$2 in
8168    x)
8169        ;;
8170    *:)
8171        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8172        ;;
8173    x:*)
8174        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8175        ;;
8176    *::*)
8177        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8178        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8179        ;;
8180    *)
8181        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8182        ;;
8183    esac
8184}
8185
8186ac_ext=c
8187ac_cpp='$CPP $CPPFLAGS'
8188ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8189ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8190ac_compiler_gnu=$ac_cv_c_compiler_gnu
8191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8192$as_echo_n "checking how to run the C preprocessor... " >&6; }
8193# On Suns, sometimes $CPP names a directory.
8194if test -n "$CPP" && test -d "$CPP"; then
8195  CPP=
8196fi
8197if test -z "$CPP"; then
8198  if ${ac_cv_prog_CPP+:} false; then :
8199  $as_echo_n "(cached) " >&6
8200else
8201      # Double quotes because CPP needs to be expanded
8202    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8203    do
8204      ac_preproc_ok=false
8205for ac_c_preproc_warn_flag in '' yes
8206do
8207  # Use a header file that comes with gcc, so configuring glibc
8208  # with a fresh cross-compiler works.
8209  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8210  # <limits.h> exists even on freestanding compilers.
8211  # On the NeXT, cc -E runs the code through the compiler's parser,
8212  # not just through cpp. "Syntax error" is here to catch this case.
8213  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8214/* end confdefs.h.  */
8215#ifdef __STDC__
8216# include <limits.h>
8217#else
8218# include <assert.h>
8219#endif
8220		     Syntax error
8221_ACEOF
8222if ac_fn_c_try_cpp "$LINENO"; then :
8223
8224else
8225  # Broken: fails on valid input.
8226continue
8227fi
8228rm -f conftest.err conftest.i conftest.$ac_ext
8229
8230  # OK, works on sane cases.  Now check whether nonexistent headers
8231  # can be detected and how.
8232  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8233/* end confdefs.h.  */
8234#include <ac_nonexistent.h>
8235_ACEOF
8236if ac_fn_c_try_cpp "$LINENO"; then :
8237  # Broken: success on invalid input.
8238continue
8239else
8240  # Passes both tests.
8241ac_preproc_ok=:
8242break
8243fi
8244rm -f conftest.err conftest.i conftest.$ac_ext
8245
8246done
8247# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8248rm -f conftest.i conftest.err conftest.$ac_ext
8249if $ac_preproc_ok; then :
8250  break
8251fi
8252
8253    done
8254    ac_cv_prog_CPP=$CPP
8255
8256fi
8257  CPP=$ac_cv_prog_CPP
8258else
8259  ac_cv_prog_CPP=$CPP
8260fi
8261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8262$as_echo "$CPP" >&6; }
8263ac_preproc_ok=false
8264for ac_c_preproc_warn_flag in '' yes
8265do
8266  # Use a header file that comes with gcc, so configuring glibc
8267  # with a fresh cross-compiler works.
8268  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8269  # <limits.h> exists even on freestanding compilers.
8270  # On the NeXT, cc -E runs the code through the compiler's parser,
8271  # not just through cpp. "Syntax error" is here to catch this case.
8272  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8273/* end confdefs.h.  */
8274#ifdef __STDC__
8275# include <limits.h>
8276#else
8277# include <assert.h>
8278#endif
8279		     Syntax error
8280_ACEOF
8281if ac_fn_c_try_cpp "$LINENO"; then :
8282
8283else
8284  # Broken: fails on valid input.
8285continue
8286fi
8287rm -f conftest.err conftest.i conftest.$ac_ext
8288
8289  # OK, works on sane cases.  Now check whether nonexistent headers
8290  # can be detected and how.
8291  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8292/* end confdefs.h.  */
8293#include <ac_nonexistent.h>
8294_ACEOF
8295if ac_fn_c_try_cpp "$LINENO"; then :
8296  # Broken: success on invalid input.
8297continue
8298else
8299  # Passes both tests.
8300ac_preproc_ok=:
8301break
8302fi
8303rm -f conftest.err conftest.i conftest.$ac_ext
8304
8305done
8306# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8307rm -f conftest.i conftest.err conftest.$ac_ext
8308if $ac_preproc_ok; then :
8309
8310else
8311  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8312$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8313as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8314See \`config.log' for more details" "$LINENO" 5; }
8315fi
8316
8317ac_ext=c
8318ac_cpp='$CPP $CPPFLAGS'
8319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8321ac_compiler_gnu=$ac_cv_c_compiler_gnu
8322
8323
8324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8325$as_echo_n "checking for ANSI C header files... " >&6; }
8326if ${ac_cv_header_stdc+:} false; then :
8327  $as_echo_n "(cached) " >&6
8328else
8329  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8330/* end confdefs.h.  */
8331#include <stdlib.h>
8332#include <stdarg.h>
8333#include <string.h>
8334#include <float.h>
8335
8336int
8337main ()
8338{
8339
8340  ;
8341  return 0;
8342}
8343_ACEOF
8344if ac_fn_c_try_compile "$LINENO"; then :
8345  ac_cv_header_stdc=yes
8346else
8347  ac_cv_header_stdc=no
8348fi
8349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8350
8351if test $ac_cv_header_stdc = yes; then
8352  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8353  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8354/* end confdefs.h.  */
8355#include <string.h>
8356
8357_ACEOF
8358if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8359  $EGREP "memchr" >/dev/null 2>&1; then :
8360
8361else
8362  ac_cv_header_stdc=no
8363fi
8364rm -f conftest*
8365
8366fi
8367
8368if test $ac_cv_header_stdc = yes; then
8369  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8370  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371/* end confdefs.h.  */
8372#include <stdlib.h>
8373
8374_ACEOF
8375if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8376  $EGREP "free" >/dev/null 2>&1; then :
8377
8378else
8379  ac_cv_header_stdc=no
8380fi
8381rm -f conftest*
8382
8383fi
8384
8385if test $ac_cv_header_stdc = yes; then
8386  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8387  if test "$cross_compiling" = yes; then :
8388  :
8389else
8390  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8391/* end confdefs.h.  */
8392#include <ctype.h>
8393#include <stdlib.h>
8394#if ((' ' & 0x0FF) == 0x020)
8395# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8396# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8397#else
8398# define ISLOWER(c) \
8399		   (('a' <= (c) && (c) <= 'i') \
8400		     || ('j' <= (c) && (c) <= 'r') \
8401		     || ('s' <= (c) && (c) <= 'z'))
8402# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8403#endif
8404
8405#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8406int
8407main ()
8408{
8409  int i;
8410  for (i = 0; i < 256; i++)
8411    if (XOR (islower (i), ISLOWER (i))
8412	|| toupper (i) != TOUPPER (i))
8413      return 2;
8414  return 0;
8415}
8416_ACEOF
8417if ac_fn_c_try_run "$LINENO"; then :
8418
8419else
8420  ac_cv_header_stdc=no
8421fi
8422rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8423  conftest.$ac_objext conftest.beam conftest.$ac_ext
8424fi
8425
8426fi
8427fi
8428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8429$as_echo "$ac_cv_header_stdc" >&6; }
8430if test $ac_cv_header_stdc = yes; then
8431
8432$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8433
8434fi
8435
8436# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8437for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8438		  inttypes.h stdint.h unistd.h
8439do :
8440  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8441ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8442"
8443if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8444  cat >>confdefs.h <<_ACEOF
8445#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8446_ACEOF
8447
8448fi
8449
8450done
8451
8452
8453for ac_header in dlfcn.h
8454do :
8455  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8456"
8457if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8458  cat >>confdefs.h <<_ACEOF
8459#define HAVE_DLFCN_H 1
8460_ACEOF
8461
8462fi
8463
8464done
8465
8466
8467
8468
8469func_stripname_cnf ()
8470{
8471  case $2 in
8472  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8473  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8474  esac
8475} # func_stripname_cnf
8476
8477
8478
8479
8480
8481# Set options
8482
8483
8484
8485        enable_dlopen=no
8486
8487
8488
8489            # Check whether --enable-shared was given.
8490if test "${enable_shared+set}" = set; then :
8491  enableval=$enable_shared; p=${PACKAGE-default}
8492    case $enableval in
8493    yes) enable_shared=yes ;;
8494    no) enable_shared=no ;;
8495    *)
8496      enable_shared=no
8497      # Look at the argument we got.  We use all the common list separators.
8498      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8499      for pkg in $enableval; do
8500	IFS=$lt_save_ifs
8501	if test "X$pkg" = "X$p"; then
8502	  enable_shared=yes
8503	fi
8504      done
8505      IFS=$lt_save_ifs
8506      ;;
8507    esac
8508else
8509  enable_shared=yes
8510fi
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520  # Check whether --enable-static was given.
8521if test "${enable_static+set}" = set; then :
8522  enableval=$enable_static; p=${PACKAGE-default}
8523    case $enableval in
8524    yes) enable_static=yes ;;
8525    no) enable_static=no ;;
8526    *)
8527     enable_static=no
8528      # Look at the argument we got.  We use all the common list separators.
8529      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8530      for pkg in $enableval; do
8531	IFS=$lt_save_ifs
8532	if test "X$pkg" = "X$p"; then
8533	  enable_static=yes
8534	fi
8535      done
8536      IFS=$lt_save_ifs
8537      ;;
8538    esac
8539else
8540  enable_static=yes
8541fi
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552# Check whether --with-pic was given.
8553if test "${with_pic+set}" = set; then :
8554  withval=$with_pic; lt_p=${PACKAGE-default}
8555    case $withval in
8556    yes|no) pic_mode=$withval ;;
8557    *)
8558      pic_mode=default
8559      # Look at the argument we got.  We use all the common list separators.
8560      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8561      for lt_pkg in $withval; do
8562	IFS=$lt_save_ifs
8563	if test "X$lt_pkg" = "X$lt_p"; then
8564	  pic_mode=yes
8565	fi
8566      done
8567      IFS=$lt_save_ifs
8568      ;;
8569    esac
8570else
8571  pic_mode=default
8572fi
8573
8574
8575
8576
8577
8578
8579
8580
8581  # Check whether --enable-fast-install was given.
8582if test "${enable_fast_install+set}" = set; then :
8583  enableval=$enable_fast_install; p=${PACKAGE-default}
8584    case $enableval in
8585    yes) enable_fast_install=yes ;;
8586    no) enable_fast_install=no ;;
8587    *)
8588      enable_fast_install=no
8589      # Look at the argument we got.  We use all the common list separators.
8590      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8591      for pkg in $enableval; do
8592	IFS=$lt_save_ifs
8593	if test "X$pkg" = "X$p"; then
8594	  enable_fast_install=yes
8595	fi
8596      done
8597      IFS=$lt_save_ifs
8598      ;;
8599    esac
8600else
8601  enable_fast_install=yes
8602fi
8603
8604
8605
8606
8607
8608
8609
8610
8611  shared_archive_member_spec=
8612case $host,$enable_shared in
8613power*-*-aix[5-9]*,yes)
8614  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8615$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8616
8617# Check whether --with-aix-soname was given.
8618if test "${with_aix_soname+set}" = set; then :
8619  withval=$with_aix_soname; case $withval in
8620    aix|svr4|both)
8621      ;;
8622    *)
8623      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8624      ;;
8625    esac
8626    lt_cv_with_aix_soname=$with_aix_soname
8627else
8628  if ${lt_cv_with_aix_soname+:} false; then :
8629  $as_echo_n "(cached) " >&6
8630else
8631  lt_cv_with_aix_soname=aix
8632fi
8633
8634    with_aix_soname=$lt_cv_with_aix_soname
8635fi
8636
8637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8638$as_echo "$with_aix_soname" >&6; }
8639  if test aix != "$with_aix_soname"; then
8640    # For the AIX way of multilib, we name the shared archive member
8641    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8642    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8643    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8644    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8645    if test 64 = "${OBJECT_MODE-32}"; then
8646      shared_archive_member_spec=shr_64
8647    else
8648      shared_archive_member_spec=shr
8649    fi
8650  fi
8651  ;;
8652*)
8653  with_aix_soname=aix
8654  ;;
8655esac
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666# This can be used to rebuild libtool when needed
8667LIBTOOL_DEPS=$ltmain
8668
8669# Always use our own libtool.
8670LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701test -z "$LN_S" && LN_S="ln -s"
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716if test -n "${ZSH_VERSION+set}"; then
8717   setopt NO_GLOB_SUBST
8718fi
8719
8720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8721$as_echo_n "checking for objdir... " >&6; }
8722if ${lt_cv_objdir+:} false; then :
8723  $as_echo_n "(cached) " >&6
8724else
8725  rm -f .libs 2>/dev/null
8726mkdir .libs 2>/dev/null
8727if test -d .libs; then
8728  lt_cv_objdir=.libs
8729else
8730  # MS-DOS does not allow filenames that begin with a dot.
8731  lt_cv_objdir=_libs
8732fi
8733rmdir .libs 2>/dev/null
8734fi
8735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8736$as_echo "$lt_cv_objdir" >&6; }
8737objdir=$lt_cv_objdir
8738
8739
8740
8741
8742
8743cat >>confdefs.h <<_ACEOF
8744#define LT_OBJDIR "$lt_cv_objdir/"
8745_ACEOF
8746
8747
8748
8749
8750case $host_os in
8751aix3*)
8752  # AIX sometimes has problems with the GCC collect2 program.  For some
8753  # reason, if we set the COLLECT_NAMES environment variable, the problems
8754  # vanish in a puff of smoke.
8755  if test set != "${COLLECT_NAMES+set}"; then
8756    COLLECT_NAMES=
8757    export COLLECT_NAMES
8758  fi
8759  ;;
8760esac
8761
8762# Global variables:
8763ofile=libtool
8764can_build_shared=yes
8765
8766# All known linkers require a '.a' archive for static linking (except MSVC,
8767# which needs '.lib').
8768libext=a
8769
8770with_gnu_ld=$lt_cv_prog_gnu_ld
8771
8772old_CC=$CC
8773old_CFLAGS=$CFLAGS
8774
8775# Set sane defaults for various variables
8776test -z "$CC" && CC=cc
8777test -z "$LTCC" && LTCC=$CC
8778test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8779test -z "$LD" && LD=ld
8780test -z "$ac_objext" && ac_objext=o
8781
8782func_cc_basename $compiler
8783cc_basename=$func_cc_basename_result
8784
8785
8786# Only perform the check for file, if the check method requires it
8787test -z "$MAGIC_CMD" && MAGIC_CMD=file
8788case $deplibs_check_method in
8789file_magic*)
8790  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8791    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8792$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8793if ${lt_cv_path_MAGIC_CMD+:} false; then :
8794  $as_echo_n "(cached) " >&6
8795else
8796  case $MAGIC_CMD in
8797[\\/*] |  ?:[\\/]*)
8798  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8799  ;;
8800*)
8801  lt_save_MAGIC_CMD=$MAGIC_CMD
8802  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8803  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8804  for ac_dir in $ac_dummy; do
8805    IFS=$lt_save_ifs
8806    test -z "$ac_dir" && ac_dir=.
8807    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8808      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8809      if test -n "$file_magic_test_file"; then
8810	case $deplibs_check_method in
8811	"file_magic "*)
8812	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8813	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8814	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8815	    $EGREP "$file_magic_regex" > /dev/null; then
8816	    :
8817	  else
8818	    cat <<_LT_EOF 1>&2
8819
8820*** Warning: the command libtool uses to detect shared libraries,
8821*** $file_magic_cmd, produces output that libtool cannot recognize.
8822*** The result is that libtool may fail to recognize shared libraries
8823*** as such.  This will affect the creation of libtool libraries that
8824*** depend on shared libraries, but programs linked with such libtool
8825*** libraries will work regardless of this problem.  Nevertheless, you
8826*** may want to report the problem to your system manager and/or to
8827*** bug-libtool@gnu.org
8828
8829_LT_EOF
8830	  fi ;;
8831	esac
8832      fi
8833      break
8834    fi
8835  done
8836  IFS=$lt_save_ifs
8837  MAGIC_CMD=$lt_save_MAGIC_CMD
8838  ;;
8839esac
8840fi
8841
8842MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8843if test -n "$MAGIC_CMD"; then
8844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8845$as_echo "$MAGIC_CMD" >&6; }
8846else
8847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8848$as_echo "no" >&6; }
8849fi
8850
8851
8852
8853
8854
8855if test -z "$lt_cv_path_MAGIC_CMD"; then
8856  if test -n "$ac_tool_prefix"; then
8857    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8858$as_echo_n "checking for file... " >&6; }
8859if ${lt_cv_path_MAGIC_CMD+:} false; then :
8860  $as_echo_n "(cached) " >&6
8861else
8862  case $MAGIC_CMD in
8863[\\/*] |  ?:[\\/]*)
8864  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8865  ;;
8866*)
8867  lt_save_MAGIC_CMD=$MAGIC_CMD
8868  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8869  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8870  for ac_dir in $ac_dummy; do
8871    IFS=$lt_save_ifs
8872    test -z "$ac_dir" && ac_dir=.
8873    if test -f "$ac_dir/file"; then
8874      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8875      if test -n "$file_magic_test_file"; then
8876	case $deplibs_check_method in
8877	"file_magic "*)
8878	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8879	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8880	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8881	    $EGREP "$file_magic_regex" > /dev/null; then
8882	    :
8883	  else
8884	    cat <<_LT_EOF 1>&2
8885
8886*** Warning: the command libtool uses to detect shared libraries,
8887*** $file_magic_cmd, produces output that libtool cannot recognize.
8888*** The result is that libtool may fail to recognize shared libraries
8889*** as such.  This will affect the creation of libtool libraries that
8890*** depend on shared libraries, but programs linked with such libtool
8891*** libraries will work regardless of this problem.  Nevertheless, you
8892*** may want to report the problem to your system manager and/or to
8893*** bug-libtool@gnu.org
8894
8895_LT_EOF
8896	  fi ;;
8897	esac
8898      fi
8899      break
8900    fi
8901  done
8902  IFS=$lt_save_ifs
8903  MAGIC_CMD=$lt_save_MAGIC_CMD
8904  ;;
8905esac
8906fi
8907
8908MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8909if test -n "$MAGIC_CMD"; then
8910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8911$as_echo "$MAGIC_CMD" >&6; }
8912else
8913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8914$as_echo "no" >&6; }
8915fi
8916
8917
8918  else
8919    MAGIC_CMD=:
8920  fi
8921fi
8922
8923  fi
8924  ;;
8925esac
8926
8927# Use C for the default configuration in the libtool script
8928
8929lt_save_CC=$CC
8930ac_ext=c
8931ac_cpp='$CPP $CPPFLAGS'
8932ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8933ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8934ac_compiler_gnu=$ac_cv_c_compiler_gnu
8935
8936
8937# Source file extension for C test sources.
8938ac_ext=c
8939
8940# Object file extension for compiled C test sources.
8941objext=o
8942objext=$objext
8943
8944# Code to be used in simple compile tests
8945lt_simple_compile_test_code="int some_variable = 0;"
8946
8947# Code to be used in simple link tests
8948lt_simple_link_test_code='int main(){return(0);}'
8949
8950
8951
8952
8953
8954
8955
8956# If no C compiler was specified, use CC.
8957LTCC=${LTCC-"$CC"}
8958
8959# If no C compiler flags were specified, use CFLAGS.
8960LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8961
8962# Allow CC to be a program name with arguments.
8963compiler=$CC
8964
8965# Save the default compiler, since it gets overwritten when the other
8966# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8967compiler_DEFAULT=$CC
8968
8969# save warnings/boilerplate of simple test code
8970ac_outfile=conftest.$ac_objext
8971echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8972eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8973_lt_compiler_boilerplate=`cat conftest.err`
8974$RM conftest*
8975
8976ac_outfile=conftest.$ac_objext
8977echo "$lt_simple_link_test_code" >conftest.$ac_ext
8978eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8979_lt_linker_boilerplate=`cat conftest.err`
8980$RM -r conftest*
8981
8982
8983## CAVEAT EMPTOR:
8984## There is no encapsulation within the following macros, do not change
8985## the running order or otherwise move them around unless you know exactly
8986## what you are doing...
8987if test -n "$compiler"; then
8988
8989lt_prog_compiler_no_builtin_flag=
8990
8991if test yes = "$GCC"; then
8992  case $cc_basename in
8993  nvcc*)
8994    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8995  *)
8996    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8997  esac
8998
8999  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9000$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9001if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9002  $as_echo_n "(cached) " >&6
9003else
9004  lt_cv_prog_compiler_rtti_exceptions=no
9005   ac_outfile=conftest.$ac_objext
9006   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9007   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9008   # Insert the option either (1) after the last *FLAGS variable, or
9009   # (2) before a word containing "conftest.", or (3) at the end.
9010   # Note that $ac_compile itself does not contain backslashes and begins
9011   # with a dollar sign (not a hyphen), so the echo should work correctly.
9012   # The option is referenced via a variable to avoid confusing sed.
9013   lt_compile=`echo "$ac_compile" | $SED \
9014   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016   -e 's:$: $lt_compiler_flag:'`
9017   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018   (eval "$lt_compile" 2>conftest.err)
9019   ac_status=$?
9020   cat conftest.err >&5
9021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022   if (exit $ac_status) && test -s "$ac_outfile"; then
9023     # The compiler can only warn and ignore the option if not recognized
9024     # So say no if there are warnings other than the usual output.
9025     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9026     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9027     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9028       lt_cv_prog_compiler_rtti_exceptions=yes
9029     fi
9030   fi
9031   $RM conftest*
9032
9033fi
9034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9035$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9036
9037if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9038    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9039else
9040    :
9041fi
9042
9043fi
9044
9045
9046
9047
9048
9049
9050  lt_prog_compiler_wl=
9051lt_prog_compiler_pic=
9052lt_prog_compiler_static=
9053
9054
9055  if test yes = "$GCC"; then
9056    lt_prog_compiler_wl='-Wl,'
9057    lt_prog_compiler_static='-static'
9058
9059    case $host_os in
9060      aix*)
9061      # All AIX code is PIC.
9062      if test ia64 = "$host_cpu"; then
9063	# AIX 5 now supports IA64 processor
9064	lt_prog_compiler_static='-Bstatic'
9065      fi
9066      lt_prog_compiler_pic='-fPIC'
9067      ;;
9068
9069    amigaos*)
9070      case $host_cpu in
9071      powerpc)
9072            # see comment about AmigaOS4 .so support
9073            lt_prog_compiler_pic='-fPIC'
9074        ;;
9075      m68k)
9076            # FIXME: we need at least 68020 code to build shared libraries, but
9077            # adding the '-m68020' flag to GCC prevents building anything better,
9078            # like '-m68040'.
9079            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9080        ;;
9081      esac
9082      ;;
9083
9084    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9085      # PIC is the default for these OSes.
9086      ;;
9087
9088    mingw* | cygwin* | pw32* | os2* | cegcc*)
9089      # This hack is so that the source file can tell whether it is being
9090      # built for inclusion in a dll (and should export symbols for example).
9091      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9092      # (--disable-auto-import) libraries
9093      lt_prog_compiler_pic='-DDLL_EXPORT'
9094      case $host_os in
9095      os2*)
9096	lt_prog_compiler_static='$wl-static'
9097	;;
9098      esac
9099      ;;
9100
9101    darwin* | rhapsody*)
9102      # PIC is the default on this platform
9103      # Common symbols not allowed in MH_DYLIB files
9104      lt_prog_compiler_pic='-fno-common'
9105      ;;
9106
9107    haiku*)
9108      # PIC is the default for Haiku.
9109      # The "-static" flag exists, but is broken.
9110      lt_prog_compiler_static=
9111      ;;
9112
9113    hpux*)
9114      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9115      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9116      # sets the default TLS model and affects inlining.
9117      case $host_cpu in
9118      hppa*64*)
9119	# +Z the default
9120	;;
9121      *)
9122	lt_prog_compiler_pic='-fPIC'
9123	;;
9124      esac
9125      ;;
9126
9127    interix[3-9]*)
9128      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9129      # Instead, we relocate shared libraries at runtime.
9130      ;;
9131
9132    msdosdjgpp*)
9133      # Just because we use GCC doesn't mean we suddenly get shared libraries
9134      # on systems that don't support them.
9135      lt_prog_compiler_can_build_shared=no
9136      enable_shared=no
9137      ;;
9138
9139    *nto* | *qnx*)
9140      # QNX uses GNU C++, but need to define -shared option too, otherwise
9141      # it will coredump.
9142      lt_prog_compiler_pic='-fPIC -shared'
9143      ;;
9144
9145    sysv4*MP*)
9146      if test -d /usr/nec; then
9147	lt_prog_compiler_pic=-Kconform_pic
9148      fi
9149      ;;
9150
9151    *)
9152      lt_prog_compiler_pic='-fPIC'
9153      ;;
9154    esac
9155
9156    case $cc_basename in
9157    nvcc*) # Cuda Compiler Driver 2.2
9158      lt_prog_compiler_wl='-Xlinker '
9159      if test -n "$lt_prog_compiler_pic"; then
9160        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9161      fi
9162      ;;
9163    esac
9164  else
9165    # PORTME Check for flag to pass linker flags through the system compiler.
9166    case $host_os in
9167    aix*)
9168      lt_prog_compiler_wl='-Wl,'
9169      if test ia64 = "$host_cpu"; then
9170	# AIX 5 now supports IA64 processor
9171	lt_prog_compiler_static='-Bstatic'
9172      else
9173	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9174      fi
9175      ;;
9176
9177    darwin* | rhapsody*)
9178      # PIC is the default on this platform
9179      # Common symbols not allowed in MH_DYLIB files
9180      lt_prog_compiler_pic='-fno-common'
9181      case $cc_basename in
9182      nagfor*)
9183        # NAG Fortran compiler
9184        lt_prog_compiler_wl='-Wl,-Wl,,'
9185        lt_prog_compiler_pic='-PIC'
9186        lt_prog_compiler_static='-Bstatic'
9187        ;;
9188      esac
9189      ;;
9190
9191    mingw* | cygwin* | pw32* | os2* | cegcc*)
9192      # This hack is so that the source file can tell whether it is being
9193      # built for inclusion in a dll (and should export symbols for example).
9194      lt_prog_compiler_pic='-DDLL_EXPORT'
9195      case $host_os in
9196      os2*)
9197	lt_prog_compiler_static='$wl-static'
9198	;;
9199      esac
9200      ;;
9201
9202    hpux9* | hpux10* | hpux11*)
9203      lt_prog_compiler_wl='-Wl,'
9204      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9205      # not for PA HP-UX.
9206      case $host_cpu in
9207      hppa*64*|ia64*)
9208	# +Z the default
9209	;;
9210      *)
9211	lt_prog_compiler_pic='+Z'
9212	;;
9213      esac
9214      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9215      lt_prog_compiler_static='$wl-a ${wl}archive'
9216      ;;
9217
9218    irix5* | irix6* | nonstopux*)
9219      lt_prog_compiler_wl='-Wl,'
9220      # PIC (with -KPIC) is the default.
9221      lt_prog_compiler_static='-non_shared'
9222      ;;
9223
9224    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9225      case $cc_basename in
9226      # old Intel for x86_64, which still supported -KPIC.
9227      ecc*)
9228	lt_prog_compiler_wl='-Wl,'
9229	lt_prog_compiler_pic='-KPIC'
9230	lt_prog_compiler_static='-static'
9231        ;;
9232      # icc used to be incompatible with GCC.
9233      # ICC 10 doesn't accept -KPIC any more.
9234      icc* | ifort*)
9235	lt_prog_compiler_wl='-Wl,'
9236	lt_prog_compiler_pic='-fPIC'
9237	lt_prog_compiler_static='-static'
9238        ;;
9239      # Lahey Fortran 8.1.
9240      lf95*)
9241	lt_prog_compiler_wl='-Wl,'
9242	lt_prog_compiler_pic='--shared'
9243	lt_prog_compiler_static='--static'
9244	;;
9245      nagfor*)
9246	# NAG Fortran compiler
9247	lt_prog_compiler_wl='-Wl,-Wl,,'
9248	lt_prog_compiler_pic='-PIC'
9249	lt_prog_compiler_static='-Bstatic'
9250	;;
9251      tcc*)
9252	# Fabrice Bellard et al's Tiny C Compiler
9253	lt_prog_compiler_wl='-Wl,'
9254	lt_prog_compiler_pic='-fPIC'
9255	lt_prog_compiler_static='-static'
9256	;;
9257      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9258        # Portland Group compilers (*not* the Pentium gcc compiler,
9259	# which looks to be a dead project)
9260	lt_prog_compiler_wl='-Wl,'
9261	lt_prog_compiler_pic='-fpic'
9262	lt_prog_compiler_static='-Bstatic'
9263        ;;
9264      ccc*)
9265        lt_prog_compiler_wl='-Wl,'
9266        # All Alpha code is PIC.
9267        lt_prog_compiler_static='-non_shared'
9268        ;;
9269      xl* | bgxl* | bgf* | mpixl*)
9270	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9271	lt_prog_compiler_wl='-Wl,'
9272	lt_prog_compiler_pic='-qpic'
9273	lt_prog_compiler_static='-qstaticlink'
9274	;;
9275      *)
9276	case `$CC -V 2>&1 | sed 5q` in
9277	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9278	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9279	  lt_prog_compiler_pic='-KPIC'
9280	  lt_prog_compiler_static='-Bstatic'
9281	  lt_prog_compiler_wl=''
9282	  ;;
9283	*Sun\ F* | *Sun*Fortran*)
9284	  lt_prog_compiler_pic='-KPIC'
9285	  lt_prog_compiler_static='-Bstatic'
9286	  lt_prog_compiler_wl='-Qoption ld '
9287	  ;;
9288	*Sun\ C*)
9289	  # Sun C 5.9
9290	  lt_prog_compiler_pic='-KPIC'
9291	  lt_prog_compiler_static='-Bstatic'
9292	  lt_prog_compiler_wl='-Wl,'
9293	  ;;
9294        *Intel*\ [CF]*Compiler*)
9295	  lt_prog_compiler_wl='-Wl,'
9296	  lt_prog_compiler_pic='-fPIC'
9297	  lt_prog_compiler_static='-static'
9298	  ;;
9299	*Portland\ Group*)
9300	  lt_prog_compiler_wl='-Wl,'
9301	  lt_prog_compiler_pic='-fpic'
9302	  lt_prog_compiler_static='-Bstatic'
9303	  ;;
9304	esac
9305	;;
9306      esac
9307      ;;
9308
9309    newsos6)
9310      lt_prog_compiler_pic='-KPIC'
9311      lt_prog_compiler_static='-Bstatic'
9312      ;;
9313
9314    *nto* | *qnx*)
9315      # QNX uses GNU C++, but need to define -shared option too, otherwise
9316      # it will coredump.
9317      lt_prog_compiler_pic='-fPIC -shared'
9318      ;;
9319
9320    osf3* | osf4* | osf5*)
9321      lt_prog_compiler_wl='-Wl,'
9322      # All OSF/1 code is PIC.
9323      lt_prog_compiler_static='-non_shared'
9324      ;;
9325
9326    rdos*)
9327      lt_prog_compiler_static='-non_shared'
9328      ;;
9329
9330    solaris*)
9331      lt_prog_compiler_pic='-KPIC'
9332      lt_prog_compiler_static='-Bstatic'
9333      case $cc_basename in
9334      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9335	lt_prog_compiler_wl='-Qoption ld ';;
9336      *)
9337	lt_prog_compiler_wl='-Wl,';;
9338      esac
9339      ;;
9340
9341    sunos4*)
9342      lt_prog_compiler_wl='-Qoption ld '
9343      lt_prog_compiler_pic='-PIC'
9344      lt_prog_compiler_static='-Bstatic'
9345      ;;
9346
9347    sysv4 | sysv4.2uw2* | sysv4.3*)
9348      lt_prog_compiler_wl='-Wl,'
9349      lt_prog_compiler_pic='-KPIC'
9350      lt_prog_compiler_static='-Bstatic'
9351      ;;
9352
9353    sysv4*MP*)
9354      if test -d /usr/nec; then
9355	lt_prog_compiler_pic='-Kconform_pic'
9356	lt_prog_compiler_static='-Bstatic'
9357      fi
9358      ;;
9359
9360    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9361      lt_prog_compiler_wl='-Wl,'
9362      lt_prog_compiler_pic='-KPIC'
9363      lt_prog_compiler_static='-Bstatic'
9364      ;;
9365
9366    unicos*)
9367      lt_prog_compiler_wl='-Wl,'
9368      lt_prog_compiler_can_build_shared=no
9369      ;;
9370
9371    uts4*)
9372      lt_prog_compiler_pic='-pic'
9373      lt_prog_compiler_static='-Bstatic'
9374      ;;
9375
9376    *)
9377      lt_prog_compiler_can_build_shared=no
9378      ;;
9379    esac
9380  fi
9381
9382case $host_os in
9383  # For platforms that do not support PIC, -DPIC is meaningless:
9384  *djgpp*)
9385    lt_prog_compiler_pic=
9386    ;;
9387  *)
9388    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9389    ;;
9390esac
9391
9392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9393$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9394if ${lt_cv_prog_compiler_pic+:} false; then :
9395  $as_echo_n "(cached) " >&6
9396else
9397  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9398fi
9399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9400$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9401lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9402
9403#
9404# Check to make sure the PIC flag actually works.
9405#
9406if test -n "$lt_prog_compiler_pic"; then
9407  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9408$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9409if ${lt_cv_prog_compiler_pic_works+:} false; then :
9410  $as_echo_n "(cached) " >&6
9411else
9412  lt_cv_prog_compiler_pic_works=no
9413   ac_outfile=conftest.$ac_objext
9414   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9415   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9416   # Insert the option either (1) after the last *FLAGS variable, or
9417   # (2) before a word containing "conftest.", or (3) at the end.
9418   # Note that $ac_compile itself does not contain backslashes and begins
9419   # with a dollar sign (not a hyphen), so the echo should work correctly.
9420   # The option is referenced via a variable to avoid confusing sed.
9421   lt_compile=`echo "$ac_compile" | $SED \
9422   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9423   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9424   -e 's:$: $lt_compiler_flag:'`
9425   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9426   (eval "$lt_compile" 2>conftest.err)
9427   ac_status=$?
9428   cat conftest.err >&5
9429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430   if (exit $ac_status) && test -s "$ac_outfile"; then
9431     # The compiler can only warn and ignore the option if not recognized
9432     # So say no if there are warnings other than the usual output.
9433     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9434     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9435     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9436       lt_cv_prog_compiler_pic_works=yes
9437     fi
9438   fi
9439   $RM conftest*
9440
9441fi
9442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9443$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9444
9445if test yes = "$lt_cv_prog_compiler_pic_works"; then
9446    case $lt_prog_compiler_pic in
9447     "" | " "*) ;;
9448     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9449     esac
9450else
9451    lt_prog_compiler_pic=
9452     lt_prog_compiler_can_build_shared=no
9453fi
9454
9455fi
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467#
9468# Check to make sure the static flag actually works.
9469#
9470wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9472$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9473if ${lt_cv_prog_compiler_static_works+:} false; then :
9474  $as_echo_n "(cached) " >&6
9475else
9476  lt_cv_prog_compiler_static_works=no
9477   save_LDFLAGS=$LDFLAGS
9478   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9479   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9480   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9481     # The linker can only warn and ignore the option if not recognized
9482     # So say no if there are warnings
9483     if test -s conftest.err; then
9484       # Append any errors to the config.log.
9485       cat conftest.err 1>&5
9486       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9487       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9488       if diff conftest.exp conftest.er2 >/dev/null; then
9489         lt_cv_prog_compiler_static_works=yes
9490       fi
9491     else
9492       lt_cv_prog_compiler_static_works=yes
9493     fi
9494   fi
9495   $RM -r conftest*
9496   LDFLAGS=$save_LDFLAGS
9497
9498fi
9499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9500$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9501
9502if test yes = "$lt_cv_prog_compiler_static_works"; then
9503    :
9504else
9505    lt_prog_compiler_static=
9506fi
9507
9508
9509
9510
9511
9512
9513
9514  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9515$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9516if ${lt_cv_prog_compiler_c_o+:} false; then :
9517  $as_echo_n "(cached) " >&6
9518else
9519  lt_cv_prog_compiler_c_o=no
9520   $RM -r conftest 2>/dev/null
9521   mkdir conftest
9522   cd conftest
9523   mkdir out
9524   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9525
9526   lt_compiler_flag="-o out/conftest2.$ac_objext"
9527   # Insert the option either (1) after the last *FLAGS variable, or
9528   # (2) before a word containing "conftest.", or (3) at the end.
9529   # Note that $ac_compile itself does not contain backslashes and begins
9530   # with a dollar sign (not a hyphen), so the echo should work correctly.
9531   lt_compile=`echo "$ac_compile" | $SED \
9532   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9533   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9534   -e 's:$: $lt_compiler_flag:'`
9535   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9536   (eval "$lt_compile" 2>out/conftest.err)
9537   ac_status=$?
9538   cat out/conftest.err >&5
9539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9541   then
9542     # The compiler can only warn and ignore the option if not recognized
9543     # So say no if there are warnings
9544     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9545     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9546     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9547       lt_cv_prog_compiler_c_o=yes
9548     fi
9549   fi
9550   chmod u+w . 2>&5
9551   $RM conftest*
9552   # SGI C++ compiler will create directory out/ii_files/ for
9553   # template instantiation
9554   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9555   $RM out/* && rmdir out
9556   cd ..
9557   $RM -r conftest
9558   $RM conftest*
9559
9560fi
9561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9562$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9563
9564
9565
9566
9567
9568
9569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9570$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9571if ${lt_cv_prog_compiler_c_o+:} false; then :
9572  $as_echo_n "(cached) " >&6
9573else
9574  lt_cv_prog_compiler_c_o=no
9575   $RM -r conftest 2>/dev/null
9576   mkdir conftest
9577   cd conftest
9578   mkdir out
9579   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9580
9581   lt_compiler_flag="-o out/conftest2.$ac_objext"
9582   # Insert the option either (1) after the last *FLAGS variable, or
9583   # (2) before a word containing "conftest.", or (3) at the end.
9584   # Note that $ac_compile itself does not contain backslashes and begins
9585   # with a dollar sign (not a hyphen), so the echo should work correctly.
9586   lt_compile=`echo "$ac_compile" | $SED \
9587   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9588   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9589   -e 's:$: $lt_compiler_flag:'`
9590   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9591   (eval "$lt_compile" 2>out/conftest.err)
9592   ac_status=$?
9593   cat out/conftest.err >&5
9594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9596   then
9597     # The compiler can only warn and ignore the option if not recognized
9598     # So say no if there are warnings
9599     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9600     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9601     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9602       lt_cv_prog_compiler_c_o=yes
9603     fi
9604   fi
9605   chmod u+w . 2>&5
9606   $RM conftest*
9607   # SGI C++ compiler will create directory out/ii_files/ for
9608   # template instantiation
9609   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9610   $RM out/* && rmdir out
9611   cd ..
9612   $RM -r conftest
9613   $RM conftest*
9614
9615fi
9616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9617$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9618
9619
9620
9621
9622hard_links=nottested
9623if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9624  # do not overwrite the value of need_locks provided by the user
9625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9626$as_echo_n "checking if we can lock with hard links... " >&6; }
9627  hard_links=yes
9628  $RM conftest*
9629  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9630  touch conftest.a
9631  ln conftest.a conftest.b 2>&5 || hard_links=no
9632  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9634$as_echo "$hard_links" >&6; }
9635  if test no = "$hard_links"; then
9636    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9637$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9638    need_locks=warn
9639  fi
9640else
9641  need_locks=no
9642fi
9643
9644
9645
9646
9647
9648
9649  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9650$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9651
9652  runpath_var=
9653  allow_undefined_flag=
9654  always_export_symbols=no
9655  archive_cmds=
9656  archive_expsym_cmds=
9657  compiler_needs_object=no
9658  enable_shared_with_static_runtimes=no
9659  export_dynamic_flag_spec=
9660  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9661  hardcode_automatic=no
9662  hardcode_direct=no
9663  hardcode_direct_absolute=no
9664  hardcode_libdir_flag_spec=
9665  hardcode_libdir_separator=
9666  hardcode_minus_L=no
9667  hardcode_shlibpath_var=unsupported
9668  inherit_rpath=no
9669  link_all_deplibs=unknown
9670  module_cmds=
9671  module_expsym_cmds=
9672  old_archive_from_new_cmds=
9673  old_archive_from_expsyms_cmds=
9674  thread_safe_flag_spec=
9675  whole_archive_flag_spec=
9676  # include_expsyms should be a list of space-separated symbols to be *always*
9677  # included in the symbol list
9678  include_expsyms=
9679  # exclude_expsyms can be an extended regexp of symbols to exclude
9680  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9681  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9682  # as well as any symbol that contains 'd'.
9683  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9684  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9685  # platforms (ab)use it in PIC code, but their linkers get confused if
9686  # the symbol is explicitly referenced.  Since portable code cannot
9687  # rely on this symbol name, it's probably fine to never include it in
9688  # preloaded symbol tables.
9689  # Exclude shared library initialization/finalization symbols.
9690  extract_expsyms_cmds=
9691
9692  case $host_os in
9693  cygwin* | mingw* | pw32* | cegcc*)
9694    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9695    # When not using gcc, we currently assume that we are using
9696    # Microsoft Visual C++.
9697    if test yes != "$GCC"; then
9698      with_gnu_ld=no
9699    fi
9700    ;;
9701  interix*)
9702    # we just hope/assume this is gcc and not c89 (= MSVC++)
9703    with_gnu_ld=yes
9704    ;;
9705  openbsd* | bitrig*)
9706    with_gnu_ld=no
9707    ;;
9708  esac
9709
9710  ld_shlibs=yes
9711
9712  # On some targets, GNU ld is compatible enough with the native linker
9713  # that we're better off using the native interface for both.
9714  lt_use_gnu_ld_interface=no
9715  if test yes = "$with_gnu_ld"; then
9716    case $host_os in
9717      aix*)
9718	# The AIX port of GNU ld has always aspired to compatibility
9719	# with the native linker.  However, as the warning in the GNU ld
9720	# block says, versions before 2.19.5* couldn't really create working
9721	# shared libraries, regardless of the interface used.
9722	case `$LD -v 2>&1` in
9723	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9724	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9725	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9726	  *)
9727	    lt_use_gnu_ld_interface=yes
9728	    ;;
9729	esac
9730	;;
9731      *)
9732	lt_use_gnu_ld_interface=yes
9733	;;
9734    esac
9735  fi
9736
9737  if test yes = "$lt_use_gnu_ld_interface"; then
9738    # If archive_cmds runs LD, not CC, wlarc should be empty
9739    wlarc='$wl'
9740
9741    # Set some defaults for GNU ld with shared library support. These
9742    # are reset later if shared libraries are not supported. Putting them
9743    # here allows them to be overridden if necessary.
9744    runpath_var=LD_RUN_PATH
9745    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9746    export_dynamic_flag_spec='$wl--export-dynamic'
9747    # ancient GNU ld didn't support --whole-archive et. al.
9748    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9749      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9750    else
9751      whole_archive_flag_spec=
9752    fi
9753    supports_anon_versioning=no
9754    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9755      *GNU\ gold*) supports_anon_versioning=yes ;;
9756      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9757      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9758      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9759      *\ 2.11.*) ;; # other 2.11 versions
9760      *) supports_anon_versioning=yes ;;
9761    esac
9762
9763    # See if GNU ld supports shared libraries.
9764    case $host_os in
9765    aix[3-9]*)
9766      # On AIX/PPC, the GNU linker is very broken
9767      if test ia64 != "$host_cpu"; then
9768	ld_shlibs=no
9769	cat <<_LT_EOF 1>&2
9770
9771*** Warning: the GNU linker, at least up to release 2.19, is reported
9772*** to be unable to reliably create shared libraries on AIX.
9773*** Therefore, libtool is disabling shared libraries support.  If you
9774*** really care for shared libraries, you may want to install binutils
9775*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9776*** You will then need to restart the configuration process.
9777
9778_LT_EOF
9779      fi
9780      ;;
9781
9782    amigaos*)
9783      case $host_cpu in
9784      powerpc)
9785            # see comment about AmigaOS4 .so support
9786            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9787            archive_expsym_cmds=''
9788        ;;
9789      m68k)
9790            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)'
9791            hardcode_libdir_flag_spec='-L$libdir'
9792            hardcode_minus_L=yes
9793        ;;
9794      esac
9795      ;;
9796
9797    beos*)
9798      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9799	allow_undefined_flag=unsupported
9800	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9801	# support --undefined.  This deserves some investigation.  FIXME
9802	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9803      else
9804	ld_shlibs=no
9805      fi
9806      ;;
9807
9808    cygwin* | mingw* | pw32* | cegcc*)
9809      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9810      # as there is no search path for DLLs.
9811      hardcode_libdir_flag_spec='-L$libdir'
9812      export_dynamic_flag_spec='$wl--export-all-symbols'
9813      allow_undefined_flag=unsupported
9814      always_export_symbols=no
9815      enable_shared_with_static_runtimes=yes
9816      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'
9817      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9818
9819      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9820        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9821	# If the export-symbols file already is a .def file, use it as
9822	# is; otherwise, prepend EXPORTS...
9823	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9824          cp $export_symbols $output_objdir/$soname.def;
9825        else
9826          echo EXPORTS > $output_objdir/$soname.def;
9827          cat $export_symbols >> $output_objdir/$soname.def;
9828        fi~
9829        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9830      else
9831	ld_shlibs=no
9832      fi
9833      ;;
9834
9835    haiku*)
9836      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9837      link_all_deplibs=yes
9838      ;;
9839
9840    os2*)
9841      hardcode_libdir_flag_spec='-L$libdir'
9842      hardcode_minus_L=yes
9843      allow_undefined_flag=unsupported
9844      shrext_cmds=.dll
9845      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9846	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9847	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9848	$ECHO EXPORTS >> $output_objdir/$libname.def~
9849	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9850	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9851	emximp -o $lib $output_objdir/$libname.def'
9852      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9853	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9854	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9855	$ECHO EXPORTS >> $output_objdir/$libname.def~
9856	prefix_cmds="$SED"~
9857	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9858	  prefix_cmds="$prefix_cmds -e 1d";
9859	fi~
9860	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9861	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9862	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9863	emximp -o $lib $output_objdir/$libname.def'
9864      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9865      enable_shared_with_static_runtimes=yes
9866      ;;
9867
9868    interix[3-9]*)
9869      hardcode_direct=no
9870      hardcode_shlibpath_var=no
9871      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9872      export_dynamic_flag_spec='$wl-E'
9873      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9874      # Instead, shared libraries are loaded at an image base (0x10000000 by
9875      # default) and relocated if they conflict, which is a slow very memory
9876      # consuming and fragmenting process.  To avoid this, we pick a random,
9877      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9878      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9879      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9880      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'
9881      ;;
9882
9883    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9884      tmp_diet=no
9885      if test linux-dietlibc = "$host_os"; then
9886	case $cc_basename in
9887	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9888	esac
9889      fi
9890      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9891	 && test no = "$tmp_diet"
9892      then
9893	tmp_addflag=' $pic_flag'
9894	tmp_sharedflag='-shared'
9895	case $cc_basename,$host_cpu in
9896        pgcc*)				# Portland Group C compiler
9897	  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'
9898	  tmp_addflag=' $pic_flag'
9899	  ;;
9900	pgf77* | pgf90* | pgf95* | pgfortran*)
9901					# Portland Group f77 and f90 compilers
9902	  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'
9903	  tmp_addflag=' $pic_flag -Mnomain' ;;
9904	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9905	  tmp_addflag=' -i_dynamic' ;;
9906	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9907	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9908	ifc* | ifort*)			# Intel Fortran compiler
9909	  tmp_addflag=' -nofor_main' ;;
9910	lf95*)				# Lahey Fortran 8.1
9911	  whole_archive_flag_spec=
9912	  tmp_sharedflag='--shared' ;;
9913        nagfor*)                        # NAGFOR 5.3
9914          tmp_sharedflag='-Wl,-shared' ;;
9915	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9916	  tmp_sharedflag='-qmkshrobj'
9917	  tmp_addflag= ;;
9918	nvcc*)	# Cuda Compiler Driver 2.2
9919	  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'
9920	  compiler_needs_object=yes
9921	  ;;
9922	esac
9923	case `$CC -V 2>&1 | sed 5q` in
9924	*Sun\ C*)			# Sun C 5.9
9925	  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'
9926	  compiler_needs_object=yes
9927	  tmp_sharedflag='-G' ;;
9928	*Sun\ F*)			# Sun Fortran 8.3
9929	  tmp_sharedflag='-G' ;;
9930	esac
9931	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9932
9933        if test yes = "$supports_anon_versioning"; then
9934          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9935            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9936            echo "local: *; };" >> $output_objdir/$libname.ver~
9937            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9938        fi
9939
9940	case $cc_basename in
9941	tcc*)
9942	  export_dynamic_flag_spec='-rdynamic'
9943	  ;;
9944	xlf* | bgf* | bgxlf* | mpixlf*)
9945	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9946	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9947	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9948	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9949	  if test yes = "$supports_anon_versioning"; then
9950	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9951              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9952              echo "local: *; };" >> $output_objdir/$libname.ver~
9953              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9954	  fi
9955	  ;;
9956	esac
9957      else
9958        ld_shlibs=no
9959      fi
9960      ;;
9961
9962    netbsd*)
9963      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9964	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9965	wlarc=
9966      else
9967	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9968	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9969      fi
9970      ;;
9971
9972    solaris*)
9973      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9974	ld_shlibs=no
9975	cat <<_LT_EOF 1>&2
9976
9977*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9978*** create shared libraries on Solaris systems.  Therefore, libtool
9979*** is disabling shared libraries support.  We urge you to upgrade GNU
9980*** binutils to release 2.9.1 or newer.  Another option is to modify
9981*** your PATH or compiler configuration so that the native linker is
9982*** used, and then restart.
9983
9984_LT_EOF
9985      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9986	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9987	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9988      else
9989	ld_shlibs=no
9990      fi
9991      ;;
9992
9993    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9994      case `$LD -v 2>&1` in
9995        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9996	ld_shlibs=no
9997	cat <<_LT_EOF 1>&2
9998
9999*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10000*** reliably create shared libraries on SCO systems.  Therefore, libtool
10001*** is disabling shared libraries support.  We urge you to upgrade GNU
10002*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10003*** your PATH or compiler configuration so that the native linker is
10004*** used, and then restart.
10005
10006_LT_EOF
10007	;;
10008	*)
10009	  # For security reasons, it is highly recommended that you always
10010	  # use absolute paths for naming shared libraries, and exclude the
10011	  # DT_RUNPATH tag from executables and libraries.  But doing so
10012	  # requires that you compile everything twice, which is a pain.
10013	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10014	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10015	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10016	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10017	  else
10018	    ld_shlibs=no
10019	  fi
10020	;;
10021      esac
10022      ;;
10023
10024    sunos4*)
10025      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10026      wlarc=
10027      hardcode_direct=yes
10028      hardcode_shlibpath_var=no
10029      ;;
10030
10031    *)
10032      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10033	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10034	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10035      else
10036	ld_shlibs=no
10037      fi
10038      ;;
10039    esac
10040
10041    if test no = "$ld_shlibs"; then
10042      runpath_var=
10043      hardcode_libdir_flag_spec=
10044      export_dynamic_flag_spec=
10045      whole_archive_flag_spec=
10046    fi
10047  else
10048    # PORTME fill in a description of your system's linker (not GNU ld)
10049    case $host_os in
10050    aix3*)
10051      allow_undefined_flag=unsupported
10052      always_export_symbols=yes
10053      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'
10054      # Note: this linker hardcodes the directories in LIBPATH if there
10055      # are no directories specified by -L.
10056      hardcode_minus_L=yes
10057      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10058	# Neither direct hardcoding nor static linking is supported with a
10059	# broken collect2.
10060	hardcode_direct=unsupported
10061      fi
10062      ;;
10063
10064    aix[4-9]*)
10065      if test ia64 = "$host_cpu"; then
10066	# On IA64, the linker does run time linking by default, so we don't
10067	# have to do anything special.
10068	aix_use_runtimelinking=no
10069	exp_sym_flag='-Bexport'
10070	no_entry_flag=
10071      else
10072	# If we're using GNU nm, then we don't want the "-C" option.
10073	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10074	# Without the "-l" option, or with the "-B" option, AIX nm treats
10075	# weak defined symbols like other global defined symbols, whereas
10076	# GNU nm marks them as "W".
10077	# While the 'weak' keyword is ignored in the Export File, we need
10078	# it in the Import File for the 'aix-soname' feature, so we have
10079	# to replace the "-B" option with "-P" for AIX nm.
10080	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10081	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10082	else
10083	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10084	fi
10085	aix_use_runtimelinking=no
10086
10087	# Test if we are trying to use run time linking or normal
10088	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10089	# have runtime linking enabled, and use it for executables.
10090	# For shared libraries, we enable/disable runtime linking
10091	# depending on the kind of the shared library created -
10092	# when "with_aix_soname,aix_use_runtimelinking" is:
10093	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10094	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10095	#            lib.a           static archive
10096	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10097	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10098	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10099	#            lib.a(lib.so.V) shared, rtl:no
10100	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10101	#            lib.a           static archive
10102	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10103	  for ld_flag in $LDFLAGS; do
10104	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10105	    aix_use_runtimelinking=yes
10106	    break
10107	  fi
10108	  done
10109	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10110	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10111	    # so we don't have lib.a shared libs to link our executables.
10112	    # We have to force runtime linking in this case.
10113	    aix_use_runtimelinking=yes
10114	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10115	  fi
10116	  ;;
10117	esac
10118
10119	exp_sym_flag='-bexport'
10120	no_entry_flag='-bnoentry'
10121      fi
10122
10123      # When large executables or shared objects are built, AIX ld can
10124      # have problems creating the table of contents.  If linking a library
10125      # or program results in "error TOC overflow" add -mminimal-toc to
10126      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10127      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10128
10129      archive_cmds=''
10130      hardcode_direct=yes
10131      hardcode_direct_absolute=yes
10132      hardcode_libdir_separator=':'
10133      link_all_deplibs=yes
10134      file_list_spec='$wl-f,'
10135      case $with_aix_soname,$aix_use_runtimelinking in
10136      aix,*) ;; # traditional, no import file
10137      svr4,* | *,yes) # use import file
10138	# The Import File defines what to hardcode.
10139	hardcode_direct=no
10140	hardcode_direct_absolute=no
10141	;;
10142      esac
10143
10144      if test yes = "$GCC"; then
10145	case $host_os in aix4.[012]|aix4.[012].*)
10146	# We only want to do this on AIX 4.2 and lower, the check
10147	# below for broken collect2 doesn't work under 4.3+
10148	  collect2name=`$CC -print-prog-name=collect2`
10149	  if test -f "$collect2name" &&
10150	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10151	  then
10152	  # We have reworked collect2
10153	  :
10154	  else
10155	  # We have old collect2
10156	  hardcode_direct=unsupported
10157	  # It fails to find uninstalled libraries when the uninstalled
10158	  # path is not listed in the libpath.  Setting hardcode_minus_L
10159	  # to unsupported forces relinking
10160	  hardcode_minus_L=yes
10161	  hardcode_libdir_flag_spec='-L$libdir'
10162	  hardcode_libdir_separator=
10163	  fi
10164	  ;;
10165	esac
10166	shared_flag='-shared'
10167	if test yes = "$aix_use_runtimelinking"; then
10168	  shared_flag="$shared_flag "'$wl-G'
10169	fi
10170	# Need to ensure runtime linking is disabled for the traditional
10171	# shared library, or the linker may eventually find shared libraries
10172	# /with/ Import File - we do not want to mix them.
10173	shared_flag_aix='-shared'
10174	shared_flag_svr4='-shared $wl-G'
10175      else
10176	# not using gcc
10177	if test ia64 = "$host_cpu"; then
10178	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10179	# chokes on -Wl,-G. The following line is correct:
10180	  shared_flag='-G'
10181	else
10182	  if test yes = "$aix_use_runtimelinking"; then
10183	    shared_flag='$wl-G'
10184	  else
10185	    shared_flag='$wl-bM:SRE'
10186	  fi
10187	  shared_flag_aix='$wl-bM:SRE'
10188	  shared_flag_svr4='$wl-G'
10189	fi
10190      fi
10191
10192      export_dynamic_flag_spec='$wl-bexpall'
10193      # It seems that -bexpall does not export symbols beginning with
10194      # underscore (_), so it is better to generate a list of symbols to export.
10195      always_export_symbols=yes
10196      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10197	# Warning - without using the other runtime loading flags (-brtl),
10198	# -berok will link without error, but may produce a broken library.
10199	allow_undefined_flag='-berok'
10200        # Determine the default libpath from the value encoded in an
10201        # empty executable.
10202        if test set = "${lt_cv_aix_libpath+set}"; then
10203  aix_libpath=$lt_cv_aix_libpath
10204else
10205  if ${lt_cv_aix_libpath_+:} false; then :
10206  $as_echo_n "(cached) " >&6
10207else
10208  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10209/* end confdefs.h.  */
10210
10211int
10212main ()
10213{
10214
10215  ;
10216  return 0;
10217}
10218_ACEOF
10219if ac_fn_c_try_link "$LINENO"; then :
10220
10221  lt_aix_libpath_sed='
10222      /Import File Strings/,/^$/ {
10223	  /^0/ {
10224	      s/^0  *\([^ ]*\) *$/\1/
10225	      p
10226	  }
10227      }'
10228  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10229  # Check for a 64-bit object if we didn't find anything.
10230  if test -z "$lt_cv_aix_libpath_"; then
10231    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10232  fi
10233fi
10234rm -f core conftest.err conftest.$ac_objext \
10235    conftest$ac_exeext conftest.$ac_ext
10236  if test -z "$lt_cv_aix_libpath_"; then
10237    lt_cv_aix_libpath_=/usr/lib:/lib
10238  fi
10239
10240fi
10241
10242  aix_libpath=$lt_cv_aix_libpath_
10243fi
10244
10245        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10246        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10247      else
10248	if test ia64 = "$host_cpu"; then
10249	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10250	  allow_undefined_flag="-z nodefs"
10251	  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"
10252	else
10253	 # Determine the default libpath from the value encoded in an
10254	 # empty executable.
10255	 if test set = "${lt_cv_aix_libpath+set}"; then
10256  aix_libpath=$lt_cv_aix_libpath
10257else
10258  if ${lt_cv_aix_libpath_+:} false; then :
10259  $as_echo_n "(cached) " >&6
10260else
10261  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262/* end confdefs.h.  */
10263
10264int
10265main ()
10266{
10267
10268  ;
10269  return 0;
10270}
10271_ACEOF
10272if ac_fn_c_try_link "$LINENO"; then :
10273
10274  lt_aix_libpath_sed='
10275      /Import File Strings/,/^$/ {
10276	  /^0/ {
10277	      s/^0  *\([^ ]*\) *$/\1/
10278	      p
10279	  }
10280      }'
10281  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10282  # Check for a 64-bit object if we didn't find anything.
10283  if test -z "$lt_cv_aix_libpath_"; then
10284    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10285  fi
10286fi
10287rm -f core conftest.err conftest.$ac_objext \
10288    conftest$ac_exeext conftest.$ac_ext
10289  if test -z "$lt_cv_aix_libpath_"; then
10290    lt_cv_aix_libpath_=/usr/lib:/lib
10291  fi
10292
10293fi
10294
10295  aix_libpath=$lt_cv_aix_libpath_
10296fi
10297
10298	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10299	  # Warning - without using the other run time loading flags,
10300	  # -berok will link without error, but may produce a broken library.
10301	  no_undefined_flag=' $wl-bernotok'
10302	  allow_undefined_flag=' $wl-berok'
10303	  if test yes = "$with_gnu_ld"; then
10304	    # We only use this code for GNU lds that support --whole-archive.
10305	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10306	  else
10307	    # Exported symbols can be pulled into shared objects from archives
10308	    whole_archive_flag_spec='$convenience'
10309	  fi
10310	  archive_cmds_need_lc=yes
10311	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10312	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10313	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10314	  if test svr4 != "$with_aix_soname"; then
10315	    # This is similar to how AIX traditionally builds its shared libraries.
10316	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10317	  fi
10318	  if test aix != "$with_aix_soname"; then
10319	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10320	  else
10321	    # used by -dlpreopen to get the symbols
10322	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10323	  fi
10324	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10325	fi
10326      fi
10327      ;;
10328
10329    amigaos*)
10330      case $host_cpu in
10331      powerpc)
10332            # see comment about AmigaOS4 .so support
10333            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10334            archive_expsym_cmds=''
10335        ;;
10336      m68k)
10337            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)'
10338            hardcode_libdir_flag_spec='-L$libdir'
10339            hardcode_minus_L=yes
10340        ;;
10341      esac
10342      ;;
10343
10344    bsdi[45]*)
10345      export_dynamic_flag_spec=-rdynamic
10346      ;;
10347
10348    cygwin* | mingw* | pw32* | cegcc*)
10349      # When not using gcc, we currently assume that we are using
10350      # Microsoft Visual C++.
10351      # hardcode_libdir_flag_spec is actually meaningless, as there is
10352      # no search path for DLLs.
10353      case $cc_basename in
10354      cl*)
10355	# Native MSVC
10356	hardcode_libdir_flag_spec=' '
10357	allow_undefined_flag=unsupported
10358	always_export_symbols=yes
10359	file_list_spec='@'
10360	# Tell ltmain to make .lib files, not .a files.
10361	libext=lib
10362	# Tell ltmain to make .dll files, not .so files.
10363	shrext_cmds=.dll
10364	# FIXME: Setting linknames here is a bad hack.
10365	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10366	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10367            cp "$export_symbols" "$output_objdir/$soname.def";
10368            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10369          else
10370            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10371          fi~
10372          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10373          linknames='
10374	# The linker will not automatically build a static lib if we build a DLL.
10375	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10376	enable_shared_with_static_runtimes=yes
10377	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10378	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10379	# Don't use ranlib
10380	old_postinstall_cmds='chmod 644 $oldlib'
10381	postlink_cmds='lt_outputfile="@OUTPUT@"~
10382          lt_tool_outputfile="@TOOL_OUTPUT@"~
10383          case $lt_outputfile in
10384            *.exe|*.EXE) ;;
10385            *)
10386              lt_outputfile=$lt_outputfile.exe
10387              lt_tool_outputfile=$lt_tool_outputfile.exe
10388              ;;
10389          esac~
10390          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10391            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10392            $RM "$lt_outputfile.manifest";
10393          fi'
10394	;;
10395      *)
10396	# Assume MSVC wrapper
10397	hardcode_libdir_flag_spec=' '
10398	allow_undefined_flag=unsupported
10399	# Tell ltmain to make .lib files, not .a files.
10400	libext=lib
10401	# Tell ltmain to make .dll files, not .so files.
10402	shrext_cmds=.dll
10403	# FIXME: Setting linknames here is a bad hack.
10404	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10405	# The linker will automatically build a .lib file if we build a DLL.
10406	old_archive_from_new_cmds='true'
10407	# FIXME: Should let the user specify the lib program.
10408	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10409	enable_shared_with_static_runtimes=yes
10410	;;
10411      esac
10412      ;;
10413
10414    darwin* | rhapsody*)
10415
10416
10417  archive_cmds_need_lc=no
10418  hardcode_direct=no
10419  hardcode_automatic=yes
10420  hardcode_shlibpath_var=unsupported
10421  if test yes = "$lt_cv_ld_force_load"; then
10422    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\"`'
10423
10424  else
10425    whole_archive_flag_spec=''
10426  fi
10427  link_all_deplibs=yes
10428  allow_undefined_flag=$_lt_dar_allow_undefined
10429  case $cc_basename in
10430     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10431     *) _lt_dar_can_shared=$GCC ;;
10432  esac
10433  if test yes = "$_lt_dar_can_shared"; then
10434    output_verbose_link_cmd=func_echo_all
10435    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10436    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10437    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"
10438    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"
10439
10440  else
10441  ld_shlibs=no
10442  fi
10443
10444      ;;
10445
10446    dgux*)
10447      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10448      hardcode_libdir_flag_spec='-L$libdir'
10449      hardcode_shlibpath_var=no
10450      ;;
10451
10452    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10453    # support.  Future versions do this automatically, but an explicit c++rt0.o
10454    # does not break anything, and helps significantly (at the cost of a little
10455    # extra space).
10456    freebsd2.2*)
10457      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10458      hardcode_libdir_flag_spec='-R$libdir'
10459      hardcode_direct=yes
10460      hardcode_shlibpath_var=no
10461      ;;
10462
10463    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10464    freebsd2.*)
10465      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10466      hardcode_direct=yes
10467      hardcode_minus_L=yes
10468      hardcode_shlibpath_var=no
10469      ;;
10470
10471    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10472    freebsd* | dragonfly*)
10473      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10474      hardcode_libdir_flag_spec='-R$libdir'
10475      hardcode_direct=yes
10476      hardcode_shlibpath_var=no
10477      ;;
10478
10479    hpux9*)
10480      if test yes = "$GCC"; then
10481	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10482      else
10483	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10484      fi
10485      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10486      hardcode_libdir_separator=:
10487      hardcode_direct=yes
10488
10489      # hardcode_minus_L: Not really in the search PATH,
10490      # but as the default location of the library.
10491      hardcode_minus_L=yes
10492      export_dynamic_flag_spec='$wl-E'
10493      ;;
10494
10495    hpux10*)
10496      if test yes,no = "$GCC,$with_gnu_ld"; then
10497	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10498      else
10499	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10500      fi
10501      if test no = "$with_gnu_ld"; then
10502	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10503	hardcode_libdir_separator=:
10504	hardcode_direct=yes
10505	hardcode_direct_absolute=yes
10506	export_dynamic_flag_spec='$wl-E'
10507	# hardcode_minus_L: Not really in the search PATH,
10508	# but as the default location of the library.
10509	hardcode_minus_L=yes
10510      fi
10511      ;;
10512
10513    hpux11*)
10514      if test yes,no = "$GCC,$with_gnu_ld"; then
10515	case $host_cpu in
10516	hppa*64*)
10517	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10518	  ;;
10519	ia64*)
10520	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10521	  ;;
10522	*)
10523	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10524	  ;;
10525	esac
10526      else
10527	case $host_cpu in
10528	hppa*64*)
10529	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10530	  ;;
10531	ia64*)
10532	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10533	  ;;
10534	*)
10535
10536	  # Older versions of the 11.00 compiler do not understand -b yet
10537	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10538	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10539$as_echo_n "checking if $CC understands -b... " >&6; }
10540if ${lt_cv_prog_compiler__b+:} false; then :
10541  $as_echo_n "(cached) " >&6
10542else
10543  lt_cv_prog_compiler__b=no
10544   save_LDFLAGS=$LDFLAGS
10545   LDFLAGS="$LDFLAGS -b"
10546   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10547   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10548     # The linker can only warn and ignore the option if not recognized
10549     # So say no if there are warnings
10550     if test -s conftest.err; then
10551       # Append any errors to the config.log.
10552       cat conftest.err 1>&5
10553       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10554       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10555       if diff conftest.exp conftest.er2 >/dev/null; then
10556         lt_cv_prog_compiler__b=yes
10557       fi
10558     else
10559       lt_cv_prog_compiler__b=yes
10560     fi
10561   fi
10562   $RM -r conftest*
10563   LDFLAGS=$save_LDFLAGS
10564
10565fi
10566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10567$as_echo "$lt_cv_prog_compiler__b" >&6; }
10568
10569if test yes = "$lt_cv_prog_compiler__b"; then
10570    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10571else
10572    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10573fi
10574
10575	  ;;
10576	esac
10577      fi
10578      if test no = "$with_gnu_ld"; then
10579	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10580	hardcode_libdir_separator=:
10581
10582	case $host_cpu in
10583	hppa*64*|ia64*)
10584	  hardcode_direct=no
10585	  hardcode_shlibpath_var=no
10586	  ;;
10587	*)
10588	  hardcode_direct=yes
10589	  hardcode_direct_absolute=yes
10590	  export_dynamic_flag_spec='$wl-E'
10591
10592	  # hardcode_minus_L: Not really in the search PATH,
10593	  # but as the default location of the library.
10594	  hardcode_minus_L=yes
10595	  ;;
10596	esac
10597      fi
10598      ;;
10599
10600    irix5* | irix6* | nonstopux*)
10601      if test yes = "$GCC"; then
10602	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'
10603	# Try to use the -exported_symbol ld option, if it does not
10604	# work, assume that -exports_file does not work either and
10605	# implicitly export all symbols.
10606	# This should be the same for all languages, so no per-tag cache variable.
10607	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10608$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10609if ${lt_cv_irix_exported_symbol+:} false; then :
10610  $as_echo_n "(cached) " >&6
10611else
10612  save_LDFLAGS=$LDFLAGS
10613	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10614	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10615/* end confdefs.h.  */
10616int foo (void) { return 0; }
10617_ACEOF
10618if ac_fn_c_try_link "$LINENO"; then :
10619  lt_cv_irix_exported_symbol=yes
10620else
10621  lt_cv_irix_exported_symbol=no
10622fi
10623rm -f core conftest.err conftest.$ac_objext \
10624    conftest$ac_exeext conftest.$ac_ext
10625           LDFLAGS=$save_LDFLAGS
10626fi
10627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10628$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10629	if test yes = "$lt_cv_irix_exported_symbol"; then
10630          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'
10631	fi
10632      else
10633	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'
10634	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'
10635      fi
10636      archive_cmds_need_lc='no'
10637      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10638      hardcode_libdir_separator=:
10639      inherit_rpath=yes
10640      link_all_deplibs=yes
10641      ;;
10642
10643    linux*)
10644      case $cc_basename in
10645      tcc*)
10646	# Fabrice Bellard et al's Tiny C Compiler
10647	ld_shlibs=yes
10648	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10649	;;
10650      esac
10651      ;;
10652
10653    netbsd*)
10654      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10655	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10656      else
10657	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10658      fi
10659      hardcode_libdir_flag_spec='-R$libdir'
10660      hardcode_direct=yes
10661      hardcode_shlibpath_var=no
10662      ;;
10663
10664    newsos6)
10665      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10666      hardcode_direct=yes
10667      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10668      hardcode_libdir_separator=:
10669      hardcode_shlibpath_var=no
10670      ;;
10671
10672    *nto* | *qnx*)
10673      ;;
10674
10675    openbsd* | bitrig*)
10676      if test -f /usr/libexec/ld.so; then
10677	hardcode_direct=yes
10678	hardcode_shlibpath_var=no
10679	hardcode_direct_absolute=yes
10680	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10681	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10682	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10683	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10684	  export_dynamic_flag_spec='$wl-E'
10685	else
10686	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10687	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10688	fi
10689      else
10690	ld_shlibs=no
10691      fi
10692      ;;
10693
10694    os2*)
10695      hardcode_libdir_flag_spec='-L$libdir'
10696      hardcode_minus_L=yes
10697      allow_undefined_flag=unsupported
10698      shrext_cmds=.dll
10699      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10700	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10701	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10702	$ECHO EXPORTS >> $output_objdir/$libname.def~
10703	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10704	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10705	emximp -o $lib $output_objdir/$libname.def'
10706      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10707	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10708	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10709	$ECHO EXPORTS >> $output_objdir/$libname.def~
10710	prefix_cmds="$SED"~
10711	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10712	  prefix_cmds="$prefix_cmds -e 1d";
10713	fi~
10714	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10715	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10716	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10717	emximp -o $lib $output_objdir/$libname.def'
10718      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10719      enable_shared_with_static_runtimes=yes
10720      ;;
10721
10722    osf3*)
10723      if test yes = "$GCC"; then
10724	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10725	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'
10726      else
10727	allow_undefined_flag=' -expect_unresolved \*'
10728	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'
10729      fi
10730      archive_cmds_need_lc='no'
10731      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10732      hardcode_libdir_separator=:
10733      ;;
10734
10735    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10736      if test yes = "$GCC"; then
10737	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10738	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'
10739	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10740      else
10741	allow_undefined_flag=' -expect_unresolved \*'
10742	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'
10743	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~
10744          $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'
10745
10746	# Both c and cxx compiler support -rpath directly
10747	hardcode_libdir_flag_spec='-rpath $libdir'
10748      fi
10749      archive_cmds_need_lc='no'
10750      hardcode_libdir_separator=:
10751      ;;
10752
10753    solaris*)
10754      no_undefined_flag=' -z defs'
10755      if test yes = "$GCC"; then
10756	wlarc='$wl'
10757	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10758	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10759          $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'
10760      else
10761	case `$CC -V 2>&1` in
10762	*"Compilers 5.0"*)
10763	  wlarc=''
10764	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10765	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10766            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10767	  ;;
10768	*)
10769	  wlarc='$wl'
10770	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10771	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10772            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10773	  ;;
10774	esac
10775      fi
10776      hardcode_libdir_flag_spec='-R$libdir'
10777      hardcode_shlibpath_var=no
10778      case $host_os in
10779      solaris2.[0-5] | solaris2.[0-5].*) ;;
10780      *)
10781	# The compiler driver will combine and reorder linker options,
10782	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10783	# but is careful enough not to reorder.
10784	# Supported since Solaris 2.6 (maybe 2.5.1?)
10785	if test yes = "$GCC"; then
10786	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10787	else
10788	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10789	fi
10790	;;
10791      esac
10792      link_all_deplibs=yes
10793      ;;
10794
10795    sunos4*)
10796      if test sequent = "$host_vendor"; then
10797	# Use $CC to link under sequent, because it throws in some extra .o
10798	# files that make .init and .fini sections work.
10799	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10800      else
10801	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10802      fi
10803      hardcode_libdir_flag_spec='-L$libdir'
10804      hardcode_direct=yes
10805      hardcode_minus_L=yes
10806      hardcode_shlibpath_var=no
10807      ;;
10808
10809    sysv4)
10810      case $host_vendor in
10811	sni)
10812	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10813	  hardcode_direct=yes # is this really true???
10814	;;
10815	siemens)
10816	  ## LD is ld it makes a PLAMLIB
10817	  ## CC just makes a GrossModule.
10818	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10819	  reload_cmds='$CC -r -o $output$reload_objs'
10820	  hardcode_direct=no
10821        ;;
10822	motorola)
10823	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10824	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10825	;;
10826      esac
10827      runpath_var='LD_RUN_PATH'
10828      hardcode_shlibpath_var=no
10829      ;;
10830
10831    sysv4.3*)
10832      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10833      hardcode_shlibpath_var=no
10834      export_dynamic_flag_spec='-Bexport'
10835      ;;
10836
10837    sysv4*MP*)
10838      if test -d /usr/nec; then
10839	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10840	hardcode_shlibpath_var=no
10841	runpath_var=LD_RUN_PATH
10842	hardcode_runpath_var=yes
10843	ld_shlibs=yes
10844      fi
10845      ;;
10846
10847    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10848      no_undefined_flag='$wl-z,text'
10849      archive_cmds_need_lc=no
10850      hardcode_shlibpath_var=no
10851      runpath_var='LD_RUN_PATH'
10852
10853      if test yes = "$GCC"; then
10854	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10855	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10856      else
10857	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10858	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10859      fi
10860      ;;
10861
10862    sysv5* | sco3.2v5* | sco5v6*)
10863      # Note: We CANNOT use -z defs as we might desire, because we do not
10864      # link with -lc, and that would cause any symbols used from libc to
10865      # always be unresolved, which means just about no library would
10866      # ever link correctly.  If we're not using GNU ld we use -z text
10867      # though, which does catch some bad symbols but isn't as heavy-handed
10868      # as -z defs.
10869      no_undefined_flag='$wl-z,text'
10870      allow_undefined_flag='$wl-z,nodefs'
10871      archive_cmds_need_lc=no
10872      hardcode_shlibpath_var=no
10873      hardcode_libdir_flag_spec='$wl-R,$libdir'
10874      hardcode_libdir_separator=':'
10875      link_all_deplibs=yes
10876      export_dynamic_flag_spec='$wl-Bexport'
10877      runpath_var='LD_RUN_PATH'
10878
10879      if test yes = "$GCC"; then
10880	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10881	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10882      else
10883	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10884	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10885      fi
10886      ;;
10887
10888    uts4*)
10889      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10890      hardcode_libdir_flag_spec='-L$libdir'
10891      hardcode_shlibpath_var=no
10892      ;;
10893
10894    *)
10895      ld_shlibs=no
10896      ;;
10897    esac
10898
10899    if test sni = "$host_vendor"; then
10900      case $host in
10901      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10902	export_dynamic_flag_spec='$wl-Blargedynsym'
10903	;;
10904      esac
10905    fi
10906  fi
10907
10908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10909$as_echo "$ld_shlibs" >&6; }
10910test no = "$ld_shlibs" && can_build_shared=no
10911
10912with_gnu_ld=$with_gnu_ld
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928#
10929# Do we need to explicitly link libc?
10930#
10931case "x$archive_cmds_need_lc" in
10932x|xyes)
10933  # Assume -lc should be added
10934  archive_cmds_need_lc=yes
10935
10936  if test yes,yes = "$GCC,$enable_shared"; then
10937    case $archive_cmds in
10938    *'~'*)
10939      # FIXME: we may have to deal with multi-command sequences.
10940      ;;
10941    '$CC '*)
10942      # Test whether the compiler implicitly links with -lc since on some
10943      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10944      # to ld, don't add -lc before -lgcc.
10945      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10946$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10947if ${lt_cv_archive_cmds_need_lc+:} false; then :
10948  $as_echo_n "(cached) " >&6
10949else
10950  $RM conftest*
10951	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10952
10953	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10954  (eval $ac_compile) 2>&5
10955  ac_status=$?
10956  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10957  test $ac_status = 0; } 2>conftest.err; then
10958	  soname=conftest
10959	  lib=conftest
10960	  libobjs=conftest.$ac_objext
10961	  deplibs=
10962	  wl=$lt_prog_compiler_wl
10963	  pic_flag=$lt_prog_compiler_pic
10964	  compiler_flags=-v
10965	  linker_flags=-v
10966	  verstring=
10967	  output_objdir=.
10968	  libname=conftest
10969	  lt_save_allow_undefined_flag=$allow_undefined_flag
10970	  allow_undefined_flag=
10971	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10972  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10973  ac_status=$?
10974  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10975  test $ac_status = 0; }
10976	  then
10977	    lt_cv_archive_cmds_need_lc=no
10978	  else
10979	    lt_cv_archive_cmds_need_lc=yes
10980	  fi
10981	  allow_undefined_flag=$lt_save_allow_undefined_flag
10982	else
10983	  cat conftest.err 1>&5
10984	fi
10985	$RM conftest*
10986
10987fi
10988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10989$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10990      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10991      ;;
10992    esac
10993  fi
10994  ;;
10995esac
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11149$as_echo_n "checking dynamic linker characteristics... " >&6; }
11150
11151if test yes = "$GCC"; then
11152  case $host_os in
11153    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11154    *) lt_awk_arg='/^libraries:/' ;;
11155  esac
11156  case $host_os in
11157    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11158    *) lt_sed_strip_eq='s|=/|/|g' ;;
11159  esac
11160  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11161  case $lt_search_path_spec in
11162  *\;*)
11163    # if the path contains ";" then we assume it to be the separator
11164    # otherwise default to the standard path separator (i.e. ":") - it is
11165    # assumed that no part of a normal pathname contains ";" but that should
11166    # okay in the real world where ";" in dirpaths is itself problematic.
11167    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11168    ;;
11169  *)
11170    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11171    ;;
11172  esac
11173  # Ok, now we have the path, separated by spaces, we can step through it
11174  # and add multilib dir if necessary...
11175  lt_tmp_lt_search_path_spec=
11176  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11177  # ...but if some path component already ends with the multilib dir we assume
11178  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11179  case "$lt_multi_os_dir; $lt_search_path_spec " in
11180  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11181    lt_multi_os_dir=
11182    ;;
11183  esac
11184  for lt_sys_path in $lt_search_path_spec; do
11185    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11186      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11187    elif test -n "$lt_multi_os_dir"; then
11188      test -d "$lt_sys_path" && \
11189	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11190    fi
11191  done
11192  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11193BEGIN {RS = " "; FS = "/|\n";} {
11194  lt_foo = "";
11195  lt_count = 0;
11196  for (lt_i = NF; lt_i > 0; lt_i--) {
11197    if ($lt_i != "" && $lt_i != ".") {
11198      if ($lt_i == "..") {
11199        lt_count++;
11200      } else {
11201        if (lt_count == 0) {
11202          lt_foo = "/" $lt_i lt_foo;
11203        } else {
11204          lt_count--;
11205        }
11206      }
11207    }
11208  }
11209  if (lt_foo != "") { lt_freq[lt_foo]++; }
11210  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11211}'`
11212  # AWK program above erroneously prepends '/' to C:/dos/paths
11213  # for these hosts.
11214  case $host_os in
11215    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11216      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11217  esac
11218  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11219else
11220  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11221fi
11222library_names_spec=
11223libname_spec='lib$name'
11224soname_spec=
11225shrext_cmds=.so
11226postinstall_cmds=
11227postuninstall_cmds=
11228finish_cmds=
11229finish_eval=
11230shlibpath_var=
11231shlibpath_overrides_runpath=unknown
11232version_type=none
11233dynamic_linker="$host_os ld.so"
11234sys_lib_dlsearch_path_spec="/lib /usr/lib"
11235need_lib_prefix=unknown
11236hardcode_into_libs=no
11237
11238# when you set need_version to no, make sure it does not cause -set_version
11239# flags to be left without arguments
11240need_version=unknown
11241
11242
11243
11244case $host_os in
11245aix3*)
11246  version_type=linux # correct to gnu/linux during the next big refactor
11247  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11248  shlibpath_var=LIBPATH
11249
11250  # AIX 3 has no versioning support, so we append a major version to the name.
11251  soname_spec='$libname$release$shared_ext$major'
11252  ;;
11253
11254aix[4-9]*)
11255  version_type=linux # correct to gnu/linux during the next big refactor
11256  need_lib_prefix=no
11257  need_version=no
11258  hardcode_into_libs=yes
11259  if test ia64 = "$host_cpu"; then
11260    # AIX 5 supports IA64
11261    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11262    shlibpath_var=LD_LIBRARY_PATH
11263  else
11264    # With GCC up to 2.95.x, collect2 would create an import file
11265    # for dependence libraries.  The import file would start with
11266    # the line '#! .'.  This would cause the generated library to
11267    # depend on '.', always an invalid library.  This was fixed in
11268    # development snapshots of GCC prior to 3.0.
11269    case $host_os in
11270      aix4 | aix4.[01] | aix4.[01].*)
11271      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11272	   echo ' yes '
11273	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11274	:
11275      else
11276	can_build_shared=no
11277      fi
11278      ;;
11279    esac
11280    # Using Import Files as archive members, it is possible to support
11281    # filename-based versioning of shared library archives on AIX. While
11282    # this would work for both with and without runtime linking, it will
11283    # prevent static linking of such archives. So we do filename-based
11284    # shared library versioning with .so extension only, which is used
11285    # when both runtime linking and shared linking is enabled.
11286    # Unfortunately, runtime linking may impact performance, so we do
11287    # not want this to be the default eventually. Also, we use the
11288    # versioned .so libs for executables only if there is the -brtl
11289    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11290    # To allow for filename-based versioning support, we need to create
11291    # libNAME.so.V as an archive file, containing:
11292    # *) an Import File, referring to the versioned filename of the
11293    #    archive as well as the shared archive member, telling the
11294    #    bitwidth (32 or 64) of that shared object, and providing the
11295    #    list of exported symbols of that shared object, eventually
11296    #    decorated with the 'weak' keyword
11297    # *) the shared object with the F_LOADONLY flag set, to really avoid
11298    #    it being seen by the linker.
11299    # At run time we better use the real file rather than another symlink,
11300    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11301
11302    case $with_aix_soname,$aix_use_runtimelinking in
11303    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11304    # soname into executable. Probably we can add versioning support to
11305    # collect2, so additional links can be useful in future.
11306    aix,yes) # traditional libtool
11307      dynamic_linker='AIX unversionable lib.so'
11308      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11309      # instead of lib<name>.a to let people know that these are not
11310      # typical AIX shared libraries.
11311      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11312      ;;
11313    aix,no) # traditional AIX only
11314      dynamic_linker='AIX lib.a(lib.so.V)'
11315      # We preserve .a as extension for shared libraries through AIX4.2
11316      # and later when we are not doing run time linking.
11317      library_names_spec='$libname$release.a $libname.a'
11318      soname_spec='$libname$release$shared_ext$major'
11319      ;;
11320    svr4,*) # full svr4 only
11321      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11322      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11323      # We do not specify a path in Import Files, so LIBPATH fires.
11324      shlibpath_overrides_runpath=yes
11325      ;;
11326    *,yes) # both, prefer svr4
11327      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11328      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11329      # unpreferred sharedlib libNAME.a needs extra handling
11330      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11331      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11332      # We do not specify a path in Import Files, so LIBPATH fires.
11333      shlibpath_overrides_runpath=yes
11334      ;;
11335    *,no) # both, prefer aix
11336      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11337      library_names_spec='$libname$release.a $libname.a'
11338      soname_spec='$libname$release$shared_ext$major'
11339      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11340      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11341      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11342      ;;
11343    esac
11344    shlibpath_var=LIBPATH
11345  fi
11346  ;;
11347
11348amigaos*)
11349  case $host_cpu in
11350  powerpc)
11351    # Since July 2007 AmigaOS4 officially supports .so libraries.
11352    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11353    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11354    ;;
11355  m68k)
11356    library_names_spec='$libname.ixlibrary $libname.a'
11357    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11358    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11359    ;;
11360  esac
11361  ;;
11362
11363beos*)
11364  library_names_spec='$libname$shared_ext'
11365  dynamic_linker="$host_os ld.so"
11366  shlibpath_var=LIBRARY_PATH
11367  ;;
11368
11369bsdi[45]*)
11370  version_type=linux # correct to gnu/linux during the next big refactor
11371  need_version=no
11372  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11373  soname_spec='$libname$release$shared_ext$major'
11374  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11375  shlibpath_var=LD_LIBRARY_PATH
11376  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11377  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11378  # the default ld.so.conf also contains /usr/contrib/lib and
11379  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11380  # libtool to hard-code these into programs
11381  ;;
11382
11383cygwin* | mingw* | pw32* | cegcc*)
11384  version_type=windows
11385  shrext_cmds=.dll
11386  need_version=no
11387  need_lib_prefix=no
11388
11389  case $GCC,$cc_basename in
11390  yes,*)
11391    # gcc
11392    library_names_spec='$libname.dll.a'
11393    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11394    postinstall_cmds='base_file=`basename \$file`~
11395      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11396      dldir=$destdir/`dirname \$dlpath`~
11397      test -d \$dldir || mkdir -p \$dldir~
11398      $install_prog $dir/$dlname \$dldir/$dlname~
11399      chmod a+x \$dldir/$dlname~
11400      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11401        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11402      fi'
11403    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11404      dlpath=$dir/\$dldll~
11405       $RM \$dlpath'
11406    shlibpath_overrides_runpath=yes
11407
11408    case $host_os in
11409    cygwin*)
11410      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11411      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11412
11413      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11414      ;;
11415    mingw* | cegcc*)
11416      # MinGW DLLs use traditional 'lib' prefix
11417      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11418      ;;
11419    pw32*)
11420      # pw32 DLLs use 'pw' prefix rather than 'lib'
11421      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11422      ;;
11423    esac
11424    dynamic_linker='Win32 ld.exe'
11425    ;;
11426
11427  *,cl*)
11428    # Native MSVC
11429    libname_spec='$name'
11430    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11431    library_names_spec='$libname.dll.lib'
11432
11433    case $build_os in
11434    mingw*)
11435      sys_lib_search_path_spec=
11436      lt_save_ifs=$IFS
11437      IFS=';'
11438      for lt_path in $LIB
11439      do
11440        IFS=$lt_save_ifs
11441        # Let DOS variable expansion print the short 8.3 style file name.
11442        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11443        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11444      done
11445      IFS=$lt_save_ifs
11446      # Convert to MSYS style.
11447      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11448      ;;
11449    cygwin*)
11450      # Convert to unix form, then to dos form, then back to unix form
11451      # but this time dos style (no spaces!) so that the unix form looks
11452      # like /cygdrive/c/PROGRA~1:/cygdr...
11453      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11454      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11455      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11456      ;;
11457    *)
11458      sys_lib_search_path_spec=$LIB
11459      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11460        # It is most probably a Windows format PATH.
11461        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11462      else
11463        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11464      fi
11465      # FIXME: find the short name or the path components, as spaces are
11466      # common. (e.g. "Program Files" -> "PROGRA~1")
11467      ;;
11468    esac
11469
11470    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11471    postinstall_cmds='base_file=`basename \$file`~
11472      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11473      dldir=$destdir/`dirname \$dlpath`~
11474      test -d \$dldir || mkdir -p \$dldir~
11475      $install_prog $dir/$dlname \$dldir/$dlname'
11476    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11477      dlpath=$dir/\$dldll~
11478       $RM \$dlpath'
11479    shlibpath_overrides_runpath=yes
11480    dynamic_linker='Win32 link.exe'
11481    ;;
11482
11483  *)
11484    # Assume MSVC wrapper
11485    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11486    dynamic_linker='Win32 ld.exe'
11487    ;;
11488  esac
11489  # FIXME: first we should search . and the directory the executable is in
11490  shlibpath_var=PATH
11491  ;;
11492
11493darwin* | rhapsody*)
11494  dynamic_linker="$host_os dyld"
11495  version_type=darwin
11496  need_lib_prefix=no
11497  need_version=no
11498  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11499  soname_spec='$libname$release$major$shared_ext'
11500  shlibpath_overrides_runpath=yes
11501  shlibpath_var=DYLD_LIBRARY_PATH
11502  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11503
11504  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11505  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11506  ;;
11507
11508dgux*)
11509  version_type=linux # correct to gnu/linux during the next big refactor
11510  need_lib_prefix=no
11511  need_version=no
11512  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11513  soname_spec='$libname$release$shared_ext$major'
11514  shlibpath_var=LD_LIBRARY_PATH
11515  ;;
11516
11517freebsd* | dragonfly*)
11518  # DragonFly does not have aout.  When/if they implement a new
11519  # versioning mechanism, adjust this.
11520  if test -x /usr/bin/objformat; then
11521    objformat=`/usr/bin/objformat`
11522  else
11523    case $host_os in
11524    freebsd[23].*) objformat=aout ;;
11525    *) objformat=elf ;;
11526    esac
11527  fi
11528  version_type=freebsd-$objformat
11529  case $version_type in
11530    freebsd-elf*)
11531      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11532      soname_spec='$libname$release$shared_ext$major'
11533      need_version=no
11534      need_lib_prefix=no
11535      ;;
11536    freebsd-*)
11537      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11538      need_version=yes
11539      ;;
11540  esac
11541  shlibpath_var=LD_LIBRARY_PATH
11542  case $host_os in
11543  freebsd2.*)
11544    shlibpath_overrides_runpath=yes
11545    ;;
11546  freebsd3.[01]* | freebsdelf3.[01]*)
11547    shlibpath_overrides_runpath=yes
11548    hardcode_into_libs=yes
11549    ;;
11550  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11551  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11552    shlibpath_overrides_runpath=no
11553    hardcode_into_libs=yes
11554    ;;
11555  *) # from 4.6 on, and DragonFly
11556    shlibpath_overrides_runpath=yes
11557    hardcode_into_libs=yes
11558    ;;
11559  esac
11560  ;;
11561
11562haiku*)
11563  version_type=linux # correct to gnu/linux during the next big refactor
11564  need_lib_prefix=no
11565  need_version=no
11566  dynamic_linker="$host_os runtime_loader"
11567  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11568  soname_spec='$libname$release$shared_ext$major'
11569  shlibpath_var=LIBRARY_PATH
11570  shlibpath_overrides_runpath=no
11571  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11572  hardcode_into_libs=yes
11573  ;;
11574
11575hpux9* | hpux10* | hpux11*)
11576  # Give a soname corresponding to the major version so that dld.sl refuses to
11577  # link against other versions.
11578  version_type=sunos
11579  need_lib_prefix=no
11580  need_version=no
11581  case $host_cpu in
11582  ia64*)
11583    shrext_cmds='.so'
11584    hardcode_into_libs=yes
11585    dynamic_linker="$host_os dld.so"
11586    shlibpath_var=LD_LIBRARY_PATH
11587    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11588    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11589    soname_spec='$libname$release$shared_ext$major'
11590    if test 32 = "$HPUX_IA64_MODE"; then
11591      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11592      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11593    else
11594      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11595      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11596    fi
11597    ;;
11598  hppa*64*)
11599    shrext_cmds='.sl'
11600    hardcode_into_libs=yes
11601    dynamic_linker="$host_os dld.sl"
11602    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11603    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11604    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11605    soname_spec='$libname$release$shared_ext$major'
11606    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11607    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11608    ;;
11609  *)
11610    shrext_cmds='.sl'
11611    dynamic_linker="$host_os dld.sl"
11612    shlibpath_var=SHLIB_PATH
11613    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11614    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11615    soname_spec='$libname$release$shared_ext$major'
11616    ;;
11617  esac
11618  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11619  postinstall_cmds='chmod 555 $lib'
11620  # or fails outright, so override atomically:
11621  install_override_mode=555
11622  ;;
11623
11624interix[3-9]*)
11625  version_type=linux # correct to gnu/linux during the next big refactor
11626  need_lib_prefix=no
11627  need_version=no
11628  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11629  soname_spec='$libname$release$shared_ext$major'
11630  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11631  shlibpath_var=LD_LIBRARY_PATH
11632  shlibpath_overrides_runpath=no
11633  hardcode_into_libs=yes
11634  ;;
11635
11636irix5* | irix6* | nonstopux*)
11637  case $host_os in
11638    nonstopux*) version_type=nonstopux ;;
11639    *)
11640	if test yes = "$lt_cv_prog_gnu_ld"; then
11641		version_type=linux # correct to gnu/linux during the next big refactor
11642	else
11643		version_type=irix
11644	fi ;;
11645  esac
11646  need_lib_prefix=no
11647  need_version=no
11648  soname_spec='$libname$release$shared_ext$major'
11649  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11650  case $host_os in
11651  irix5* | nonstopux*)
11652    libsuff= shlibsuff=
11653    ;;
11654  *)
11655    case $LD in # libtool.m4 will add one of these switches to LD
11656    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11657      libsuff= shlibsuff= libmagic=32-bit;;
11658    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11659      libsuff=32 shlibsuff=N32 libmagic=N32;;
11660    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11661      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11662    *) libsuff= shlibsuff= libmagic=never-match;;
11663    esac
11664    ;;
11665  esac
11666  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11667  shlibpath_overrides_runpath=no
11668  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11669  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11670  hardcode_into_libs=yes
11671  ;;
11672
11673# No shared lib support for Linux oldld, aout, or coff.
11674linux*oldld* | linux*aout* | linux*coff*)
11675  dynamic_linker=no
11676  ;;
11677
11678linux*android*)
11679  version_type=none # Android doesn't support versioned libraries.
11680  need_lib_prefix=no
11681  need_version=no
11682  library_names_spec='$libname$release$shared_ext'
11683  soname_spec='$libname$release$shared_ext'
11684  finish_cmds=
11685  shlibpath_var=LD_LIBRARY_PATH
11686  shlibpath_overrides_runpath=yes
11687
11688  # This implies no fast_install, which is unacceptable.
11689  # Some rework will be needed to allow for fast_install
11690  # before this can be enabled.
11691  hardcode_into_libs=yes
11692
11693  dynamic_linker='Android linker'
11694  # Don't embed -rpath directories since the linker doesn't support them.
11695  hardcode_libdir_flag_spec='-L$libdir'
11696  ;;
11697
11698# This must be glibc/ELF.
11699linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11700  version_type=linux # correct to gnu/linux during the next big refactor
11701  need_lib_prefix=no
11702  need_version=no
11703  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11704  soname_spec='$libname$release$shared_ext$major'
11705  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11706  shlibpath_var=LD_LIBRARY_PATH
11707  shlibpath_overrides_runpath=no
11708
11709  # Some binutils ld are patched to set DT_RUNPATH
11710  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11711  $as_echo_n "(cached) " >&6
11712else
11713  lt_cv_shlibpath_overrides_runpath=no
11714    save_LDFLAGS=$LDFLAGS
11715    save_libdir=$libdir
11716    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11717	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11718    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11719/* end confdefs.h.  */
11720
11721int
11722main ()
11723{
11724
11725  ;
11726  return 0;
11727}
11728_ACEOF
11729if ac_fn_c_try_link "$LINENO"; then :
11730  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11731  lt_cv_shlibpath_overrides_runpath=yes
11732fi
11733fi
11734rm -f core conftest.err conftest.$ac_objext \
11735    conftest$ac_exeext conftest.$ac_ext
11736    LDFLAGS=$save_LDFLAGS
11737    libdir=$save_libdir
11738
11739fi
11740
11741  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11742
11743  # This implies no fast_install, which is unacceptable.
11744  # Some rework will be needed to allow for fast_install
11745  # before this can be enabled.
11746  hardcode_into_libs=yes
11747
11748  # Ideally, we could use ldconfig to report *all* directores which are
11749  # searched for libraries, however this is still not possible.  Aside from not
11750  # being certain /sbin/ldconfig is available, command
11751  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11752  # even though it is searched at run-time.  Try to do the best guess by
11753  # appending ld.so.conf contents (and includes) to the search path.
11754  if test -f /etc/ld.so.conf; then
11755    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' ' '`
11756    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11757  fi
11758
11759  # We used to test for /lib/ld.so.1 and disable shared libraries on
11760  # powerpc, because MkLinux only supported shared libraries with the
11761  # GNU dynamic linker.  Since this was broken with cross compilers,
11762  # most powerpc-linux boxes support dynamic linking these days and
11763  # people can always --disable-shared, the test was removed, and we
11764  # assume the GNU/Linux dynamic linker is in use.
11765  dynamic_linker='GNU/Linux ld.so'
11766  ;;
11767
11768netbsd*)
11769  version_type=sunos
11770  need_lib_prefix=no
11771  need_version=no
11772  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11773    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11774    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11775    dynamic_linker='NetBSD (a.out) ld.so'
11776  else
11777    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11778    soname_spec='$libname$release$shared_ext$major'
11779    dynamic_linker='NetBSD ld.elf_so'
11780  fi
11781  shlibpath_var=LD_LIBRARY_PATH
11782  shlibpath_overrides_runpath=yes
11783  hardcode_into_libs=yes
11784  ;;
11785
11786newsos6)
11787  version_type=linux # correct to gnu/linux during the next big refactor
11788  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11789  shlibpath_var=LD_LIBRARY_PATH
11790  shlibpath_overrides_runpath=yes
11791  ;;
11792
11793*nto* | *qnx*)
11794  version_type=qnx
11795  need_lib_prefix=no
11796  need_version=no
11797  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11798  soname_spec='$libname$release$shared_ext$major'
11799  shlibpath_var=LD_LIBRARY_PATH
11800  shlibpath_overrides_runpath=no
11801  hardcode_into_libs=yes
11802  dynamic_linker='ldqnx.so'
11803  ;;
11804
11805openbsd* | bitrig*)
11806  version_type=sunos
11807  sys_lib_dlsearch_path_spec=/usr/lib
11808  need_lib_prefix=no
11809  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11810    need_version=no
11811  else
11812    need_version=yes
11813  fi
11814  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11815  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11816  shlibpath_var=LD_LIBRARY_PATH
11817  shlibpath_overrides_runpath=yes
11818  ;;
11819
11820os2*)
11821  libname_spec='$name'
11822  version_type=windows
11823  shrext_cmds=.dll
11824  need_version=no
11825  need_lib_prefix=no
11826  # OS/2 can only load a DLL with a base name of 8 characters or less.
11827  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11828    v=$($ECHO $release$versuffix | tr -d .-);
11829    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11830    $ECHO $n$v`$shared_ext'
11831  library_names_spec='${libname}_dll.$libext'
11832  dynamic_linker='OS/2 ld.exe'
11833  shlibpath_var=BEGINLIBPATH
11834  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11835  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11836  postinstall_cmds='base_file=`basename \$file`~
11837    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11838    dldir=$destdir/`dirname \$dlpath`~
11839    test -d \$dldir || mkdir -p \$dldir~
11840    $install_prog $dir/$dlname \$dldir/$dlname~
11841    chmod a+x \$dldir/$dlname~
11842    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11843      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11844    fi'
11845  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11846    dlpath=$dir/\$dldll~
11847    $RM \$dlpath'
11848  ;;
11849
11850osf3* | osf4* | osf5*)
11851  version_type=osf
11852  need_lib_prefix=no
11853  need_version=no
11854  soname_spec='$libname$release$shared_ext$major'
11855  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11856  shlibpath_var=LD_LIBRARY_PATH
11857  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11858  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11859  ;;
11860
11861rdos*)
11862  dynamic_linker=no
11863  ;;
11864
11865solaris*)
11866  version_type=linux # correct to gnu/linux during the next big refactor
11867  need_lib_prefix=no
11868  need_version=no
11869  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11870  soname_spec='$libname$release$shared_ext$major'
11871  shlibpath_var=LD_LIBRARY_PATH
11872  shlibpath_overrides_runpath=yes
11873  hardcode_into_libs=yes
11874  # ldd complains unless libraries are executable
11875  postinstall_cmds='chmod +x $lib'
11876  ;;
11877
11878sunos4*)
11879  version_type=sunos
11880  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11881  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11882  shlibpath_var=LD_LIBRARY_PATH
11883  shlibpath_overrides_runpath=yes
11884  if test yes = "$with_gnu_ld"; then
11885    need_lib_prefix=no
11886  fi
11887  need_version=yes
11888  ;;
11889
11890sysv4 | sysv4.3*)
11891  version_type=linux # correct to gnu/linux during the next big refactor
11892  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11893  soname_spec='$libname$release$shared_ext$major'
11894  shlibpath_var=LD_LIBRARY_PATH
11895  case $host_vendor in
11896    sni)
11897      shlibpath_overrides_runpath=no
11898      need_lib_prefix=no
11899      runpath_var=LD_RUN_PATH
11900      ;;
11901    siemens)
11902      need_lib_prefix=no
11903      ;;
11904    motorola)
11905      need_lib_prefix=no
11906      need_version=no
11907      shlibpath_overrides_runpath=no
11908      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11909      ;;
11910  esac
11911  ;;
11912
11913sysv4*MP*)
11914  if test -d /usr/nec; then
11915    version_type=linux # correct to gnu/linux during the next big refactor
11916    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11917    soname_spec='$libname$shared_ext.$major'
11918    shlibpath_var=LD_LIBRARY_PATH
11919  fi
11920  ;;
11921
11922sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11923  version_type=sco
11924  need_lib_prefix=no
11925  need_version=no
11926  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11927  soname_spec='$libname$release$shared_ext$major'
11928  shlibpath_var=LD_LIBRARY_PATH
11929  shlibpath_overrides_runpath=yes
11930  hardcode_into_libs=yes
11931  if test yes = "$with_gnu_ld"; then
11932    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11933  else
11934    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11935    case $host_os in
11936      sco3.2v5*)
11937        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11938	;;
11939    esac
11940  fi
11941  sys_lib_dlsearch_path_spec='/usr/lib'
11942  ;;
11943
11944tpf*)
11945  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11946  version_type=linux # correct to gnu/linux during the next big refactor
11947  need_lib_prefix=no
11948  need_version=no
11949  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11950  shlibpath_var=LD_LIBRARY_PATH
11951  shlibpath_overrides_runpath=no
11952  hardcode_into_libs=yes
11953  ;;
11954
11955uts4*)
11956  version_type=linux # correct to gnu/linux during the next big refactor
11957  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11958  soname_spec='$libname$release$shared_ext$major'
11959  shlibpath_var=LD_LIBRARY_PATH
11960  ;;
11961
11962*)
11963  dynamic_linker=no
11964  ;;
11965esac
11966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11967$as_echo "$dynamic_linker" >&6; }
11968test no = "$dynamic_linker" && can_build_shared=no
11969
11970variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11971if test yes = "$GCC"; then
11972  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11973fi
11974
11975if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11976  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11977fi
11978
11979if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11980  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11981fi
11982
11983# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11984configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11985
11986# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11987func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11988
11989# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11990configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12089$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12090hardcode_action=
12091if test -n "$hardcode_libdir_flag_spec" ||
12092   test -n "$runpath_var" ||
12093   test yes = "$hardcode_automatic"; then
12094
12095  # We can hardcode non-existent directories.
12096  if test no != "$hardcode_direct" &&
12097     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12098     # have to relink, otherwise we might link with an installed library
12099     # when we should be linking with a yet-to-be-installed one
12100     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12101     test no != "$hardcode_minus_L"; then
12102    # Linking always hardcodes the temporary library directory.
12103    hardcode_action=relink
12104  else
12105    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12106    hardcode_action=immediate
12107  fi
12108else
12109  # We cannot hardcode anything, or else we can only hardcode existing
12110  # directories.
12111  hardcode_action=unsupported
12112fi
12113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12114$as_echo "$hardcode_action" >&6; }
12115
12116if test relink = "$hardcode_action" ||
12117   test yes = "$inherit_rpath"; then
12118  # Fast installation is not supported
12119  enable_fast_install=no
12120elif test yes = "$shlibpath_overrides_runpath" ||
12121     test no = "$enable_shared"; then
12122  # Fast installation is not necessary
12123  enable_fast_install=needless
12124fi
12125
12126
12127
12128
12129
12130
12131  if test yes != "$enable_dlopen"; then
12132  enable_dlopen=unknown
12133  enable_dlopen_self=unknown
12134  enable_dlopen_self_static=unknown
12135else
12136  lt_cv_dlopen=no
12137  lt_cv_dlopen_libs=
12138
12139  case $host_os in
12140  beos*)
12141    lt_cv_dlopen=load_add_on
12142    lt_cv_dlopen_libs=
12143    lt_cv_dlopen_self=yes
12144    ;;
12145
12146  mingw* | pw32* | cegcc*)
12147    lt_cv_dlopen=LoadLibrary
12148    lt_cv_dlopen_libs=
12149    ;;
12150
12151  cygwin*)
12152    lt_cv_dlopen=dlopen
12153    lt_cv_dlopen_libs=
12154    ;;
12155
12156  darwin*)
12157    # if libdl is installed we need to link against it
12158    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12159$as_echo_n "checking for dlopen in -ldl... " >&6; }
12160if ${ac_cv_lib_dl_dlopen+:} false; then :
12161  $as_echo_n "(cached) " >&6
12162else
12163  ac_check_lib_save_LIBS=$LIBS
12164LIBS="-ldl  $LIBS"
12165cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12166/* end confdefs.h.  */
12167
12168/* Override any GCC internal prototype to avoid an error.
12169   Use char because int might match the return type of a GCC
12170   builtin and then its argument prototype would still apply.  */
12171#ifdef __cplusplus
12172extern "C"
12173#endif
12174char dlopen ();
12175int
12176main ()
12177{
12178return dlopen ();
12179  ;
12180  return 0;
12181}
12182_ACEOF
12183if ac_fn_c_try_link "$LINENO"; then :
12184  ac_cv_lib_dl_dlopen=yes
12185else
12186  ac_cv_lib_dl_dlopen=no
12187fi
12188rm -f core conftest.err conftest.$ac_objext \
12189    conftest$ac_exeext conftest.$ac_ext
12190LIBS=$ac_check_lib_save_LIBS
12191fi
12192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12193$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12194if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12195  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12196else
12197
12198    lt_cv_dlopen=dyld
12199    lt_cv_dlopen_libs=
12200    lt_cv_dlopen_self=yes
12201
12202fi
12203
12204    ;;
12205
12206  tpf*)
12207    # Don't try to run any link tests for TPF.  We know it's impossible
12208    # because TPF is a cross-compiler, and we know how we open DSOs.
12209    lt_cv_dlopen=dlopen
12210    lt_cv_dlopen_libs=
12211    lt_cv_dlopen_self=no
12212    ;;
12213
12214  *)
12215    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12216if test "x$ac_cv_func_shl_load" = xyes; then :
12217  lt_cv_dlopen=shl_load
12218else
12219  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12220$as_echo_n "checking for shl_load in -ldld... " >&6; }
12221if ${ac_cv_lib_dld_shl_load+:} false; then :
12222  $as_echo_n "(cached) " >&6
12223else
12224  ac_check_lib_save_LIBS=$LIBS
12225LIBS="-ldld  $LIBS"
12226cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227/* end confdefs.h.  */
12228
12229/* Override any GCC internal prototype to avoid an error.
12230   Use char because int might match the return type of a GCC
12231   builtin and then its argument prototype would still apply.  */
12232#ifdef __cplusplus
12233extern "C"
12234#endif
12235char shl_load ();
12236int
12237main ()
12238{
12239return shl_load ();
12240  ;
12241  return 0;
12242}
12243_ACEOF
12244if ac_fn_c_try_link "$LINENO"; then :
12245  ac_cv_lib_dld_shl_load=yes
12246else
12247  ac_cv_lib_dld_shl_load=no
12248fi
12249rm -f core conftest.err conftest.$ac_objext \
12250    conftest$ac_exeext conftest.$ac_ext
12251LIBS=$ac_check_lib_save_LIBS
12252fi
12253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12254$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12255if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12256  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12257else
12258  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12259if test "x$ac_cv_func_dlopen" = xyes; then :
12260  lt_cv_dlopen=dlopen
12261else
12262  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12263$as_echo_n "checking for dlopen in -ldl... " >&6; }
12264if ${ac_cv_lib_dl_dlopen+:} false; then :
12265  $as_echo_n "(cached) " >&6
12266else
12267  ac_check_lib_save_LIBS=$LIBS
12268LIBS="-ldl  $LIBS"
12269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12270/* end confdefs.h.  */
12271
12272/* Override any GCC internal prototype to avoid an error.
12273   Use char because int might match the return type of a GCC
12274   builtin and then its argument prototype would still apply.  */
12275#ifdef __cplusplus
12276extern "C"
12277#endif
12278char dlopen ();
12279int
12280main ()
12281{
12282return dlopen ();
12283  ;
12284  return 0;
12285}
12286_ACEOF
12287if ac_fn_c_try_link "$LINENO"; then :
12288  ac_cv_lib_dl_dlopen=yes
12289else
12290  ac_cv_lib_dl_dlopen=no
12291fi
12292rm -f core conftest.err conftest.$ac_objext \
12293    conftest$ac_exeext conftest.$ac_ext
12294LIBS=$ac_check_lib_save_LIBS
12295fi
12296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12297$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12298if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12299  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12300else
12301  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12302$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12303if ${ac_cv_lib_svld_dlopen+:} false; then :
12304  $as_echo_n "(cached) " >&6
12305else
12306  ac_check_lib_save_LIBS=$LIBS
12307LIBS="-lsvld  $LIBS"
12308cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12309/* end confdefs.h.  */
12310
12311/* Override any GCC internal prototype to avoid an error.
12312   Use char because int might match the return type of a GCC
12313   builtin and then its argument prototype would still apply.  */
12314#ifdef __cplusplus
12315extern "C"
12316#endif
12317char dlopen ();
12318int
12319main ()
12320{
12321return dlopen ();
12322  ;
12323  return 0;
12324}
12325_ACEOF
12326if ac_fn_c_try_link "$LINENO"; then :
12327  ac_cv_lib_svld_dlopen=yes
12328else
12329  ac_cv_lib_svld_dlopen=no
12330fi
12331rm -f core conftest.err conftest.$ac_objext \
12332    conftest$ac_exeext conftest.$ac_ext
12333LIBS=$ac_check_lib_save_LIBS
12334fi
12335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12336$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12337if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12338  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12339else
12340  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12341$as_echo_n "checking for dld_link in -ldld... " >&6; }
12342if ${ac_cv_lib_dld_dld_link+:} false; then :
12343  $as_echo_n "(cached) " >&6
12344else
12345  ac_check_lib_save_LIBS=$LIBS
12346LIBS="-ldld  $LIBS"
12347cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12348/* end confdefs.h.  */
12349
12350/* Override any GCC internal prototype to avoid an error.
12351   Use char because int might match the return type of a GCC
12352   builtin and then its argument prototype would still apply.  */
12353#ifdef __cplusplus
12354extern "C"
12355#endif
12356char dld_link ();
12357int
12358main ()
12359{
12360return dld_link ();
12361  ;
12362  return 0;
12363}
12364_ACEOF
12365if ac_fn_c_try_link "$LINENO"; then :
12366  ac_cv_lib_dld_dld_link=yes
12367else
12368  ac_cv_lib_dld_dld_link=no
12369fi
12370rm -f core conftest.err conftest.$ac_objext \
12371    conftest$ac_exeext conftest.$ac_ext
12372LIBS=$ac_check_lib_save_LIBS
12373fi
12374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12375$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12376if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12377  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12378fi
12379
12380
12381fi
12382
12383
12384fi
12385
12386
12387fi
12388
12389
12390fi
12391
12392
12393fi
12394
12395    ;;
12396  esac
12397
12398  if test no = "$lt_cv_dlopen"; then
12399    enable_dlopen=no
12400  else
12401    enable_dlopen=yes
12402  fi
12403
12404  case $lt_cv_dlopen in
12405  dlopen)
12406    save_CPPFLAGS=$CPPFLAGS
12407    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12408
12409    save_LDFLAGS=$LDFLAGS
12410    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12411
12412    save_LIBS=$LIBS
12413    LIBS="$lt_cv_dlopen_libs $LIBS"
12414
12415    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12416$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12417if ${lt_cv_dlopen_self+:} false; then :
12418  $as_echo_n "(cached) " >&6
12419else
12420  	  if test yes = "$cross_compiling"; then :
12421  lt_cv_dlopen_self=cross
12422else
12423  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12424  lt_status=$lt_dlunknown
12425  cat > conftest.$ac_ext <<_LT_EOF
12426#line $LINENO "configure"
12427#include "confdefs.h"
12428
12429#if HAVE_DLFCN_H
12430#include <dlfcn.h>
12431#endif
12432
12433#include <stdio.h>
12434
12435#ifdef RTLD_GLOBAL
12436#  define LT_DLGLOBAL		RTLD_GLOBAL
12437#else
12438#  ifdef DL_GLOBAL
12439#    define LT_DLGLOBAL		DL_GLOBAL
12440#  else
12441#    define LT_DLGLOBAL		0
12442#  endif
12443#endif
12444
12445/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12446   find out it does not work in some platform. */
12447#ifndef LT_DLLAZY_OR_NOW
12448#  ifdef RTLD_LAZY
12449#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12450#  else
12451#    ifdef DL_LAZY
12452#      define LT_DLLAZY_OR_NOW		DL_LAZY
12453#    else
12454#      ifdef RTLD_NOW
12455#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12456#      else
12457#        ifdef DL_NOW
12458#          define LT_DLLAZY_OR_NOW	DL_NOW
12459#        else
12460#          define LT_DLLAZY_OR_NOW	0
12461#        endif
12462#      endif
12463#    endif
12464#  endif
12465#endif
12466
12467/* When -fvisibility=hidden is used, assume the code has been annotated
12468   correspondingly for the symbols needed.  */
12469#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12470int fnord () __attribute__((visibility("default")));
12471#endif
12472
12473int fnord () { return 42; }
12474int main ()
12475{
12476  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12477  int status = $lt_dlunknown;
12478
12479  if (self)
12480    {
12481      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12482      else
12483        {
12484	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12485          else puts (dlerror ());
12486	}
12487      /* dlclose (self); */
12488    }
12489  else
12490    puts (dlerror ());
12491
12492  return status;
12493}
12494_LT_EOF
12495  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12496  (eval $ac_link) 2>&5
12497  ac_status=$?
12498  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12499  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12500    (./conftest; exit; ) >&5 2>/dev/null
12501    lt_status=$?
12502    case x$lt_status in
12503      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12504      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12505      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12506    esac
12507  else :
12508    # compilation failed
12509    lt_cv_dlopen_self=no
12510  fi
12511fi
12512rm -fr conftest*
12513
12514
12515fi
12516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12517$as_echo "$lt_cv_dlopen_self" >&6; }
12518
12519    if test yes = "$lt_cv_dlopen_self"; then
12520      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12521      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12522$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12523if ${lt_cv_dlopen_self_static+:} false; then :
12524  $as_echo_n "(cached) " >&6
12525else
12526  	  if test yes = "$cross_compiling"; then :
12527  lt_cv_dlopen_self_static=cross
12528else
12529  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12530  lt_status=$lt_dlunknown
12531  cat > conftest.$ac_ext <<_LT_EOF
12532#line $LINENO "configure"
12533#include "confdefs.h"
12534
12535#if HAVE_DLFCN_H
12536#include <dlfcn.h>
12537#endif
12538
12539#include <stdio.h>
12540
12541#ifdef RTLD_GLOBAL
12542#  define LT_DLGLOBAL		RTLD_GLOBAL
12543#else
12544#  ifdef DL_GLOBAL
12545#    define LT_DLGLOBAL		DL_GLOBAL
12546#  else
12547#    define LT_DLGLOBAL		0
12548#  endif
12549#endif
12550
12551/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12552   find out it does not work in some platform. */
12553#ifndef LT_DLLAZY_OR_NOW
12554#  ifdef RTLD_LAZY
12555#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12556#  else
12557#    ifdef DL_LAZY
12558#      define LT_DLLAZY_OR_NOW		DL_LAZY
12559#    else
12560#      ifdef RTLD_NOW
12561#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12562#      else
12563#        ifdef DL_NOW
12564#          define LT_DLLAZY_OR_NOW	DL_NOW
12565#        else
12566#          define LT_DLLAZY_OR_NOW	0
12567#        endif
12568#      endif
12569#    endif
12570#  endif
12571#endif
12572
12573/* When -fvisibility=hidden is used, assume the code has been annotated
12574   correspondingly for the symbols needed.  */
12575#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12576int fnord () __attribute__((visibility("default")));
12577#endif
12578
12579int fnord () { return 42; }
12580int main ()
12581{
12582  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12583  int status = $lt_dlunknown;
12584
12585  if (self)
12586    {
12587      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12588      else
12589        {
12590	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12591          else puts (dlerror ());
12592	}
12593      /* dlclose (self); */
12594    }
12595  else
12596    puts (dlerror ());
12597
12598  return status;
12599}
12600_LT_EOF
12601  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12602  (eval $ac_link) 2>&5
12603  ac_status=$?
12604  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12605  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12606    (./conftest; exit; ) >&5 2>/dev/null
12607    lt_status=$?
12608    case x$lt_status in
12609      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12610      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12611      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12612    esac
12613  else :
12614    # compilation failed
12615    lt_cv_dlopen_self_static=no
12616  fi
12617fi
12618rm -fr conftest*
12619
12620
12621fi
12622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12623$as_echo "$lt_cv_dlopen_self_static" >&6; }
12624    fi
12625
12626    CPPFLAGS=$save_CPPFLAGS
12627    LDFLAGS=$save_LDFLAGS
12628    LIBS=$save_LIBS
12629    ;;
12630  esac
12631
12632  case $lt_cv_dlopen_self in
12633  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12634  *) enable_dlopen_self=unknown ;;
12635  esac
12636
12637  case $lt_cv_dlopen_self_static in
12638  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12639  *) enable_dlopen_self_static=unknown ;;
12640  esac
12641fi
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659striplib=
12660old_striplib=
12661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12662$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12663if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12664  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12665  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12667$as_echo "yes" >&6; }
12668else
12669# FIXME - insert some real tests, host_os isn't really good enough
12670  case $host_os in
12671  darwin*)
12672    if test -n "$STRIP"; then
12673      striplib="$STRIP -x"
12674      old_striplib="$STRIP -S"
12675      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12676$as_echo "yes" >&6; }
12677    else
12678      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12679$as_echo "no" >&6; }
12680    fi
12681    ;;
12682  *)
12683    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12684$as_echo "no" >&6; }
12685    ;;
12686  esac
12687fi
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700  # Report what library types will actually be built
12701  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12702$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12704$as_echo "$can_build_shared" >&6; }
12705
12706  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12707$as_echo_n "checking whether to build shared libraries... " >&6; }
12708  test no = "$can_build_shared" && enable_shared=no
12709
12710  # On AIX, shared libraries and static libraries use the same namespace, and
12711  # are all built from PIC.
12712  case $host_os in
12713  aix3*)
12714    test yes = "$enable_shared" && enable_static=no
12715    if test -n "$RANLIB"; then
12716      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12717      postinstall_cmds='$RANLIB $lib'
12718    fi
12719    ;;
12720
12721  aix[4-9]*)
12722    if test ia64 != "$host_cpu"; then
12723      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12724      yes,aix,yes) ;;			# shared object as lib.so file only
12725      yes,svr4,*) ;;			# shared object as lib.so archive member only
12726      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12727      esac
12728    fi
12729    ;;
12730  esac
12731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12732$as_echo "$enable_shared" >&6; }
12733
12734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12735$as_echo_n "checking whether to build static libraries... " >&6; }
12736  # Make sure either enable_shared or enable_static is yes.
12737  test yes = "$enable_shared" || enable_static=yes
12738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12739$as_echo "$enable_static" >&6; }
12740
12741
12742
12743
12744fi
12745ac_ext=c
12746ac_cpp='$CPP $CPPFLAGS'
12747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12749ac_compiler_gnu=$ac_cv_c_compiler_gnu
12750
12751CC=$lt_save_CC
12752
12753      if test -n "$CXX" && ( test no != "$CXX" &&
12754    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
12755    (test g++ != "$CXX"))); then
12756  ac_ext=cpp
12757ac_cpp='$CXXCPP $CPPFLAGS'
12758ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12759ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12760ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12762$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12763if test -z "$CXXCPP"; then
12764  if ${ac_cv_prog_CXXCPP+:} false; then :
12765  $as_echo_n "(cached) " >&6
12766else
12767      # Double quotes because CXXCPP needs to be expanded
12768    for CXXCPP in "$CXX -E" "/lib/cpp"
12769    do
12770      ac_preproc_ok=false
12771for ac_cxx_preproc_warn_flag in '' yes
12772do
12773  # Use a header file that comes with gcc, so configuring glibc
12774  # with a fresh cross-compiler works.
12775  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12776  # <limits.h> exists even on freestanding compilers.
12777  # On the NeXT, cc -E runs the code through the compiler's parser,
12778  # not just through cpp. "Syntax error" is here to catch this case.
12779  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12780/* end confdefs.h.  */
12781#ifdef __STDC__
12782# include <limits.h>
12783#else
12784# include <assert.h>
12785#endif
12786		     Syntax error
12787_ACEOF
12788if ac_fn_cxx_try_cpp "$LINENO"; then :
12789
12790else
12791  # Broken: fails on valid input.
12792continue
12793fi
12794rm -f conftest.err conftest.i conftest.$ac_ext
12795
12796  # OK, works on sane cases.  Now check whether nonexistent headers
12797  # can be detected and how.
12798  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12799/* end confdefs.h.  */
12800#include <ac_nonexistent.h>
12801_ACEOF
12802if ac_fn_cxx_try_cpp "$LINENO"; then :
12803  # Broken: success on invalid input.
12804continue
12805else
12806  # Passes both tests.
12807ac_preproc_ok=:
12808break
12809fi
12810rm -f conftest.err conftest.i conftest.$ac_ext
12811
12812done
12813# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12814rm -f conftest.i conftest.err conftest.$ac_ext
12815if $ac_preproc_ok; then :
12816  break
12817fi
12818
12819    done
12820    ac_cv_prog_CXXCPP=$CXXCPP
12821
12822fi
12823  CXXCPP=$ac_cv_prog_CXXCPP
12824else
12825  ac_cv_prog_CXXCPP=$CXXCPP
12826fi
12827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12828$as_echo "$CXXCPP" >&6; }
12829ac_preproc_ok=false
12830for ac_cxx_preproc_warn_flag in '' yes
12831do
12832  # Use a header file that comes with gcc, so configuring glibc
12833  # with a fresh cross-compiler works.
12834  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12835  # <limits.h> exists even on freestanding compilers.
12836  # On the NeXT, cc -E runs the code through the compiler's parser,
12837  # not just through cpp. "Syntax error" is here to catch this case.
12838  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12839/* end confdefs.h.  */
12840#ifdef __STDC__
12841# include <limits.h>
12842#else
12843# include <assert.h>
12844#endif
12845		     Syntax error
12846_ACEOF
12847if ac_fn_cxx_try_cpp "$LINENO"; then :
12848
12849else
12850  # Broken: fails on valid input.
12851continue
12852fi
12853rm -f conftest.err conftest.i conftest.$ac_ext
12854
12855  # OK, works on sane cases.  Now check whether nonexistent headers
12856  # can be detected and how.
12857  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12858/* end confdefs.h.  */
12859#include <ac_nonexistent.h>
12860_ACEOF
12861if ac_fn_cxx_try_cpp "$LINENO"; then :
12862  # Broken: success on invalid input.
12863continue
12864else
12865  # Passes both tests.
12866ac_preproc_ok=:
12867break
12868fi
12869rm -f conftest.err conftest.i conftest.$ac_ext
12870
12871done
12872# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12873rm -f conftest.i conftest.err conftest.$ac_ext
12874if $ac_preproc_ok; then :
12875
12876else
12877  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12878$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12879as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12880See \`config.log' for more details" "$LINENO" 5; }
12881fi
12882
12883ac_ext=c
12884ac_cpp='$CPP $CPPFLAGS'
12885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12887ac_compiler_gnu=$ac_cv_c_compiler_gnu
12888
12889else
12890  _lt_caught_CXX_error=yes
12891fi
12892
12893ac_ext=cpp
12894ac_cpp='$CXXCPP $CPPFLAGS'
12895ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12896ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12897ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12898
12899archive_cmds_need_lc_CXX=no
12900allow_undefined_flag_CXX=
12901always_export_symbols_CXX=no
12902archive_expsym_cmds_CXX=
12903compiler_needs_object_CXX=no
12904export_dynamic_flag_spec_CXX=
12905hardcode_direct_CXX=no
12906hardcode_direct_absolute_CXX=no
12907hardcode_libdir_flag_spec_CXX=
12908hardcode_libdir_separator_CXX=
12909hardcode_minus_L_CXX=no
12910hardcode_shlibpath_var_CXX=unsupported
12911hardcode_automatic_CXX=no
12912inherit_rpath_CXX=no
12913module_cmds_CXX=
12914module_expsym_cmds_CXX=
12915link_all_deplibs_CXX=unknown
12916old_archive_cmds_CXX=$old_archive_cmds
12917reload_flag_CXX=$reload_flag
12918reload_cmds_CXX=$reload_cmds
12919no_undefined_flag_CXX=
12920whole_archive_flag_spec_CXX=
12921enable_shared_with_static_runtimes_CXX=no
12922
12923# Source file extension for C++ test sources.
12924ac_ext=cpp
12925
12926# Object file extension for compiled C++ test sources.
12927objext=o
12928objext_CXX=$objext
12929
12930# No sense in running all these tests if we already determined that
12931# the CXX compiler isn't working.  Some variables (like enable_shared)
12932# are currently assumed to apply to all compilers on this platform,
12933# and will be corrupted by setting them based on a non-working compiler.
12934if test yes != "$_lt_caught_CXX_error"; then
12935  # Code to be used in simple compile tests
12936  lt_simple_compile_test_code="int some_variable = 0;"
12937
12938  # Code to be used in simple link tests
12939  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12940
12941  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12942
12943
12944
12945
12946
12947
12948# If no C compiler was specified, use CC.
12949LTCC=${LTCC-"$CC"}
12950
12951# If no C compiler flags were specified, use CFLAGS.
12952LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12953
12954# Allow CC to be a program name with arguments.
12955compiler=$CC
12956
12957
12958  # save warnings/boilerplate of simple test code
12959  ac_outfile=conftest.$ac_objext
12960echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12961eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12962_lt_compiler_boilerplate=`cat conftest.err`
12963$RM conftest*
12964
12965  ac_outfile=conftest.$ac_objext
12966echo "$lt_simple_link_test_code" >conftest.$ac_ext
12967eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12968_lt_linker_boilerplate=`cat conftest.err`
12969$RM -r conftest*
12970
12971
12972  # Allow CC to be a program name with arguments.
12973  lt_save_CC=$CC
12974  lt_save_CFLAGS=$CFLAGS
12975  lt_save_LD=$LD
12976  lt_save_GCC=$GCC
12977  GCC=$GXX
12978  lt_save_with_gnu_ld=$with_gnu_ld
12979  lt_save_path_LD=$lt_cv_path_LD
12980  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12981    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12982  else
12983    $as_unset lt_cv_prog_gnu_ld
12984  fi
12985  if test -n "${lt_cv_path_LDCXX+set}"; then
12986    lt_cv_path_LD=$lt_cv_path_LDCXX
12987  else
12988    $as_unset lt_cv_path_LD
12989  fi
12990  test -z "${LDCXX+set}" || LD=$LDCXX
12991  CC=${CXX-"c++"}
12992  CFLAGS=$CXXFLAGS
12993  compiler=$CC
12994  compiler_CXX=$CC
12995  func_cc_basename $compiler
12996cc_basename=$func_cc_basename_result
12997
12998
12999  if test -n "$compiler"; then
13000    # We don't want -fno-exception when compiling C++ code, so set the
13001    # no_builtin_flag separately
13002    if test yes = "$GXX"; then
13003      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13004    else
13005      lt_prog_compiler_no_builtin_flag_CXX=
13006    fi
13007
13008    if test yes = "$GXX"; then
13009      # Set up default GNU C++ configuration
13010
13011
13012
13013# Check whether --with-gnu-ld was given.
13014if test "${with_gnu_ld+set}" = set; then :
13015  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13016else
13017  with_gnu_ld=no
13018fi
13019
13020ac_prog=ld
13021if test yes = "$GCC"; then
13022  # Check if gcc -print-prog-name=ld gives a path.
13023  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13024$as_echo_n "checking for ld used by $CC... " >&6; }
13025  case $host in
13026  *-*-mingw*)
13027    # gcc leaves a trailing carriage return, which upsets mingw
13028    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13029  *)
13030    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13031  esac
13032  case $ac_prog in
13033    # Accept absolute paths.
13034    [\\/]* | ?:[\\/]*)
13035      re_direlt='/[^/][^/]*/\.\./'
13036      # Canonicalize the pathname of ld
13037      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13038      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13039	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13040      done
13041      test -z "$LD" && LD=$ac_prog
13042      ;;
13043  "")
13044    # If it fails, then pretend we aren't using GCC.
13045    ac_prog=ld
13046    ;;
13047  *)
13048    # If it is relative, then search for the first ld in PATH.
13049    with_gnu_ld=unknown
13050    ;;
13051  esac
13052elif test yes = "$with_gnu_ld"; then
13053  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13054$as_echo_n "checking for GNU ld... " >&6; }
13055else
13056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13057$as_echo_n "checking for non-GNU ld... " >&6; }
13058fi
13059if ${lt_cv_path_LD+:} false; then :
13060  $as_echo_n "(cached) " >&6
13061else
13062  if test -z "$LD"; then
13063  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13064  for ac_dir in $PATH; do
13065    IFS=$lt_save_ifs
13066    test -z "$ac_dir" && ac_dir=.
13067    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13068      lt_cv_path_LD=$ac_dir/$ac_prog
13069      # Check to see if the program is GNU ld.  I'd rather use --version,
13070      # but apparently some variants of GNU ld only accept -v.
13071      # Break only if it was the GNU/non-GNU ld that we prefer.
13072      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13073      *GNU* | *'with BFD'*)
13074	test no != "$with_gnu_ld" && break
13075	;;
13076      *)
13077	test yes != "$with_gnu_ld" && break
13078	;;
13079      esac
13080    fi
13081  done
13082  IFS=$lt_save_ifs
13083else
13084  lt_cv_path_LD=$LD # Let the user override the test with a path.
13085fi
13086fi
13087
13088LD=$lt_cv_path_LD
13089if test -n "$LD"; then
13090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13091$as_echo "$LD" >&6; }
13092else
13093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13094$as_echo "no" >&6; }
13095fi
13096test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13098$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13099if ${lt_cv_prog_gnu_ld+:} false; then :
13100  $as_echo_n "(cached) " >&6
13101else
13102  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13103case `$LD -v 2>&1 </dev/null` in
13104*GNU* | *'with BFD'*)
13105  lt_cv_prog_gnu_ld=yes
13106  ;;
13107*)
13108  lt_cv_prog_gnu_ld=no
13109  ;;
13110esac
13111fi
13112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13113$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13114with_gnu_ld=$lt_cv_prog_gnu_ld
13115
13116
13117
13118
13119
13120
13121
13122      # Check if GNU C++ uses GNU ld as the underlying linker, since the
13123      # archiving commands below assume that GNU ld is being used.
13124      if test yes = "$with_gnu_ld"; then
13125        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13126        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'
13127
13128        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13129        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13130
13131        # If archive_cmds runs LD, not CC, wlarc should be empty
13132        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13133        #     investigate it a little bit more. (MM)
13134        wlarc='$wl'
13135
13136        # ancient GNU ld didn't support --whole-archive et. al.
13137        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13138	  $GREP 'no-whole-archive' > /dev/null; then
13139          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13140        else
13141          whole_archive_flag_spec_CXX=
13142        fi
13143      else
13144        with_gnu_ld=no
13145        wlarc=
13146
13147        # A generic and very simple default shared library creation
13148        # command for GNU C++ for the case where it uses the native
13149        # linker, instead of GNU ld.  If possible, this setting should
13150        # overridden to take advantage of the native linker features on
13151        # the platform it is being used on.
13152        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13153      fi
13154
13155      # Commands to make compiler produce verbose output that lists
13156      # what "hidden" libraries, object files and flags are used when
13157      # linking a shared library.
13158      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13159
13160    else
13161      GXX=no
13162      with_gnu_ld=no
13163      wlarc=
13164    fi
13165
13166    # PORTME: fill in a description of your system's C++ link characteristics
13167    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13168$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13169    ld_shlibs_CXX=yes
13170    case $host_os in
13171      aix3*)
13172        # FIXME: insert proper C++ library support
13173        ld_shlibs_CXX=no
13174        ;;
13175      aix[4-9]*)
13176        if test ia64 = "$host_cpu"; then
13177          # On IA64, the linker does run time linking by default, so we don't
13178          # have to do anything special.
13179          aix_use_runtimelinking=no
13180          exp_sym_flag='-Bexport'
13181          no_entry_flag=
13182        else
13183          aix_use_runtimelinking=no
13184
13185          # Test if we are trying to use run time linking or normal
13186          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13187          # have runtime linking enabled, and use it for executables.
13188          # For shared libraries, we enable/disable runtime linking
13189          # depending on the kind of the shared library created -
13190          # when "with_aix_soname,aix_use_runtimelinking" is:
13191          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
13192          # "aix,yes"  lib.so          shared, rtl:yes, for executables
13193          #            lib.a           static archive
13194          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
13195          #            lib.a(lib.so.V) shared, rtl:no,  for executables
13196          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13197          #            lib.a(lib.so.V) shared, rtl:no
13198          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
13199          #            lib.a           static archive
13200          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13201	    for ld_flag in $LDFLAGS; do
13202	      case $ld_flag in
13203	      *-brtl*)
13204	        aix_use_runtimelinking=yes
13205	        break
13206	        ;;
13207	      esac
13208	    done
13209	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13210	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
13211	      # so we don't have lib.a shared libs to link our executables.
13212	      # We have to force runtime linking in this case.
13213	      aix_use_runtimelinking=yes
13214	      LDFLAGS="$LDFLAGS -Wl,-brtl"
13215	    fi
13216	    ;;
13217          esac
13218
13219          exp_sym_flag='-bexport'
13220          no_entry_flag='-bnoentry'
13221        fi
13222
13223        # When large executables or shared objects are built, AIX ld can
13224        # have problems creating the table of contents.  If linking a library
13225        # or program results in "error TOC overflow" add -mminimal-toc to
13226        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13227        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13228
13229        archive_cmds_CXX=''
13230        hardcode_direct_CXX=yes
13231        hardcode_direct_absolute_CXX=yes
13232        hardcode_libdir_separator_CXX=':'
13233        link_all_deplibs_CXX=yes
13234        file_list_spec_CXX='$wl-f,'
13235        case $with_aix_soname,$aix_use_runtimelinking in
13236        aix,*) ;;	# no import file
13237        svr4,* | *,yes) # use import file
13238          # The Import File defines what to hardcode.
13239          hardcode_direct_CXX=no
13240          hardcode_direct_absolute_CXX=no
13241          ;;
13242        esac
13243
13244        if test yes = "$GXX"; then
13245          case $host_os in aix4.[012]|aix4.[012].*)
13246          # We only want to do this on AIX 4.2 and lower, the check
13247          # below for broken collect2 doesn't work under 4.3+
13248	  collect2name=`$CC -print-prog-name=collect2`
13249	  if test -f "$collect2name" &&
13250	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13251	  then
13252	    # We have reworked collect2
13253	    :
13254	  else
13255	    # We have old collect2
13256	    hardcode_direct_CXX=unsupported
13257	    # It fails to find uninstalled libraries when the uninstalled
13258	    # path is not listed in the libpath.  Setting hardcode_minus_L
13259	    # to unsupported forces relinking
13260	    hardcode_minus_L_CXX=yes
13261	    hardcode_libdir_flag_spec_CXX='-L$libdir'
13262	    hardcode_libdir_separator_CXX=
13263	  fi
13264          esac
13265          shared_flag='-shared'
13266	  if test yes = "$aix_use_runtimelinking"; then
13267	    shared_flag=$shared_flag' $wl-G'
13268	  fi
13269	  # Need to ensure runtime linking is disabled for the traditional
13270	  # shared library, or the linker may eventually find shared libraries
13271	  # /with/ Import File - we do not want to mix them.
13272	  shared_flag_aix='-shared'
13273	  shared_flag_svr4='-shared $wl-G'
13274        else
13275          # not using gcc
13276          if test ia64 = "$host_cpu"; then
13277	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13278	  # chokes on -Wl,-G. The following line is correct:
13279	  shared_flag='-G'
13280          else
13281	    if test yes = "$aix_use_runtimelinking"; then
13282	      shared_flag='$wl-G'
13283	    else
13284	      shared_flag='$wl-bM:SRE'
13285	    fi
13286	    shared_flag_aix='$wl-bM:SRE'
13287	    shared_flag_svr4='$wl-G'
13288          fi
13289        fi
13290
13291        export_dynamic_flag_spec_CXX='$wl-bexpall'
13292        # It seems that -bexpall does not export symbols beginning with
13293        # underscore (_), so it is better to generate a list of symbols to
13294	# export.
13295        always_export_symbols_CXX=yes
13296	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13297          # Warning - without using the other runtime loading flags (-brtl),
13298          # -berok will link without error, but may produce a broken library.
13299          # The "-G" linker flag allows undefined symbols.
13300          no_undefined_flag_CXX='-bernotok'
13301          # Determine the default libpath from the value encoded in an empty
13302          # executable.
13303          if test set = "${lt_cv_aix_libpath+set}"; then
13304  aix_libpath=$lt_cv_aix_libpath
13305else
13306  if ${lt_cv_aix_libpath__CXX+:} false; then :
13307  $as_echo_n "(cached) " >&6
13308else
13309  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13310/* end confdefs.h.  */
13311
13312int
13313main ()
13314{
13315
13316  ;
13317  return 0;
13318}
13319_ACEOF
13320if ac_fn_cxx_try_link "$LINENO"; then :
13321
13322  lt_aix_libpath_sed='
13323      /Import File Strings/,/^$/ {
13324	  /^0/ {
13325	      s/^0  *\([^ ]*\) *$/\1/
13326	      p
13327	  }
13328      }'
13329  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13330  # Check for a 64-bit object if we didn't find anything.
13331  if test -z "$lt_cv_aix_libpath__CXX"; then
13332    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13333  fi
13334fi
13335rm -f core conftest.err conftest.$ac_objext \
13336    conftest$ac_exeext conftest.$ac_ext
13337  if test -z "$lt_cv_aix_libpath__CXX"; then
13338    lt_cv_aix_libpath__CXX=/usr/lib:/lib
13339  fi
13340
13341fi
13342
13343  aix_libpath=$lt_cv_aix_libpath__CXX
13344fi
13345
13346          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13347
13348          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
13349        else
13350          if test ia64 = "$host_cpu"; then
13351	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13352	    allow_undefined_flag_CXX="-z nodefs"
13353	    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"
13354          else
13355	    # Determine the default libpath from the value encoded in an
13356	    # empty executable.
13357	    if test set = "${lt_cv_aix_libpath+set}"; then
13358  aix_libpath=$lt_cv_aix_libpath
13359else
13360  if ${lt_cv_aix_libpath__CXX+:} false; then :
13361  $as_echo_n "(cached) " >&6
13362else
13363  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13364/* end confdefs.h.  */
13365
13366int
13367main ()
13368{
13369
13370  ;
13371  return 0;
13372}
13373_ACEOF
13374if ac_fn_cxx_try_link "$LINENO"; then :
13375
13376  lt_aix_libpath_sed='
13377      /Import File Strings/,/^$/ {
13378	  /^0/ {
13379	      s/^0  *\([^ ]*\) *$/\1/
13380	      p
13381	  }
13382      }'
13383  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13384  # Check for a 64-bit object if we didn't find anything.
13385  if test -z "$lt_cv_aix_libpath__CXX"; then
13386    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13387  fi
13388fi
13389rm -f core conftest.err conftest.$ac_objext \
13390    conftest$ac_exeext conftest.$ac_ext
13391  if test -z "$lt_cv_aix_libpath__CXX"; then
13392    lt_cv_aix_libpath__CXX=/usr/lib:/lib
13393  fi
13394
13395fi
13396
13397  aix_libpath=$lt_cv_aix_libpath__CXX
13398fi
13399
13400	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13401	    # Warning - without using the other run time loading flags,
13402	    # -berok will link without error, but may produce a broken library.
13403	    no_undefined_flag_CXX=' $wl-bernotok'
13404	    allow_undefined_flag_CXX=' $wl-berok'
13405	    if test yes = "$with_gnu_ld"; then
13406	      # We only use this code for GNU lds that support --whole-archive.
13407	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13408	    else
13409	      # Exported symbols can be pulled into shared objects from archives
13410	      whole_archive_flag_spec_CXX='$convenience'
13411	    fi
13412	    archive_cmds_need_lc_CXX=yes
13413	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13414	    # -brtl affects multiple linker settings, -berok does not and is overridden later
13415	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13416	    if test svr4 != "$with_aix_soname"; then
13417	      # This is similar to how AIX traditionally builds its shared
13418	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13419	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
13420	    fi
13421	    if test aix != "$with_aix_soname"; then
13422	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
13423	    else
13424	      # used by -dlpreopen to get the symbols
13425	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
13426	    fi
13427	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13428          fi
13429        fi
13430        ;;
13431
13432      beos*)
13433	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13434	  allow_undefined_flag_CXX=unsupported
13435	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13436	  # support --undefined.  This deserves some investigation.  FIXME
13437	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13438	else
13439	  ld_shlibs_CXX=no
13440	fi
13441	;;
13442
13443      chorus*)
13444        case $cc_basename in
13445          *)
13446	  # FIXME: insert proper C++ library support
13447	  ld_shlibs_CXX=no
13448	  ;;
13449        esac
13450        ;;
13451
13452      cygwin* | mingw* | pw32* | cegcc*)
13453	case $GXX,$cc_basename in
13454	,cl* | no,cl*)
13455	  # Native MSVC
13456	  # hardcode_libdir_flag_spec is actually meaningless, as there is
13457	  # no search path for DLLs.
13458	  hardcode_libdir_flag_spec_CXX=' '
13459	  allow_undefined_flag_CXX=unsupported
13460	  always_export_symbols_CXX=yes
13461	  file_list_spec_CXX='@'
13462	  # Tell ltmain to make .lib files, not .a files.
13463	  libext=lib
13464	  # Tell ltmain to make .dll files, not .so files.
13465	  shrext_cmds=.dll
13466	  # FIXME: Setting linknames here is a bad hack.
13467	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13468	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13469              cp "$export_symbols" "$output_objdir/$soname.def";
13470              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13471            else
13472              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13473            fi~
13474            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13475            linknames='
13476	  # The linker will not automatically build a static lib if we build a DLL.
13477	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13478	  enable_shared_with_static_runtimes_CXX=yes
13479	  # Don't use ranlib
13480	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
13481	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13482            lt_tool_outputfile="@TOOL_OUTPUT@"~
13483            case $lt_outputfile in
13484              *.exe|*.EXE) ;;
13485              *)
13486                lt_outputfile=$lt_outputfile.exe
13487                lt_tool_outputfile=$lt_tool_outputfile.exe
13488                ;;
13489            esac~
13490            func_to_tool_file "$lt_outputfile"~
13491            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13492              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13493              $RM "$lt_outputfile.manifest";
13494            fi'
13495	  ;;
13496	*)
13497	  # g++
13498	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13499	  # as there is no search path for DLLs.
13500	  hardcode_libdir_flag_spec_CXX='-L$libdir'
13501	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
13502	  allow_undefined_flag_CXX=unsupported
13503	  always_export_symbols_CXX=no
13504	  enable_shared_with_static_runtimes_CXX=yes
13505
13506	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13507	    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'
13508	    # If the export-symbols file already is a .def file, use it as
13509	    # is; otherwise, prepend EXPORTS...
13510	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13511              cp $export_symbols $output_objdir/$soname.def;
13512            else
13513              echo EXPORTS > $output_objdir/$soname.def;
13514              cat $export_symbols >> $output_objdir/$soname.def;
13515            fi~
13516            $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'
13517	  else
13518	    ld_shlibs_CXX=no
13519	  fi
13520	  ;;
13521	esac
13522	;;
13523      darwin* | rhapsody*)
13524
13525
13526  archive_cmds_need_lc_CXX=no
13527  hardcode_direct_CXX=no
13528  hardcode_automatic_CXX=yes
13529  hardcode_shlibpath_var_CXX=unsupported
13530  if test yes = "$lt_cv_ld_force_load"; then
13531    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\"`'
13532
13533  else
13534    whole_archive_flag_spec_CXX=''
13535  fi
13536  link_all_deplibs_CXX=yes
13537  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
13538  case $cc_basename in
13539     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13540     *) _lt_dar_can_shared=$GCC ;;
13541  esac
13542  if test yes = "$_lt_dar_can_shared"; then
13543    output_verbose_link_cmd=func_echo_all
13544    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"
13545    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13546    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"
13547    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"
13548       if test yes != "$lt_cv_apple_cc_single_mod"; then
13549      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"
13550      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"
13551    fi
13552
13553  else
13554  ld_shlibs_CXX=no
13555  fi
13556
13557	;;
13558
13559      os2*)
13560	hardcode_libdir_flag_spec_CXX='-L$libdir'
13561	hardcode_minus_L_CXX=yes
13562	allow_undefined_flag_CXX=unsupported
13563	shrext_cmds=.dll
13564	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13565	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13566	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13567	  $ECHO EXPORTS >> $output_objdir/$libname.def~
13568	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13569	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13570	  emximp -o $lib $output_objdir/$libname.def'
13571	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13572	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13573	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13574	  $ECHO EXPORTS >> $output_objdir/$libname.def~
13575	  prefix_cmds="$SED"~
13576	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
13577	    prefix_cmds="$prefix_cmds -e 1d";
13578	  fi~
13579	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13580	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13581	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13582	  emximp -o $lib $output_objdir/$libname.def'
13583	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13584	enable_shared_with_static_runtimes_CXX=yes
13585	;;
13586
13587      dgux*)
13588        case $cc_basename in
13589          ec++*)
13590	    # FIXME: insert proper C++ library support
13591	    ld_shlibs_CXX=no
13592	    ;;
13593          ghcx*)
13594	    # Green Hills C++ Compiler
13595	    # FIXME: insert proper C++ library support
13596	    ld_shlibs_CXX=no
13597	    ;;
13598          *)
13599	    # FIXME: insert proper C++ library support
13600	    ld_shlibs_CXX=no
13601	    ;;
13602        esac
13603        ;;
13604
13605      freebsd2.*)
13606        # C++ shared libraries reported to be fairly broken before
13607	# switch to ELF
13608        ld_shlibs_CXX=no
13609        ;;
13610
13611      freebsd-elf*)
13612        archive_cmds_need_lc_CXX=no
13613        ;;
13614
13615      freebsd* | dragonfly*)
13616        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13617        # conventions
13618        ld_shlibs_CXX=yes
13619        ;;
13620
13621      haiku*)
13622        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13623        link_all_deplibs_CXX=yes
13624        ;;
13625
13626      hpux9*)
13627        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13628        hardcode_libdir_separator_CXX=:
13629        export_dynamic_flag_spec_CXX='$wl-E'
13630        hardcode_direct_CXX=yes
13631        hardcode_minus_L_CXX=yes # Not in the search PATH,
13632				             # but as the default
13633				             # location of the library.
13634
13635        case $cc_basename in
13636          CC*)
13637            # FIXME: insert proper C++ library support
13638            ld_shlibs_CXX=no
13639            ;;
13640          aCC*)
13641            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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
13642            # Commands to make compiler produce verbose output that lists
13643            # what "hidden" libraries, object files and flags are used when
13644            # linking a shared library.
13645            #
13646            # There doesn't appear to be a way to prevent this compiler from
13647            # explicitly linking system object files so we need to strip them
13648            # from the output so that they don't get included in the library
13649            # dependencies.
13650            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"'
13651            ;;
13652          *)
13653            if test yes = "$GXX"; then
13654              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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
13655            else
13656              # FIXME: insert proper C++ library support
13657              ld_shlibs_CXX=no
13658            fi
13659            ;;
13660        esac
13661        ;;
13662
13663      hpux10*|hpux11*)
13664        if test no = "$with_gnu_ld"; then
13665	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13666	  hardcode_libdir_separator_CXX=:
13667
13668          case $host_cpu in
13669            hppa*64*|ia64*)
13670              ;;
13671            *)
13672	      export_dynamic_flag_spec_CXX='$wl-E'
13673              ;;
13674          esac
13675        fi
13676        case $host_cpu in
13677          hppa*64*|ia64*)
13678            hardcode_direct_CXX=no
13679            hardcode_shlibpath_var_CXX=no
13680            ;;
13681          *)
13682            hardcode_direct_CXX=yes
13683            hardcode_direct_absolute_CXX=yes
13684            hardcode_minus_L_CXX=yes # Not in the search PATH,
13685					         # but as the default
13686					         # location of the library.
13687            ;;
13688        esac
13689
13690        case $cc_basename in
13691          CC*)
13692	    # FIXME: insert proper C++ library support
13693	    ld_shlibs_CXX=no
13694	    ;;
13695          aCC*)
13696	    case $host_cpu in
13697	      hppa*64*)
13698	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13699	        ;;
13700	      ia64*)
13701	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13702	        ;;
13703	      *)
13704	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13705	        ;;
13706	    esac
13707	    # Commands to make compiler produce verbose output that lists
13708	    # what "hidden" libraries, object files and flags are used when
13709	    # linking a shared library.
13710	    #
13711	    # There doesn't appear to be a way to prevent this compiler from
13712	    # explicitly linking system object files so we need to strip them
13713	    # from the output so that they don't get included in the library
13714	    # dependencies.
13715	    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"'
13716	    ;;
13717          *)
13718	    if test yes = "$GXX"; then
13719	      if test no = "$with_gnu_ld"; then
13720	        case $host_cpu in
13721	          hppa*64*)
13722	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13723	            ;;
13724	          ia64*)
13725	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13726	            ;;
13727	          *)
13728	            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'
13729	            ;;
13730	        esac
13731	      fi
13732	    else
13733	      # FIXME: insert proper C++ library support
13734	      ld_shlibs_CXX=no
13735	    fi
13736	    ;;
13737        esac
13738        ;;
13739
13740      interix[3-9]*)
13741	hardcode_direct_CXX=no
13742	hardcode_shlibpath_var_CXX=no
13743	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13744	export_dynamic_flag_spec_CXX='$wl-E'
13745	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13746	# Instead, shared libraries are loaded at an image base (0x10000000 by
13747	# default) and relocated if they conflict, which is a slow very memory
13748	# consuming and fragmenting process.  To avoid this, we pick a random,
13749	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13750	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13751	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'
13752	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'
13753	;;
13754      irix5* | irix6*)
13755        case $cc_basename in
13756          CC*)
13757	    # SGI C++
13758	    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'
13759
13760	    # Archives containing C++ object files must be created using
13761	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13762	    # necessary to make sure instantiated templates are included
13763	    # in the archive.
13764	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13765	    ;;
13766          *)
13767	    if test yes = "$GXX"; then
13768	      if test no = "$with_gnu_ld"; then
13769	        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'
13770	      else
13771	        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'
13772	      fi
13773	    fi
13774	    link_all_deplibs_CXX=yes
13775	    ;;
13776        esac
13777        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13778        hardcode_libdir_separator_CXX=:
13779        inherit_rpath_CXX=yes
13780        ;;
13781
13782      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13783        case $cc_basename in
13784          KCC*)
13785	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13786
13787	    # KCC will only create a shared library if the output file
13788	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13789	    # to its proper name (with version) after linking.
13790	    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'
13791	    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'
13792	    # Commands to make compiler produce verbose output that lists
13793	    # what "hidden" libraries, object files and flags are used when
13794	    # linking a shared library.
13795	    #
13796	    # There doesn't appear to be a way to prevent this compiler from
13797	    # explicitly linking system object files so we need to strip them
13798	    # from the output so that they don't get included in the library
13799	    # dependencies.
13800	    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"'
13801
13802	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13803	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13804
13805	    # Archives containing C++ object files must be created using
13806	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13807	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13808	    ;;
13809	  icpc* | ecpc* )
13810	    # Intel C++
13811	    with_gnu_ld=yes
13812	    # version 8.0 and above of icpc choke on multiply defined symbols
13813	    # if we add $predep_objects and $postdep_objects, however 7.1 and
13814	    # earlier do not add the objects themselves.
13815	    case `$CC -V 2>&1` in
13816	      *"Version 7."*)
13817	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13818		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'
13819		;;
13820	      *)  # Version 8.0 or newer
13821	        tmp_idyn=
13822	        case $host_cpu in
13823		  ia64*) tmp_idyn=' -i_dynamic';;
13824		esac
13825	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13826		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'
13827		;;
13828	    esac
13829	    archive_cmds_need_lc_CXX=no
13830	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13831	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13832	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13833	    ;;
13834          pgCC* | pgcpp*)
13835            # Portland Group C++ compiler
13836	    case `$CC -V` in
13837	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13838	      prelink_cmds_CXX='tpldir=Template.dir~
13839               rm -rf $tpldir~
13840               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13841               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13842	      old_archive_cmds_CXX='tpldir=Template.dir~
13843                rm -rf $tpldir~
13844                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13845                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13846                $RANLIB $oldlib'
13847	      archive_cmds_CXX='tpldir=Template.dir~
13848                rm -rf $tpldir~
13849                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13850                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13851	      archive_expsym_cmds_CXX='tpldir=Template.dir~
13852                rm -rf $tpldir~
13853                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13854                $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'
13855	      ;;
13856	    *) # Version 6 and above use weak symbols
13857	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13858	      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'
13859	      ;;
13860	    esac
13861
13862	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
13863	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13864	    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'
13865            ;;
13866	  cxx*)
13867	    # Compaq C++
13868	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13869	    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'
13870
13871	    runpath_var=LD_RUN_PATH
13872	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13873	    hardcode_libdir_separator_CXX=:
13874
13875	    # Commands to make compiler produce verbose output that lists
13876	    # what "hidden" libraries, object files and flags are used when
13877	    # linking a shared library.
13878	    #
13879	    # There doesn't appear to be a way to prevent this compiler from
13880	    # explicitly linking system object files so we need to strip them
13881	    # from the output so that they don't get included in the library
13882	    # dependencies.
13883	    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'
13884	    ;;
13885	  xl* | mpixl* | bgxl*)
13886	    # IBM XL 8.0 on PPC, with GNU ld
13887	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13888	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13889	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13890	    if test yes = "$supports_anon_versioning"; then
13891	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13892                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13893                echo "local: *; };" >> $output_objdir/$libname.ver~
13894                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
13895	    fi
13896	    ;;
13897	  *)
13898	    case `$CC -V 2>&1 | sed 5q` in
13899	    *Sun\ C*)
13900	      # Sun C++ 5.9
13901	      no_undefined_flag_CXX=' -zdefs'
13902	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13903	      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'
13904	      hardcode_libdir_flag_spec_CXX='-R$libdir'
13905	      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'
13906	      compiler_needs_object_CXX=yes
13907
13908	      # Not sure whether something based on
13909	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13910	      # would be better.
13911	      output_verbose_link_cmd='func_echo_all'
13912
13913	      # Archives containing C++ object files must be created using
13914	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13915	      # necessary to make sure instantiated templates are included
13916	      # in the archive.
13917	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13918	      ;;
13919	    esac
13920	    ;;
13921	esac
13922	;;
13923
13924      lynxos*)
13925        # FIXME: insert proper C++ library support
13926	ld_shlibs_CXX=no
13927	;;
13928
13929      m88k*)
13930        # FIXME: insert proper C++ library support
13931        ld_shlibs_CXX=no
13932	;;
13933
13934      mvs*)
13935        case $cc_basename in
13936          cxx*)
13937	    # FIXME: insert proper C++ library support
13938	    ld_shlibs_CXX=no
13939	    ;;
13940	  *)
13941	    # FIXME: insert proper C++ library support
13942	    ld_shlibs_CXX=no
13943	    ;;
13944	esac
13945	;;
13946
13947      netbsd*)
13948        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13949	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13950	  wlarc=
13951	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13952	  hardcode_direct_CXX=yes
13953	  hardcode_shlibpath_var_CXX=no
13954	fi
13955	# Workaround some broken pre-1.5 toolchains
13956	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13957	;;
13958
13959      *nto* | *qnx*)
13960        ld_shlibs_CXX=yes
13961	;;
13962
13963      openbsd* | bitrig*)
13964	if test -f /usr/libexec/ld.so; then
13965	  hardcode_direct_CXX=yes
13966	  hardcode_shlibpath_var_CXX=no
13967	  hardcode_direct_absolute_CXX=yes
13968	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13969	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13970	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
13971	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
13972	    export_dynamic_flag_spec_CXX='$wl-E'
13973	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13974	  fi
13975	  output_verbose_link_cmd=func_echo_all
13976	else
13977	  ld_shlibs_CXX=no
13978	fi
13979	;;
13980
13981      osf3* | osf4* | osf5*)
13982        case $cc_basename in
13983          KCC*)
13984	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13985
13986	    # KCC will only create a shared library if the output file
13987	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13988	    # to its proper name (with version) after linking.
13989	    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'
13990
13991	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13992	    hardcode_libdir_separator_CXX=:
13993
13994	    # Archives containing C++ object files must be created using
13995	    # the KAI C++ compiler.
13996	    case $host in
13997	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13998	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13999	    esac
14000	    ;;
14001          RCC*)
14002	    # Rational C++ 2.4.1
14003	    # FIXME: insert proper C++ library support
14004	    ld_shlibs_CXX=no
14005	    ;;
14006          cxx*)
14007	    case $host in
14008	      osf3*)
14009	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14010	        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'
14011	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14012		;;
14013	      *)
14014	        allow_undefined_flag_CXX=' -expect_unresolved \*'
14015	        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'
14016	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14017                  echo "-hidden">> $lib.exp~
14018                  $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~
14019                  $RM $lib.exp'
14020	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14021		;;
14022	    esac
14023
14024	    hardcode_libdir_separator_CXX=:
14025
14026	    # Commands to make compiler produce verbose output that lists
14027	    # what "hidden" libraries, object files and flags are used when
14028	    # linking a shared library.
14029	    #
14030	    # There doesn't appear to be a way to prevent this compiler from
14031	    # explicitly linking system object files so we need to strip them
14032	    # from the output so that they don't get included in the library
14033	    # dependencies.
14034	    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"'
14035	    ;;
14036	  *)
14037	    if test yes,no = "$GXX,$with_gnu_ld"; then
14038	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14039	      case $host in
14040	        osf3*)
14041	          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'
14042		  ;;
14043	        *)
14044	          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'
14045		  ;;
14046	      esac
14047
14048	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14049	      hardcode_libdir_separator_CXX=:
14050
14051	      # Commands to make compiler produce verbose output that lists
14052	      # what "hidden" libraries, object files and flags are used when
14053	      # linking a shared library.
14054	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14055
14056	    else
14057	      # FIXME: insert proper C++ library support
14058	      ld_shlibs_CXX=no
14059	    fi
14060	    ;;
14061        esac
14062        ;;
14063
14064      psos*)
14065        # FIXME: insert proper C++ library support
14066        ld_shlibs_CXX=no
14067        ;;
14068
14069      sunos4*)
14070        case $cc_basename in
14071          CC*)
14072	    # Sun C++ 4.x
14073	    # FIXME: insert proper C++ library support
14074	    ld_shlibs_CXX=no
14075	    ;;
14076          lcc*)
14077	    # Lucid
14078	    # FIXME: insert proper C++ library support
14079	    ld_shlibs_CXX=no
14080	    ;;
14081          *)
14082	    # FIXME: insert proper C++ library support
14083	    ld_shlibs_CXX=no
14084	    ;;
14085        esac
14086        ;;
14087
14088      solaris*)
14089        case $cc_basename in
14090          CC* | sunCC*)
14091	    # Sun C++ 4.2, 5.x and Centerline C++
14092            archive_cmds_need_lc_CXX=yes
14093	    no_undefined_flag_CXX=' -zdefs'
14094	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14095	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14096              $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'
14097
14098	    hardcode_libdir_flag_spec_CXX='-R$libdir'
14099	    hardcode_shlibpath_var_CXX=no
14100	    case $host_os in
14101	      solaris2.[0-5] | solaris2.[0-5].*) ;;
14102	      *)
14103		# The compiler driver will combine and reorder linker options,
14104		# but understands '-z linker_flag'.
14105	        # Supported since Solaris 2.6 (maybe 2.5.1?)
14106		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14107	        ;;
14108	    esac
14109	    link_all_deplibs_CXX=yes
14110
14111	    output_verbose_link_cmd='func_echo_all'
14112
14113	    # Archives containing C++ object files must be created using
14114	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14115	    # necessary to make sure instantiated templates are included
14116	    # in the archive.
14117	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14118	    ;;
14119          gcx*)
14120	    # Green Hills C++ Compiler
14121	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14122
14123	    # The C++ compiler must be used to create the archive.
14124	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14125	    ;;
14126          *)
14127	    # GNU C++ compiler with Solaris linker
14128	    if test yes,no = "$GXX,$with_gnu_ld"; then
14129	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
14130	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14131	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14132	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14133                  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14134
14135	        # Commands to make compiler produce verbose output that lists
14136	        # what "hidden" libraries, object files and flags are used when
14137	        # linking a shared library.
14138	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14139	      else
14140	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
14141	        # platform.
14142	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14143	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14144                  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14145
14146	        # Commands to make compiler produce verbose output that lists
14147	        # what "hidden" libraries, object files and flags are used when
14148	        # linking a shared library.
14149	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14150	      fi
14151
14152	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14153	      case $host_os in
14154		solaris2.[0-5] | solaris2.[0-5].*) ;;
14155		*)
14156		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14157		  ;;
14158	      esac
14159	    fi
14160	    ;;
14161        esac
14162        ;;
14163
14164    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14165      no_undefined_flag_CXX='$wl-z,text'
14166      archive_cmds_need_lc_CXX=no
14167      hardcode_shlibpath_var_CXX=no
14168      runpath_var='LD_RUN_PATH'
14169
14170      case $cc_basename in
14171        CC*)
14172	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14173	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14174	  ;;
14175	*)
14176	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14177	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14178	  ;;
14179      esac
14180      ;;
14181
14182      sysv5* | sco3.2v5* | sco5v6*)
14183	# Note: We CANNOT use -z defs as we might desire, because we do not
14184	# link with -lc, and that would cause any symbols used from libc to
14185	# always be unresolved, which means just about no library would
14186	# ever link correctly.  If we're not using GNU ld we use -z text
14187	# though, which does catch some bad symbols but isn't as heavy-handed
14188	# as -z defs.
14189	no_undefined_flag_CXX='$wl-z,text'
14190	allow_undefined_flag_CXX='$wl-z,nodefs'
14191	archive_cmds_need_lc_CXX=no
14192	hardcode_shlibpath_var_CXX=no
14193	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14194	hardcode_libdir_separator_CXX=':'
14195	link_all_deplibs_CXX=yes
14196	export_dynamic_flag_spec_CXX='$wl-Bexport'
14197	runpath_var='LD_RUN_PATH'
14198
14199	case $cc_basename in
14200          CC*)
14201	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14202	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14203	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14204              '"$old_archive_cmds_CXX"
14205	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14206              '"$reload_cmds_CXX"
14207	    ;;
14208	  *)
14209	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14210	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14211	    ;;
14212	esac
14213      ;;
14214
14215      tandem*)
14216        case $cc_basename in
14217          NCC*)
14218	    # NonStop-UX NCC 3.20
14219	    # FIXME: insert proper C++ library support
14220	    ld_shlibs_CXX=no
14221	    ;;
14222          *)
14223	    # FIXME: insert proper C++ library support
14224	    ld_shlibs_CXX=no
14225	    ;;
14226        esac
14227        ;;
14228
14229      vxworks*)
14230        # FIXME: insert proper C++ library support
14231        ld_shlibs_CXX=no
14232        ;;
14233
14234      *)
14235        # FIXME: insert proper C++ library support
14236        ld_shlibs_CXX=no
14237        ;;
14238    esac
14239
14240    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14241$as_echo "$ld_shlibs_CXX" >&6; }
14242    test no = "$ld_shlibs_CXX" && can_build_shared=no
14243
14244    GCC_CXX=$GXX
14245    LD_CXX=$LD
14246
14247    ## CAVEAT EMPTOR:
14248    ## There is no encapsulation within the following macros, do not change
14249    ## the running order or otherwise move them around unless you know exactly
14250    ## what you are doing...
14251    # Dependencies to place before and after the object being linked:
14252predep_objects_CXX=
14253postdep_objects_CXX=
14254predeps_CXX=
14255postdeps_CXX=
14256compiler_lib_search_path_CXX=
14257
14258cat > conftest.$ac_ext <<_LT_EOF
14259class Foo
14260{
14261public:
14262  Foo (void) { a = 0; }
14263private:
14264  int a;
14265};
14266_LT_EOF
14267
14268
14269_lt_libdeps_save_CFLAGS=$CFLAGS
14270case "$CC $CFLAGS " in #(
14271*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14272*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14273*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14274esac
14275
14276if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14277  (eval $ac_compile) 2>&5
14278  ac_status=$?
14279  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14280  test $ac_status = 0; }; then
14281  # Parse the compiler output and extract the necessary
14282  # objects, libraries and library flags.
14283
14284  # Sentinel used to keep track of whether or not we are before
14285  # the conftest object file.
14286  pre_test_object_deps_done=no
14287
14288  for p in `eval "$output_verbose_link_cmd"`; do
14289    case $prev$p in
14290
14291    -L* | -R* | -l*)
14292       # Some compilers place space between "-{L,R}" and the path.
14293       # Remove the space.
14294       if test x-L = "$p" ||
14295          test x-R = "$p"; then
14296	 prev=$p
14297	 continue
14298       fi
14299
14300       # Expand the sysroot to ease extracting the directories later.
14301       if test -z "$prev"; then
14302         case $p in
14303         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14304         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14305         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14306         esac
14307       fi
14308       case $p in
14309       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14310       esac
14311       if test no = "$pre_test_object_deps_done"; then
14312	 case $prev in
14313	 -L | -R)
14314	   # Internal compiler library paths should come after those
14315	   # provided the user.  The postdeps already come after the
14316	   # user supplied libs so there is no need to process them.
14317	   if test -z "$compiler_lib_search_path_CXX"; then
14318	     compiler_lib_search_path_CXX=$prev$p
14319	   else
14320	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14321	   fi
14322	   ;;
14323	 # The "-l" case would never come before the object being
14324	 # linked, so don't bother handling this case.
14325	 esac
14326       else
14327	 if test -z "$postdeps_CXX"; then
14328	   postdeps_CXX=$prev$p
14329	 else
14330	   postdeps_CXX="${postdeps_CXX} $prev$p"
14331	 fi
14332       fi
14333       prev=
14334       ;;
14335
14336    *.lto.$objext) ;; # Ignore GCC LTO objects
14337    *.$objext)
14338       # This assumes that the test object file only shows up
14339       # once in the compiler output.
14340       if test "$p" = "conftest.$objext"; then
14341	 pre_test_object_deps_done=yes
14342	 continue
14343       fi
14344
14345       if test no = "$pre_test_object_deps_done"; then
14346	 if test -z "$predep_objects_CXX"; then
14347	   predep_objects_CXX=$p
14348	 else
14349	   predep_objects_CXX="$predep_objects_CXX $p"
14350	 fi
14351       else
14352	 if test -z "$postdep_objects_CXX"; then
14353	   postdep_objects_CXX=$p
14354	 else
14355	   postdep_objects_CXX="$postdep_objects_CXX $p"
14356	 fi
14357       fi
14358       ;;
14359
14360    *) ;; # Ignore the rest.
14361
14362    esac
14363  done
14364
14365  # Clean up.
14366  rm -f a.out a.exe
14367else
14368  echo "libtool.m4: error: problem compiling CXX test program"
14369fi
14370
14371$RM -f confest.$objext
14372CFLAGS=$_lt_libdeps_save_CFLAGS
14373
14374# PORTME: override above test on systems where it is broken
14375case $host_os in
14376interix[3-9]*)
14377  # Interix 3.5 installs completely hosed .la files for C++, so rather than
14378  # hack all around it, let's just trust "g++" to DTRT.
14379  predep_objects_CXX=
14380  postdep_objects_CXX=
14381  postdeps_CXX=
14382  ;;
14383esac
14384
14385
14386case " $postdeps_CXX " in
14387*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14388esac
14389 compiler_lib_search_dirs_CXX=
14390if test -n "${compiler_lib_search_path_CXX}"; then
14391 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14392fi
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424    lt_prog_compiler_wl_CXX=
14425lt_prog_compiler_pic_CXX=
14426lt_prog_compiler_static_CXX=
14427
14428
14429  # C++ specific cases for pic, static, wl, etc.
14430  if test yes = "$GXX"; then
14431    lt_prog_compiler_wl_CXX='-Wl,'
14432    lt_prog_compiler_static_CXX='-static'
14433
14434    case $host_os in
14435    aix*)
14436      # All AIX code is PIC.
14437      if test ia64 = "$host_cpu"; then
14438	# AIX 5 now supports IA64 processor
14439	lt_prog_compiler_static_CXX='-Bstatic'
14440      fi
14441      lt_prog_compiler_pic_CXX='-fPIC'
14442      ;;
14443
14444    amigaos*)
14445      case $host_cpu in
14446      powerpc)
14447            # see comment about AmigaOS4 .so support
14448            lt_prog_compiler_pic_CXX='-fPIC'
14449        ;;
14450      m68k)
14451            # FIXME: we need at least 68020 code to build shared libraries, but
14452            # adding the '-m68020' flag to GCC prevents building anything better,
14453            # like '-m68040'.
14454            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14455        ;;
14456      esac
14457      ;;
14458
14459    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14460      # PIC is the default for these OSes.
14461      ;;
14462    mingw* | cygwin* | os2* | pw32* | cegcc*)
14463      # This hack is so that the source file can tell whether it is being
14464      # built for inclusion in a dll (and should export symbols for example).
14465      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14466      # (--disable-auto-import) libraries
14467      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14468      case $host_os in
14469      os2*)
14470	lt_prog_compiler_static_CXX='$wl-static'
14471	;;
14472      esac
14473      ;;
14474    darwin* | rhapsody*)
14475      # PIC is the default on this platform
14476      # Common symbols not allowed in MH_DYLIB files
14477      lt_prog_compiler_pic_CXX='-fno-common'
14478      ;;
14479    *djgpp*)
14480      # DJGPP does not support shared libraries at all
14481      lt_prog_compiler_pic_CXX=
14482      ;;
14483    haiku*)
14484      # PIC is the default for Haiku.
14485      # The "-static" flag exists, but is broken.
14486      lt_prog_compiler_static_CXX=
14487      ;;
14488    interix[3-9]*)
14489      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14490      # Instead, we relocate shared libraries at runtime.
14491      ;;
14492    sysv4*MP*)
14493      if test -d /usr/nec; then
14494	lt_prog_compiler_pic_CXX=-Kconform_pic
14495      fi
14496      ;;
14497    hpux*)
14498      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14499      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14500      # sets the default TLS model and affects inlining.
14501      case $host_cpu in
14502      hppa*64*)
14503	;;
14504      *)
14505	lt_prog_compiler_pic_CXX='-fPIC'
14506	;;
14507      esac
14508      ;;
14509    *qnx* | *nto*)
14510      # QNX uses GNU C++, but need to define -shared option too, otherwise
14511      # it will coredump.
14512      lt_prog_compiler_pic_CXX='-fPIC -shared'
14513      ;;
14514    *)
14515      lt_prog_compiler_pic_CXX='-fPIC'
14516      ;;
14517    esac
14518  else
14519    case $host_os in
14520      aix[4-9]*)
14521	# All AIX code is PIC.
14522	if test ia64 = "$host_cpu"; then
14523	  # AIX 5 now supports IA64 processor
14524	  lt_prog_compiler_static_CXX='-Bstatic'
14525	else
14526	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14527	fi
14528	;;
14529      chorus*)
14530	case $cc_basename in
14531	cxch68*)
14532	  # Green Hills C++ Compiler
14533	  # _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"
14534	  ;;
14535	esac
14536	;;
14537      mingw* | cygwin* | os2* | pw32* | cegcc*)
14538	# This hack is so that the source file can tell whether it is being
14539	# built for inclusion in a dll (and should export symbols for example).
14540	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14541	;;
14542      dgux*)
14543	case $cc_basename in
14544	  ec++*)
14545	    lt_prog_compiler_pic_CXX='-KPIC'
14546	    ;;
14547	  ghcx*)
14548	    # Green Hills C++ Compiler
14549	    lt_prog_compiler_pic_CXX='-pic'
14550	    ;;
14551	  *)
14552	    ;;
14553	esac
14554	;;
14555      freebsd* | dragonfly*)
14556	# FreeBSD uses GNU C++
14557	;;
14558      hpux9* | hpux10* | hpux11*)
14559	case $cc_basename in
14560	  CC*)
14561	    lt_prog_compiler_wl_CXX='-Wl,'
14562	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14563	    if test ia64 != "$host_cpu"; then
14564	      lt_prog_compiler_pic_CXX='+Z'
14565	    fi
14566	    ;;
14567	  aCC*)
14568	    lt_prog_compiler_wl_CXX='-Wl,'
14569	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14570	    case $host_cpu in
14571	    hppa*64*|ia64*)
14572	      # +Z the default
14573	      ;;
14574	    *)
14575	      lt_prog_compiler_pic_CXX='+Z'
14576	      ;;
14577	    esac
14578	    ;;
14579	  *)
14580	    ;;
14581	esac
14582	;;
14583      interix*)
14584	# This is c89, which is MS Visual C++ (no shared libs)
14585	# Anyone wants to do a port?
14586	;;
14587      irix5* | irix6* | nonstopux*)
14588	case $cc_basename in
14589	  CC*)
14590	    lt_prog_compiler_wl_CXX='-Wl,'
14591	    lt_prog_compiler_static_CXX='-non_shared'
14592	    # CC pic flag -KPIC is the default.
14593	    ;;
14594	  *)
14595	    ;;
14596	esac
14597	;;
14598      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14599	case $cc_basename in
14600	  KCC*)
14601	    # KAI C++ Compiler
14602	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14603	    lt_prog_compiler_pic_CXX='-fPIC'
14604	    ;;
14605	  ecpc* )
14606	    # old Intel C++ for x86_64, which still supported -KPIC.
14607	    lt_prog_compiler_wl_CXX='-Wl,'
14608	    lt_prog_compiler_pic_CXX='-KPIC'
14609	    lt_prog_compiler_static_CXX='-static'
14610	    ;;
14611	  icpc* )
14612	    # Intel C++, used to be incompatible with GCC.
14613	    # ICC 10 doesn't accept -KPIC any more.
14614	    lt_prog_compiler_wl_CXX='-Wl,'
14615	    lt_prog_compiler_pic_CXX='-fPIC'
14616	    lt_prog_compiler_static_CXX='-static'
14617	    ;;
14618	  pgCC* | pgcpp*)
14619	    # Portland Group C++ compiler
14620	    lt_prog_compiler_wl_CXX='-Wl,'
14621	    lt_prog_compiler_pic_CXX='-fpic'
14622	    lt_prog_compiler_static_CXX='-Bstatic'
14623	    ;;
14624	  cxx*)
14625	    # Compaq C++
14626	    # Make sure the PIC flag is empty.  It appears that all Alpha
14627	    # Linux and Compaq Tru64 Unix objects are PIC.
14628	    lt_prog_compiler_pic_CXX=
14629	    lt_prog_compiler_static_CXX='-non_shared'
14630	    ;;
14631	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14632	    # IBM XL 8.0, 9.0 on PPC and BlueGene
14633	    lt_prog_compiler_wl_CXX='-Wl,'
14634	    lt_prog_compiler_pic_CXX='-qpic'
14635	    lt_prog_compiler_static_CXX='-qstaticlink'
14636	    ;;
14637	  *)
14638	    case `$CC -V 2>&1 | sed 5q` in
14639	    *Sun\ C*)
14640	      # Sun C++ 5.9
14641	      lt_prog_compiler_pic_CXX='-KPIC'
14642	      lt_prog_compiler_static_CXX='-Bstatic'
14643	      lt_prog_compiler_wl_CXX='-Qoption ld '
14644	      ;;
14645	    esac
14646	    ;;
14647	esac
14648	;;
14649      lynxos*)
14650	;;
14651      m88k*)
14652	;;
14653      mvs*)
14654	case $cc_basename in
14655	  cxx*)
14656	    lt_prog_compiler_pic_CXX='-W c,exportall'
14657	    ;;
14658	  *)
14659	    ;;
14660	esac
14661	;;
14662      netbsd*)
14663	;;
14664      *qnx* | *nto*)
14665        # QNX uses GNU C++, but need to define -shared option too, otherwise
14666        # it will coredump.
14667        lt_prog_compiler_pic_CXX='-fPIC -shared'
14668        ;;
14669      osf3* | osf4* | osf5*)
14670	case $cc_basename in
14671	  KCC*)
14672	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14673	    ;;
14674	  RCC*)
14675	    # Rational C++ 2.4.1
14676	    lt_prog_compiler_pic_CXX='-pic'
14677	    ;;
14678	  cxx*)
14679	    # Digital/Compaq C++
14680	    lt_prog_compiler_wl_CXX='-Wl,'
14681	    # Make sure the PIC flag is empty.  It appears that all Alpha
14682	    # Linux and Compaq Tru64 Unix objects are PIC.
14683	    lt_prog_compiler_pic_CXX=
14684	    lt_prog_compiler_static_CXX='-non_shared'
14685	    ;;
14686	  *)
14687	    ;;
14688	esac
14689	;;
14690      psos*)
14691	;;
14692      solaris*)
14693	case $cc_basename in
14694	  CC* | sunCC*)
14695	    # Sun C++ 4.2, 5.x and Centerline C++
14696	    lt_prog_compiler_pic_CXX='-KPIC'
14697	    lt_prog_compiler_static_CXX='-Bstatic'
14698	    lt_prog_compiler_wl_CXX='-Qoption ld '
14699	    ;;
14700	  gcx*)
14701	    # Green Hills C++ Compiler
14702	    lt_prog_compiler_pic_CXX='-PIC'
14703	    ;;
14704	  *)
14705	    ;;
14706	esac
14707	;;
14708      sunos4*)
14709	case $cc_basename in
14710	  CC*)
14711	    # Sun C++ 4.x
14712	    lt_prog_compiler_pic_CXX='-pic'
14713	    lt_prog_compiler_static_CXX='-Bstatic'
14714	    ;;
14715	  lcc*)
14716	    # Lucid
14717	    lt_prog_compiler_pic_CXX='-pic'
14718	    ;;
14719	  *)
14720	    ;;
14721	esac
14722	;;
14723      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14724	case $cc_basename in
14725	  CC*)
14726	    lt_prog_compiler_wl_CXX='-Wl,'
14727	    lt_prog_compiler_pic_CXX='-KPIC'
14728	    lt_prog_compiler_static_CXX='-Bstatic'
14729	    ;;
14730	esac
14731	;;
14732      tandem*)
14733	case $cc_basename in
14734	  NCC*)
14735	    # NonStop-UX NCC 3.20
14736	    lt_prog_compiler_pic_CXX='-KPIC'
14737	    ;;
14738	  *)
14739	    ;;
14740	esac
14741	;;
14742      vxworks*)
14743	;;
14744      *)
14745	lt_prog_compiler_can_build_shared_CXX=no
14746	;;
14747    esac
14748  fi
14749
14750case $host_os in
14751  # For platforms that do not support PIC, -DPIC is meaningless:
14752  *djgpp*)
14753    lt_prog_compiler_pic_CXX=
14754    ;;
14755  *)
14756    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14757    ;;
14758esac
14759
14760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14761$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14762if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14763  $as_echo_n "(cached) " >&6
14764else
14765  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14766fi
14767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14768$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14769lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14770
14771#
14772# Check to make sure the PIC flag actually works.
14773#
14774if test -n "$lt_prog_compiler_pic_CXX"; then
14775  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14776$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14777if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14778  $as_echo_n "(cached) " >&6
14779else
14780  lt_cv_prog_compiler_pic_works_CXX=no
14781   ac_outfile=conftest.$ac_objext
14782   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14783   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
14784   # Insert the option either (1) after the last *FLAGS variable, or
14785   # (2) before a word containing "conftest.", or (3) at the end.
14786   # Note that $ac_compile itself does not contain backslashes and begins
14787   # with a dollar sign (not a hyphen), so the echo should work correctly.
14788   # The option is referenced via a variable to avoid confusing sed.
14789   lt_compile=`echo "$ac_compile" | $SED \
14790   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14791   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14792   -e 's:$: $lt_compiler_flag:'`
14793   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14794   (eval "$lt_compile" 2>conftest.err)
14795   ac_status=$?
14796   cat conftest.err >&5
14797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798   if (exit $ac_status) && test -s "$ac_outfile"; then
14799     # The compiler can only warn and ignore the option if not recognized
14800     # So say no if there are warnings other than the usual output.
14801     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14802     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14803     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14804       lt_cv_prog_compiler_pic_works_CXX=yes
14805     fi
14806   fi
14807   $RM conftest*
14808
14809fi
14810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14811$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14812
14813if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
14814    case $lt_prog_compiler_pic_CXX in
14815     "" | " "*) ;;
14816     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14817     esac
14818else
14819    lt_prog_compiler_pic_CXX=
14820     lt_prog_compiler_can_build_shared_CXX=no
14821fi
14822
14823fi
14824
14825
14826
14827
14828
14829#
14830# Check to make sure the static flag actually works.
14831#
14832wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14834$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14835if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14836  $as_echo_n "(cached) " >&6
14837else
14838  lt_cv_prog_compiler_static_works_CXX=no
14839   save_LDFLAGS=$LDFLAGS
14840   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14841   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14842   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14843     # The linker can only warn and ignore the option if not recognized
14844     # So say no if there are warnings
14845     if test -s conftest.err; then
14846       # Append any errors to the config.log.
14847       cat conftest.err 1>&5
14848       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14849       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14850       if diff conftest.exp conftest.er2 >/dev/null; then
14851         lt_cv_prog_compiler_static_works_CXX=yes
14852       fi
14853     else
14854       lt_cv_prog_compiler_static_works_CXX=yes
14855     fi
14856   fi
14857   $RM -r conftest*
14858   LDFLAGS=$save_LDFLAGS
14859
14860fi
14861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14862$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14863
14864if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
14865    :
14866else
14867    lt_prog_compiler_static_CXX=
14868fi
14869
14870
14871
14872
14873    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14874$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14875if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14876  $as_echo_n "(cached) " >&6
14877else
14878  lt_cv_prog_compiler_c_o_CXX=no
14879   $RM -r conftest 2>/dev/null
14880   mkdir conftest
14881   cd conftest
14882   mkdir out
14883   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14884
14885   lt_compiler_flag="-o out/conftest2.$ac_objext"
14886   # Insert the option either (1) after the last *FLAGS variable, or
14887   # (2) before a word containing "conftest.", or (3) at the end.
14888   # Note that $ac_compile itself does not contain backslashes and begins
14889   # with a dollar sign (not a hyphen), so the echo should work correctly.
14890   lt_compile=`echo "$ac_compile" | $SED \
14891   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14892   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14893   -e 's:$: $lt_compiler_flag:'`
14894   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14895   (eval "$lt_compile" 2>out/conftest.err)
14896   ac_status=$?
14897   cat out/conftest.err >&5
14898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14900   then
14901     # The compiler can only warn and ignore the option if not recognized
14902     # So say no if there are warnings
14903     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14904     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14905     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14906       lt_cv_prog_compiler_c_o_CXX=yes
14907     fi
14908   fi
14909   chmod u+w . 2>&5
14910   $RM conftest*
14911   # SGI C++ compiler will create directory out/ii_files/ for
14912   # template instantiation
14913   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14914   $RM out/* && rmdir out
14915   cd ..
14916   $RM -r conftest
14917   $RM conftest*
14918
14919fi
14920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14921$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14922
14923
14924
14925    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14926$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14927if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14928  $as_echo_n "(cached) " >&6
14929else
14930  lt_cv_prog_compiler_c_o_CXX=no
14931   $RM -r conftest 2>/dev/null
14932   mkdir conftest
14933   cd conftest
14934   mkdir out
14935   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14936
14937   lt_compiler_flag="-o out/conftest2.$ac_objext"
14938   # Insert the option either (1) after the last *FLAGS variable, or
14939   # (2) before a word containing "conftest.", or (3) at the end.
14940   # Note that $ac_compile itself does not contain backslashes and begins
14941   # with a dollar sign (not a hyphen), so the echo should work correctly.
14942   lt_compile=`echo "$ac_compile" | $SED \
14943   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14944   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14945   -e 's:$: $lt_compiler_flag:'`
14946   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14947   (eval "$lt_compile" 2>out/conftest.err)
14948   ac_status=$?
14949   cat out/conftest.err >&5
14950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14952   then
14953     # The compiler can only warn and ignore the option if not recognized
14954     # So say no if there are warnings
14955     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14956     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14957     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14958       lt_cv_prog_compiler_c_o_CXX=yes
14959     fi
14960   fi
14961   chmod u+w . 2>&5
14962   $RM conftest*
14963   # SGI C++ compiler will create directory out/ii_files/ for
14964   # template instantiation
14965   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14966   $RM out/* && rmdir out
14967   cd ..
14968   $RM -r conftest
14969   $RM conftest*
14970
14971fi
14972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14973$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14974
14975
14976
14977
14978hard_links=nottested
14979if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
14980  # do not overwrite the value of need_locks provided by the user
14981  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14982$as_echo_n "checking if we can lock with hard links... " >&6; }
14983  hard_links=yes
14984  $RM conftest*
14985  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14986  touch conftest.a
14987  ln conftest.a conftest.b 2>&5 || hard_links=no
14988  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14990$as_echo "$hard_links" >&6; }
14991  if test no = "$hard_links"; then
14992    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
14993$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
14994    need_locks=warn
14995  fi
14996else
14997  need_locks=no
14998fi
14999
15000
15001
15002    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15003$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15004
15005  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15006  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15007  case $host_os in
15008  aix[4-9]*)
15009    # If we're using GNU nm, then we don't want the "-C" option.
15010    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15011    # Without the "-l" option, or with the "-B" option, AIX nm treats
15012    # weak defined symbols like other global defined symbols, whereas
15013    # GNU nm marks them as "W".
15014    # While the 'weak' keyword is ignored in the Export File, we need
15015    # it in the Import File for the 'aix-soname' feature, so we have
15016    # to replace the "-B" option with "-P" for AIX nm.
15017    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15018      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
15019    else
15020      export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
15021    fi
15022    ;;
15023  pw32*)
15024    export_symbols_cmds_CXX=$ltdll_cmds
15025    ;;
15026  cygwin* | mingw* | cegcc*)
15027    case $cc_basename in
15028    cl*)
15029      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15030      ;;
15031    *)
15032      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'
15033      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15034      ;;
15035    esac
15036    ;;
15037  *)
15038    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15039    ;;
15040  esac
15041
15042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15043$as_echo "$ld_shlibs_CXX" >&6; }
15044test no = "$ld_shlibs_CXX" && can_build_shared=no
15045
15046with_gnu_ld_CXX=$with_gnu_ld
15047
15048
15049
15050
15051
15052
15053#
15054# Do we need to explicitly link libc?
15055#
15056case "x$archive_cmds_need_lc_CXX" in
15057x|xyes)
15058  # Assume -lc should be added
15059  archive_cmds_need_lc_CXX=yes
15060
15061  if test yes,yes = "$GCC,$enable_shared"; then
15062    case $archive_cmds_CXX in
15063    *'~'*)
15064      # FIXME: we may have to deal with multi-command sequences.
15065      ;;
15066    '$CC '*)
15067      # Test whether the compiler implicitly links with -lc since on some
15068      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15069      # to ld, don't add -lc before -lgcc.
15070      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15071$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15072if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15073  $as_echo_n "(cached) " >&6
15074else
15075  $RM conftest*
15076	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15077
15078	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15079  (eval $ac_compile) 2>&5
15080  ac_status=$?
15081  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15082  test $ac_status = 0; } 2>conftest.err; then
15083	  soname=conftest
15084	  lib=conftest
15085	  libobjs=conftest.$ac_objext
15086	  deplibs=
15087	  wl=$lt_prog_compiler_wl_CXX
15088	  pic_flag=$lt_prog_compiler_pic_CXX
15089	  compiler_flags=-v
15090	  linker_flags=-v
15091	  verstring=
15092	  output_objdir=.
15093	  libname=conftest
15094	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15095	  allow_undefined_flag_CXX=
15096	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15097  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15098  ac_status=$?
15099  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15100  test $ac_status = 0; }
15101	  then
15102	    lt_cv_archive_cmds_need_lc_CXX=no
15103	  else
15104	    lt_cv_archive_cmds_need_lc_CXX=yes
15105	  fi
15106	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15107	else
15108	  cat conftest.err 1>&5
15109	fi
15110	$RM conftest*
15111
15112fi
15113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15114$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15115      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15116      ;;
15117    esac
15118  fi
15119  ;;
15120esac
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15184$as_echo_n "checking dynamic linker characteristics... " >&6; }
15185
15186library_names_spec=
15187libname_spec='lib$name'
15188soname_spec=
15189shrext_cmds=.so
15190postinstall_cmds=
15191postuninstall_cmds=
15192finish_cmds=
15193finish_eval=
15194shlibpath_var=
15195shlibpath_overrides_runpath=unknown
15196version_type=none
15197dynamic_linker="$host_os ld.so"
15198sys_lib_dlsearch_path_spec="/lib /usr/lib"
15199need_lib_prefix=unknown
15200hardcode_into_libs=no
15201
15202# when you set need_version to no, make sure it does not cause -set_version
15203# flags to be left without arguments
15204need_version=unknown
15205
15206
15207
15208case $host_os in
15209aix3*)
15210  version_type=linux # correct to gnu/linux during the next big refactor
15211  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15212  shlibpath_var=LIBPATH
15213
15214  # AIX 3 has no versioning support, so we append a major version to the name.
15215  soname_spec='$libname$release$shared_ext$major'
15216  ;;
15217
15218aix[4-9]*)
15219  version_type=linux # correct to gnu/linux during the next big refactor
15220  need_lib_prefix=no
15221  need_version=no
15222  hardcode_into_libs=yes
15223  if test ia64 = "$host_cpu"; then
15224    # AIX 5 supports IA64
15225    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15226    shlibpath_var=LD_LIBRARY_PATH
15227  else
15228    # With GCC up to 2.95.x, collect2 would create an import file
15229    # for dependence libraries.  The import file would start with
15230    # the line '#! .'.  This would cause the generated library to
15231    # depend on '.', always an invalid library.  This was fixed in
15232    # development snapshots of GCC prior to 3.0.
15233    case $host_os in
15234      aix4 | aix4.[01] | aix4.[01].*)
15235      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15236	   echo ' yes '
15237	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15238	:
15239      else
15240	can_build_shared=no
15241      fi
15242      ;;
15243    esac
15244    # Using Import Files as archive members, it is possible to support
15245    # filename-based versioning of shared library archives on AIX. While
15246    # this would work for both with and without runtime linking, it will
15247    # prevent static linking of such archives. So we do filename-based
15248    # shared library versioning with .so extension only, which is used
15249    # when both runtime linking and shared linking is enabled.
15250    # Unfortunately, runtime linking may impact performance, so we do
15251    # not want this to be the default eventually. Also, we use the
15252    # versioned .so libs for executables only if there is the -brtl
15253    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15254    # To allow for filename-based versioning support, we need to create
15255    # libNAME.so.V as an archive file, containing:
15256    # *) an Import File, referring to the versioned filename of the
15257    #    archive as well as the shared archive member, telling the
15258    #    bitwidth (32 or 64) of that shared object, and providing the
15259    #    list of exported symbols of that shared object, eventually
15260    #    decorated with the 'weak' keyword
15261    # *) the shared object with the F_LOADONLY flag set, to really avoid
15262    #    it being seen by the linker.
15263    # At run time we better use the real file rather than another symlink,
15264    # but for link time we create the symlink libNAME.so -> libNAME.so.V
15265
15266    case $with_aix_soname,$aix_use_runtimelinking in
15267    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15268    # soname into executable. Probably we can add versioning support to
15269    # collect2, so additional links can be useful in future.
15270    aix,yes) # traditional libtool
15271      dynamic_linker='AIX unversionable lib.so'
15272      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15273      # instead of lib<name>.a to let people know that these are not
15274      # typical AIX shared libraries.
15275      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15276      ;;
15277    aix,no) # traditional AIX only
15278      dynamic_linker='AIX lib.a(lib.so.V)'
15279      # We preserve .a as extension for shared libraries through AIX4.2
15280      # and later when we are not doing run time linking.
15281      library_names_spec='$libname$release.a $libname.a'
15282      soname_spec='$libname$release$shared_ext$major'
15283      ;;
15284    svr4,*) # full svr4 only
15285      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15286      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15287      # We do not specify a path in Import Files, so LIBPATH fires.
15288      shlibpath_overrides_runpath=yes
15289      ;;
15290    *,yes) # both, prefer svr4
15291      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15292      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15293      # unpreferred sharedlib libNAME.a needs extra handling
15294      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
15295      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
15296      # We do not specify a path in Import Files, so LIBPATH fires.
15297      shlibpath_overrides_runpath=yes
15298      ;;
15299    *,no) # both, prefer aix
15300      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15301      library_names_spec='$libname$release.a $libname.a'
15302      soname_spec='$libname$release$shared_ext$major'
15303      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15304      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
15305      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
15306      ;;
15307    esac
15308    shlibpath_var=LIBPATH
15309  fi
15310  ;;
15311
15312amigaos*)
15313  case $host_cpu in
15314  powerpc)
15315    # Since July 2007 AmigaOS4 officially supports .so libraries.
15316    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15317    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15318    ;;
15319  m68k)
15320    library_names_spec='$libname.ixlibrary $libname.a'
15321    # Create ${libname}_ixlibrary.a entries in /sys/libs.
15322    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15323    ;;
15324  esac
15325  ;;
15326
15327beos*)
15328  library_names_spec='$libname$shared_ext'
15329  dynamic_linker="$host_os ld.so"
15330  shlibpath_var=LIBRARY_PATH
15331  ;;
15332
15333bsdi[45]*)
15334  version_type=linux # correct to gnu/linux during the next big refactor
15335  need_version=no
15336  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15337  soname_spec='$libname$release$shared_ext$major'
15338  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15339  shlibpath_var=LD_LIBRARY_PATH
15340  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15341  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15342  # the default ld.so.conf also contains /usr/contrib/lib and
15343  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15344  # libtool to hard-code these into programs
15345  ;;
15346
15347cygwin* | mingw* | pw32* | cegcc*)
15348  version_type=windows
15349  shrext_cmds=.dll
15350  need_version=no
15351  need_lib_prefix=no
15352
15353  case $GCC,$cc_basename in
15354  yes,*)
15355    # gcc
15356    library_names_spec='$libname.dll.a'
15357    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15358    postinstall_cmds='base_file=`basename \$file`~
15359      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15360      dldir=$destdir/`dirname \$dlpath`~
15361      test -d \$dldir || mkdir -p \$dldir~
15362      $install_prog $dir/$dlname \$dldir/$dlname~
15363      chmod a+x \$dldir/$dlname~
15364      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15365        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15366      fi'
15367    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15368      dlpath=$dir/\$dldll~
15369       $RM \$dlpath'
15370    shlibpath_overrides_runpath=yes
15371
15372    case $host_os in
15373    cygwin*)
15374      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15375      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15376
15377      ;;
15378    mingw* | cegcc*)
15379      # MinGW DLLs use traditional 'lib' prefix
15380      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15381      ;;
15382    pw32*)
15383      # pw32 DLLs use 'pw' prefix rather than 'lib'
15384      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15385      ;;
15386    esac
15387    dynamic_linker='Win32 ld.exe'
15388    ;;
15389
15390  *,cl*)
15391    # Native MSVC
15392    libname_spec='$name'
15393    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15394    library_names_spec='$libname.dll.lib'
15395
15396    case $build_os in
15397    mingw*)
15398      sys_lib_search_path_spec=
15399      lt_save_ifs=$IFS
15400      IFS=';'
15401      for lt_path in $LIB
15402      do
15403        IFS=$lt_save_ifs
15404        # Let DOS variable expansion print the short 8.3 style file name.
15405        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15406        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15407      done
15408      IFS=$lt_save_ifs
15409      # Convert to MSYS style.
15410      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15411      ;;
15412    cygwin*)
15413      # Convert to unix form, then to dos form, then back to unix form
15414      # but this time dos style (no spaces!) so that the unix form looks
15415      # like /cygdrive/c/PROGRA~1:/cygdr...
15416      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15417      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15418      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15419      ;;
15420    *)
15421      sys_lib_search_path_spec=$LIB
15422      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15423        # It is most probably a Windows format PATH.
15424        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15425      else
15426        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15427      fi
15428      # FIXME: find the short name or the path components, as spaces are
15429      # common. (e.g. "Program Files" -> "PROGRA~1")
15430      ;;
15431    esac
15432
15433    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15434    postinstall_cmds='base_file=`basename \$file`~
15435      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15436      dldir=$destdir/`dirname \$dlpath`~
15437      test -d \$dldir || mkdir -p \$dldir~
15438      $install_prog $dir/$dlname \$dldir/$dlname'
15439    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15440      dlpath=$dir/\$dldll~
15441       $RM \$dlpath'
15442    shlibpath_overrides_runpath=yes
15443    dynamic_linker='Win32 link.exe'
15444    ;;
15445
15446  *)
15447    # Assume MSVC wrapper
15448    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15449    dynamic_linker='Win32 ld.exe'
15450    ;;
15451  esac
15452  # FIXME: first we should search . and the directory the executable is in
15453  shlibpath_var=PATH
15454  ;;
15455
15456darwin* | rhapsody*)
15457  dynamic_linker="$host_os dyld"
15458  version_type=darwin
15459  need_lib_prefix=no
15460  need_version=no
15461  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15462  soname_spec='$libname$release$major$shared_ext'
15463  shlibpath_overrides_runpath=yes
15464  shlibpath_var=DYLD_LIBRARY_PATH
15465  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15466
15467  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15468  ;;
15469
15470dgux*)
15471  version_type=linux # correct to gnu/linux during the next big refactor
15472  need_lib_prefix=no
15473  need_version=no
15474  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15475  soname_spec='$libname$release$shared_ext$major'
15476  shlibpath_var=LD_LIBRARY_PATH
15477  ;;
15478
15479freebsd* | dragonfly*)
15480  # DragonFly does not have aout.  When/if they implement a new
15481  # versioning mechanism, adjust this.
15482  if test -x /usr/bin/objformat; then
15483    objformat=`/usr/bin/objformat`
15484  else
15485    case $host_os in
15486    freebsd[23].*) objformat=aout ;;
15487    *) objformat=elf ;;
15488    esac
15489  fi
15490  version_type=freebsd-$objformat
15491  case $version_type in
15492    freebsd-elf*)
15493      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15494      soname_spec='$libname$release$shared_ext$major'
15495      need_version=no
15496      need_lib_prefix=no
15497      ;;
15498    freebsd-*)
15499      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15500      need_version=yes
15501      ;;
15502  esac
15503  shlibpath_var=LD_LIBRARY_PATH
15504  case $host_os in
15505  freebsd2.*)
15506    shlibpath_overrides_runpath=yes
15507    ;;
15508  freebsd3.[01]* | freebsdelf3.[01]*)
15509    shlibpath_overrides_runpath=yes
15510    hardcode_into_libs=yes
15511    ;;
15512  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15513  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15514    shlibpath_overrides_runpath=no
15515    hardcode_into_libs=yes
15516    ;;
15517  *) # from 4.6 on, and DragonFly
15518    shlibpath_overrides_runpath=yes
15519    hardcode_into_libs=yes
15520    ;;
15521  esac
15522  ;;
15523
15524haiku*)
15525  version_type=linux # correct to gnu/linux during the next big refactor
15526  need_lib_prefix=no
15527  need_version=no
15528  dynamic_linker="$host_os runtime_loader"
15529  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15530  soname_spec='$libname$release$shared_ext$major'
15531  shlibpath_var=LIBRARY_PATH
15532  shlibpath_overrides_runpath=no
15533  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15534  hardcode_into_libs=yes
15535  ;;
15536
15537hpux9* | hpux10* | hpux11*)
15538  # Give a soname corresponding to the major version so that dld.sl refuses to
15539  # link against other versions.
15540  version_type=sunos
15541  need_lib_prefix=no
15542  need_version=no
15543  case $host_cpu in
15544  ia64*)
15545    shrext_cmds='.so'
15546    hardcode_into_libs=yes
15547    dynamic_linker="$host_os dld.so"
15548    shlibpath_var=LD_LIBRARY_PATH
15549    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15550    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15551    soname_spec='$libname$release$shared_ext$major'
15552    if test 32 = "$HPUX_IA64_MODE"; then
15553      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15554      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
15555    else
15556      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15557      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
15558    fi
15559    ;;
15560  hppa*64*)
15561    shrext_cmds='.sl'
15562    hardcode_into_libs=yes
15563    dynamic_linker="$host_os dld.sl"
15564    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15565    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15566    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15567    soname_spec='$libname$release$shared_ext$major'
15568    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15569    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15570    ;;
15571  *)
15572    shrext_cmds='.sl'
15573    dynamic_linker="$host_os dld.sl"
15574    shlibpath_var=SHLIB_PATH
15575    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15576    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15577    soname_spec='$libname$release$shared_ext$major'
15578    ;;
15579  esac
15580  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15581  postinstall_cmds='chmod 555 $lib'
15582  # or fails outright, so override atomically:
15583  install_override_mode=555
15584  ;;
15585
15586interix[3-9]*)
15587  version_type=linux # correct to gnu/linux during the next big refactor
15588  need_lib_prefix=no
15589  need_version=no
15590  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15591  soname_spec='$libname$release$shared_ext$major'
15592  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15593  shlibpath_var=LD_LIBRARY_PATH
15594  shlibpath_overrides_runpath=no
15595  hardcode_into_libs=yes
15596  ;;
15597
15598irix5* | irix6* | nonstopux*)
15599  case $host_os in
15600    nonstopux*) version_type=nonstopux ;;
15601    *)
15602	if test yes = "$lt_cv_prog_gnu_ld"; then
15603		version_type=linux # correct to gnu/linux during the next big refactor
15604	else
15605		version_type=irix
15606	fi ;;
15607  esac
15608  need_lib_prefix=no
15609  need_version=no
15610  soname_spec='$libname$release$shared_ext$major'
15611  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
15612  case $host_os in
15613  irix5* | nonstopux*)
15614    libsuff= shlibsuff=
15615    ;;
15616  *)
15617    case $LD in # libtool.m4 will add one of these switches to LD
15618    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15619      libsuff= shlibsuff= libmagic=32-bit;;
15620    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15621      libsuff=32 shlibsuff=N32 libmagic=N32;;
15622    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15623      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15624    *) libsuff= shlibsuff= libmagic=never-match;;
15625    esac
15626    ;;
15627  esac
15628  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15629  shlibpath_overrides_runpath=no
15630  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
15631  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
15632  hardcode_into_libs=yes
15633  ;;
15634
15635# No shared lib support for Linux oldld, aout, or coff.
15636linux*oldld* | linux*aout* | linux*coff*)
15637  dynamic_linker=no
15638  ;;
15639
15640linux*android*)
15641  version_type=none # Android doesn't support versioned libraries.
15642  need_lib_prefix=no
15643  need_version=no
15644  library_names_spec='$libname$release$shared_ext'
15645  soname_spec='$libname$release$shared_ext'
15646  finish_cmds=
15647  shlibpath_var=LD_LIBRARY_PATH
15648  shlibpath_overrides_runpath=yes
15649
15650  # This implies no fast_install, which is unacceptable.
15651  # Some rework will be needed to allow for fast_install
15652  # before this can be enabled.
15653  hardcode_into_libs=yes
15654
15655  dynamic_linker='Android linker'
15656  # Don't embed -rpath directories since the linker doesn't support them.
15657  hardcode_libdir_flag_spec_CXX='-L$libdir'
15658  ;;
15659
15660# This must be glibc/ELF.
15661linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15662  version_type=linux # correct to gnu/linux during the next big refactor
15663  need_lib_prefix=no
15664  need_version=no
15665  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15666  soname_spec='$libname$release$shared_ext$major'
15667  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15668  shlibpath_var=LD_LIBRARY_PATH
15669  shlibpath_overrides_runpath=no
15670
15671  # Some binutils ld are patched to set DT_RUNPATH
15672  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15673  $as_echo_n "(cached) " >&6
15674else
15675  lt_cv_shlibpath_overrides_runpath=no
15676    save_LDFLAGS=$LDFLAGS
15677    save_libdir=$libdir
15678    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15679	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15680    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15681/* end confdefs.h.  */
15682
15683int
15684main ()
15685{
15686
15687  ;
15688  return 0;
15689}
15690_ACEOF
15691if ac_fn_cxx_try_link "$LINENO"; then :
15692  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15693  lt_cv_shlibpath_overrides_runpath=yes
15694fi
15695fi
15696rm -f core conftest.err conftest.$ac_objext \
15697    conftest$ac_exeext conftest.$ac_ext
15698    LDFLAGS=$save_LDFLAGS
15699    libdir=$save_libdir
15700
15701fi
15702
15703  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15704
15705  # This implies no fast_install, which is unacceptable.
15706  # Some rework will be needed to allow for fast_install
15707  # before this can be enabled.
15708  hardcode_into_libs=yes
15709
15710  # Ideally, we could use ldconfig to report *all* directores which are
15711  # searched for libraries, however this is still not possible.  Aside from not
15712  # being certain /sbin/ldconfig is available, command
15713  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15714  # even though it is searched at run-time.  Try to do the best guess by
15715  # appending ld.so.conf contents (and includes) to the search path.
15716  if test -f /etc/ld.so.conf; then
15717    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' ' '`
15718    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15719  fi
15720
15721  # We used to test for /lib/ld.so.1 and disable shared libraries on
15722  # powerpc, because MkLinux only supported shared libraries with the
15723  # GNU dynamic linker.  Since this was broken with cross compilers,
15724  # most powerpc-linux boxes support dynamic linking these days and
15725  # people can always --disable-shared, the test was removed, and we
15726  # assume the GNU/Linux dynamic linker is in use.
15727  dynamic_linker='GNU/Linux ld.so'
15728  ;;
15729
15730netbsd*)
15731  version_type=sunos
15732  need_lib_prefix=no
15733  need_version=no
15734  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15735    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15736    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15737    dynamic_linker='NetBSD (a.out) ld.so'
15738  else
15739    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15740    soname_spec='$libname$release$shared_ext$major'
15741    dynamic_linker='NetBSD ld.elf_so'
15742  fi
15743  shlibpath_var=LD_LIBRARY_PATH
15744  shlibpath_overrides_runpath=yes
15745  hardcode_into_libs=yes
15746  ;;
15747
15748newsos6)
15749  version_type=linux # correct to gnu/linux during the next big refactor
15750  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15751  shlibpath_var=LD_LIBRARY_PATH
15752  shlibpath_overrides_runpath=yes
15753  ;;
15754
15755*nto* | *qnx*)
15756  version_type=qnx
15757  need_lib_prefix=no
15758  need_version=no
15759  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15760  soname_spec='$libname$release$shared_ext$major'
15761  shlibpath_var=LD_LIBRARY_PATH
15762  shlibpath_overrides_runpath=no
15763  hardcode_into_libs=yes
15764  dynamic_linker='ldqnx.so'
15765  ;;
15766
15767openbsd* | bitrig*)
15768  version_type=sunos
15769  sys_lib_dlsearch_path_spec=/usr/lib
15770  need_lib_prefix=no
15771  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
15772    need_version=no
15773  else
15774    need_version=yes
15775  fi
15776  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15777  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15778  shlibpath_var=LD_LIBRARY_PATH
15779  shlibpath_overrides_runpath=yes
15780  ;;
15781
15782os2*)
15783  libname_spec='$name'
15784  version_type=windows
15785  shrext_cmds=.dll
15786  need_version=no
15787  need_lib_prefix=no
15788  # OS/2 can only load a DLL with a base name of 8 characters or less.
15789  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
15790    v=$($ECHO $release$versuffix | tr -d .-);
15791    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
15792    $ECHO $n$v`$shared_ext'
15793  library_names_spec='${libname}_dll.$libext'
15794  dynamic_linker='OS/2 ld.exe'
15795  shlibpath_var=BEGINLIBPATH
15796  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15797  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15798  postinstall_cmds='base_file=`basename \$file`~
15799    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
15800    dldir=$destdir/`dirname \$dlpath`~
15801    test -d \$dldir || mkdir -p \$dldir~
15802    $install_prog $dir/$dlname \$dldir/$dlname~
15803    chmod a+x \$dldir/$dlname~
15804    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15805      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15806    fi'
15807  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
15808    dlpath=$dir/\$dldll~
15809    $RM \$dlpath'
15810  ;;
15811
15812osf3* | osf4* | osf5*)
15813  version_type=osf
15814  need_lib_prefix=no
15815  need_version=no
15816  soname_spec='$libname$release$shared_ext$major'
15817  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15818  shlibpath_var=LD_LIBRARY_PATH
15819  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15820  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15821  ;;
15822
15823rdos*)
15824  dynamic_linker=no
15825  ;;
15826
15827solaris*)
15828  version_type=linux # correct to gnu/linux during the next big refactor
15829  need_lib_prefix=no
15830  need_version=no
15831  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15832  soname_spec='$libname$release$shared_ext$major'
15833  shlibpath_var=LD_LIBRARY_PATH
15834  shlibpath_overrides_runpath=yes
15835  hardcode_into_libs=yes
15836  # ldd complains unless libraries are executable
15837  postinstall_cmds='chmod +x $lib'
15838  ;;
15839
15840sunos4*)
15841  version_type=sunos
15842  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15843  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15844  shlibpath_var=LD_LIBRARY_PATH
15845  shlibpath_overrides_runpath=yes
15846  if test yes = "$with_gnu_ld"; then
15847    need_lib_prefix=no
15848  fi
15849  need_version=yes
15850  ;;
15851
15852sysv4 | sysv4.3*)
15853  version_type=linux # correct to gnu/linux during the next big refactor
15854  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15855  soname_spec='$libname$release$shared_ext$major'
15856  shlibpath_var=LD_LIBRARY_PATH
15857  case $host_vendor in
15858    sni)
15859      shlibpath_overrides_runpath=no
15860      need_lib_prefix=no
15861      runpath_var=LD_RUN_PATH
15862      ;;
15863    siemens)
15864      need_lib_prefix=no
15865      ;;
15866    motorola)
15867      need_lib_prefix=no
15868      need_version=no
15869      shlibpath_overrides_runpath=no
15870      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15871      ;;
15872  esac
15873  ;;
15874
15875sysv4*MP*)
15876  if test -d /usr/nec; then
15877    version_type=linux # correct to gnu/linux during the next big refactor
15878    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
15879    soname_spec='$libname$shared_ext.$major'
15880    shlibpath_var=LD_LIBRARY_PATH
15881  fi
15882  ;;
15883
15884sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15885  version_type=sco
15886  need_lib_prefix=no
15887  need_version=no
15888  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
15889  soname_spec='$libname$release$shared_ext$major'
15890  shlibpath_var=LD_LIBRARY_PATH
15891  shlibpath_overrides_runpath=yes
15892  hardcode_into_libs=yes
15893  if test yes = "$with_gnu_ld"; then
15894    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15895  else
15896    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15897    case $host_os in
15898      sco3.2v5*)
15899        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15900	;;
15901    esac
15902  fi
15903  sys_lib_dlsearch_path_spec='/usr/lib'
15904  ;;
15905
15906tpf*)
15907  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15908  version_type=linux # correct to gnu/linux during the next big refactor
15909  need_lib_prefix=no
15910  need_version=no
15911  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15912  shlibpath_var=LD_LIBRARY_PATH
15913  shlibpath_overrides_runpath=no
15914  hardcode_into_libs=yes
15915  ;;
15916
15917uts4*)
15918  version_type=linux # correct to gnu/linux during the next big refactor
15919  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15920  soname_spec='$libname$release$shared_ext$major'
15921  shlibpath_var=LD_LIBRARY_PATH
15922  ;;
15923
15924*)
15925  dynamic_linker=no
15926  ;;
15927esac
15928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15929$as_echo "$dynamic_linker" >&6; }
15930test no = "$dynamic_linker" && can_build_shared=no
15931
15932variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15933if test yes = "$GCC"; then
15934  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15935fi
15936
15937if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
15938  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
15939fi
15940
15941if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
15942  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
15943fi
15944
15945# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
15946configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
15947
15948# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
15949func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
15950
15951# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
15952configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15994$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15995hardcode_action_CXX=
15996if test -n "$hardcode_libdir_flag_spec_CXX" ||
15997   test -n "$runpath_var_CXX" ||
15998   test yes = "$hardcode_automatic_CXX"; then
15999
16000  # We can hardcode non-existent directories.
16001  if test no != "$hardcode_direct_CXX" &&
16002     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16003     # have to relink, otherwise we might link with an installed library
16004     # when we should be linking with a yet-to-be-installed one
16005     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16006     test no != "$hardcode_minus_L_CXX"; then
16007    # Linking always hardcodes the temporary library directory.
16008    hardcode_action_CXX=relink
16009  else
16010    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16011    hardcode_action_CXX=immediate
16012  fi
16013else
16014  # We cannot hardcode anything, or else we can only hardcode existing
16015  # directories.
16016  hardcode_action_CXX=unsupported
16017fi
16018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16019$as_echo "$hardcode_action_CXX" >&6; }
16020
16021if test relink = "$hardcode_action_CXX" ||
16022   test yes = "$inherit_rpath_CXX"; then
16023  # Fast installation is not supported
16024  enable_fast_install=no
16025elif test yes = "$shlibpath_overrides_runpath" ||
16026     test no = "$enable_shared"; then
16027  # Fast installation is not necessary
16028  enable_fast_install=needless
16029fi
16030
16031
16032
16033
16034
16035
16036
16037  fi # test -n "$compiler"
16038
16039  CC=$lt_save_CC
16040  CFLAGS=$lt_save_CFLAGS
16041  LDCXX=$LD
16042  LD=$lt_save_LD
16043  GCC=$lt_save_GCC
16044  with_gnu_ld=$lt_save_with_gnu_ld
16045  lt_cv_path_LDCXX=$lt_cv_path_LD
16046  lt_cv_path_LD=$lt_save_path_LD
16047  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16048  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16049fi # test yes != "$_lt_caught_CXX_error"
16050
16051ac_ext=c
16052ac_cpp='$CPP $CPPFLAGS'
16053ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16054ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16055ac_compiler_gnu=$ac_cv_c_compiler_gnu
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071        ac_config_commands="$ac_config_commands libtool"
16072
16073
16074
16075
16076# Only expand once:
16077
16078
16079
16080
16081
16082
16083case $host in
16084  *-*-*linux*-*)
16085$as_echo "#define __LINUX__ 1" >>confdefs.h
16086 ;;
16087  *-*-mingw32)   CPPFLAGS="-DUNICODE -D_UNICODE $CPPFLAGS"
16088esac
16089
16090
16091# Bring additional directories where things might be found into our
16092# search path. I don't know why autoconf doesn't do this by default
16093# Check whether --enable-auto-search was given.
16094if test "${enable_auto_search+set}" = set; then :
16095  enableval=$enable_auto_search;
16096else
16097  enable_auto_search=yes
16098fi
16099
16100with_auto_headers_default=$enable_auto_search
16101with_auto_libs_default=$enable_auto_search
16102
16103# Check whether --with-auto-headers was given.
16104if test "${with_auto_headers+set}" = set; then :
16105  withval=$with_auto_headers;
16106else
16107  with_auto_headers=$with_auto_headers_default
16108fi
16109
16110
16111# Check whether --with-auto-libs was given.
16112if test "${with_auto_libs+set}" = set; then :
16113  withval=$with_auto_libs;
16114else
16115  with_auto_libs=$with_auto_libs_default
16116fi
16117
16118for spfx in /usr/local /opt/local /sw ; do
16119    if test "x$with_auto_headers" = xyes; then
16120        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${spfx}/include" >&5
16121$as_echo_n "checking for ${spfx}/include... " >&6; }
16122        if test -d ${spfx}/include; then
16123            CPPFLAGS="-I${spfx}/include $CPPFLAGS"
16124            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16125$as_echo "yes" >&6; }
16126        else
16127            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16128$as_echo "no" >&6; }
16129        fi
16130    fi
16131    if test "x$with_auto_libs" = xyes; then
16132        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${spfx}/lib" >&5
16133$as_echo_n "checking for ${spfx}/lib... " >&6; }
16134        if test -d ${spfx}/lib; then
16135            LDFLAGS="-L${spfx}/lib $LDFLAGS"
16136            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16137$as_echo "yes" >&6; }
16138        else
16139            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16140$as_echo "no" >&6; }
16141        fi
16142    fi
16143done
16144
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16146$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16147if ${ac_cv_c_bigendian+:} false; then :
16148  $as_echo_n "(cached) " >&6
16149else
16150  ac_cv_c_bigendian=unknown
16151    # See if we're dealing with a universal compiler.
16152    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16153/* end confdefs.h.  */
16154#ifndef __APPLE_CC__
16155	       not a universal capable compiler
16156	     #endif
16157	     typedef int dummy;
16158
16159_ACEOF
16160if ac_fn_c_try_compile "$LINENO"; then :
16161
16162	# Check for potential -arch flags.  It is not universal unless
16163	# there are at least two -arch flags with different values.
16164	ac_arch=
16165	ac_prev=
16166	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16167	 if test -n "$ac_prev"; then
16168	   case $ac_word in
16169	     i?86 | x86_64 | ppc | ppc64)
16170	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
16171		 ac_arch=$ac_word
16172	       else
16173		 ac_cv_c_bigendian=universal
16174		 break
16175	       fi
16176	       ;;
16177	   esac
16178	   ac_prev=
16179	 elif test "x$ac_word" = "x-arch"; then
16180	   ac_prev=arch
16181	 fi
16182       done
16183fi
16184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16185    if test $ac_cv_c_bigendian = unknown; then
16186      # See if sys/param.h defines the BYTE_ORDER macro.
16187      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16188/* end confdefs.h.  */
16189#include <sys/types.h>
16190	     #include <sys/param.h>
16191
16192int
16193main ()
16194{
16195#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16196		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16197		     && LITTLE_ENDIAN)
16198	      bogus endian macros
16199	     #endif
16200
16201  ;
16202  return 0;
16203}
16204_ACEOF
16205if ac_fn_c_try_compile "$LINENO"; then :
16206  # It does; now see whether it defined to BIG_ENDIAN or not.
16207	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16208/* end confdefs.h.  */
16209#include <sys/types.h>
16210		#include <sys/param.h>
16211
16212int
16213main ()
16214{
16215#if BYTE_ORDER != BIG_ENDIAN
16216		 not big endian
16217		#endif
16218
16219  ;
16220  return 0;
16221}
16222_ACEOF
16223if ac_fn_c_try_compile "$LINENO"; then :
16224  ac_cv_c_bigendian=yes
16225else
16226  ac_cv_c_bigendian=no
16227fi
16228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16229fi
16230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16231    fi
16232    if test $ac_cv_c_bigendian = unknown; then
16233      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16234      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16235/* end confdefs.h.  */
16236#include <limits.h>
16237
16238int
16239main ()
16240{
16241#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16242	      bogus endian macros
16243	     #endif
16244
16245  ;
16246  return 0;
16247}
16248_ACEOF
16249if ac_fn_c_try_compile "$LINENO"; then :
16250  # It does; now see whether it defined to _BIG_ENDIAN or not.
16251	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16252/* end confdefs.h.  */
16253#include <limits.h>
16254
16255int
16256main ()
16257{
16258#ifndef _BIG_ENDIAN
16259		 not big endian
16260		#endif
16261
16262  ;
16263  return 0;
16264}
16265_ACEOF
16266if ac_fn_c_try_compile "$LINENO"; then :
16267  ac_cv_c_bigendian=yes
16268else
16269  ac_cv_c_bigendian=no
16270fi
16271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16272fi
16273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16274    fi
16275    if test $ac_cv_c_bigendian = unknown; then
16276      # Compile a test program.
16277      if test "$cross_compiling" = yes; then :
16278  # Try to guess by grepping values from an object file.
16279	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16280/* end confdefs.h.  */
16281short int ascii_mm[] =
16282		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16283		short int ascii_ii[] =
16284		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16285		int use_ascii (int i) {
16286		  return ascii_mm[i] + ascii_ii[i];
16287		}
16288		short int ebcdic_ii[] =
16289		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16290		short int ebcdic_mm[] =
16291		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16292		int use_ebcdic (int i) {
16293		  return ebcdic_mm[i] + ebcdic_ii[i];
16294		}
16295		extern int foo;
16296
16297int
16298main ()
16299{
16300return use_ascii (foo) == use_ebcdic (foo);
16301  ;
16302  return 0;
16303}
16304_ACEOF
16305if ac_fn_c_try_compile "$LINENO"; then :
16306  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
16307	      ac_cv_c_bigendian=yes
16308	    fi
16309	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
16310	      if test "$ac_cv_c_bigendian" = unknown; then
16311		ac_cv_c_bigendian=no
16312	      else
16313		# finding both strings is unlikely to happen, but who knows?
16314		ac_cv_c_bigendian=unknown
16315	      fi
16316	    fi
16317fi
16318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16319else
16320  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16321/* end confdefs.h.  */
16322$ac_includes_default
16323int
16324main ()
16325{
16326
16327	     /* Are we little or big endian?  From Harbison&Steele.  */
16328	     union
16329	     {
16330	       long int l;
16331	       char c[sizeof (long int)];
16332	     } u;
16333	     u.l = 1;
16334	     return u.c[sizeof (long int) - 1] == 1;
16335
16336  ;
16337  return 0;
16338}
16339_ACEOF
16340if ac_fn_c_try_run "$LINENO"; then :
16341  ac_cv_c_bigendian=no
16342else
16343  ac_cv_c_bigendian=yes
16344fi
16345rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16346  conftest.$ac_objext conftest.beam conftest.$ac_ext
16347fi
16348
16349    fi
16350fi
16351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16352$as_echo "$ac_cv_c_bigendian" >&6; }
16353 case $ac_cv_c_bigendian in #(
16354   yes)
16355     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16356;; #(
16357   no)
16358      ;; #(
16359   universal)
16360
16361$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16362
16363     ;; #(
16364   *)
16365     as_fn_error $? "unknown endianness
16366 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16367 esac
16368
16369# Check whether --enable-largefile was given.
16370if test "${enable_largefile+set}" = set; then :
16371  enableval=$enable_largefile;
16372fi
16373
16374if test "$enable_largefile" != no; then
16375
16376  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16377$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16378if ${ac_cv_sys_largefile_CC+:} false; then :
16379  $as_echo_n "(cached) " >&6
16380else
16381  ac_cv_sys_largefile_CC=no
16382     if test "$GCC" != yes; then
16383       ac_save_CC=$CC
16384       while :; do
16385	 # IRIX 6.2 and later do not support large files by default,
16386	 # so use the C compiler's -n32 option if that helps.
16387	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388/* end confdefs.h.  */
16389#include <sys/types.h>
16390 /* Check that off_t can represent 2**63 - 1 correctly.
16391    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16392    since some C++ compilers masquerading as C compilers
16393    incorrectly reject 9223372036854775807.  */
16394#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16395  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16396		       && LARGE_OFF_T % 2147483647 == 1)
16397		      ? 1 : -1];
16398int
16399main ()
16400{
16401
16402  ;
16403  return 0;
16404}
16405_ACEOF
16406	 if ac_fn_c_try_compile "$LINENO"; then :
16407  break
16408fi
16409rm -f core conftest.err conftest.$ac_objext
16410	 CC="$CC -n32"
16411	 if ac_fn_c_try_compile "$LINENO"; then :
16412  ac_cv_sys_largefile_CC=' -n32'; break
16413fi
16414rm -f core conftest.err conftest.$ac_objext
16415	 break
16416       done
16417       CC=$ac_save_CC
16418       rm -f conftest.$ac_ext
16419    fi
16420fi
16421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16422$as_echo "$ac_cv_sys_largefile_CC" >&6; }
16423  if test "$ac_cv_sys_largefile_CC" != no; then
16424    CC=$CC$ac_cv_sys_largefile_CC
16425  fi
16426
16427  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16428$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16429if ${ac_cv_sys_file_offset_bits+:} false; then :
16430  $as_echo_n "(cached) " >&6
16431else
16432  while :; do
16433  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16434/* end confdefs.h.  */
16435#include <sys/types.h>
16436 /* Check that off_t can represent 2**63 - 1 correctly.
16437    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16438    since some C++ compilers masquerading as C compilers
16439    incorrectly reject 9223372036854775807.  */
16440#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16441  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16442		       && LARGE_OFF_T % 2147483647 == 1)
16443		      ? 1 : -1];
16444int
16445main ()
16446{
16447
16448  ;
16449  return 0;
16450}
16451_ACEOF
16452if ac_fn_c_try_compile "$LINENO"; then :
16453  ac_cv_sys_file_offset_bits=no; break
16454fi
16455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16456  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16457/* end confdefs.h.  */
16458#define _FILE_OFFSET_BITS 64
16459#include <sys/types.h>
16460 /* Check that off_t can represent 2**63 - 1 correctly.
16461    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16462    since some C++ compilers masquerading as C compilers
16463    incorrectly reject 9223372036854775807.  */
16464#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16465  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16466		       && LARGE_OFF_T % 2147483647 == 1)
16467		      ? 1 : -1];
16468int
16469main ()
16470{
16471
16472  ;
16473  return 0;
16474}
16475_ACEOF
16476if ac_fn_c_try_compile "$LINENO"; then :
16477  ac_cv_sys_file_offset_bits=64; break
16478fi
16479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16480  ac_cv_sys_file_offset_bits=unknown
16481  break
16482done
16483fi
16484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16485$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16486case $ac_cv_sys_file_offset_bits in #(
16487  no | unknown) ;;
16488  *)
16489cat >>confdefs.h <<_ACEOF
16490#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16491_ACEOF
16492;;
16493esac
16494rm -rf conftest*
16495  if test $ac_cv_sys_file_offset_bits = unknown; then
16496    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16497$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16498if ${ac_cv_sys_large_files+:} false; then :
16499  $as_echo_n "(cached) " >&6
16500else
16501  while :; do
16502  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16503/* end confdefs.h.  */
16504#include <sys/types.h>
16505 /* Check that off_t can represent 2**63 - 1 correctly.
16506    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16507    since some C++ compilers masquerading as C compilers
16508    incorrectly reject 9223372036854775807.  */
16509#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16510  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16511		       && LARGE_OFF_T % 2147483647 == 1)
16512		      ? 1 : -1];
16513int
16514main ()
16515{
16516
16517  ;
16518  return 0;
16519}
16520_ACEOF
16521if ac_fn_c_try_compile "$LINENO"; then :
16522  ac_cv_sys_large_files=no; break
16523fi
16524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16525  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16526/* end confdefs.h.  */
16527#define _LARGE_FILES 1
16528#include <sys/types.h>
16529 /* Check that off_t can represent 2**63 - 1 correctly.
16530    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16531    since some C++ compilers masquerading as C compilers
16532    incorrectly reject 9223372036854775807.  */
16533#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16534  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16535		       && LARGE_OFF_T % 2147483647 == 1)
16536		      ? 1 : -1];
16537int
16538main ()
16539{
16540
16541  ;
16542  return 0;
16543}
16544_ACEOF
16545if ac_fn_c_try_compile "$LINENO"; then :
16546  ac_cv_sys_large_files=1; break
16547fi
16548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16549  ac_cv_sys_large_files=unknown
16550  break
16551done
16552fi
16553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16554$as_echo "$ac_cv_sys_large_files" >&6; }
16555case $ac_cv_sys_large_files in #(
16556  no | unknown) ;;
16557  *)
16558cat >>confdefs.h <<_ACEOF
16559#define _LARGE_FILES $ac_cv_sys_large_files
16560_ACEOF
16561;;
16562esac
16563rm -rf conftest*
16564  fi
16565
16566
16567fi
16568
16569
16570for ac_header in libgen.h
16571do :
16572  ac_fn_c_check_header_mongrel "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default"
16573if test "x$ac_cv_header_libgen_h" = xyes; then :
16574  cat >>confdefs.h <<_ACEOF
16575#define HAVE_LIBGEN_H 1
16576_ACEOF
16577
16578fi
16579
16580done
16581
16582for ac_header in dirent.h
16583do :
16584  ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
16585if test "x$ac_cv_header_dirent_h" = xyes; then :
16586  cat >>confdefs.h <<_ACEOF
16587#define HAVE_DIRENT_H 1
16588_ACEOF
16589
16590fi
16591
16592done
16593
16594for ac_header in inttypes.h
16595do :
16596  ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
16597if test "x$ac_cv_header_inttypes_h" = xyes; then :
16598  cat >>confdefs.h <<_ACEOF
16599#define HAVE_INTTYPES_H 1
16600_ACEOF
16601
16602fi
16603
16604done
16605
16606
16607for ac_header in fcntl.h sys/types.h sys/ioctl.h sys/param.h wchar.h unistd.h sys/stat.h sys/disk.h
16608do :
16609  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16610ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16611if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16612  cat >>confdefs.h <<_ACEOF
16613#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16614_ACEOF
16615
16616fi
16617
16618done
16619
16620
16621ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
16622if test "x$ac_cv_header_inttypes_h" = xyes; then :
16623
16624else
16625  as_fn_error $? "You must have inttypes.h or some other C99 equivalent" "$LINENO" 5
16626fi
16627
16628
16629
16630# Bit-parallel string processing
16631# Check whether --enable-bitparallel-string-ops was given.
16632if test "${enable_bitparallel_string_ops+set}" = set; then :
16633  enableval=$enable_bitparallel_string_ops;
16634else
16635  enable_bitparallel_string_ops=yes
16636fi
16637
16638if test "x$enable_bitparallel_string_ops" = xno; then :
16639
16640
16641$as_echo "#define SSDEEP_DISABLE_POSITION_ARRAY 1" >>confdefs.h
16642
16643
16644fi
16645
16646# These includes are required on FreeBSD
16647for ac_header in sys/mount.h
16648do :
16649  ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#ifdef HAVE_SYS_TYPES_H
16650 # include <sys/types.h>
16651 #endif
16652 #ifdef HAVE_SYS_PARAM_H
16653 # include <sys/param.h>
16654 #endif
16655"
16656if test "x$ac_cv_header_sys_mount_h" = xyes; then :
16657  cat >>confdefs.h <<_ACEOF
16658#define HAVE_SYS_MOUNT_H 1
16659_ACEOF
16660
16661fi
16662
16663done
16664
16665
16666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
16667$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
16668if ${ac_cv_sys_largefile_source+:} false; then :
16669  $as_echo_n "(cached) " >&6
16670else
16671  while :; do
16672  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16673/* end confdefs.h.  */
16674#include <sys/types.h> /* for off_t */
16675     #include <stdio.h>
16676int
16677main ()
16678{
16679int (*fp) (FILE *, off_t, int) = fseeko;
16680     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
16681  ;
16682  return 0;
16683}
16684_ACEOF
16685if ac_fn_c_try_link "$LINENO"; then :
16686  ac_cv_sys_largefile_source=no; break
16687fi
16688rm -f core conftest.err conftest.$ac_objext \
16689    conftest$ac_exeext conftest.$ac_ext
16690  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16691/* end confdefs.h.  */
16692#define _LARGEFILE_SOURCE 1
16693#include <sys/types.h> /* for off_t */
16694     #include <stdio.h>
16695int
16696main ()
16697{
16698int (*fp) (FILE *, off_t, int) = fseeko;
16699     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
16700  ;
16701  return 0;
16702}
16703_ACEOF
16704if ac_fn_c_try_link "$LINENO"; then :
16705  ac_cv_sys_largefile_source=1; break
16706fi
16707rm -f core conftest.err conftest.$ac_objext \
16708    conftest$ac_exeext conftest.$ac_ext
16709  ac_cv_sys_largefile_source=unknown
16710  break
16711done
16712fi
16713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
16714$as_echo "$ac_cv_sys_largefile_source" >&6; }
16715case $ac_cv_sys_largefile_source in #(
16716  no | unknown) ;;
16717  *)
16718cat >>confdefs.h <<_ACEOF
16719#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
16720_ACEOF
16721;;
16722esac
16723rm -rf conftest*
16724
16725# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
16726# in glibc 2.1.3, but that breaks too many other things.
16727# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
16728if test $ac_cv_sys_largefile_source != unknown; then
16729
16730$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
16731
16732fi
16733
16734
16735cat >confcache <<\_ACEOF
16736# This file is a shell script that caches the results of configure
16737# tests run on this system so they can be shared between configure
16738# scripts and configure runs, see configure's option --config-cache.
16739# It is not useful on other systems.  If it contains results you don't
16740# want to keep, you may remove or edit it.
16741#
16742# config.status only pays attention to the cache file if you give it
16743# the --recheck option to rerun configure.
16744#
16745# `ac_cv_env_foo' variables (set or unset) will be overridden when
16746# loading this file, other *unset* `ac_cv_foo' will be assigned the
16747# following values.
16748
16749_ACEOF
16750
16751# The following way of writing the cache mishandles newlines in values,
16752# but we know of no workaround that is simple, portable, and efficient.
16753# So, we kill variables containing newlines.
16754# Ultrix sh set writes to stderr and can't be redirected directly,
16755# and sets the high bit in the cache file unless we assign to the vars.
16756(
16757  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16758    eval ac_val=\$$ac_var
16759    case $ac_val in #(
16760    *${as_nl}*)
16761      case $ac_var in #(
16762      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16763$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16764      esac
16765      case $ac_var in #(
16766      _ | IFS | as_nl) ;; #(
16767      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16768      *) { eval $ac_var=; unset $ac_var;} ;;
16769      esac ;;
16770    esac
16771  done
16772
16773  (set) 2>&1 |
16774    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16775    *${as_nl}ac_space=\ *)
16776      # `set' does not quote correctly, so add quotes: double-quote
16777      # substitution turns \\\\ into \\, and sed turns \\ into \.
16778      sed -n \
16779	"s/'/'\\\\''/g;
16780	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16781      ;; #(
16782    *)
16783      # `set' quotes correctly as required by POSIX, so do not add quotes.
16784      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16785      ;;
16786    esac |
16787    sort
16788) |
16789  sed '
16790     /^ac_cv_env_/b end
16791     t clear
16792     :clear
16793     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16794     t end
16795     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16796     :end' >>confcache
16797if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16798  if test -w "$cache_file"; then
16799    if test "x$cache_file" != "x/dev/null"; then
16800      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16801$as_echo "$as_me: updating cache $cache_file" >&6;}
16802      if test ! -f "$cache_file" || test -h "$cache_file"; then
16803	cat confcache >"$cache_file"
16804      else
16805        case $cache_file in #(
16806        */* | ?:*)
16807	  mv -f confcache "$cache_file"$$ &&
16808	  mv -f "$cache_file"$$ "$cache_file" ;; #(
16809        *)
16810	  mv -f confcache "$cache_file" ;;
16811	esac
16812      fi
16813    fi
16814  else
16815    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16816$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16817  fi
16818fi
16819rm -f confcache
16820
16821test "x$prefix" = xNONE && prefix=$ac_default_prefix
16822# Let make expand exec_prefix.
16823test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16824
16825DEFS=-DHAVE_CONFIG_H
16826
16827ac_libobjs=
16828ac_ltlibobjs=
16829for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16830  # 1. Remove the extension, and $U if already installed.
16831  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16832  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16833  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16834  #    will be set to the directory where LIBOBJS objects are built.
16835  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16836  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16837done
16838LIBOBJS=$ac_libobjs
16839
16840LTLIBOBJS=$ac_ltlibobjs
16841
16842
16843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16844$as_echo_n "checking that generated files are newer than configure... " >&6; }
16845   if test -n "$am_sleep_pid"; then
16846     # Hide warnings about reused PIDs.
16847     wait $am_sleep_pid 2>/dev/null
16848   fi
16849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16850$as_echo "done" >&6; }
16851 if test -n "$EXEEXT"; then
16852  am__EXEEXT_TRUE=
16853  am__EXEEXT_FALSE='#'
16854else
16855  am__EXEEXT_TRUE='#'
16856  am__EXEEXT_FALSE=
16857fi
16858
16859if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16860  as_fn_error $? "conditional \"AMDEP\" was never defined.
16861Usually this means the macro was only invoked conditionally." "$LINENO" 5
16862fi
16863if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16864  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16865Usually this means the macro was only invoked conditionally." "$LINENO" 5
16866fi
16867if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16868  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16869Usually this means the macro was only invoked conditionally." "$LINENO" 5
16870fi
16871
16872
16873: "${CONFIG_STATUS=./config.status}"
16874ac_write_fail=0
16875ac_clean_files_save=$ac_clean_files
16876ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16877{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16878$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16879as_write_fail=0
16880cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16881#! $SHELL
16882# Generated by $as_me.
16883# Run this file to recreate the current configuration.
16884# Compiler output produced by configure, useful for debugging
16885# configure, is in config.log if it exists.
16886
16887debug=false
16888ac_cs_recheck=false
16889ac_cs_silent=false
16890
16891SHELL=\${CONFIG_SHELL-$SHELL}
16892export SHELL
16893_ASEOF
16894cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16895## -------------------- ##
16896## M4sh Initialization. ##
16897## -------------------- ##
16898
16899# Be more Bourne compatible
16900DUALCASE=1; export DUALCASE # for MKS sh
16901if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16902  emulate sh
16903  NULLCMD=:
16904  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16905  # is contrary to our usage.  Disable this feature.
16906  alias -g '${1+"$@"}'='"$@"'
16907  setopt NO_GLOB_SUBST
16908else
16909  case `(set -o) 2>/dev/null` in #(
16910  *posix*) :
16911    set -o posix ;; #(
16912  *) :
16913     ;;
16914esac
16915fi
16916
16917
16918as_nl='
16919'
16920export as_nl
16921# Printing a long string crashes Solaris 7 /usr/bin/printf.
16922as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16923as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16924as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16925# Prefer a ksh shell builtin over an external printf program on Solaris,
16926# but without wasting forks for bash or zsh.
16927if test -z "$BASH_VERSION$ZSH_VERSION" \
16928    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16929  as_echo='print -r --'
16930  as_echo_n='print -rn --'
16931elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16932  as_echo='printf %s\n'
16933  as_echo_n='printf %s'
16934else
16935  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16936    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16937    as_echo_n='/usr/ucb/echo -n'
16938  else
16939    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16940    as_echo_n_body='eval
16941      arg=$1;
16942      case $arg in #(
16943      *"$as_nl"*)
16944	expr "X$arg" : "X\\(.*\\)$as_nl";
16945	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16946      esac;
16947      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16948    '
16949    export as_echo_n_body
16950    as_echo_n='sh -c $as_echo_n_body as_echo'
16951  fi
16952  export as_echo_body
16953  as_echo='sh -c $as_echo_body as_echo'
16954fi
16955
16956# The user is always right.
16957if test "${PATH_SEPARATOR+set}" != set; then
16958  PATH_SEPARATOR=:
16959  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16960    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16961      PATH_SEPARATOR=';'
16962  }
16963fi
16964
16965
16966# IFS
16967# We need space, tab and new line, in precisely that order.  Quoting is
16968# there to prevent editors from complaining about space-tab.
16969# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16970# splitting by setting IFS to empty value.)
16971IFS=" ""	$as_nl"
16972
16973# Find who we are.  Look in the path if we contain no directory separator.
16974as_myself=
16975case $0 in #((
16976  *[\\/]* ) as_myself=$0 ;;
16977  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16978for as_dir in $PATH
16979do
16980  IFS=$as_save_IFS
16981  test -z "$as_dir" && as_dir=.
16982    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16983  done
16984IFS=$as_save_IFS
16985
16986     ;;
16987esac
16988# We did not find ourselves, most probably we were run as `sh COMMAND'
16989# in which case we are not to be found in the path.
16990if test "x$as_myself" = x; then
16991  as_myself=$0
16992fi
16993if test ! -f "$as_myself"; then
16994  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16995  exit 1
16996fi
16997
16998# Unset variables that we do not need and which cause bugs (e.g. in
16999# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17000# suppresses any "Segmentation fault" message there.  '((' could
17001# trigger a bug in pdksh 5.2.14.
17002for as_var in BASH_ENV ENV MAIL MAILPATH
17003do eval test x\${$as_var+set} = xset \
17004  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17005done
17006PS1='$ '
17007PS2='> '
17008PS4='+ '
17009
17010# NLS nuisances.
17011LC_ALL=C
17012export LC_ALL
17013LANGUAGE=C
17014export LANGUAGE
17015
17016# CDPATH.
17017(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17018
17019
17020# as_fn_error STATUS ERROR [LINENO LOG_FD]
17021# ----------------------------------------
17022# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17023# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17024# script with STATUS, using 1 if that was 0.
17025as_fn_error ()
17026{
17027  as_status=$1; test $as_status -eq 0 && as_status=1
17028  if test "$4"; then
17029    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17030    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17031  fi
17032  $as_echo "$as_me: error: $2" >&2
17033  as_fn_exit $as_status
17034} # as_fn_error
17035
17036
17037# as_fn_set_status STATUS
17038# -----------------------
17039# Set $? to STATUS, without forking.
17040as_fn_set_status ()
17041{
17042  return $1
17043} # as_fn_set_status
17044
17045# as_fn_exit STATUS
17046# -----------------
17047# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17048as_fn_exit ()
17049{
17050  set +e
17051  as_fn_set_status $1
17052  exit $1
17053} # as_fn_exit
17054
17055# as_fn_unset VAR
17056# ---------------
17057# Portably unset VAR.
17058as_fn_unset ()
17059{
17060  { eval $1=; unset $1;}
17061}
17062as_unset=as_fn_unset
17063# as_fn_append VAR VALUE
17064# ----------------------
17065# Append the text in VALUE to the end of the definition contained in VAR. Take
17066# advantage of any shell optimizations that allow amortized linear growth over
17067# repeated appends, instead of the typical quadratic growth present in naive
17068# implementations.
17069if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17070  eval 'as_fn_append ()
17071  {
17072    eval $1+=\$2
17073  }'
17074else
17075  as_fn_append ()
17076  {
17077    eval $1=\$$1\$2
17078  }
17079fi # as_fn_append
17080
17081# as_fn_arith ARG...
17082# ------------------
17083# Perform arithmetic evaluation on the ARGs, and store the result in the
17084# global $as_val. Take advantage of shells that can avoid forks. The arguments
17085# must be portable across $(()) and expr.
17086if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17087  eval 'as_fn_arith ()
17088  {
17089    as_val=$(( $* ))
17090  }'
17091else
17092  as_fn_arith ()
17093  {
17094    as_val=`expr "$@" || test $? -eq 1`
17095  }
17096fi # as_fn_arith
17097
17098
17099if expr a : '\(a\)' >/dev/null 2>&1 &&
17100   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17101  as_expr=expr
17102else
17103  as_expr=false
17104fi
17105
17106if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17107  as_basename=basename
17108else
17109  as_basename=false
17110fi
17111
17112if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17113  as_dirname=dirname
17114else
17115  as_dirname=false
17116fi
17117
17118as_me=`$as_basename -- "$0" ||
17119$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17120	 X"$0" : 'X\(//\)$' \| \
17121	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17122$as_echo X/"$0" |
17123    sed '/^.*\/\([^/][^/]*\)\/*$/{
17124	    s//\1/
17125	    q
17126	  }
17127	  /^X\/\(\/\/\)$/{
17128	    s//\1/
17129	    q
17130	  }
17131	  /^X\/\(\/\).*/{
17132	    s//\1/
17133	    q
17134	  }
17135	  s/.*/./; q'`
17136
17137# Avoid depending upon Character Ranges.
17138as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17139as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17140as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17141as_cr_digits='0123456789'
17142as_cr_alnum=$as_cr_Letters$as_cr_digits
17143
17144ECHO_C= ECHO_N= ECHO_T=
17145case `echo -n x` in #(((((
17146-n*)
17147  case `echo 'xy\c'` in
17148  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
17149  xy)  ECHO_C='\c';;
17150  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17151       ECHO_T='	';;
17152  esac;;
17153*)
17154  ECHO_N='-n';;
17155esac
17156
17157rm -f conf$$ conf$$.exe conf$$.file
17158if test -d conf$$.dir; then
17159  rm -f conf$$.dir/conf$$.file
17160else
17161  rm -f conf$$.dir
17162  mkdir conf$$.dir 2>/dev/null
17163fi
17164if (echo >conf$$.file) 2>/dev/null; then
17165  if ln -s conf$$.file conf$$ 2>/dev/null; then
17166    as_ln_s='ln -s'
17167    # ... but there are two gotchas:
17168    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17169    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17170    # In both cases, we have to default to `cp -pR'.
17171    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17172      as_ln_s='cp -pR'
17173  elif ln conf$$.file conf$$ 2>/dev/null; then
17174    as_ln_s=ln
17175  else
17176    as_ln_s='cp -pR'
17177  fi
17178else
17179  as_ln_s='cp -pR'
17180fi
17181rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17182rmdir conf$$.dir 2>/dev/null
17183
17184
17185# as_fn_mkdir_p
17186# -------------
17187# Create "$as_dir" as a directory, including parents if necessary.
17188as_fn_mkdir_p ()
17189{
17190
17191  case $as_dir in #(
17192  -*) as_dir=./$as_dir;;
17193  esac
17194  test -d "$as_dir" || eval $as_mkdir_p || {
17195    as_dirs=
17196    while :; do
17197      case $as_dir in #(
17198      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17199      *) as_qdir=$as_dir;;
17200      esac
17201      as_dirs="'$as_qdir' $as_dirs"
17202      as_dir=`$as_dirname -- "$as_dir" ||
17203$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17204	 X"$as_dir" : 'X\(//\)[^/]' \| \
17205	 X"$as_dir" : 'X\(//\)$' \| \
17206	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17207$as_echo X"$as_dir" |
17208    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17209	    s//\1/
17210	    q
17211	  }
17212	  /^X\(\/\/\)[^/].*/{
17213	    s//\1/
17214	    q
17215	  }
17216	  /^X\(\/\/\)$/{
17217	    s//\1/
17218	    q
17219	  }
17220	  /^X\(\/\).*/{
17221	    s//\1/
17222	    q
17223	  }
17224	  s/.*/./; q'`
17225      test -d "$as_dir" && break
17226    done
17227    test -z "$as_dirs" || eval "mkdir $as_dirs"
17228  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17229
17230
17231} # as_fn_mkdir_p
17232if mkdir -p . 2>/dev/null; then
17233  as_mkdir_p='mkdir -p "$as_dir"'
17234else
17235  test -d ./-p && rmdir ./-p
17236  as_mkdir_p=false
17237fi
17238
17239
17240# as_fn_executable_p FILE
17241# -----------------------
17242# Test if FILE is an executable regular file.
17243as_fn_executable_p ()
17244{
17245  test -f "$1" && test -x "$1"
17246} # as_fn_executable_p
17247as_test_x='test -x'
17248as_executable_p=as_fn_executable_p
17249
17250# Sed expression to map a string onto a valid CPP name.
17251as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17252
17253# Sed expression to map a string onto a valid variable name.
17254as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17255
17256
17257exec 6>&1
17258## ----------------------------------- ##
17259## Main body of $CONFIG_STATUS script. ##
17260## ----------------------------------- ##
17261_ASEOF
17262test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17263
17264cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17265# Save the log message, to keep $0 and so on meaningful, and to
17266# report actual input values of CONFIG_FILES etc. instead of their
17267# values after options handling.
17268ac_log="
17269This file was extended by ssdeep $as_me 2.14.1, which was
17270generated by GNU Autoconf 2.69.  Invocation command line was
17271
17272  CONFIG_FILES    = $CONFIG_FILES
17273  CONFIG_HEADERS  = $CONFIG_HEADERS
17274  CONFIG_LINKS    = $CONFIG_LINKS
17275  CONFIG_COMMANDS = $CONFIG_COMMANDS
17276  $ $0 $@
17277
17278on `(hostname || uname -n) 2>/dev/null | sed 1q`
17279"
17280
17281_ACEOF
17282
17283case $ac_config_files in *"
17284"*) set x $ac_config_files; shift; ac_config_files=$*;;
17285esac
17286
17287case $ac_config_headers in *"
17288"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17289esac
17290
17291
17292cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17293# Files that config.status was made for.
17294config_files="$ac_config_files"
17295config_headers="$ac_config_headers"
17296config_commands="$ac_config_commands"
17297
17298_ACEOF
17299
17300cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17301ac_cs_usage="\
17302\`$as_me' instantiates files and other configuration actions
17303from templates according to the current configuration.  Unless the files
17304and actions are specified as TAGs, all are instantiated by default.
17305
17306Usage: $0 [OPTION]... [TAG]...
17307
17308  -h, --help       print this help, then exit
17309  -V, --version    print version number and configuration settings, then exit
17310      --config     print configuration, then exit
17311  -q, --quiet, --silent
17312                   do not print progress messages
17313  -d, --debug      don't remove temporary files
17314      --recheck    update $as_me by reconfiguring in the same conditions
17315      --file=FILE[:TEMPLATE]
17316                   instantiate the configuration file FILE
17317      --header=FILE[:TEMPLATE]
17318                   instantiate the configuration header FILE
17319
17320Configuration files:
17321$config_files
17322
17323Configuration headers:
17324$config_headers
17325
17326Configuration commands:
17327$config_commands
17328
17329Report bugs to <floss_ssdeep@irq.a4lg.com>."
17330
17331_ACEOF
17332cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17333ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17334ac_cs_version="\\
17335ssdeep config.status 2.14.1
17336configured by $0, generated by GNU Autoconf 2.69,
17337  with options \\"\$ac_cs_config\\"
17338
17339Copyright (C) 2012 Free Software Foundation, Inc.
17340This config.status script is free software; the Free Software Foundation
17341gives unlimited permission to copy, distribute and modify it."
17342
17343ac_pwd='$ac_pwd'
17344srcdir='$srcdir'
17345INSTALL='$INSTALL'
17346MKDIR_P='$MKDIR_P'
17347AWK='$AWK'
17348test -n "\$AWK" || AWK=awk
17349_ACEOF
17350
17351cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17352# The default lists apply if the user does not specify any file.
17353ac_need_defaults=:
17354while test $# != 0
17355do
17356  case $1 in
17357  --*=?*)
17358    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17359    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17360    ac_shift=:
17361    ;;
17362  --*=)
17363    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17364    ac_optarg=
17365    ac_shift=:
17366    ;;
17367  *)
17368    ac_option=$1
17369    ac_optarg=$2
17370    ac_shift=shift
17371    ;;
17372  esac
17373
17374  case $ac_option in
17375  # Handling of the options.
17376  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17377    ac_cs_recheck=: ;;
17378  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17379    $as_echo "$ac_cs_version"; exit ;;
17380  --config | --confi | --conf | --con | --co | --c )
17381    $as_echo "$ac_cs_config"; exit ;;
17382  --debug | --debu | --deb | --de | --d | -d )
17383    debug=: ;;
17384  --file | --fil | --fi | --f )
17385    $ac_shift
17386    case $ac_optarg in
17387    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17388    '') as_fn_error $? "missing file argument" ;;
17389    esac
17390    as_fn_append CONFIG_FILES " '$ac_optarg'"
17391    ac_need_defaults=false;;
17392  --header | --heade | --head | --hea )
17393    $ac_shift
17394    case $ac_optarg in
17395    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17396    esac
17397    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17398    ac_need_defaults=false;;
17399  --he | --h)
17400    # Conflict between --help and --header
17401    as_fn_error $? "ambiguous option: \`$1'
17402Try \`$0 --help' for more information.";;
17403  --help | --hel | -h )
17404    $as_echo "$ac_cs_usage"; exit ;;
17405  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17406  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17407    ac_cs_silent=: ;;
17408
17409  # This is an error.
17410  -*) as_fn_error $? "unrecognized option: \`$1'
17411Try \`$0 --help' for more information." ;;
17412
17413  *) as_fn_append ac_config_targets " $1"
17414     ac_need_defaults=false ;;
17415
17416  esac
17417  shift
17418done
17419
17420ac_configure_extra_args=
17421
17422if $ac_cs_silent; then
17423  exec 6>/dev/null
17424  ac_configure_extra_args="$ac_configure_extra_args --silent"
17425fi
17426
17427_ACEOF
17428cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17429if \$ac_cs_recheck; then
17430  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17431  shift
17432  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17433  CONFIG_SHELL='$SHELL'
17434  export CONFIG_SHELL
17435  exec "\$@"
17436fi
17437
17438_ACEOF
17439cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17440exec 5>>config.log
17441{
17442  echo
17443  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17444## Running $as_me. ##
17445_ASBOX
17446  $as_echo "$ac_log"
17447} >&5
17448
17449_ACEOF
17450cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17451#
17452# INIT-COMMANDS
17453#
17454AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17455
17456
17457# The HP-UX ksh and POSIX shell print the target directory to stdout
17458# if CDPATH is set.
17459(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17460
17461sed_quote_subst='$sed_quote_subst'
17462double_quote_subst='$double_quote_subst'
17463delay_variable_subst='$delay_variable_subst'
17464AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17465DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17466OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17467macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17468macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17469enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17470enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17471pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17472enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17473shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17474SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17475ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17476PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17477host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17478host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17479host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17480build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17481build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17482build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17483SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17484Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17485GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17486EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17487FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17488LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17489NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17490LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17491max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17492ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17493exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17494lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17495lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17496lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17497lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17498lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17499reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17500reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17501deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17502file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17503file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17504want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17505sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17506AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17507AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17508archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17509STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17510RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17511old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17512old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17513old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17514lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17515CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17516CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17517compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17518GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17519lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17520lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17521lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17522lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17523lt_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"`'
17524lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17525nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17526lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17527lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17528objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17529MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17530lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17531lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17532lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17533lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17534lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17535need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17536MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17537DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17538NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17539LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17540OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17541OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17542libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17543shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17544extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17545archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17546enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17547export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17548whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17549compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17550old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17551old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17552archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17553archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17554module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17555module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17556with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17557allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17558no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17559hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17560hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17561hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17562hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17563hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17564hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17565hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17566inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17567link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17568always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17569export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17570exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17571include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17572prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17573postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17574file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17575variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17576need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17577need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17578version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17579runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17580shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17581shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17582libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17583library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17584soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17585install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17586postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17587postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17588finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17589finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17590hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17591sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17592configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17593configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17594hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17595enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17596enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17597enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17598old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17599striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17600compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17601predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17602postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17603predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17604postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17605compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17606LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17607reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17608reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17609old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17610compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17611GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17612lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17613lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17614lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17615lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17616lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17617archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17618enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17619export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17620whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17621compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17622old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17623old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17624archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17625archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17626module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17627module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17628with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17629allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17630no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17631hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17632hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17633hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17634hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17635hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17636hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17637hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17638inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17639link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17640always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17641export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17642exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17643include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17644prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17645postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17646file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17647hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17648compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17649predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17650postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17651predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17652postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17653compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17654
17655LTCC='$LTCC'
17656LTCFLAGS='$LTCFLAGS'
17657compiler='$compiler_DEFAULT'
17658
17659# A function that is used when there is no print builtin or printf.
17660func_fallback_echo ()
17661{
17662  eval 'cat <<_LTECHO_EOF
17663\$1
17664_LTECHO_EOF'
17665}
17666
17667# Quote evaled strings.
17668for var in AS \
17669DLLTOOL \
17670OBJDUMP \
17671SHELL \
17672ECHO \
17673PATH_SEPARATOR \
17674SED \
17675GREP \
17676EGREP \
17677FGREP \
17678LD \
17679NM \
17680LN_S \
17681lt_SP2NL \
17682lt_NL2SP \
17683reload_flag \
17684deplibs_check_method \
17685file_magic_cmd \
17686file_magic_glob \
17687want_nocaseglob \
17688sharedlib_from_linklib_cmd \
17689AR \
17690AR_FLAGS \
17691archiver_list_spec \
17692STRIP \
17693RANLIB \
17694CC \
17695CFLAGS \
17696compiler \
17697lt_cv_sys_global_symbol_pipe \
17698lt_cv_sys_global_symbol_to_cdecl \
17699lt_cv_sys_global_symbol_to_import \
17700lt_cv_sys_global_symbol_to_c_name_address \
17701lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17702lt_cv_nm_interface \
17703nm_file_list_spec \
17704lt_cv_truncate_bin \
17705lt_prog_compiler_no_builtin_flag \
17706lt_prog_compiler_pic \
17707lt_prog_compiler_wl \
17708lt_prog_compiler_static \
17709lt_cv_prog_compiler_c_o \
17710need_locks \
17711MANIFEST_TOOL \
17712DSYMUTIL \
17713NMEDIT \
17714LIPO \
17715OTOOL \
17716OTOOL64 \
17717shrext_cmds \
17718export_dynamic_flag_spec \
17719whole_archive_flag_spec \
17720compiler_needs_object \
17721with_gnu_ld \
17722allow_undefined_flag \
17723no_undefined_flag \
17724hardcode_libdir_flag_spec \
17725hardcode_libdir_separator \
17726exclude_expsyms \
17727include_expsyms \
17728file_list_spec \
17729variables_saved_for_relink \
17730libname_spec \
17731library_names_spec \
17732soname_spec \
17733install_override_mode \
17734finish_eval \
17735old_striplib \
17736striplib \
17737compiler_lib_search_dirs \
17738predep_objects \
17739postdep_objects \
17740predeps \
17741postdeps \
17742compiler_lib_search_path \
17743LD_CXX \
17744reload_flag_CXX \
17745compiler_CXX \
17746lt_prog_compiler_no_builtin_flag_CXX \
17747lt_prog_compiler_pic_CXX \
17748lt_prog_compiler_wl_CXX \
17749lt_prog_compiler_static_CXX \
17750lt_cv_prog_compiler_c_o_CXX \
17751export_dynamic_flag_spec_CXX \
17752whole_archive_flag_spec_CXX \
17753compiler_needs_object_CXX \
17754with_gnu_ld_CXX \
17755allow_undefined_flag_CXX \
17756no_undefined_flag_CXX \
17757hardcode_libdir_flag_spec_CXX \
17758hardcode_libdir_separator_CXX \
17759exclude_expsyms_CXX \
17760include_expsyms_CXX \
17761file_list_spec_CXX \
17762compiler_lib_search_dirs_CXX \
17763predep_objects_CXX \
17764postdep_objects_CXX \
17765predeps_CXX \
17766postdeps_CXX \
17767compiler_lib_search_path_CXX; do
17768    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17769    *[\\\\\\\`\\"\\\$]*)
17770      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17771      ;;
17772    *)
17773      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17774      ;;
17775    esac
17776done
17777
17778# Double-quote double-evaled strings.
17779for var in reload_cmds \
17780old_postinstall_cmds \
17781old_postuninstall_cmds \
17782old_archive_cmds \
17783extract_expsyms_cmds \
17784old_archive_from_new_cmds \
17785old_archive_from_expsyms_cmds \
17786archive_cmds \
17787archive_expsym_cmds \
17788module_cmds \
17789module_expsym_cmds \
17790export_symbols_cmds \
17791prelink_cmds \
17792postlink_cmds \
17793postinstall_cmds \
17794postuninstall_cmds \
17795finish_cmds \
17796sys_lib_search_path_spec \
17797configure_time_dlsearch_path \
17798configure_time_lt_sys_library_path \
17799reload_cmds_CXX \
17800old_archive_cmds_CXX \
17801old_archive_from_new_cmds_CXX \
17802old_archive_from_expsyms_cmds_CXX \
17803archive_cmds_CXX \
17804archive_expsym_cmds_CXX \
17805module_cmds_CXX \
17806module_expsym_cmds_CXX \
17807export_symbols_cmds_CXX \
17808prelink_cmds_CXX \
17809postlink_cmds_CXX; do
17810    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17811    *[\\\\\\\`\\"\\\$]*)
17812      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17813      ;;
17814    *)
17815      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17816      ;;
17817    esac
17818done
17819
17820ac_aux_dir='$ac_aux_dir'
17821
17822# See if we are running on zsh, and set the options that allow our
17823# commands through without removal of \ escapes INIT.
17824if test -n "\${ZSH_VERSION+set}"; then
17825   setopt NO_GLOB_SUBST
17826fi
17827
17828
17829    PACKAGE='$PACKAGE'
17830    VERSION='$VERSION'
17831    RM='$RM'
17832    ofile='$ofile'
17833
17834
17835
17836
17837
17838
17839_ACEOF
17840
17841cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17842
17843# Handling of arguments.
17844for ac_config_target in $ac_config_targets
17845do
17846  case $ac_config_target in
17847    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17848    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17849    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17850    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17851
17852  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17853  esac
17854done
17855
17856
17857# If the user did not use the arguments to specify the items to instantiate,
17858# then the envvar interface is used.  Set only those that are not.
17859# We use the long form for the default assignment because of an extremely
17860# bizarre bug on SunOS 4.1.3.
17861if $ac_need_defaults; then
17862  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17863  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17864  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17865fi
17866
17867# Have a temporary directory for convenience.  Make it in the build tree
17868# simply because there is no reason against having it here, and in addition,
17869# creating and moving files from /tmp can sometimes cause problems.
17870# Hook for its removal unless debugging.
17871# Note that there is a small window in which the directory will not be cleaned:
17872# after its creation but before its name has been assigned to `$tmp'.
17873$debug ||
17874{
17875  tmp= ac_tmp=
17876  trap 'exit_status=$?
17877  : "${ac_tmp:=$tmp}"
17878  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17879' 0
17880  trap 'as_fn_exit 1' 1 2 13 15
17881}
17882# Create a (secure) tmp directory for tmp files.
17883
17884{
17885  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17886  test -d "$tmp"
17887}  ||
17888{
17889  tmp=./conf$$-$RANDOM
17890  (umask 077 && mkdir "$tmp")
17891} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17892ac_tmp=$tmp
17893
17894# Set up the scripts for CONFIG_FILES section.
17895# No need to generate them if there are no CONFIG_FILES.
17896# This happens for instance with `./config.status config.h'.
17897if test -n "$CONFIG_FILES"; then
17898
17899
17900ac_cr=`echo X | tr X '\015'`
17901# On cygwin, bash can eat \r inside `` if the user requested igncr.
17902# But we know of no other shell where ac_cr would be empty at this
17903# point, so we can use a bashism as a fallback.
17904if test "x$ac_cr" = x; then
17905  eval ac_cr=\$\'\\r\'
17906fi
17907ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17908if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17909  ac_cs_awk_cr='\\r'
17910else
17911  ac_cs_awk_cr=$ac_cr
17912fi
17913
17914echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17915_ACEOF
17916
17917
17918{
17919  echo "cat >conf$$subs.awk <<_ACEOF" &&
17920  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17921  echo "_ACEOF"
17922} >conf$$subs.sh ||
17923  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17924ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17925ac_delim='%!_!# '
17926for ac_last_try in false false false false false :; do
17927  . ./conf$$subs.sh ||
17928    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17929
17930  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17931  if test $ac_delim_n = $ac_delim_num; then
17932    break
17933  elif $ac_last_try; then
17934    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17935  else
17936    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17937  fi
17938done
17939rm -f conf$$subs.sh
17940
17941cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17942cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17943_ACEOF
17944sed -n '
17945h
17946s/^/S["/; s/!.*/"]=/
17947p
17948g
17949s/^[^!]*!//
17950:repl
17951t repl
17952s/'"$ac_delim"'$//
17953t delim
17954:nl
17955h
17956s/\(.\{148\}\)..*/\1/
17957t more1
17958s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17959p
17960n
17961b repl
17962:more1
17963s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17964p
17965g
17966s/.\{148\}//
17967t nl
17968:delim
17969h
17970s/\(.\{148\}\)..*/\1/
17971t more2
17972s/["\\]/\\&/g; s/^/"/; s/$/"/
17973p
17974b
17975:more2
17976s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17977p
17978g
17979s/.\{148\}//
17980t delim
17981' <conf$$subs.awk | sed '
17982/^[^""]/{
17983  N
17984  s/\n//
17985}
17986' >>$CONFIG_STATUS || ac_write_fail=1
17987rm -f conf$$subs.awk
17988cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17989_ACAWK
17990cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17991  for (key in S) S_is_set[key] = 1
17992  FS = ""
17993
17994}
17995{
17996  line = $ 0
17997  nfields = split(line, field, "@")
17998  substed = 0
17999  len = length(field[1])
18000  for (i = 2; i < nfields; i++) {
18001    key = field[i]
18002    keylen = length(key)
18003    if (S_is_set[key]) {
18004      value = S[key]
18005      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18006      len += length(value) + length(field[++i])
18007      substed = 1
18008    } else
18009      len += 1 + keylen
18010  }
18011
18012  print line
18013}
18014
18015_ACAWK
18016_ACEOF
18017cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18018if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18019  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18020else
18021  cat
18022fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18023  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18024_ACEOF
18025
18026# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18027# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18028# trailing colons and then remove the whole line if VPATH becomes empty
18029# (actually we leave an empty line to preserve line numbers).
18030if test "x$srcdir" = x.; then
18031  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
18032h
18033s///
18034s/^/:/
18035s/[	 ]*$/:/
18036s/:\$(srcdir):/:/g
18037s/:\${srcdir}:/:/g
18038s/:@srcdir@:/:/g
18039s/^:*//
18040s/:*$//
18041x
18042s/\(=[	 ]*\).*/\1/
18043G
18044s/\n//
18045s/^[^=]*=[	 ]*$//
18046}'
18047fi
18048
18049cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18050fi # test -n "$CONFIG_FILES"
18051
18052# Set up the scripts for CONFIG_HEADERS section.
18053# No need to generate them if there are no CONFIG_HEADERS.
18054# This happens for instance with `./config.status Makefile'.
18055if test -n "$CONFIG_HEADERS"; then
18056cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18057BEGIN {
18058_ACEOF
18059
18060# Transform confdefs.h into an awk script `defines.awk', embedded as
18061# here-document in config.status, that substitutes the proper values into
18062# config.h.in to produce config.h.
18063
18064# Create a delimiter string that does not exist in confdefs.h, to ease
18065# handling of long lines.
18066ac_delim='%!_!# '
18067for ac_last_try in false false :; do
18068  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18069  if test -z "$ac_tt"; then
18070    break
18071  elif $ac_last_try; then
18072    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18073  else
18074    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18075  fi
18076done
18077
18078# For the awk script, D is an array of macro values keyed by name,
18079# likewise P contains macro parameters if any.  Preserve backslash
18080# newline sequences.
18081
18082ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18083sed -n '
18084s/.\{148\}/&'"$ac_delim"'/g
18085t rset
18086:rset
18087s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
18088t def
18089d
18090:def
18091s/\\$//
18092t bsnl
18093s/["\\]/\\&/g
18094s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18095D["\1"]=" \3"/p
18096s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
18097d
18098:bsnl
18099s/["\\]/\\&/g
18100s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18101D["\1"]=" \3\\\\\\n"\\/p
18102t cont
18103s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18104t cont
18105d
18106:cont
18107n
18108s/.\{148\}/&'"$ac_delim"'/g
18109t clear
18110:clear
18111s/\\$//
18112t bsnlc
18113s/["\\]/\\&/g; s/^/"/; s/$/"/p
18114d
18115:bsnlc
18116s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18117b cont
18118' <confdefs.h | sed '
18119s/'"$ac_delim"'/"\\\
18120"/g' >>$CONFIG_STATUS || ac_write_fail=1
18121
18122cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18123  for (key in D) D_is_set[key] = 1
18124  FS = ""
18125}
18126/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18127  line = \$ 0
18128  split(line, arg, " ")
18129  if (arg[1] == "#") {
18130    defundef = arg[2]
18131    mac1 = arg[3]
18132  } else {
18133    defundef = substr(arg[1], 2)
18134    mac1 = arg[2]
18135  }
18136  split(mac1, mac2, "(") #)
18137  macro = mac2[1]
18138  prefix = substr(line, 1, index(line, defundef) - 1)
18139  if (D_is_set[macro]) {
18140    # Preserve the white space surrounding the "#".
18141    print prefix "define", macro P[macro] D[macro]
18142    next
18143  } else {
18144    # Replace #undef with comments.  This is necessary, for example,
18145    # in the case of _POSIX_SOURCE, which is predefined and required
18146    # on some systems where configure will not decide to define it.
18147    if (defundef == "undef") {
18148      print "/*", prefix defundef, macro, "*/"
18149      next
18150    }
18151  }
18152}
18153{ print }
18154_ACAWK
18155_ACEOF
18156cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18157  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18158fi # test -n "$CONFIG_HEADERS"
18159
18160
18161eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18162shift
18163for ac_tag
18164do
18165  case $ac_tag in
18166  :[FHLC]) ac_mode=$ac_tag; continue;;
18167  esac
18168  case $ac_mode$ac_tag in
18169  :[FHL]*:*);;
18170  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18171  :[FH]-) ac_tag=-:-;;
18172  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18173  esac
18174  ac_save_IFS=$IFS
18175  IFS=:
18176  set x $ac_tag
18177  IFS=$ac_save_IFS
18178  shift
18179  ac_file=$1
18180  shift
18181
18182  case $ac_mode in
18183  :L) ac_source=$1;;
18184  :[FH])
18185    ac_file_inputs=
18186    for ac_f
18187    do
18188      case $ac_f in
18189      -) ac_f="$ac_tmp/stdin";;
18190      *) # Look for the file first in the build tree, then in the source tree
18191	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
18192	 # because $ac_f cannot contain `:'.
18193	 test -f "$ac_f" ||
18194	   case $ac_f in
18195	   [\\/$]*) false;;
18196	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18197	   esac ||
18198	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18199      esac
18200      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18201      as_fn_append ac_file_inputs " '$ac_f'"
18202    done
18203
18204    # Let's still pretend it is `configure' which instantiates (i.e., don't
18205    # use $as_me), people would be surprised to read:
18206    #    /* config.h.  Generated by config.status.  */
18207    configure_input='Generated from '`
18208	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18209	`' by configure.'
18210    if test x"$ac_file" != x-; then
18211      configure_input="$ac_file.  $configure_input"
18212      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18213$as_echo "$as_me: creating $ac_file" >&6;}
18214    fi
18215    # Neutralize special characters interpreted by sed in replacement strings.
18216    case $configure_input in #(
18217    *\&* | *\|* | *\\* )
18218       ac_sed_conf_input=`$as_echo "$configure_input" |
18219       sed 's/[\\\\&|]/\\\\&/g'`;; #(
18220    *) ac_sed_conf_input=$configure_input;;
18221    esac
18222
18223    case $ac_tag in
18224    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18225      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18226    esac
18227    ;;
18228  esac
18229
18230  ac_dir=`$as_dirname -- "$ac_file" ||
18231$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18232	 X"$ac_file" : 'X\(//\)[^/]' \| \
18233	 X"$ac_file" : 'X\(//\)$' \| \
18234	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18235$as_echo X"$ac_file" |
18236    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18237	    s//\1/
18238	    q
18239	  }
18240	  /^X\(\/\/\)[^/].*/{
18241	    s//\1/
18242	    q
18243	  }
18244	  /^X\(\/\/\)$/{
18245	    s//\1/
18246	    q
18247	  }
18248	  /^X\(\/\).*/{
18249	    s//\1/
18250	    q
18251	  }
18252	  s/.*/./; q'`
18253  as_dir="$ac_dir"; as_fn_mkdir_p
18254  ac_builddir=.
18255
18256case "$ac_dir" in
18257.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18258*)
18259  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18260  # A ".." for each directory in $ac_dir_suffix.
18261  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18262  case $ac_top_builddir_sub in
18263  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18264  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18265  esac ;;
18266esac
18267ac_abs_top_builddir=$ac_pwd
18268ac_abs_builddir=$ac_pwd$ac_dir_suffix
18269# for backward compatibility:
18270ac_top_builddir=$ac_top_build_prefix
18271
18272case $srcdir in
18273  .)  # We are building in place.
18274    ac_srcdir=.
18275    ac_top_srcdir=$ac_top_builddir_sub
18276    ac_abs_top_srcdir=$ac_pwd ;;
18277  [\\/]* | ?:[\\/]* )  # Absolute name.
18278    ac_srcdir=$srcdir$ac_dir_suffix;
18279    ac_top_srcdir=$srcdir
18280    ac_abs_top_srcdir=$srcdir ;;
18281  *) # Relative name.
18282    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18283    ac_top_srcdir=$ac_top_build_prefix$srcdir
18284    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18285esac
18286ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18287
18288
18289  case $ac_mode in
18290  :F)
18291  #
18292  # CONFIG_FILE
18293  #
18294
18295  case $INSTALL in
18296  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18297  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18298  esac
18299  ac_MKDIR_P=$MKDIR_P
18300  case $MKDIR_P in
18301  [\\/$]* | ?:[\\/]* ) ;;
18302  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18303  esac
18304_ACEOF
18305
18306cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18307# If the template does not know about datarootdir, expand it.
18308# FIXME: This hack should be removed a few years after 2.60.
18309ac_datarootdir_hack=; ac_datarootdir_seen=
18310ac_sed_dataroot='
18311/datarootdir/ {
18312  p
18313  q
18314}
18315/@datadir@/p
18316/@docdir@/p
18317/@infodir@/p
18318/@localedir@/p
18319/@mandir@/p'
18320case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18321*datarootdir*) ac_datarootdir_seen=yes;;
18322*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18323  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18324$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18325_ACEOF
18326cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18327  ac_datarootdir_hack='
18328  s&@datadir@&$datadir&g
18329  s&@docdir@&$docdir&g
18330  s&@infodir@&$infodir&g
18331  s&@localedir@&$localedir&g
18332  s&@mandir@&$mandir&g
18333  s&\\\${datarootdir}&$datarootdir&g' ;;
18334esac
18335_ACEOF
18336
18337# Neutralize VPATH when `$srcdir' = `.'.
18338# Shell code in configure.ac might set extrasub.
18339# FIXME: do we really want to maintain this feature?
18340cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18341ac_sed_extra="$ac_vpsub
18342$extrasub
18343_ACEOF
18344cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18345:t
18346/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18347s|@configure_input@|$ac_sed_conf_input|;t t
18348s&@top_builddir@&$ac_top_builddir_sub&;t t
18349s&@top_build_prefix@&$ac_top_build_prefix&;t t
18350s&@srcdir@&$ac_srcdir&;t t
18351s&@abs_srcdir@&$ac_abs_srcdir&;t t
18352s&@top_srcdir@&$ac_top_srcdir&;t t
18353s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18354s&@builddir@&$ac_builddir&;t t
18355s&@abs_builddir@&$ac_abs_builddir&;t t
18356s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18357s&@INSTALL@&$ac_INSTALL&;t t
18358s&@MKDIR_P@&$ac_MKDIR_P&;t t
18359$ac_datarootdir_hack
18360"
18361eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18362  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18363
18364test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18365  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18366  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
18367      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18368  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18369which seems to be undefined.  Please make sure it is defined" >&5
18370$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18371which seems to be undefined.  Please make sure it is defined" >&2;}
18372
18373  rm -f "$ac_tmp/stdin"
18374  case $ac_file in
18375  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18376  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18377  esac \
18378  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18379 ;;
18380  :H)
18381  #
18382  # CONFIG_HEADER
18383  #
18384  if test x"$ac_file" != x-; then
18385    {
18386      $as_echo "/* $configure_input  */" \
18387      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18388    } >"$ac_tmp/config.h" \
18389      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18390    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18391      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18392$as_echo "$as_me: $ac_file is unchanged" >&6;}
18393    else
18394      rm -f "$ac_file"
18395      mv "$ac_tmp/config.h" "$ac_file" \
18396	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18397    fi
18398  else
18399    $as_echo "/* $configure_input  */" \
18400      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18401      || as_fn_error $? "could not create -" "$LINENO" 5
18402  fi
18403# Compute "$ac_file"'s index in $config_headers.
18404_am_arg="$ac_file"
18405_am_stamp_count=1
18406for _am_header in $config_headers :; do
18407  case $_am_header in
18408    $_am_arg | $_am_arg:* )
18409      break ;;
18410    * )
18411      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18412  esac
18413done
18414echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18415$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18416	 X"$_am_arg" : 'X\(//\)[^/]' \| \
18417	 X"$_am_arg" : 'X\(//\)$' \| \
18418	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18419$as_echo X"$_am_arg" |
18420    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18421	    s//\1/
18422	    q
18423	  }
18424	  /^X\(\/\/\)[^/].*/{
18425	    s//\1/
18426	    q
18427	  }
18428	  /^X\(\/\/\)$/{
18429	    s//\1/
18430	    q
18431	  }
18432	  /^X\(\/\).*/{
18433	    s//\1/
18434	    q
18435	  }
18436	  s/.*/./; q'`/stamp-h$_am_stamp_count
18437 ;;
18438
18439  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18440$as_echo "$as_me: executing $ac_file commands" >&6;}
18441 ;;
18442  esac
18443
18444
18445  case $ac_file$ac_mode in
18446    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18447  # Older Autoconf quotes --file arguments for eval, but not when files
18448  # are listed without --file.  Let's play safe and only enable the eval
18449  # if we detect the quoting.
18450  case $CONFIG_FILES in
18451  *\'*) eval set x "$CONFIG_FILES" ;;
18452  *)   set x $CONFIG_FILES ;;
18453  esac
18454  shift
18455  for mf
18456  do
18457    # Strip MF so we end up with the name of the file.
18458    mf=`echo "$mf" | sed -e 's/:.*$//'`
18459    # Check whether this is an Automake generated Makefile or not.
18460    # We used to match only the files named 'Makefile.in', but
18461    # some people rename them; so instead we look at the file content.
18462    # Grep'ing the first line is not enough: some people post-process
18463    # each Makefile.in and add a new line on top of each file to say so.
18464    # Grep'ing the whole file is not good either: AIX grep has a line
18465    # limit of 2048, but all sed's we know have understand at least 4000.
18466    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18467      dirpart=`$as_dirname -- "$mf" ||
18468$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18469	 X"$mf" : 'X\(//\)[^/]' \| \
18470	 X"$mf" : 'X\(//\)$' \| \
18471	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18472$as_echo X"$mf" |
18473    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18474	    s//\1/
18475	    q
18476	  }
18477	  /^X\(\/\/\)[^/].*/{
18478	    s//\1/
18479	    q
18480	  }
18481	  /^X\(\/\/\)$/{
18482	    s//\1/
18483	    q
18484	  }
18485	  /^X\(\/\).*/{
18486	    s//\1/
18487	    q
18488	  }
18489	  s/.*/./; q'`
18490    else
18491      continue
18492    fi
18493    # Extract the definition of DEPDIR, am__include, and am__quote
18494    # from the Makefile without running 'make'.
18495    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18496    test -z "$DEPDIR" && continue
18497    am__include=`sed -n 's/^am__include = //p' < "$mf"`
18498    test -z "$am__include" && continue
18499    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18500    # Find all dependency output files, they are included files with
18501    # $(DEPDIR) in their names.  We invoke sed twice because it is the
18502    # simplest approach to changing $(DEPDIR) to its actual value in the
18503    # expansion.
18504    for file in `sed -n "
18505      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18506	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18507      # Make sure the directory exists.
18508      test -f "$dirpart/$file" && continue
18509      fdir=`$as_dirname -- "$file" ||
18510$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18511	 X"$file" : 'X\(//\)[^/]' \| \
18512	 X"$file" : 'X\(//\)$' \| \
18513	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18514$as_echo X"$file" |
18515    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18516	    s//\1/
18517	    q
18518	  }
18519	  /^X\(\/\/\)[^/].*/{
18520	    s//\1/
18521	    q
18522	  }
18523	  /^X\(\/\/\)$/{
18524	    s//\1/
18525	    q
18526	  }
18527	  /^X\(\/\).*/{
18528	    s//\1/
18529	    q
18530	  }
18531	  s/.*/./; q'`
18532      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18533      # echo "creating $dirpart/$file"
18534      echo '# dummy' > "$dirpart/$file"
18535    done
18536  done
18537}
18538 ;;
18539    "libtool":C)
18540
18541    # See if we are running on zsh, and set the options that allow our
18542    # commands through without removal of \ escapes.
18543    if test -n "${ZSH_VERSION+set}"; then
18544      setopt NO_GLOB_SUBST
18545    fi
18546
18547    cfgfile=${ofile}T
18548    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18549    $RM "$cfgfile"
18550
18551    cat <<_LT_EOF >> "$cfgfile"
18552#! $SHELL
18553# Generated automatically by $as_me ($PACKAGE) $VERSION
18554# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18555# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18556
18557# Provide generalized library-building support services.
18558# Written by Gordon Matzigkeit, 1996
18559
18560# Copyright (C) 2014 Free Software Foundation, Inc.
18561# This is free software; see the source for copying conditions.  There is NO
18562# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18563
18564# GNU Libtool is free software; you can redistribute it and/or modify
18565# it under the terms of the GNU General Public License as published by
18566# the Free Software Foundation; either version 2 of of the License, or
18567# (at your option) any later version.
18568#
18569# As a special exception to the GNU General Public License, if you
18570# distribute this file as part of a program or library that is built
18571# using GNU Libtool, you may include this file under the  same
18572# distribution terms that you use for the rest of that program.
18573#
18574# GNU Libtool is distributed in the hope that it will be useful, but
18575# WITHOUT ANY WARRANTY; without even the implied warranty of
18576# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18577# GNU General Public License for more details.
18578#
18579# You should have received a copy of the GNU General Public License
18580# along with this program.  If not, see <http://www.gnu.org/licenses/>.
18581
18582
18583# The names of the tagged configurations supported by this script.
18584available_tags='CXX '
18585
18586# Configured defaults for sys_lib_dlsearch_path munging.
18587: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18588
18589# ### BEGIN LIBTOOL CONFIG
18590
18591# Assembler program.
18592AS=$lt_AS
18593
18594# DLL creation program.
18595DLLTOOL=$lt_DLLTOOL
18596
18597# Object dumper program.
18598OBJDUMP=$lt_OBJDUMP
18599
18600# Which release of libtool.m4 was used?
18601macro_version=$macro_version
18602macro_revision=$macro_revision
18603
18604# Whether or not to build shared libraries.
18605build_libtool_libs=$enable_shared
18606
18607# Whether or not to build static libraries.
18608build_old_libs=$enable_static
18609
18610# What type of objects to build.
18611pic_mode=$pic_mode
18612
18613# Whether or not to optimize for fast installation.
18614fast_install=$enable_fast_install
18615
18616# Shared archive member basename,for filename based shared library versioning on AIX.
18617shared_archive_member_spec=$shared_archive_member_spec
18618
18619# Shell to use when invoking shell scripts.
18620SHELL=$lt_SHELL
18621
18622# An echo program that protects backslashes.
18623ECHO=$lt_ECHO
18624
18625# The PATH separator for the build system.
18626PATH_SEPARATOR=$lt_PATH_SEPARATOR
18627
18628# The host system.
18629host_alias=$host_alias
18630host=$host
18631host_os=$host_os
18632
18633# The build system.
18634build_alias=$build_alias
18635build=$build
18636build_os=$build_os
18637
18638# A sed program that does not truncate output.
18639SED=$lt_SED
18640
18641# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18642Xsed="\$SED -e 1s/^X//"
18643
18644# A grep program that handles long lines.
18645GREP=$lt_GREP
18646
18647# An ERE matcher.
18648EGREP=$lt_EGREP
18649
18650# A literal string matcher.
18651FGREP=$lt_FGREP
18652
18653# A BSD- or MS-compatible name lister.
18654NM=$lt_NM
18655
18656# Whether we need soft or hard links.
18657LN_S=$lt_LN_S
18658
18659# What is the maximum length of a command?
18660max_cmd_len=$max_cmd_len
18661
18662# Object file suffix (normally "o").
18663objext=$ac_objext
18664
18665# Executable file suffix (normally "").
18666exeext=$exeext
18667
18668# whether the shell understands "unset".
18669lt_unset=$lt_unset
18670
18671# turn spaces into newlines.
18672SP2NL=$lt_lt_SP2NL
18673
18674# turn newlines into spaces.
18675NL2SP=$lt_lt_NL2SP
18676
18677# convert \$build file names to \$host format.
18678to_host_file_cmd=$lt_cv_to_host_file_cmd
18679
18680# convert \$build files to toolchain format.
18681to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18682
18683# Method to check whether dependent libraries are shared objects.
18684deplibs_check_method=$lt_deplibs_check_method
18685
18686# Command to use when deplibs_check_method = "file_magic".
18687file_magic_cmd=$lt_file_magic_cmd
18688
18689# How to find potential files when deplibs_check_method = "file_magic".
18690file_magic_glob=$lt_file_magic_glob
18691
18692# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18693want_nocaseglob=$lt_want_nocaseglob
18694
18695# Command to associate shared and link libraries.
18696sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18697
18698# The archiver.
18699AR=$lt_AR
18700
18701# Flags to create an archive.
18702AR_FLAGS=$lt_AR_FLAGS
18703
18704# How to feed a file listing to the archiver.
18705archiver_list_spec=$lt_archiver_list_spec
18706
18707# A symbol stripping program.
18708STRIP=$lt_STRIP
18709
18710# Commands used to install an old-style archive.
18711RANLIB=$lt_RANLIB
18712old_postinstall_cmds=$lt_old_postinstall_cmds
18713old_postuninstall_cmds=$lt_old_postuninstall_cmds
18714
18715# Whether to use a lock for old archive extraction.
18716lock_old_archive_extraction=$lock_old_archive_extraction
18717
18718# A C compiler.
18719LTCC=$lt_CC
18720
18721# LTCC compiler flags.
18722LTCFLAGS=$lt_CFLAGS
18723
18724# Take the output of nm and produce a listing of raw symbols and C names.
18725global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18726
18727# Transform the output of nm in a proper C declaration.
18728global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18729
18730# Transform the output of nm into a list of symbols to manually relocate.
18731global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18732
18733# Transform the output of nm in a C name address pair.
18734global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18735
18736# Transform the output of nm in a C name address pair when lib prefix is needed.
18737global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18738
18739# The name lister interface.
18740nm_interface=$lt_lt_cv_nm_interface
18741
18742# Specify filename containing input files for \$NM.
18743nm_file_list_spec=$lt_nm_file_list_spec
18744
18745# The root where to search for dependent libraries,and where our libraries should be installed.
18746lt_sysroot=$lt_sysroot
18747
18748# Command to truncate a binary pipe.
18749lt_truncate_bin=$lt_lt_cv_truncate_bin
18750
18751# The name of the directory that contains temporary libtool files.
18752objdir=$objdir
18753
18754# Used to examine libraries when file_magic_cmd begins with "file".
18755MAGIC_CMD=$MAGIC_CMD
18756
18757# Must we lock files when doing compilation?
18758need_locks=$lt_need_locks
18759
18760# Manifest tool.
18761MANIFEST_TOOL=$lt_MANIFEST_TOOL
18762
18763# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18764DSYMUTIL=$lt_DSYMUTIL
18765
18766# Tool to change global to local symbols on Mac OS X.
18767NMEDIT=$lt_NMEDIT
18768
18769# Tool to manipulate fat objects and archives on Mac OS X.
18770LIPO=$lt_LIPO
18771
18772# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18773OTOOL=$lt_OTOOL
18774
18775# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18776OTOOL64=$lt_OTOOL64
18777
18778# Old archive suffix (normally "a").
18779libext=$libext
18780
18781# Shared library suffix (normally ".so").
18782shrext_cmds=$lt_shrext_cmds
18783
18784# The commands to extract the exported symbol list from a shared archive.
18785extract_expsyms_cmds=$lt_extract_expsyms_cmds
18786
18787# Variables whose values should be saved in libtool wrapper scripts and
18788# restored at link time.
18789variables_saved_for_relink=$lt_variables_saved_for_relink
18790
18791# Do we need the "lib" prefix for modules?
18792need_lib_prefix=$need_lib_prefix
18793
18794# Do we need a version for libraries?
18795need_version=$need_version
18796
18797# Library versioning type.
18798version_type=$version_type
18799
18800# Shared library runtime path variable.
18801runpath_var=$runpath_var
18802
18803# Shared library path variable.
18804shlibpath_var=$shlibpath_var
18805
18806# Is shlibpath searched before the hard-coded library search path?
18807shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18808
18809# Format of library name prefix.
18810libname_spec=$lt_libname_spec
18811
18812# List of archive names.  First name is the real one, the rest are links.
18813# The last name is the one that the linker finds with -lNAME
18814library_names_spec=$lt_library_names_spec
18815
18816# The coded name of the library, if different from the real name.
18817soname_spec=$lt_soname_spec
18818
18819# Permission mode override for installation of shared libraries.
18820install_override_mode=$lt_install_override_mode
18821
18822# Command to use after installation of a shared archive.
18823postinstall_cmds=$lt_postinstall_cmds
18824
18825# Command to use after uninstallation of a shared archive.
18826postuninstall_cmds=$lt_postuninstall_cmds
18827
18828# Commands used to finish a libtool library installation in a directory.
18829finish_cmds=$lt_finish_cmds
18830
18831# As "finish_cmds", except a single script fragment to be evaled but
18832# not shown.
18833finish_eval=$lt_finish_eval
18834
18835# Whether we should hardcode library paths into libraries.
18836hardcode_into_libs=$hardcode_into_libs
18837
18838# Compile-time system search path for libraries.
18839sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18840
18841# Detected run-time system search path for libraries.
18842sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18843
18844# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18845configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18846
18847# Whether dlopen is supported.
18848dlopen_support=$enable_dlopen
18849
18850# Whether dlopen of programs is supported.
18851dlopen_self=$enable_dlopen_self
18852
18853# Whether dlopen of statically linked programs is supported.
18854dlopen_self_static=$enable_dlopen_self_static
18855
18856# Commands to strip libraries.
18857old_striplib=$lt_old_striplib
18858striplib=$lt_striplib
18859
18860
18861# The linker used to build libraries.
18862LD=$lt_LD
18863
18864# How to create reloadable object files.
18865reload_flag=$lt_reload_flag
18866reload_cmds=$lt_reload_cmds
18867
18868# Commands used to build an old-style archive.
18869old_archive_cmds=$lt_old_archive_cmds
18870
18871# A language specific compiler.
18872CC=$lt_compiler
18873
18874# Is the compiler the GNU compiler?
18875with_gcc=$GCC
18876
18877# Compiler flag to turn off builtin functions.
18878no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18879
18880# Additional compiler flags for building library objects.
18881pic_flag=$lt_lt_prog_compiler_pic
18882
18883# How to pass a linker flag through the compiler.
18884wl=$lt_lt_prog_compiler_wl
18885
18886# Compiler flag to prevent dynamic linking.
18887link_static_flag=$lt_lt_prog_compiler_static
18888
18889# Does compiler simultaneously support -c and -o options?
18890compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18891
18892# Whether or not to add -lc for building shared libraries.
18893build_libtool_need_lc=$archive_cmds_need_lc
18894
18895# Whether or not to disallow shared libs when runtime libs are static.
18896allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18897
18898# Compiler flag to allow reflexive dlopens.
18899export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18900
18901# Compiler flag to generate shared objects directly from archives.
18902whole_archive_flag_spec=$lt_whole_archive_flag_spec
18903
18904# Whether the compiler copes with passing no objects directly.
18905compiler_needs_object=$lt_compiler_needs_object
18906
18907# Create an old-style archive from a shared archive.
18908old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18909
18910# Create a temporary old-style archive to link instead of a shared archive.
18911old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18912
18913# Commands used to build a shared archive.
18914archive_cmds=$lt_archive_cmds
18915archive_expsym_cmds=$lt_archive_expsym_cmds
18916
18917# Commands used to build a loadable module if different from building
18918# a shared archive.
18919module_cmds=$lt_module_cmds
18920module_expsym_cmds=$lt_module_expsym_cmds
18921
18922# Whether we are building with GNU ld or not.
18923with_gnu_ld=$lt_with_gnu_ld
18924
18925# Flag that allows shared libraries with undefined symbols to be built.
18926allow_undefined_flag=$lt_allow_undefined_flag
18927
18928# Flag that enforces no undefined symbols.
18929no_undefined_flag=$lt_no_undefined_flag
18930
18931# Flag to hardcode \$libdir into a binary during linking.
18932# This must work even if \$libdir does not exist
18933hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18934
18935# Whether we need a single "-rpath" flag with a separated argument.
18936hardcode_libdir_separator=$lt_hardcode_libdir_separator
18937
18938# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18939# DIR into the resulting binary.
18940hardcode_direct=$hardcode_direct
18941
18942# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18943# DIR into the resulting binary and the resulting library dependency is
18944# "absolute",i.e impossible to change by setting \$shlibpath_var if the
18945# library is relocated.
18946hardcode_direct_absolute=$hardcode_direct_absolute
18947
18948# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18949# into the resulting binary.
18950hardcode_minus_L=$hardcode_minus_L
18951
18952# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18953# into the resulting binary.
18954hardcode_shlibpath_var=$hardcode_shlibpath_var
18955
18956# Set to "yes" if building a shared library automatically hardcodes DIR
18957# into the library and all subsequent libraries and executables linked
18958# against it.
18959hardcode_automatic=$hardcode_automatic
18960
18961# Set to yes if linker adds runtime paths of dependent libraries
18962# to runtime path list.
18963inherit_rpath=$inherit_rpath
18964
18965# Whether libtool must link a program against all its dependency libraries.
18966link_all_deplibs=$link_all_deplibs
18967
18968# Set to "yes" if exported symbols are required.
18969always_export_symbols=$always_export_symbols
18970
18971# The commands to list exported symbols.
18972export_symbols_cmds=$lt_export_symbols_cmds
18973
18974# Symbols that should not be listed in the preloaded symbols.
18975exclude_expsyms=$lt_exclude_expsyms
18976
18977# Symbols that must always be exported.
18978include_expsyms=$lt_include_expsyms
18979
18980# Commands necessary for linking programs (against libraries) with templates.
18981prelink_cmds=$lt_prelink_cmds
18982
18983# Commands necessary for finishing linking programs.
18984postlink_cmds=$lt_postlink_cmds
18985
18986# Specify filename containing input files.
18987file_list_spec=$lt_file_list_spec
18988
18989# How to hardcode a shared library path into an executable.
18990hardcode_action=$hardcode_action
18991
18992# The directories searched by this compiler when creating a shared library.
18993compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18994
18995# Dependencies to place before and after the objects being linked to
18996# create a shared library.
18997predep_objects=$lt_predep_objects
18998postdep_objects=$lt_postdep_objects
18999predeps=$lt_predeps
19000postdeps=$lt_postdeps
19001
19002# The library search path used internally by the compiler when linking
19003# a shared library.
19004compiler_lib_search_path=$lt_compiler_lib_search_path
19005
19006# ### END LIBTOOL CONFIG
19007
19008_LT_EOF
19009
19010    cat <<'_LT_EOF' >> "$cfgfile"
19011
19012# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19013
19014# func_munge_path_list VARIABLE PATH
19015# -----------------------------------
19016# VARIABLE is name of variable containing _space_ separated list of
19017# directories to be munged by the contents of PATH, which is string
19018# having a format:
19019# "DIR[:DIR]:"
19020#       string "DIR[ DIR]" will be prepended to VARIABLE
19021# ":DIR[:DIR]"
19022#       string "DIR[ DIR]" will be appended to VARIABLE
19023# "DIRP[:DIRP]::[DIRA:]DIRA"
19024#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19025#       "DIRA[ DIRA]" will be appended to VARIABLE
19026# "DIR[:DIR]"
19027#       VARIABLE will be replaced by "DIR[ DIR]"
19028func_munge_path_list ()
19029{
19030    case x$2 in
19031    x)
19032        ;;
19033    *:)
19034        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19035        ;;
19036    x:*)
19037        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19038        ;;
19039    *::*)
19040        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19041        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19042        ;;
19043    *)
19044        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19045        ;;
19046    esac
19047}
19048
19049
19050# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19051func_cc_basename ()
19052{
19053    for cc_temp in $*""; do
19054      case $cc_temp in
19055        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19056        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19057        \-*) ;;
19058        *) break;;
19059      esac
19060    done
19061    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19062}
19063
19064
19065# ### END FUNCTIONS SHARED WITH CONFIGURE
19066
19067_LT_EOF
19068
19069  case $host_os in
19070  aix3*)
19071    cat <<\_LT_EOF >> "$cfgfile"
19072# AIX sometimes has problems with the GCC collect2 program.  For some
19073# reason, if we set the COLLECT_NAMES environment variable, the problems
19074# vanish in a puff of smoke.
19075if test set != "${COLLECT_NAMES+set}"; then
19076  COLLECT_NAMES=
19077  export COLLECT_NAMES
19078fi
19079_LT_EOF
19080    ;;
19081  esac
19082
19083
19084ltmain=$ac_aux_dir/ltmain.sh
19085
19086
19087  # We use sed instead of cat because bash on DJGPP gets confused if
19088  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19089  # text mode, it properly converts lines to CR/LF.  This bash problem
19090  # is reportedly fixed, but why not run on old versions too?
19091  sed '$q' "$ltmain" >> "$cfgfile" \
19092     || (rm -f "$cfgfile"; exit 1)
19093
19094   mv -f "$cfgfile" "$ofile" ||
19095    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19096  chmod +x "$ofile"
19097
19098
19099    cat <<_LT_EOF >> "$ofile"
19100
19101# ### BEGIN LIBTOOL TAG CONFIG: CXX
19102
19103# The linker used to build libraries.
19104LD=$lt_LD_CXX
19105
19106# How to create reloadable object files.
19107reload_flag=$lt_reload_flag_CXX
19108reload_cmds=$lt_reload_cmds_CXX
19109
19110# Commands used to build an old-style archive.
19111old_archive_cmds=$lt_old_archive_cmds_CXX
19112
19113# A language specific compiler.
19114CC=$lt_compiler_CXX
19115
19116# Is the compiler the GNU compiler?
19117with_gcc=$GCC_CXX
19118
19119# Compiler flag to turn off builtin functions.
19120no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19121
19122# Additional compiler flags for building library objects.
19123pic_flag=$lt_lt_prog_compiler_pic_CXX
19124
19125# How to pass a linker flag through the compiler.
19126wl=$lt_lt_prog_compiler_wl_CXX
19127
19128# Compiler flag to prevent dynamic linking.
19129link_static_flag=$lt_lt_prog_compiler_static_CXX
19130
19131# Does compiler simultaneously support -c and -o options?
19132compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19133
19134# Whether or not to add -lc for building shared libraries.
19135build_libtool_need_lc=$archive_cmds_need_lc_CXX
19136
19137# Whether or not to disallow shared libs when runtime libs are static.
19138allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19139
19140# Compiler flag to allow reflexive dlopens.
19141export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19142
19143# Compiler flag to generate shared objects directly from archives.
19144whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19145
19146# Whether the compiler copes with passing no objects directly.
19147compiler_needs_object=$lt_compiler_needs_object_CXX
19148
19149# Create an old-style archive from a shared archive.
19150old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19151
19152# Create a temporary old-style archive to link instead of a shared archive.
19153old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19154
19155# Commands used to build a shared archive.
19156archive_cmds=$lt_archive_cmds_CXX
19157archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19158
19159# Commands used to build a loadable module if different from building
19160# a shared archive.
19161module_cmds=$lt_module_cmds_CXX
19162module_expsym_cmds=$lt_module_expsym_cmds_CXX
19163
19164# Whether we are building with GNU ld or not.
19165with_gnu_ld=$lt_with_gnu_ld_CXX
19166
19167# Flag that allows shared libraries with undefined symbols to be built.
19168allow_undefined_flag=$lt_allow_undefined_flag_CXX
19169
19170# Flag that enforces no undefined symbols.
19171no_undefined_flag=$lt_no_undefined_flag_CXX
19172
19173# Flag to hardcode \$libdir into a binary during linking.
19174# This must work even if \$libdir does not exist
19175hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19176
19177# Whether we need a single "-rpath" flag with a separated argument.
19178hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19179
19180# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19181# DIR into the resulting binary.
19182hardcode_direct=$hardcode_direct_CXX
19183
19184# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19185# DIR into the resulting binary and the resulting library dependency is
19186# "absolute",i.e impossible to change by setting \$shlibpath_var if the
19187# library is relocated.
19188hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19189
19190# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19191# into the resulting binary.
19192hardcode_minus_L=$hardcode_minus_L_CXX
19193
19194# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19195# into the resulting binary.
19196hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19197
19198# Set to "yes" if building a shared library automatically hardcodes DIR
19199# into the library and all subsequent libraries and executables linked
19200# against it.
19201hardcode_automatic=$hardcode_automatic_CXX
19202
19203# Set to yes if linker adds runtime paths of dependent libraries
19204# to runtime path list.
19205inherit_rpath=$inherit_rpath_CXX
19206
19207# Whether libtool must link a program against all its dependency libraries.
19208link_all_deplibs=$link_all_deplibs_CXX
19209
19210# Set to "yes" if exported symbols are required.
19211always_export_symbols=$always_export_symbols_CXX
19212
19213# The commands to list exported symbols.
19214export_symbols_cmds=$lt_export_symbols_cmds_CXX
19215
19216# Symbols that should not be listed in the preloaded symbols.
19217exclude_expsyms=$lt_exclude_expsyms_CXX
19218
19219# Symbols that must always be exported.
19220include_expsyms=$lt_include_expsyms_CXX
19221
19222# Commands necessary for linking programs (against libraries) with templates.
19223prelink_cmds=$lt_prelink_cmds_CXX
19224
19225# Commands necessary for finishing linking programs.
19226postlink_cmds=$lt_postlink_cmds_CXX
19227
19228# Specify filename containing input files.
19229file_list_spec=$lt_file_list_spec_CXX
19230
19231# How to hardcode a shared library path into an executable.
19232hardcode_action=$hardcode_action_CXX
19233
19234# The directories searched by this compiler when creating a shared library.
19235compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19236
19237# Dependencies to place before and after the objects being linked to
19238# create a shared library.
19239predep_objects=$lt_predep_objects_CXX
19240postdep_objects=$lt_postdep_objects_CXX
19241predeps=$lt_predeps_CXX
19242postdeps=$lt_postdeps_CXX
19243
19244# The library search path used internally by the compiler when linking
19245# a shared library.
19246compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19247
19248# ### END LIBTOOL TAG CONFIG: CXX
19249_LT_EOF
19250
19251 ;;
19252
19253  esac
19254done # for ac_tag
19255
19256
19257as_fn_exit 0
19258_ACEOF
19259ac_clean_files=$ac_clean_files_save
19260
19261test $ac_write_fail = 0 ||
19262  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19263
19264
19265# configure is writing to config.log, and then calls config.status.
19266# config.status does its own redirection, appending to config.log.
19267# Unfortunately, on DOS this fails, as config.log is still kept open
19268# by configure, so config.status won't be able to write to it; its
19269# output is simply discarded.  So we exec the FD to /dev/null,
19270# effectively closing config.log, so it can be properly (re)opened and
19271# appended to by config.status.  When coming back to configure, we
19272# need to make the FD available again.
19273if test "$no_create" != yes; then
19274  ac_cs_success=:
19275  ac_config_status_args=
19276  test "$silent" = yes &&
19277    ac_config_status_args="$ac_config_status_args --quiet"
19278  exec 5>/dev/null
19279  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19280  exec 5>>config.log
19281  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19282  # would make configure fail if this is the last instruction.
19283  $ac_cs_success || as_fn_exit 1
19284fi
19285if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19286  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19287$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19288fi
19289
19290
19291
19292