1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libltdl 2.4.3a.
4#
5# Report bugs to <bug-libtool@gnu.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: bug-libtool@gnu.org about your system, including any
279$0: error possibly output before this message. Then install
280$0: a modern shell, or manually run the script under such a
281$0: 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='libltdl'
592PACKAGE_TARNAME='libltdl'
593PACKAGE_VERSION='2.4.3a'
594PACKAGE_STRING='libltdl 2.4.3a'
595PACKAGE_BUGREPORT='bug-libtool@gnu.org'
596PACKAGE_URL=''
597
598ac_unique_file="ltdl.c"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LTDLOPEN
639LT_CONFIG_H
640CONVENIENCE_LTDL_FALSE
641CONVENIENCE_LTDL_TRUE
642INSTALL_LTDL_FALSE
643INSTALL_LTDL_TRUE
644LT_ARGZ_H
645LIBOBJS
646sys_symbol_underscore
647LIBADD_DL
648LT_DLPREOPEN
649LIBADD_DLD_LINK
650LIBADD_SHL_LOAD
651LIBADD_DLOPEN
652LT_DLLOADERS
653CPP
654LT_SYS_LIBRARY_PATH
655OTOOL64
656OTOOL
657LIPO
658NMEDIT
659DSYMUTIL
660MANIFEST_TOOL
661RANLIB
662ac_ct_AR
663AR
664LN_S
665NM
666ac_ct_DUMPBIN
667DUMPBIN
668LD
669FGREP
670EGREP
671GREP
672SED
673am__fastdepCC_FALSE
674am__fastdepCC_TRUE
675CCDEPMODE
676am__nodep
677AMDEPBACKSLASH
678AMDEP_FALSE
679AMDEP_TRUE
680am__include
681DEPDIR
682OBJEXT
683EXEEXT
684ac_ct_CC
685CPPFLAGS
686LDFLAGS
687CFLAGS
688CC
689host_os
690host_vendor
691host_cpu
692host
693build_os
694build_vendor
695build_cpu
696build
697LIBTOOL
698OBJDUMP
699DLLTOOL
700AS
701AM_BACKSLASH
702AM_DEFAULT_VERBOSITY
703AM_DEFAULT_V
704AM_V
705am__untar
706am__tar
707AMTAR
708am__leading_dot
709SET_MAKE
710AWK
711mkdir_p
712MKDIR_P
713INSTALL_STRIP_PROGRAM
714STRIP
715install_sh
716MAKEINFO
717AUTOHEADER
718AUTOMAKE
719AUTOCONF
720ACLOCAL
721VERSION
722PACKAGE
723CYGPATH_W
724am__isrc
725INSTALL_DATA
726INSTALL_SCRIPT
727INSTALL_PROGRAM
728target_alias
729host_alias
730build_alias
731LIBS
732ECHO_T
733ECHO_N
734ECHO_C
735DEFS
736mandir
737localedir
738libdir
739psdir
740pdfdir
741dvidir
742htmldir
743infodir
744docdir
745oldincludedir
746includedir
747runstatedir
748localstatedir
749sharedstatedir
750sysconfdir
751datadir
752datarootdir
753libexecdir
754sbindir
755bindir
756program_transform_name
757prefix
758exec_prefix
759PACKAGE_URL
760PACKAGE_BUGREPORT
761PACKAGE_STRING
762PACKAGE_VERSION
763PACKAGE_TARNAME
764PACKAGE_NAME
765PATH_SEPARATOR
766SHELL
767am__quote'
768ac_subst_files=''
769ac_user_opts='
770enable_option_checking
771enable_silent_rules
772enable_shared
773enable_static
774with_pic
775enable_fast_install
776with_aix_soname
777enable_dependency_tracking
778with_gnu_ld
779with_sysroot
780enable_libtool_lock
781enable_ltdl_install
782'
783      ac_precious_vars='build_alias
784host_alias
785target_alias
786CC
787CFLAGS
788LDFLAGS
789LIBS
790CPPFLAGS
791LT_SYS_LIBRARY_PATH
792CPP'
793
794
795# Initialize some variables set by options.
796ac_init_help=
797ac_init_version=false
798ac_unrecognized_opts=
799ac_unrecognized_sep=
800# The variables have the same names as the options, with
801# dashes changed to underlines.
802cache_file=/dev/null
803exec_prefix=NONE
804no_create=
805no_recursion=
806prefix=NONE
807program_prefix=NONE
808program_suffix=NONE
809program_transform_name=s,x,x,
810silent=
811site=
812srcdir=
813verbose=
814x_includes=NONE
815x_libraries=NONE
816
817# Installation directory options.
818# These are left unexpanded so users can "make install exec_prefix=/foo"
819# and all the variables that are supposed to be based on exec_prefix
820# by default will actually change.
821# Use braces instead of parens because sh, perl, etc. also accept them.
822# (The list follows the same order as the GNU Coding Standards.)
823bindir='${exec_prefix}/bin'
824sbindir='${exec_prefix}/sbin'
825libexecdir='${exec_prefix}/libexec'
826datarootdir='${prefix}/share'
827datadir='${datarootdir}'
828sysconfdir='${prefix}/etc'
829sharedstatedir='${prefix}/com'
830localstatedir='${prefix}/var'
831runstatedir='${localstatedir}/run'
832includedir='${prefix}/include'
833oldincludedir='/usr/include'
834docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
835infodir='${datarootdir}/info'
836htmldir='${docdir}'
837dvidir='${docdir}'
838pdfdir='${docdir}'
839psdir='${docdir}'
840libdir='${exec_prefix}/lib'
841localedir='${datarootdir}/locale'
842mandir='${datarootdir}/man'
843
844ac_prev=
845ac_dashdash=
846for ac_option
847do
848  # If the previous option needs an argument, assign it.
849  if test -n "$ac_prev"; then
850    eval $ac_prev=\$ac_option
851    ac_prev=
852    continue
853  fi
854
855  case $ac_option in
856  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857  *=)   ac_optarg= ;;
858  *)    ac_optarg=yes ;;
859  esac
860
861  # Accept the important Cygnus configure options, so we can diagnose typos.
862
863  case $ac_dashdash$ac_option in
864  --)
865    ac_dashdash=yes ;;
866
867  -bindir | --bindir | --bindi | --bind | --bin | --bi)
868    ac_prev=bindir ;;
869  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
870    bindir=$ac_optarg ;;
871
872  -build | --build | --buil | --bui | --bu)
873    ac_prev=build_alias ;;
874  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
875    build_alias=$ac_optarg ;;
876
877  -cache-file | --cache-file | --cache-fil | --cache-fi \
878  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
879    ac_prev=cache_file ;;
880  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
881  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
882    cache_file=$ac_optarg ;;
883
884  --config-cache | -C)
885    cache_file=config.cache ;;
886
887  -datadir | --datadir | --datadi | --datad)
888    ac_prev=datadir ;;
889  -datadir=* | --datadir=* | --datadi=* | --datad=*)
890    datadir=$ac_optarg ;;
891
892  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
893  | --dataroo | --dataro | --datar)
894    ac_prev=datarootdir ;;
895  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
896  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
897    datarootdir=$ac_optarg ;;
898
899  -disable-* | --disable-*)
900    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
901    # Reject names that are not valid shell variable names.
902    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
903      as_fn_error $? "invalid feature name: $ac_useropt"
904    ac_useropt_orig=$ac_useropt
905    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906    case $ac_user_opts in
907      *"
908"enable_$ac_useropt"
909"*) ;;
910      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
911	 ac_unrecognized_sep=', ';;
912    esac
913    eval enable_$ac_useropt=no ;;
914
915  -docdir | --docdir | --docdi | --doc | --do)
916    ac_prev=docdir ;;
917  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
918    docdir=$ac_optarg ;;
919
920  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
921    ac_prev=dvidir ;;
922  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
923    dvidir=$ac_optarg ;;
924
925  -enable-* | --enable-*)
926    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
927    # Reject names that are not valid shell variable names.
928    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
929      as_fn_error $? "invalid feature name: $ac_useropt"
930    ac_useropt_orig=$ac_useropt
931    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932    case $ac_user_opts in
933      *"
934"enable_$ac_useropt"
935"*) ;;
936      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
937	 ac_unrecognized_sep=', ';;
938    esac
939    eval enable_$ac_useropt=\$ac_optarg ;;
940
941  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
942  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
943  | --exec | --exe | --ex)
944    ac_prev=exec_prefix ;;
945  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
946  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
947  | --exec=* | --exe=* | --ex=*)
948    exec_prefix=$ac_optarg ;;
949
950  -gas | --gas | --ga | --g)
951    # Obsolete; use --with-gas.
952    with_gas=yes ;;
953
954  -help | --help | --hel | --he | -h)
955    ac_init_help=long ;;
956  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
957    ac_init_help=recursive ;;
958  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
959    ac_init_help=short ;;
960
961  -host | --host | --hos | --ho)
962    ac_prev=host_alias ;;
963  -host=* | --host=* | --hos=* | --ho=*)
964    host_alias=$ac_optarg ;;
965
966  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
967    ac_prev=htmldir ;;
968  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
969  | --ht=*)
970    htmldir=$ac_optarg ;;
971
972  -includedir | --includedir | --includedi | --included | --include \
973  | --includ | --inclu | --incl | --inc)
974    ac_prev=includedir ;;
975  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
976  | --includ=* | --inclu=* | --incl=* | --inc=*)
977    includedir=$ac_optarg ;;
978
979  -infodir | --infodir | --infodi | --infod | --info | --inf)
980    ac_prev=infodir ;;
981  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
982    infodir=$ac_optarg ;;
983
984  -libdir | --libdir | --libdi | --libd)
985    ac_prev=libdir ;;
986  -libdir=* | --libdir=* | --libdi=* | --libd=*)
987    libdir=$ac_optarg ;;
988
989  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
990  | --libexe | --libex | --libe)
991    ac_prev=libexecdir ;;
992  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
993  | --libexe=* | --libex=* | --libe=*)
994    libexecdir=$ac_optarg ;;
995
996  -localedir | --localedir | --localedi | --localed | --locale)
997    ac_prev=localedir ;;
998  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
999    localedir=$ac_optarg ;;
1000
1001  -localstatedir | --localstatedir | --localstatedi | --localstated \
1002  | --localstate | --localstat | --localsta | --localst | --locals)
1003    ac_prev=localstatedir ;;
1004  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1005  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1006    localstatedir=$ac_optarg ;;
1007
1008  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1009    ac_prev=mandir ;;
1010  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1011    mandir=$ac_optarg ;;
1012
1013  -nfp | --nfp | --nf)
1014    # Obsolete; use --without-fp.
1015    with_fp=no ;;
1016
1017  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1018  | --no-cr | --no-c | -n)
1019    no_create=yes ;;
1020
1021  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1022  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1023    no_recursion=yes ;;
1024
1025  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1026  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1027  | --oldin | --oldi | --old | --ol | --o)
1028    ac_prev=oldincludedir ;;
1029  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1030  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1031  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1032    oldincludedir=$ac_optarg ;;
1033
1034  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1035    ac_prev=prefix ;;
1036  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1037    prefix=$ac_optarg ;;
1038
1039  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1040  | --program-pre | --program-pr | --program-p)
1041    ac_prev=program_prefix ;;
1042  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1043  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1044    program_prefix=$ac_optarg ;;
1045
1046  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1047  | --program-suf | --program-su | --program-s)
1048    ac_prev=program_suffix ;;
1049  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1050  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1051    program_suffix=$ac_optarg ;;
1052
1053  -program-transform-name | --program-transform-name \
1054  | --program-transform-nam | --program-transform-na \
1055  | --program-transform-n | --program-transform- \
1056  | --program-transform | --program-transfor \
1057  | --program-transfo | --program-transf \
1058  | --program-trans | --program-tran \
1059  | --progr-tra | --program-tr | --program-t)
1060    ac_prev=program_transform_name ;;
1061  -program-transform-name=* | --program-transform-name=* \
1062  | --program-transform-nam=* | --program-transform-na=* \
1063  | --program-transform-n=* | --program-transform-=* \
1064  | --program-transform=* | --program-transfor=* \
1065  | --program-transfo=* | --program-transf=* \
1066  | --program-trans=* | --program-tran=* \
1067  | --progr-tra=* | --program-tr=* | --program-t=*)
1068    program_transform_name=$ac_optarg ;;
1069
1070  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1071    ac_prev=pdfdir ;;
1072  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1073    pdfdir=$ac_optarg ;;
1074
1075  -psdir | --psdir | --psdi | --psd | --ps)
1076    ac_prev=psdir ;;
1077  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1078    psdir=$ac_optarg ;;
1079
1080  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1081  | -silent | --silent | --silen | --sile | --sil)
1082    silent=yes ;;
1083
1084  -runstatedir | --runstatedir | --runstatedi | --runstated \
1085  | --runstate | --runstat | --runsta | --runst | --runs \
1086  | --run | --ru | --r)
1087    ac_prev=runstatedir ;;
1088  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1089  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1090  | --run=* | --ru=* | --r=*)
1091    runstatedir=$ac_optarg ;;
1092
1093  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1094    ac_prev=sbindir ;;
1095  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1096  | --sbi=* | --sb=*)
1097    sbindir=$ac_optarg ;;
1098
1099  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1100  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1101  | --sharedst | --shareds | --shared | --share | --shar \
1102  | --sha | --sh)
1103    ac_prev=sharedstatedir ;;
1104  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1105  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1106  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1107  | --sha=* | --sh=*)
1108    sharedstatedir=$ac_optarg ;;
1109
1110  -site | --site | --sit)
1111    ac_prev=site ;;
1112  -site=* | --site=* | --sit=*)
1113    site=$ac_optarg ;;
1114
1115  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1116    ac_prev=srcdir ;;
1117  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1118    srcdir=$ac_optarg ;;
1119
1120  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1121  | --syscon | --sysco | --sysc | --sys | --sy)
1122    ac_prev=sysconfdir ;;
1123  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1124  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1125    sysconfdir=$ac_optarg ;;
1126
1127  -target | --target | --targe | --targ | --tar | --ta | --t)
1128    ac_prev=target_alias ;;
1129  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1130    target_alias=$ac_optarg ;;
1131
1132  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1133    verbose=yes ;;
1134
1135  -version | --version | --versio | --versi | --vers | -V)
1136    ac_init_version=: ;;
1137
1138  -with-* | --with-*)
1139    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1140    # Reject names that are not valid shell variable names.
1141    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1142      as_fn_error $? "invalid package name: $ac_useropt"
1143    ac_useropt_orig=$ac_useropt
1144    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145    case $ac_user_opts in
1146      *"
1147"with_$ac_useropt"
1148"*) ;;
1149      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1150	 ac_unrecognized_sep=', ';;
1151    esac
1152    eval with_$ac_useropt=\$ac_optarg ;;
1153
1154  -without-* | --without-*)
1155    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1156    # Reject names that are not valid shell variable names.
1157    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1158      as_fn_error $? "invalid package name: $ac_useropt"
1159    ac_useropt_orig=$ac_useropt
1160    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161    case $ac_user_opts in
1162      *"
1163"with_$ac_useropt"
1164"*) ;;
1165      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1166	 ac_unrecognized_sep=', ';;
1167    esac
1168    eval with_$ac_useropt=no ;;
1169
1170  --x)
1171    # Obsolete; use --with-x.
1172    with_x=yes ;;
1173
1174  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1175  | --x-incl | --x-inc | --x-in | --x-i)
1176    ac_prev=x_includes ;;
1177  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1178  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1179    x_includes=$ac_optarg ;;
1180
1181  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1182  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1183    ac_prev=x_libraries ;;
1184  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1185  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1186    x_libraries=$ac_optarg ;;
1187
1188  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1189Try \`$0 --help' for more information"
1190    ;;
1191
1192  *=*)
1193    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1194    # Reject names that are not valid shell variable names.
1195    case $ac_envvar in #(
1196      '' | [0-9]* | *[!_$as_cr_alnum]* )
1197      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1198    esac
1199    eval $ac_envvar=\$ac_optarg
1200    export $ac_envvar ;;
1201
1202  *)
1203    # FIXME: should be removed in autoconf 3.0.
1204    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1205    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1206      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1207    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1208    ;;
1209
1210  esac
1211done
1212
1213if test -n "$ac_prev"; then
1214  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1215  as_fn_error $? "missing argument to $ac_option"
1216fi
1217
1218if test -n "$ac_unrecognized_opts"; then
1219  case $enable_option_checking in
1220    no) ;;
1221    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1222    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1223  esac
1224fi
1225
1226# Check all directory arguments for consistency.
1227for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1228		datadir sysconfdir sharedstatedir localstatedir includedir \
1229		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1230		libdir localedir mandir runstatedir
1231do
1232  eval ac_val=\$$ac_var
1233  # Remove trailing slashes.
1234  case $ac_val in
1235    */ )
1236      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1237      eval $ac_var=\$ac_val;;
1238  esac
1239  # Be sure to have absolute directory names.
1240  case $ac_val in
1241    [\\/$]* | ?:[\\/]* )  continue;;
1242    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1243  esac
1244  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1245done
1246
1247# There might be people who depend on the old broken behavior: `$host'
1248# used to hold the argument of --host etc.
1249# FIXME: To remove some day.
1250build=$build_alias
1251host=$host_alias
1252target=$target_alias
1253
1254# FIXME: To remove some day.
1255if test "x$host_alias" != x; then
1256  if test "x$build_alias" = x; then
1257    cross_compiling=maybe
1258  elif test "x$build_alias" != "x$host_alias"; then
1259    cross_compiling=yes
1260  fi
1261fi
1262
1263ac_tool_prefix=
1264test -n "$host_alias" && ac_tool_prefix=$host_alias-
1265
1266test "$silent" = yes && exec 6>/dev/null
1267
1268
1269ac_pwd=`pwd` && test -n "$ac_pwd" &&
1270ac_ls_di=`ls -di .` &&
1271ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1272  as_fn_error $? "working directory cannot be determined"
1273test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1274  as_fn_error $? "pwd does not report name of working directory"
1275
1276
1277# Find the source files, if location was not specified.
1278if test -z "$srcdir"; then
1279  ac_srcdir_defaulted=yes
1280  # Try the directory containing this script, then the parent directory.
1281  ac_confdir=`$as_dirname -- "$as_myself" ||
1282$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1283	 X"$as_myself" : 'X\(//\)[^/]' \| \
1284	 X"$as_myself" : 'X\(//\)$' \| \
1285	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1286$as_echo X"$as_myself" |
1287    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1288	    s//\1/
1289	    q
1290	  }
1291	  /^X\(\/\/\)[^/].*/{
1292	    s//\1/
1293	    q
1294	  }
1295	  /^X\(\/\/\)$/{
1296	    s//\1/
1297	    q
1298	  }
1299	  /^X\(\/\).*/{
1300	    s//\1/
1301	    q
1302	  }
1303	  s/.*/./; q'`
1304  srcdir=$ac_confdir
1305  if test ! -r "$srcdir/$ac_unique_file"; then
1306    srcdir=..
1307  fi
1308else
1309  ac_srcdir_defaulted=no
1310fi
1311if test ! -r "$srcdir/$ac_unique_file"; then
1312  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1313  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1314fi
1315ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1316ac_abs_confdir=`(
1317	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1318	pwd)`
1319# When building in place, set srcdir=.
1320if test "$ac_abs_confdir" = "$ac_pwd"; then
1321  srcdir=.
1322fi
1323# Remove unnecessary trailing slashes from srcdir.
1324# Double slashes in file names in object file debugging info
1325# mess up M-x gdb in Emacs.
1326case $srcdir in
1327*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1328esac
1329for ac_var in $ac_precious_vars; do
1330  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1331  eval ac_env_${ac_var}_value=\$${ac_var}
1332  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1333  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1334done
1335
1336#
1337# Report the --help message.
1338#
1339if test "$ac_init_help" = "long"; then
1340  # Omit some internal or obsolete options to make the list less imposing.
1341  # This message is too long to be a string in the A/UX 3.1 sh.
1342  cat <<_ACEOF
1343\`configure' configures libltdl 2.4.3a to adapt to many kinds of systems.
1344
1345Usage: $0 [OPTION]... [VAR=VALUE]...
1346
1347To assign environment variables (e.g., CC, CFLAGS...), specify them as
1348VAR=VALUE.  See below for descriptions of some of the useful variables.
1349
1350Defaults for the options are specified in brackets.
1351
1352Configuration:
1353  -h, --help              display this help and exit
1354      --help=short        display options specific to this package
1355      --help=recursive    display the short help of all the included packages
1356  -V, --version           display version information and exit
1357  -q, --quiet, --silent   do not print \`checking ...' messages
1358      --cache-file=FILE   cache test results in FILE [disabled]
1359  -C, --config-cache      alias for \`--cache-file=config.cache'
1360  -n, --no-create         do not create output files
1361      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1362
1363Installation directories:
1364  --prefix=PREFIX         install architecture-independent files in PREFIX
1365                          [$ac_default_prefix]
1366  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1367                          [PREFIX]
1368
1369By default, \`make install' will install all the files in
1370\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1371an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1372for instance \`--prefix=\$HOME'.
1373
1374For better control, use the options below.
1375
1376Fine tuning of the installation directories:
1377  --bindir=DIR            user executables [EPREFIX/bin]
1378  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1379  --libexecdir=DIR        program executables [EPREFIX/libexec]
1380  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1381  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1382  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1383  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1384  --libdir=DIR            object code libraries [EPREFIX/lib]
1385  --includedir=DIR        C header files [PREFIX/include]
1386  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1387  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1388  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1389  --infodir=DIR           info documentation [DATAROOTDIR/info]
1390  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1391  --mandir=DIR            man documentation [DATAROOTDIR/man]
1392  --docdir=DIR            documentation root [DATAROOTDIR/doc/libltdl]
1393  --htmldir=DIR           html documentation [DOCDIR]
1394  --dvidir=DIR            dvi documentation [DOCDIR]
1395  --pdfdir=DIR            pdf documentation [DOCDIR]
1396  --psdir=DIR             ps documentation [DOCDIR]
1397_ACEOF
1398
1399  cat <<\_ACEOF
1400
1401Program names:
1402  --program-prefix=PREFIX            prepend PREFIX to installed program names
1403  --program-suffix=SUFFIX            append SUFFIX to installed program names
1404  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1405
1406System types:
1407  --build=BUILD     configure for building on BUILD [guessed]
1408  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1409_ACEOF
1410fi
1411
1412if test -n "$ac_init_help"; then
1413  case $ac_init_help in
1414     short | recursive ) echo "Configuration of libltdl 2.4.3a:";;
1415   esac
1416  cat <<\_ACEOF
1417
1418Optional Features:
1419  --disable-option-checking  ignore unrecognized --enable/--with options
1420  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1421  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1422  --enable-silent-rules   less verbose build output (undo: "make V=1")
1423  --disable-silent-rules  verbose build output (undo: "make V=0")
1424  --enable-shared[=PKGS]  build shared libraries [default=yes]
1425  --enable-static[=PKGS]  build static libraries [default=yes]
1426  --enable-fast-install[=PKGS]
1427                          optimize for fast installation [default=yes]
1428  --enable-dependency-tracking
1429                          do not reject slow dependency extractors
1430  --disable-dependency-tracking
1431                          speeds up one-time build
1432  --disable-libtool-lock  avoid locking (might break parallel builds)
1433  --enable-ltdl-install   install libltdl
1434
1435Optional Packages:
1436  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1437  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1438  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1439                          both]
1440  --with-aix-soname=aix|svr4|both
1441                          shared library versioning (aka "SONAME") variant to
1442                          provide on AIX, [default=aix].
1443  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1444  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1445                          compiler's sysroot if not specified).
1446
1447Some influential environment variables:
1448  CC          C compiler command
1449  CFLAGS      C compiler flags
1450  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1451              nonstandard directory <lib dir>
1452  LIBS        libraries to pass to the linker, e.g. -l<library>
1453  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1454              you have headers in a nonstandard directory <include dir>
1455  LT_SYS_LIBRARY_PATH
1456              User-defined run-time library search path.
1457  CPP         C preprocessor
1458
1459Use these variables to override the choices made by `configure' or to help
1460it to find libraries and programs with nonstandard names/locations.
1461
1462Report bugs to <bug-libtool@gnu.org>.
1463_ACEOF
1464ac_status=$?
1465fi
1466
1467if test "$ac_init_help" = "recursive"; then
1468  # If there are subdirs, report their specific --help.
1469  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1470    test -d "$ac_dir" ||
1471      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1472      continue
1473    ac_builddir=.
1474
1475case "$ac_dir" in
1476.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1477*)
1478  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1479  # A ".." for each directory in $ac_dir_suffix.
1480  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1481  case $ac_top_builddir_sub in
1482  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1484  esac ;;
1485esac
1486ac_abs_top_builddir=$ac_pwd
1487ac_abs_builddir=$ac_pwd$ac_dir_suffix
1488# for backward compatibility:
1489ac_top_builddir=$ac_top_build_prefix
1490
1491case $srcdir in
1492  .)  # We are building in place.
1493    ac_srcdir=.
1494    ac_top_srcdir=$ac_top_builddir_sub
1495    ac_abs_top_srcdir=$ac_pwd ;;
1496  [\\/]* | ?:[\\/]* )  # Absolute name.
1497    ac_srcdir=$srcdir$ac_dir_suffix;
1498    ac_top_srcdir=$srcdir
1499    ac_abs_top_srcdir=$srcdir ;;
1500  *) # Relative name.
1501    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1502    ac_top_srcdir=$ac_top_build_prefix$srcdir
1503    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1504esac
1505ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1506
1507    cd "$ac_dir" || { ac_status=$?; continue; }
1508    # Check for guested configure.
1509    if test -f "$ac_srcdir/configure.gnu"; then
1510      echo &&
1511      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1512    elif test -f "$ac_srcdir/configure"; then
1513      echo &&
1514      $SHELL "$ac_srcdir/configure" --help=recursive
1515    else
1516      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1517    fi || ac_status=$?
1518    cd "$ac_pwd" || { ac_status=$?; break; }
1519  done
1520fi
1521
1522test -n "$ac_init_help" && exit $ac_status
1523if $ac_init_version; then
1524  cat <<\_ACEOF
1525libltdl configure 2.4.3a
1526generated by GNU Autoconf 2.69
1527
1528Copyright (C) 2012 Free Software Foundation, Inc.
1529This configure script is free software; the Free Software Foundation
1530gives unlimited permission to copy, distribute and modify it.
1531_ACEOF
1532  exit
1533fi
1534
1535## ------------------------ ##
1536## Autoconf initialization. ##
1537## ------------------------ ##
1538
1539# ac_fn_c_try_compile LINENO
1540# --------------------------
1541# Try to compile conftest.$ac_ext, and return whether this succeeded.
1542ac_fn_c_try_compile ()
1543{
1544  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545  rm -f conftest.$ac_objext
1546  if { { ac_try="$ac_compile"
1547case "(($ac_try" in
1548  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1549  *) ac_try_echo=$ac_try;;
1550esac
1551eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552$as_echo "$ac_try_echo"; } >&5
1553  (eval "$ac_compile") 2>conftest.err
1554  ac_status=$?
1555  if test -s conftest.err; then
1556    grep -v '^ *+' conftest.err >conftest.er1
1557    cat conftest.er1 >&5
1558    mv -f conftest.er1 conftest.err
1559  fi
1560  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561  test $ac_status = 0; } && {
1562	 test -z "$ac_c_werror_flag" ||
1563	 test ! -s conftest.err
1564       } && test -s conftest.$ac_objext; then :
1565  ac_retval=0
1566else
1567  $as_echo "$as_me: failed program was:" >&5
1568sed 's/^/| /' conftest.$ac_ext >&5
1569
1570	ac_retval=1
1571fi
1572  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1573  as_fn_set_status $ac_retval
1574
1575} # ac_fn_c_try_compile
1576
1577# ac_fn_c_try_link LINENO
1578# -----------------------
1579# Try to link conftest.$ac_ext, and return whether this succeeded.
1580ac_fn_c_try_link ()
1581{
1582  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583  rm -f conftest.$ac_objext conftest$ac_exeext
1584  if { { ac_try="$ac_link"
1585case "(($ac_try" in
1586  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1587  *) ac_try_echo=$ac_try;;
1588esac
1589eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590$as_echo "$ac_try_echo"; } >&5
1591  (eval "$ac_link") 2>conftest.err
1592  ac_status=$?
1593  if test -s conftest.err; then
1594    grep -v '^ *+' conftest.err >conftest.er1
1595    cat conftest.er1 >&5
1596    mv -f conftest.er1 conftest.err
1597  fi
1598  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599  test $ac_status = 0; } && {
1600	 test -z "$ac_c_werror_flag" ||
1601	 test ! -s conftest.err
1602       } && test -s conftest$ac_exeext && {
1603	 test "$cross_compiling" = yes ||
1604	 test -x conftest$ac_exeext
1605       }; then :
1606  ac_retval=0
1607else
1608  $as_echo "$as_me: failed program was:" >&5
1609sed 's/^/| /' conftest.$ac_ext >&5
1610
1611	ac_retval=1
1612fi
1613  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1614  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1615  # interfere with the next link command; also delete a directory that is
1616  # left behind by Apple's compiler.  We do this before executing the actions.
1617  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1618  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619  as_fn_set_status $ac_retval
1620
1621} # ac_fn_c_try_link
1622
1623# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1624# -------------------------------------------------------
1625# Tests whether HEADER exists and can be compiled using the include files in
1626# INCLUDES, setting the cache variable VAR accordingly.
1627ac_fn_c_check_header_compile ()
1628{
1629  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1631$as_echo_n "checking for $2... " >&6; }
1632if eval \${$3+:} false; then :
1633  $as_echo_n "(cached) " >&6
1634else
1635  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1636/* end confdefs.h.  */
1637$4
1638#include <$2>
1639_ACEOF
1640if ac_fn_c_try_compile "$LINENO"; then :
1641  eval "$3=yes"
1642else
1643  eval "$3=no"
1644fi
1645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1646fi
1647eval ac_res=\$$3
1648	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1649$as_echo "$ac_res" >&6; }
1650  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651
1652} # ac_fn_c_check_header_compile
1653
1654# ac_fn_c_try_cpp LINENO
1655# ----------------------
1656# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1657ac_fn_c_try_cpp ()
1658{
1659  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660  if { { ac_try="$ac_cpp conftest.$ac_ext"
1661case "(($ac_try" in
1662  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663  *) ac_try_echo=$ac_try;;
1664esac
1665eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666$as_echo "$ac_try_echo"; } >&5
1667  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1668  ac_status=$?
1669  if test -s conftest.err; then
1670    grep -v '^ *+' conftest.err >conftest.er1
1671    cat conftest.er1 >&5
1672    mv -f conftest.er1 conftest.err
1673  fi
1674  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675  test $ac_status = 0; } > conftest.i && {
1676	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1677	 test ! -s conftest.err
1678       }; then :
1679  ac_retval=0
1680else
1681  $as_echo "$as_me: failed program was:" >&5
1682sed 's/^/| /' conftest.$ac_ext >&5
1683
1684    ac_retval=1
1685fi
1686  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687  as_fn_set_status $ac_retval
1688
1689} # ac_fn_c_try_cpp
1690
1691# ac_fn_c_try_run LINENO
1692# ----------------------
1693# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1694# that executables *can* be run.
1695ac_fn_c_try_run ()
1696{
1697  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698  if { { ac_try="$ac_link"
1699case "(($ac_try" in
1700  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701  *) ac_try_echo=$ac_try;;
1702esac
1703eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704$as_echo "$ac_try_echo"; } >&5
1705  (eval "$ac_link") 2>&5
1706  ac_status=$?
1707  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1709  { { case "(($ac_try" in
1710  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711  *) ac_try_echo=$ac_try;;
1712esac
1713eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714$as_echo "$ac_try_echo"; } >&5
1715  (eval "$ac_try") 2>&5
1716  ac_status=$?
1717  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718  test $ac_status = 0; }; }; then :
1719  ac_retval=0
1720else
1721  $as_echo "$as_me: program exited with status $ac_status" >&5
1722       $as_echo "$as_me: failed program was:" >&5
1723sed 's/^/| /' conftest.$ac_ext >&5
1724
1725       ac_retval=$ac_status
1726fi
1727  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1728  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729  as_fn_set_status $ac_retval
1730
1731} # ac_fn_c_try_run
1732
1733# ac_fn_c_check_func LINENO FUNC VAR
1734# ----------------------------------
1735# Tests whether FUNC exists, setting the cache variable VAR accordingly
1736ac_fn_c_check_func ()
1737{
1738  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740$as_echo_n "checking for $2... " >&6; }
1741if eval \${$3+:} false; then :
1742  $as_echo_n "(cached) " >&6
1743else
1744  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745/* end confdefs.h.  */
1746/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1747   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1748#define $2 innocuous_$2
1749
1750/* System header to define __stub macros and hopefully few prototypes,
1751    which can conflict with char $2 (); below.
1752    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1753    <limits.h> exists even on freestanding compilers.  */
1754
1755#ifdef __STDC__
1756# include <limits.h>
1757#else
1758# include <assert.h>
1759#endif
1760
1761#undef $2
1762
1763/* Override any GCC internal prototype to avoid an error.
1764   Use char because int might match the return type of a GCC
1765   builtin and then its argument prototype would still apply.  */
1766#ifdef __cplusplus
1767extern "C"
1768#endif
1769char $2 ();
1770/* The GNU C library defines this for functions which it implements
1771    to always fail with ENOSYS.  Some functions are actually named
1772    something starting with __ and the normal name is an alias.  */
1773#if defined __stub_$2 || defined __stub___$2
1774choke me
1775#endif
1776
1777int
1778main ()
1779{
1780return $2 ();
1781  ;
1782  return 0;
1783}
1784_ACEOF
1785if ac_fn_c_try_link "$LINENO"; then :
1786  eval "$3=yes"
1787else
1788  eval "$3=no"
1789fi
1790rm -f core conftest.err conftest.$ac_objext \
1791    conftest$ac_exeext conftest.$ac_ext
1792fi
1793eval ac_res=\$$3
1794	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1795$as_echo "$ac_res" >&6; }
1796  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797
1798} # ac_fn_c_check_func
1799
1800# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1801# ---------------------------------------------
1802# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1803# accordingly.
1804ac_fn_c_check_decl ()
1805{
1806  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807  as_decl_name=`echo $2|sed 's/ *(.*//'`
1808  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1810$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1811if eval \${$3+:} false; then :
1812  $as_echo_n "(cached) " >&6
1813else
1814  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815/* end confdefs.h.  */
1816$4
1817int
1818main ()
1819{
1820#ifndef $as_decl_name
1821#ifdef __cplusplus
1822  (void) $as_decl_use;
1823#else
1824  (void) $as_decl_name;
1825#endif
1826#endif
1827
1828  ;
1829  return 0;
1830}
1831_ACEOF
1832if ac_fn_c_try_compile "$LINENO"; then :
1833  eval "$3=yes"
1834else
1835  eval "$3=no"
1836fi
1837rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1838fi
1839eval ac_res=\$$3
1840	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841$as_echo "$ac_res" >&6; }
1842  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843
1844} # ac_fn_c_check_decl
1845
1846# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1847# -------------------------------------------
1848# Tests whether TYPE exists after having included INCLUDES, setting cache
1849# variable VAR accordingly.
1850ac_fn_c_check_type ()
1851{
1852  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854$as_echo_n "checking for $2... " >&6; }
1855if eval \${$3+:} false; then :
1856  $as_echo_n "(cached) " >&6
1857else
1858  eval "$3=no"
1859  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1860/* end confdefs.h.  */
1861$4
1862int
1863main ()
1864{
1865if (sizeof ($2))
1866	 return 0;
1867  ;
1868  return 0;
1869}
1870_ACEOF
1871if ac_fn_c_try_compile "$LINENO"; then :
1872  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873/* end confdefs.h.  */
1874$4
1875int
1876main ()
1877{
1878if (sizeof (($2)))
1879	    return 0;
1880  ;
1881  return 0;
1882}
1883_ACEOF
1884if ac_fn_c_try_compile "$LINENO"; then :
1885
1886else
1887  eval "$3=yes"
1888fi
1889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1890fi
1891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1892fi
1893eval ac_res=\$$3
1894	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895$as_echo "$ac_res" >&6; }
1896  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1897
1898} # ac_fn_c_check_type
1899cat >config.log <<_ACEOF
1900This file contains any messages produced by compilers while
1901running configure, to aid debugging if configure makes a mistake.
1902
1903It was created by libltdl $as_me 2.4.3a, which was
1904generated by GNU Autoconf 2.69.  Invocation command line was
1905
1906  $ $0 $@
1907
1908_ACEOF
1909exec 5>>config.log
1910{
1911cat <<_ASUNAME
1912## --------- ##
1913## Platform. ##
1914## --------- ##
1915
1916hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1917uname -m = `(uname -m) 2>/dev/null || echo unknown`
1918uname -r = `(uname -r) 2>/dev/null || echo unknown`
1919uname -s = `(uname -s) 2>/dev/null || echo unknown`
1920uname -v = `(uname -v) 2>/dev/null || echo unknown`
1921
1922/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1923/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1924
1925/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1926/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1927/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1928/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1929/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1930/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1931/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1932
1933_ASUNAME
1934
1935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936for as_dir in $PATH
1937do
1938  IFS=$as_save_IFS
1939  test -z "$as_dir" && as_dir=.
1940    $as_echo "PATH: $as_dir"
1941  done
1942IFS=$as_save_IFS
1943
1944} >&5
1945
1946cat >&5 <<_ACEOF
1947
1948
1949## ----------- ##
1950## Core tests. ##
1951## ----------- ##
1952
1953_ACEOF
1954
1955
1956# Keep a trace of the command line.
1957# Strip out --no-create and --no-recursion so they do not pile up.
1958# Strip out --silent because we don't want to record it for future runs.
1959# Also quote any args containing shell meta-characters.
1960# Make two passes to allow for proper duplicate-argument suppression.
1961ac_configure_args=
1962ac_configure_args0=
1963ac_configure_args1=
1964ac_must_keep_next=false
1965for ac_pass in 1 2
1966do
1967  for ac_arg
1968  do
1969    case $ac_arg in
1970    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1971    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1972    | -silent | --silent | --silen | --sile | --sil)
1973      continue ;;
1974    *\'*)
1975      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1976    esac
1977    case $ac_pass in
1978    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1979    2)
1980      as_fn_append ac_configure_args1 " '$ac_arg'"
1981      if test $ac_must_keep_next = true; then
1982	ac_must_keep_next=false # Got value, back to normal.
1983      else
1984	case $ac_arg in
1985	  *=* | --config-cache | -C | -disable-* | --disable-* \
1986	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1987	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1988	  | -with-* | --with-* | -without-* | --without-* | --x)
1989	    case "$ac_configure_args0 " in
1990	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1991	    esac
1992	    ;;
1993	  -* ) ac_must_keep_next=true ;;
1994	esac
1995      fi
1996      as_fn_append ac_configure_args " '$ac_arg'"
1997      ;;
1998    esac
1999  done
2000done
2001{ ac_configure_args0=; unset ac_configure_args0;}
2002{ ac_configure_args1=; unset ac_configure_args1;}
2003
2004# When interrupted or exit'd, cleanup temporary files, and complete
2005# config.log.  We remove comments because anyway the quotes in there
2006# would cause problems or look ugly.
2007# WARNING: Use '\'' to represent an apostrophe within the trap.
2008# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2009trap 'exit_status=$?
2010  # Save into config.log some information that might help in debugging.
2011  {
2012    echo
2013
2014    $as_echo "## ---------------- ##
2015## Cache variables. ##
2016## ---------------- ##"
2017    echo
2018    # The following way of writing the cache mishandles newlines in values,
2019(
2020  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2021    eval ac_val=\$$ac_var
2022    case $ac_val in #(
2023    *${as_nl}*)
2024      case $ac_var in #(
2025      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2026$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2027      esac
2028      case $ac_var in #(
2029      _ | IFS | as_nl) ;; #(
2030      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2031      *) { eval $ac_var=; unset $ac_var;} ;;
2032      esac ;;
2033    esac
2034  done
2035  (set) 2>&1 |
2036    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2037    *${as_nl}ac_space=\ *)
2038      sed -n \
2039	"s/'\''/'\''\\\\'\'''\''/g;
2040	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2041      ;; #(
2042    *)
2043      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2044      ;;
2045    esac |
2046    sort
2047)
2048    echo
2049
2050    $as_echo "## ----------------- ##
2051## Output variables. ##
2052## ----------------- ##"
2053    echo
2054    for ac_var in $ac_subst_vars
2055    do
2056      eval ac_val=\$$ac_var
2057      case $ac_val in
2058      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2059      esac
2060      $as_echo "$ac_var='\''$ac_val'\''"
2061    done | sort
2062    echo
2063
2064    if test -n "$ac_subst_files"; then
2065      $as_echo "## ------------------- ##
2066## File substitutions. ##
2067## ------------------- ##"
2068      echo
2069      for ac_var in $ac_subst_files
2070      do
2071	eval ac_val=\$$ac_var
2072	case $ac_val in
2073	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2074	esac
2075	$as_echo "$ac_var='\''$ac_val'\''"
2076      done | sort
2077      echo
2078    fi
2079
2080    if test -s confdefs.h; then
2081      $as_echo "## ----------- ##
2082## confdefs.h. ##
2083## ----------- ##"
2084      echo
2085      cat confdefs.h
2086      echo
2087    fi
2088    test "$ac_signal" != 0 &&
2089      $as_echo "$as_me: caught signal $ac_signal"
2090    $as_echo "$as_me: exit $exit_status"
2091  } >&5
2092  rm -f core *.core core.conftest.* &&
2093    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2094    exit $exit_status
2095' 0
2096for ac_signal in 1 2 13 15; do
2097  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2098done
2099ac_signal=0
2100
2101# confdefs.h avoids OS command line length limits that DEFS can exceed.
2102rm -f -r conftest* confdefs.h
2103
2104$as_echo "/* confdefs.h */" > confdefs.h
2105
2106# Predefined preprocessor variables.
2107
2108cat >>confdefs.h <<_ACEOF
2109#define PACKAGE_NAME "$PACKAGE_NAME"
2110_ACEOF
2111
2112cat >>confdefs.h <<_ACEOF
2113#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2114_ACEOF
2115
2116cat >>confdefs.h <<_ACEOF
2117#define PACKAGE_VERSION "$PACKAGE_VERSION"
2118_ACEOF
2119
2120cat >>confdefs.h <<_ACEOF
2121#define PACKAGE_STRING "$PACKAGE_STRING"
2122_ACEOF
2123
2124cat >>confdefs.h <<_ACEOF
2125#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2126_ACEOF
2127
2128cat >>confdefs.h <<_ACEOF
2129#define PACKAGE_URL "$PACKAGE_URL"
2130_ACEOF
2131
2132
2133# Let the site file select an alternate cache file if it wants to.
2134# Prefer an explicitly selected file to automatically selected ones.
2135ac_site_file1=NONE
2136ac_site_file2=NONE
2137if test -n "$CONFIG_SITE"; then
2138  # We do not want a PATH search for config.site.
2139  case $CONFIG_SITE in #((
2140    -*)  ac_site_file1=./$CONFIG_SITE;;
2141    */*) ac_site_file1=$CONFIG_SITE;;
2142    *)   ac_site_file1=./$CONFIG_SITE;;
2143  esac
2144elif test "x$prefix" != xNONE; then
2145  ac_site_file1=$prefix/share/config.site
2146  ac_site_file2=$prefix/etc/config.site
2147else
2148  ac_site_file1=$ac_default_prefix/share/config.site
2149  ac_site_file2=$ac_default_prefix/etc/config.site
2150fi
2151for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2152do
2153  test "x$ac_site_file" = xNONE && continue
2154  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2155    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2156$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2157    sed 's/^/| /' "$ac_site_file" >&5
2158    . "$ac_site_file" \
2159      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2160$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2161as_fn_error $? "failed to load site script $ac_site_file
2162See \`config.log' for more details" "$LINENO" 5; }
2163  fi
2164done
2165
2166if test -r "$cache_file"; then
2167  # Some versions of bash will fail to source /dev/null (special files
2168  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2169  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2170    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2171$as_echo "$as_me: loading cache $cache_file" >&6;}
2172    case $cache_file in
2173      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2174      *)                      . "./$cache_file";;
2175    esac
2176  fi
2177else
2178  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2179$as_echo "$as_me: creating cache $cache_file" >&6;}
2180  >$cache_file
2181fi
2182
2183# Check that the precious variables saved in the cache have kept the same
2184# value.
2185ac_cache_corrupted=false
2186for ac_var in $ac_precious_vars; do
2187  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2188  eval ac_new_set=\$ac_env_${ac_var}_set
2189  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2190  eval ac_new_val=\$ac_env_${ac_var}_value
2191  case $ac_old_set,$ac_new_set in
2192    set,)
2193      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2194$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2195      ac_cache_corrupted=: ;;
2196    ,set)
2197      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2198$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2199      ac_cache_corrupted=: ;;
2200    ,);;
2201    *)
2202      if test "x$ac_old_val" != "x$ac_new_val"; then
2203	# differences in whitespace do not lead to failure.
2204	ac_old_val_w=`echo x $ac_old_val`
2205	ac_new_val_w=`echo x $ac_new_val`
2206	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2207	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2208$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2209	  ac_cache_corrupted=:
2210	else
2211	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2212$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2213	  eval $ac_var=\$ac_old_val
2214	fi
2215	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2216$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2217	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2218$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2219      fi;;
2220  esac
2221  # Pass precious variables to config.status.
2222  if test "$ac_new_set" = set; then
2223    case $ac_new_val in
2224    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2225    *) ac_arg=$ac_var=$ac_new_val ;;
2226    esac
2227    case " $ac_configure_args " in
2228      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2229      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2230    esac
2231  fi
2232done
2233if $ac_cache_corrupted; then
2234  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2235$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2236  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2237$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2238  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2239fi
2240## -------------------- ##
2241## Main body of script. ##
2242## -------------------- ##
2243
2244ac_ext=c
2245ac_cpp='$CPP $CPPFLAGS'
2246ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2247ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2248ac_compiler_gnu=$ac_cv_c_compiler_gnu
2249
2250
2251ac_config_headers="$ac_config_headers config.h:config-h.in"
2252
2253
2254ac_aux_dir=
2255for ac_dir in ../tools "$srcdir"/../tools; do
2256  if test -f "$ac_dir/install-sh"; then
2257    ac_aux_dir=$ac_dir
2258    ac_install_sh="$ac_aux_dir/install-sh -c"
2259    break
2260  elif test -f "$ac_dir/install.sh"; then
2261    ac_aux_dir=$ac_dir
2262    ac_install_sh="$ac_aux_dir/install.sh -c"
2263    break
2264  elif test -f "$ac_dir/shtool"; then
2265    ac_aux_dir=$ac_dir
2266    ac_install_sh="$ac_aux_dir/shtool install -c"
2267    break
2268  fi
2269done
2270if test -z "$ac_aux_dir"; then
2271  as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../tools \"$srcdir\"/../tools" "$LINENO" 5
2272fi
2273
2274# These three variables are undocumented and unsupported,
2275# and are intended to be withdrawn in a future Autoconf release.
2276# They can cause serious problems if a builder's source tree is in a directory
2277# whose full name contains unusual characters.
2278ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2279ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2280ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2281
2282
2283
2284
2285
2286
2287
2288 # I am me!
2289
2290
2291## ------------------------ ##
2292## Automake Initialisation. ##
2293## ------------------------ ##
2294
2295am__api_version='1.16'
2296
2297# Find a good install program.  We prefer a C program (faster),
2298# so one script is as good as another.  But avoid the broken or
2299# incompatible versions:
2300# SysV /etc/install, /usr/sbin/install
2301# SunOS /usr/etc/install
2302# IRIX /sbin/install
2303# AIX /bin/install
2304# AmigaOS /C/install, which installs bootblocks on floppy discs
2305# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2306# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2307# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2308# OS/2's system install, which has a completely different semantic
2309# ./install, which can be erroneously created by make from ./install.sh.
2310# Reject install programs that cannot install multiple files.
2311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2312$as_echo_n "checking for a BSD-compatible install... " >&6; }
2313if test -z "$INSTALL"; then
2314if ${ac_cv_path_install+:} false; then :
2315  $as_echo_n "(cached) " >&6
2316else
2317  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318for as_dir in $PATH
2319do
2320  IFS=$as_save_IFS
2321  test -z "$as_dir" && as_dir=.
2322    # Account for people who put trailing slashes in PATH elements.
2323case $as_dir/ in #((
2324  ./ | .// | /[cC]/* | \
2325  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2326  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2327  /usr/ucb/* ) ;;
2328  *)
2329    # OSF1 and SCO ODT 3.0 have their own names for install.
2330    # Don't use installbsd from OSF since it installs stuff as root
2331    # by default.
2332    for ac_prog in ginstall scoinst install; do
2333      for ac_exec_ext in '' $ac_executable_extensions; do
2334	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2335	  if test $ac_prog = install &&
2336	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2337	    # AIX install.  It has an incompatible calling convention.
2338	    :
2339	  elif test $ac_prog = install &&
2340	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2341	    # program-specific install script used by HP pwplus--don't use.
2342	    :
2343	  else
2344	    rm -rf conftest.one conftest.two conftest.dir
2345	    echo one > conftest.one
2346	    echo two > conftest.two
2347	    mkdir conftest.dir
2348	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2349	      test -s conftest.one && test -s conftest.two &&
2350	      test -s conftest.dir/conftest.one &&
2351	      test -s conftest.dir/conftest.two
2352	    then
2353	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2354	      break 3
2355	    fi
2356	  fi
2357	fi
2358      done
2359    done
2360    ;;
2361esac
2362
2363  done
2364IFS=$as_save_IFS
2365
2366rm -rf conftest.one conftest.two conftest.dir
2367
2368fi
2369  if test "${ac_cv_path_install+set}" = set; then
2370    INSTALL=$ac_cv_path_install
2371  else
2372    # As a last resort, use the slow shell script.  Don't cache a
2373    # value for INSTALL within a source directory, because that will
2374    # break other packages using the cache if that directory is
2375    # removed, or if the value is a relative name.
2376    INSTALL=$ac_install_sh
2377  fi
2378fi
2379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2380$as_echo "$INSTALL" >&6; }
2381
2382# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2383# It thinks the first close brace ends the variable substitution.
2384test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2385
2386test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2387
2388test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2389
2390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2391$as_echo_n "checking whether build environment is sane... " >&6; }
2392# Reject unsafe characters in $srcdir or the absolute working directory
2393# name.  Accept space and tab only in the latter.
2394am_lf='
2395'
2396case `pwd` in
2397  *[\\\"\#\$\&\'\`$am_lf]*)
2398    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2399esac
2400case $srcdir in
2401  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2402    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2403esac
2404
2405# Do 'set' in a subshell so we don't clobber the current shell's
2406# arguments.  Must try -L first in case configure is actually a
2407# symlink; some systems play weird games with the mod time of symlinks
2408# (eg FreeBSD returns the mod time of the symlink's containing
2409# directory).
2410if (
2411   am_has_slept=no
2412   for am_try in 1 2; do
2413     echo "timestamp, slept: $am_has_slept" > conftest.file
2414     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2415     if test "$*" = "X"; then
2416	# -L didn't work.
2417	set X `ls -t "$srcdir/configure" conftest.file`
2418     fi
2419     if test "$*" != "X $srcdir/configure conftest.file" \
2420	&& test "$*" != "X conftest.file $srcdir/configure"; then
2421
2422	# If neither matched, then we have a broken ls.  This can happen
2423	# if, for instance, CONFIG_SHELL is bash and it inherits a
2424	# broken ls alias from the environment.  This has actually
2425	# happened.  Such a system could not be considered "sane".
2426	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2427  alias in your environment" "$LINENO" 5
2428     fi
2429     if test "$2" = conftest.file || test $am_try -eq 2; then
2430       break
2431     fi
2432     # Just in case.
2433     sleep 1
2434     am_has_slept=yes
2435   done
2436   test "$2" = conftest.file
2437   )
2438then
2439   # Ok.
2440   :
2441else
2442   as_fn_error $? "newly created file is older than distributed files!
2443Check your system clock" "$LINENO" 5
2444fi
2445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2446$as_echo "yes" >&6; }
2447# If we didn't sleep, we still need to ensure time stamps of config.status and
2448# generated files are strictly newer.
2449am_sleep_pid=
2450if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2451  ( sleep 1 ) &
2452  am_sleep_pid=$!
2453fi
2454
2455rm -f conftest.file
2456
2457test "$program_prefix" != NONE &&
2458  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2459# Use a double $ so make ignores it.
2460test "$program_suffix" != NONE &&
2461  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2462# Double any \ or $.
2463# By default was `s,x,x', remove it if useless.
2464ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2465program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2466
2467# Expand $ac_aux_dir to an absolute path.
2468am_aux_dir=`cd "$ac_aux_dir" && pwd`
2469
2470if test x"${MISSING+set}" != xset; then
2471  MISSING="\${SHELL} '$am_aux_dir/missing'"
2472fi
2473# Use eval to expand $SHELL
2474if eval "$MISSING --is-lightweight"; then
2475  am_missing_run="$MISSING "
2476else
2477  am_missing_run=
2478  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2479$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2480fi
2481
2482if test x"${install_sh+set}" != xset; then
2483  case $am_aux_dir in
2484  *\ * | *\	*)
2485    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2486  *)
2487    install_sh="\${SHELL} $am_aux_dir/install-sh"
2488  esac
2489fi
2490
2491# Installed binaries are usually stripped using 'strip' when the user
2492# run "make install-strip".  However 'strip' might not be the right
2493# tool to use in cross-compilation environments, therefore Automake
2494# will honor the 'STRIP' environment variable to overrule this program.
2495if test "$cross_compiling" != no; then
2496  if test -n "$ac_tool_prefix"; then
2497  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2498set dummy ${ac_tool_prefix}strip; ac_word=$2
2499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2500$as_echo_n "checking for $ac_word... " >&6; }
2501if ${ac_cv_prog_STRIP+:} false; then :
2502  $as_echo_n "(cached) " >&6
2503else
2504  if test -n "$STRIP"; then
2505  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2506else
2507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508for as_dir in $PATH
2509do
2510  IFS=$as_save_IFS
2511  test -z "$as_dir" && as_dir=.
2512    for ac_exec_ext in '' $ac_executable_extensions; do
2513  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2514    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2515    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2516    break 2
2517  fi
2518done
2519  done
2520IFS=$as_save_IFS
2521
2522fi
2523fi
2524STRIP=$ac_cv_prog_STRIP
2525if test -n "$STRIP"; then
2526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2527$as_echo "$STRIP" >&6; }
2528else
2529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2530$as_echo "no" >&6; }
2531fi
2532
2533
2534fi
2535if test -z "$ac_cv_prog_STRIP"; then
2536  ac_ct_STRIP=$STRIP
2537  # Extract the first word of "strip", so it can be a program name with args.
2538set dummy strip; ac_word=$2
2539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2540$as_echo_n "checking for $ac_word... " >&6; }
2541if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2542  $as_echo_n "(cached) " >&6
2543else
2544  if test -n "$ac_ct_STRIP"; then
2545  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2546else
2547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548for as_dir in $PATH
2549do
2550  IFS=$as_save_IFS
2551  test -z "$as_dir" && as_dir=.
2552    for ac_exec_ext in '' $ac_executable_extensions; do
2553  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2554    ac_cv_prog_ac_ct_STRIP="strip"
2555    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2556    break 2
2557  fi
2558done
2559  done
2560IFS=$as_save_IFS
2561
2562fi
2563fi
2564ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2565if test -n "$ac_ct_STRIP"; then
2566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2567$as_echo "$ac_ct_STRIP" >&6; }
2568else
2569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2570$as_echo "no" >&6; }
2571fi
2572
2573  if test "x$ac_ct_STRIP" = x; then
2574    STRIP=":"
2575  else
2576    case $cross_compiling:$ac_tool_warned in
2577yes:)
2578{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2579$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2580ac_tool_warned=yes ;;
2581esac
2582    STRIP=$ac_ct_STRIP
2583  fi
2584else
2585  STRIP="$ac_cv_prog_STRIP"
2586fi
2587
2588fi
2589INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2590
2591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2592$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2593if test -z "$MKDIR_P"; then
2594  if ${ac_cv_path_mkdir+:} false; then :
2595  $as_echo_n "(cached) " >&6
2596else
2597  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2599do
2600  IFS=$as_save_IFS
2601  test -z "$as_dir" && as_dir=.
2602    for ac_prog in mkdir gmkdir; do
2603	 for ac_exec_ext in '' $ac_executable_extensions; do
2604	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2605	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2606	     'mkdir (GNU coreutils) '* | \
2607	     'mkdir (coreutils) '* | \
2608	     'mkdir (fileutils) '4.1*)
2609	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2610	       break 3;;
2611	   esac
2612	 done
2613       done
2614  done
2615IFS=$as_save_IFS
2616
2617fi
2618
2619  test -d ./--version && rmdir ./--version
2620  if test "${ac_cv_path_mkdir+set}" = set; then
2621    MKDIR_P="$ac_cv_path_mkdir -p"
2622  else
2623    # As a last resort, use the slow shell script.  Don't cache a
2624    # value for MKDIR_P within a source directory, because that will
2625    # break other packages using the cache if that directory is
2626    # removed, or if the value is a relative name.
2627    MKDIR_P="$ac_install_sh -d"
2628  fi
2629fi
2630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2631$as_echo "$MKDIR_P" >&6; }
2632
2633for ac_prog in gawk mawk nawk awk
2634do
2635  # Extract the first word of "$ac_prog", so it can be a program name with args.
2636set dummy $ac_prog; ac_word=$2
2637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2638$as_echo_n "checking for $ac_word... " >&6; }
2639if ${ac_cv_prog_AWK+:} false; then :
2640  $as_echo_n "(cached) " >&6
2641else
2642  if test -n "$AWK"; then
2643  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2644else
2645as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646for as_dir in $PATH
2647do
2648  IFS=$as_save_IFS
2649  test -z "$as_dir" && as_dir=.
2650    for ac_exec_ext in '' $ac_executable_extensions; do
2651  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2652    ac_cv_prog_AWK="$ac_prog"
2653    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2654    break 2
2655  fi
2656done
2657  done
2658IFS=$as_save_IFS
2659
2660fi
2661fi
2662AWK=$ac_cv_prog_AWK
2663if test -n "$AWK"; then
2664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2665$as_echo "$AWK" >&6; }
2666else
2667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668$as_echo "no" >&6; }
2669fi
2670
2671
2672  test -n "$AWK" && break
2673done
2674
2675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2676$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2677set x ${MAKE-make}
2678ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2679if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2680  $as_echo_n "(cached) " >&6
2681else
2682  cat >conftest.make <<\_ACEOF
2683SHELL = /bin/sh
2684all:
2685	@echo '@@@%%%=$(MAKE)=@@@%%%'
2686_ACEOF
2687# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2688case `${MAKE-make} -f conftest.make 2>/dev/null` in
2689  *@@@%%%=?*=@@@%%%*)
2690    eval ac_cv_prog_make_${ac_make}_set=yes;;
2691  *)
2692    eval ac_cv_prog_make_${ac_make}_set=no;;
2693esac
2694rm -f conftest.make
2695fi
2696if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2698$as_echo "yes" >&6; }
2699  SET_MAKE=
2700else
2701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702$as_echo "no" >&6; }
2703  SET_MAKE="MAKE=${MAKE-make}"
2704fi
2705
2706rm -rf .tst 2>/dev/null
2707mkdir .tst 2>/dev/null
2708if test -d .tst; then
2709  am__leading_dot=.
2710else
2711  am__leading_dot=_
2712fi
2713rmdir .tst 2>/dev/null
2714
2715# Check whether --enable-silent-rules was given.
2716if test "${enable_silent_rules+set}" = set; then :
2717  enableval=$enable_silent_rules;
2718fi
2719
2720case $enable_silent_rules in # (((
2721  yes) AM_DEFAULT_VERBOSITY=0;;
2722   no) AM_DEFAULT_VERBOSITY=1;;
2723    *) AM_DEFAULT_VERBOSITY=1;;
2724esac
2725am_make=${MAKE-make}
2726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2727$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2728if ${am_cv_make_support_nested_variables+:} false; then :
2729  $as_echo_n "(cached) " >&6
2730else
2731  if $as_echo 'TRUE=$(BAR$(V))
2732BAR0=false
2733BAR1=true
2734V=1
2735am__doit:
2736	@$(TRUE)
2737.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2738  am_cv_make_support_nested_variables=yes
2739else
2740  am_cv_make_support_nested_variables=no
2741fi
2742fi
2743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2744$as_echo "$am_cv_make_support_nested_variables" >&6; }
2745if test $am_cv_make_support_nested_variables = yes; then
2746    AM_V='$(V)'
2747  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2748else
2749  AM_V=$AM_DEFAULT_VERBOSITY
2750  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2751fi
2752AM_BACKSLASH='\'
2753
2754if test "`cd $srcdir && pwd`" != "`pwd`"; then
2755  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2756  # is not polluted with repeated "-I."
2757  am__isrc=' -I$(srcdir)'
2758  # test to see if srcdir already configured
2759  if test -f $srcdir/config.status; then
2760    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2761  fi
2762fi
2763
2764# test whether we have cygpath
2765if test -z "$CYGPATH_W"; then
2766  if (cygpath --version) >/dev/null 2>/dev/null; then
2767    CYGPATH_W='cygpath -w'
2768  else
2769    CYGPATH_W=echo
2770  fi
2771fi
2772
2773
2774# Define the identity of the package.
2775 PACKAGE='libltdl'
2776 VERSION='2.4.3a'
2777
2778
2779cat >>confdefs.h <<_ACEOF
2780#define PACKAGE "$PACKAGE"
2781_ACEOF
2782
2783
2784cat >>confdefs.h <<_ACEOF
2785#define VERSION "$VERSION"
2786_ACEOF
2787
2788# Some tools Automake needs.
2789
2790ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2791
2792
2793AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2794
2795
2796AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2797
2798
2799AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2800
2801
2802MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2803
2804# For better backward compatibility.  To be removed once Automake 1.9.x
2805# dies out for good.  For more background, see:
2806# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2807# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2808mkdir_p='$(MKDIR_P)'
2809
2810# We need awk for the "check" target (and possibly the TAP driver).  The
2811# system "awk" is bad on some platforms.
2812# Always define AMTAR for backward compatibility.  Yes, it's still used
2813# in the wild :-(  We should find a proper way to deprecate it ...
2814AMTAR='$${TAR-tar}'
2815
2816
2817# We'll loop over all known methods to create a tar archive until one works.
2818_am_tools='gnutar  pax cpio none'
2819
2820am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2821
2822
2823
2824
2825
2826
2827# POSIX will say in a future version that running "rm -f" with no argument
2828# is OK; and we want to be able to make that assumption in our Makefile
2829# recipes.  So use an aggressive probe to check that the usage we want is
2830# actually supported "in the wild" to an acceptable degree.
2831# See automake bug#10828.
2832# To make any issue more visible, cause the running configure to be aborted
2833# by default if the 'rm' program in use doesn't match our expectations; the
2834# user can still override this though.
2835if rm -f && rm -fr && rm -rf; then : OK; else
2836  cat >&2 <<'END'
2837Oops!
2838
2839Your 'rm' program seems unable to run without file operands specified
2840on the command line, even when the '-f' option is present.  This is contrary
2841to the behaviour of most rm programs out there, and not conforming with
2842the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2843
2844Please tell bug-automake@gnu.org about your system, including the value
2845of your $PATH and any error possibly output before this message.  This
2846can help us improve future automake versions.
2847
2848END
2849  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2850    echo 'Configuration will proceed anyway, since you have set the' >&2
2851    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2852    echo >&2
2853  else
2854    cat >&2 <<'END'
2855Aborting the configuration process, to ensure you take notice of the issue.
2856
2857You can download and install GNU coreutils to get an 'rm' implementation
2858that behaves properly: <https://www.gnu.org/software/coreutils/>.
2859
2860If you want to complete the configuration process using your problematic
2861'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2862to "yes", and re-run configure.
2863
2864END
2865    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2866  fi
2867fi
2868
2869# Check whether --enable-silent-rules was given.
2870if test "${enable_silent_rules+set}" = set; then :
2871  enableval=$enable_silent_rules;
2872fi
2873
2874case $enable_silent_rules in # (((
2875  yes) AM_DEFAULT_VERBOSITY=0;;
2876   no) AM_DEFAULT_VERBOSITY=1;;
2877    *) AM_DEFAULT_VERBOSITY=0;;
2878esac
2879am_make=${MAKE-make}
2880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2881$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2882if ${am_cv_make_support_nested_variables+:} false; then :
2883  $as_echo_n "(cached) " >&6
2884else
2885  if $as_echo 'TRUE=$(BAR$(V))
2886BAR0=false
2887BAR1=true
2888V=1
2889am__doit:
2890	@$(TRUE)
2891.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2892  am_cv_make_support_nested_variables=yes
2893else
2894  am_cv_make_support_nested_variables=no
2895fi
2896fi
2897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2898$as_echo "$am_cv_make_support_nested_variables" >&6; }
2899if test $am_cv_make_support_nested_variables = yes; then
2900    AM_V='$(V)'
2901  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2902else
2903  AM_V=$AM_DEFAULT_VERBOSITY
2904  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2905fi
2906AM_BACKSLASH='\'
2907
2908
2909
2910## ------------------------------- ##
2911## Libtool specific configuration. ##
2912## ------------------------------- ##
2913pkgdatadir='$datadir'"/$PACKAGE"
2914
2915
2916## ----------------------- ##
2917## Libtool initialisation. ##
2918## ----------------------- ##
2919case `pwd` in
2920  *\ * | *\	*)
2921    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2922$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2923esac
2924
2925
2926
2927macro_version='2.4.6'
2928macro_revision='2.4.6'
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942ltmain=$ac_aux_dir/ltmain.sh
2943
2944# Make sure we can run config.sub.
2945$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2946  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2947
2948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2949$as_echo_n "checking build system type... " >&6; }
2950if ${ac_cv_build+:} false; then :
2951  $as_echo_n "(cached) " >&6
2952else
2953  ac_build_alias=$build_alias
2954test "x$ac_build_alias" = x &&
2955  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2956test "x$ac_build_alias" = x &&
2957  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2958ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2959  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2960
2961fi
2962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2963$as_echo "$ac_cv_build" >&6; }
2964case $ac_cv_build in
2965*-*-*) ;;
2966*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2967esac
2968build=$ac_cv_build
2969ac_save_IFS=$IFS; IFS='-'
2970set x $ac_cv_build
2971shift
2972build_cpu=$1
2973build_vendor=$2
2974shift; shift
2975# Remember, the first character of IFS is used to create $*,
2976# except with old shells:
2977build_os=$*
2978IFS=$ac_save_IFS
2979case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2980
2981
2982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2983$as_echo_n "checking host system type... " >&6; }
2984if ${ac_cv_host+:} false; then :
2985  $as_echo_n "(cached) " >&6
2986else
2987  if test "x$host_alias" = x; then
2988  ac_cv_host=$ac_cv_build
2989else
2990  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2991    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2992fi
2993
2994fi
2995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2996$as_echo "$ac_cv_host" >&6; }
2997case $ac_cv_host in
2998*-*-*) ;;
2999*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3000esac
3001host=$ac_cv_host
3002ac_save_IFS=$IFS; IFS='-'
3003set x $ac_cv_host
3004shift
3005host_cpu=$1
3006host_vendor=$2
3007shift; shift
3008# Remember, the first character of IFS is used to create $*,
3009# except with old shells:
3010host_os=$*
3011IFS=$ac_save_IFS
3012case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3013
3014
3015# Backslashify metacharacters that are still active within
3016# double-quoted strings.
3017sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3018
3019# Same as above, but do not quote variable references.
3020double_quote_subst='s/\(["`\\]\)/\\\1/g'
3021
3022# Sed substitution to delay expansion of an escaped shell variable in a
3023# double_quote_subst'ed string.
3024delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3025
3026# Sed substitution to delay expansion of an escaped single quote.
3027delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3028
3029# Sed substitution to avoid accidental globbing in evaled expressions
3030no_glob_subst='s/\*/\\\*/g'
3031
3032ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3033ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3034ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3035
3036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3037$as_echo_n "checking how to print strings... " >&6; }
3038# Test print first, because it will be a builtin if present.
3039if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3040   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3041  ECHO='print -r --'
3042elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3043  ECHO='printf %s\n'
3044else
3045  # Use this function as a fallback that always works.
3046  func_fallback_echo ()
3047  {
3048    eval 'cat <<_LTECHO_EOF
3049$1
3050_LTECHO_EOF'
3051  }
3052  ECHO='func_fallback_echo'
3053fi
3054
3055# func_echo_all arg...
3056# Invoke $ECHO with all args, space-separated.
3057func_echo_all ()
3058{
3059    $ECHO ""
3060}
3061
3062case $ECHO in
3063  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3064$as_echo "printf" >&6; } ;;
3065  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3066$as_echo "print -r" >&6; } ;;
3067  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3068$as_echo "cat" >&6; } ;;
3069esac
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084DEPDIR="${am__leading_dot}deps"
3085
3086ac_config_commands="$ac_config_commands depfiles"
3087
3088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3089$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3090cat > confinc.mk << 'END'
3091am__doit:
3092	@echo this is the am__doit target >confinc.out
3093.PHONY: am__doit
3094END
3095am__include="#"
3096am__quote=
3097# BSD make does it like this.
3098echo '.include "confinc.mk" # ignored' > confmf.BSD
3099# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3100echo 'include confinc.mk # ignored' > confmf.GNU
3101_am_result=no
3102for s in GNU BSD; do
3103  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3104   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3105   ac_status=$?
3106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107   (exit $ac_status); }
3108  case $?:`cat confinc.out 2>/dev/null` in #(
3109  '0:this is the am__doit target') :
3110    case $s in #(
3111  BSD) :
3112    am__include='.include' am__quote='"' ;; #(
3113  *) :
3114    am__include='include' am__quote='' ;;
3115esac ;; #(
3116  *) :
3117     ;;
3118esac
3119  if test "$am__include" != "#"; then
3120    _am_result="yes ($s style)"
3121    break
3122  fi
3123done
3124rm -f confinc.* confmf.*
3125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3126$as_echo "${_am_result}" >&6; }
3127
3128# Check whether --enable-dependency-tracking was given.
3129if test "${enable_dependency_tracking+set}" = set; then :
3130  enableval=$enable_dependency_tracking;
3131fi
3132
3133if test "x$enable_dependency_tracking" != xno; then
3134  am_depcomp="$ac_aux_dir/depcomp"
3135  AMDEPBACKSLASH='\'
3136  am__nodep='_no'
3137fi
3138 if test "x$enable_dependency_tracking" != xno; then
3139  AMDEP_TRUE=
3140  AMDEP_FALSE='#'
3141else
3142  AMDEP_TRUE='#'
3143  AMDEP_FALSE=
3144fi
3145
3146
3147ac_ext=c
3148ac_cpp='$CPP $CPPFLAGS'
3149ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3150ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3151ac_compiler_gnu=$ac_cv_c_compiler_gnu
3152if test -n "$ac_tool_prefix"; then
3153  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3154set dummy ${ac_tool_prefix}gcc; ac_word=$2
3155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3156$as_echo_n "checking for $ac_word... " >&6; }
3157if ${ac_cv_prog_CC+:} false; then :
3158  $as_echo_n "(cached) " >&6
3159else
3160  if test -n "$CC"; then
3161  ac_cv_prog_CC="$CC" # Let the user override the test.
3162else
3163as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164for as_dir in $PATH
3165do
3166  IFS=$as_save_IFS
3167  test -z "$as_dir" && as_dir=.
3168    for ac_exec_ext in '' $ac_executable_extensions; do
3169  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3170    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3171    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172    break 2
3173  fi
3174done
3175  done
3176IFS=$as_save_IFS
3177
3178fi
3179fi
3180CC=$ac_cv_prog_CC
3181if test -n "$CC"; then
3182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3183$as_echo "$CC" >&6; }
3184else
3185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186$as_echo "no" >&6; }
3187fi
3188
3189
3190fi
3191if test -z "$ac_cv_prog_CC"; then
3192  ac_ct_CC=$CC
3193  # Extract the first word of "gcc", so it can be a program name with args.
3194set dummy gcc; ac_word=$2
3195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196$as_echo_n "checking for $ac_word... " >&6; }
3197if ${ac_cv_prog_ac_ct_CC+:} false; then :
3198  $as_echo_n "(cached) " >&6
3199else
3200  if test -n "$ac_ct_CC"; then
3201  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3202else
3203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204for as_dir in $PATH
3205do
3206  IFS=$as_save_IFS
3207  test -z "$as_dir" && as_dir=.
3208    for ac_exec_ext in '' $ac_executable_extensions; do
3209  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3210    ac_cv_prog_ac_ct_CC="gcc"
3211    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212    break 2
3213  fi
3214done
3215  done
3216IFS=$as_save_IFS
3217
3218fi
3219fi
3220ac_ct_CC=$ac_cv_prog_ac_ct_CC
3221if test -n "$ac_ct_CC"; then
3222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3223$as_echo "$ac_ct_CC" >&6; }
3224else
3225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226$as_echo "no" >&6; }
3227fi
3228
3229  if test "x$ac_ct_CC" = x; then
3230    CC=""
3231  else
3232    case $cross_compiling:$ac_tool_warned in
3233yes:)
3234{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3235$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3236ac_tool_warned=yes ;;
3237esac
3238    CC=$ac_ct_CC
3239  fi
3240else
3241  CC="$ac_cv_prog_CC"
3242fi
3243
3244if test -z "$CC"; then
3245          if test -n "$ac_tool_prefix"; then
3246    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3247set dummy ${ac_tool_prefix}cc; ac_word=$2
3248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3249$as_echo_n "checking for $ac_word... " >&6; }
3250if ${ac_cv_prog_CC+:} false; then :
3251  $as_echo_n "(cached) " >&6
3252else
3253  if test -n "$CC"; then
3254  ac_cv_prog_CC="$CC" # Let the user override the test.
3255else
3256as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257for as_dir in $PATH
3258do
3259  IFS=$as_save_IFS
3260  test -z "$as_dir" && as_dir=.
3261    for ac_exec_ext in '' $ac_executable_extensions; do
3262  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3263    ac_cv_prog_CC="${ac_tool_prefix}cc"
3264    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3265    break 2
3266  fi
3267done
3268  done
3269IFS=$as_save_IFS
3270
3271fi
3272fi
3273CC=$ac_cv_prog_CC
3274if test -n "$CC"; then
3275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3276$as_echo "$CC" >&6; }
3277else
3278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279$as_echo "no" >&6; }
3280fi
3281
3282
3283  fi
3284fi
3285if test -z "$CC"; then
3286  # Extract the first word of "cc", so it can be a program name with args.
3287set dummy cc; ac_word=$2
3288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289$as_echo_n "checking for $ac_word... " >&6; }
3290if ${ac_cv_prog_CC+:} false; then :
3291  $as_echo_n "(cached) " >&6
3292else
3293  if test -n "$CC"; then
3294  ac_cv_prog_CC="$CC" # Let the user override the test.
3295else
3296  ac_prog_rejected=no
3297as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298for as_dir in $PATH
3299do
3300  IFS=$as_save_IFS
3301  test -z "$as_dir" && as_dir=.
3302    for ac_exec_ext in '' $ac_executable_extensions; do
3303  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3304    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3305       ac_prog_rejected=yes
3306       continue
3307     fi
3308    ac_cv_prog_CC="cc"
3309    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310    break 2
3311  fi
3312done
3313  done
3314IFS=$as_save_IFS
3315
3316if test $ac_prog_rejected = yes; then
3317  # We found a bogon in the path, so make sure we never use it.
3318  set dummy $ac_cv_prog_CC
3319  shift
3320  if test $# != 0; then
3321    # We chose a different compiler from the bogus one.
3322    # However, it has the same basename, so the bogon will be chosen
3323    # first if we set CC to just the basename; use the full file name.
3324    shift
3325    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3326  fi
3327fi
3328fi
3329fi
3330CC=$ac_cv_prog_CC
3331if test -n "$CC"; then
3332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3333$as_echo "$CC" >&6; }
3334else
3335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336$as_echo "no" >&6; }
3337fi
3338
3339
3340fi
3341if test -z "$CC"; then
3342  if test -n "$ac_tool_prefix"; then
3343  for ac_prog in cl.exe
3344  do
3345    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3346set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3348$as_echo_n "checking for $ac_word... " >&6; }
3349if ${ac_cv_prog_CC+:} false; then :
3350  $as_echo_n "(cached) " >&6
3351else
3352  if test -n "$CC"; then
3353  ac_cv_prog_CC="$CC" # Let the user override the test.
3354else
3355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3356for as_dir in $PATH
3357do
3358  IFS=$as_save_IFS
3359  test -z "$as_dir" && as_dir=.
3360    for ac_exec_ext in '' $ac_executable_extensions; do
3361  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3362    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3363    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3364    break 2
3365  fi
3366done
3367  done
3368IFS=$as_save_IFS
3369
3370fi
3371fi
3372CC=$ac_cv_prog_CC
3373if test -n "$CC"; then
3374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3375$as_echo "$CC" >&6; }
3376else
3377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3378$as_echo "no" >&6; }
3379fi
3380
3381
3382    test -n "$CC" && break
3383  done
3384fi
3385if test -z "$CC"; then
3386  ac_ct_CC=$CC
3387  for ac_prog in cl.exe
3388do
3389  # Extract the first word of "$ac_prog", so it can be a program name with args.
3390set dummy $ac_prog; ac_word=$2
3391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392$as_echo_n "checking for $ac_word... " >&6; }
3393if ${ac_cv_prog_ac_ct_CC+:} false; then :
3394  $as_echo_n "(cached) " >&6
3395else
3396  if test -n "$ac_ct_CC"; then
3397  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3398else
3399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3400for as_dir in $PATH
3401do
3402  IFS=$as_save_IFS
3403  test -z "$as_dir" && as_dir=.
3404    for ac_exec_ext in '' $ac_executable_extensions; do
3405  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3406    ac_cv_prog_ac_ct_CC="$ac_prog"
3407    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3408    break 2
3409  fi
3410done
3411  done
3412IFS=$as_save_IFS
3413
3414fi
3415fi
3416ac_ct_CC=$ac_cv_prog_ac_ct_CC
3417if test -n "$ac_ct_CC"; then
3418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3419$as_echo "$ac_ct_CC" >&6; }
3420else
3421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422$as_echo "no" >&6; }
3423fi
3424
3425
3426  test -n "$ac_ct_CC" && break
3427done
3428
3429  if test "x$ac_ct_CC" = x; then
3430    CC=""
3431  else
3432    case $cross_compiling:$ac_tool_warned in
3433yes:)
3434{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3435$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3436ac_tool_warned=yes ;;
3437esac
3438    CC=$ac_ct_CC
3439  fi
3440fi
3441
3442fi
3443
3444
3445test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447as_fn_error $? "no acceptable C compiler found in \$PATH
3448See \`config.log' for more details" "$LINENO" 5; }
3449
3450# Provide some information about the compiler.
3451$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3452set X $ac_compile
3453ac_compiler=$2
3454for ac_option in --version -v -V -qversion; do
3455  { { ac_try="$ac_compiler $ac_option >&5"
3456case "(($ac_try" in
3457  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458  *) ac_try_echo=$ac_try;;
3459esac
3460eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3461$as_echo "$ac_try_echo"; } >&5
3462  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3463  ac_status=$?
3464  if test -s conftest.err; then
3465    sed '10a\
3466... rest of stderr output deleted ...
3467         10q' conftest.err >conftest.er1
3468    cat conftest.er1 >&5
3469  fi
3470  rm -f conftest.er1 conftest.err
3471  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3472  test $ac_status = 0; }
3473done
3474
3475cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476/* end confdefs.h.  */
3477
3478int
3479main ()
3480{
3481
3482  ;
3483  return 0;
3484}
3485_ACEOF
3486ac_clean_files_save=$ac_clean_files
3487ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3488# Try to create an executable without -o first, disregard a.out.
3489# It will help us diagnose broken compilers, and finding out an intuition
3490# of exeext.
3491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3492$as_echo_n "checking whether the C compiler works... " >&6; }
3493ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3494
3495# The possible output files:
3496ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3497
3498ac_rmfiles=
3499for ac_file in $ac_files
3500do
3501  case $ac_file in
3502    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3503    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3504  esac
3505done
3506rm -f $ac_rmfiles
3507
3508if { { ac_try="$ac_link_default"
3509case "(($ac_try" in
3510  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511  *) ac_try_echo=$ac_try;;
3512esac
3513eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3514$as_echo "$ac_try_echo"; } >&5
3515  (eval "$ac_link_default") 2>&5
3516  ac_status=$?
3517  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3518  test $ac_status = 0; }; then :
3519  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3520# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3521# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3522# so that the user can short-circuit this test for compilers unknown to
3523# Autoconf.
3524for ac_file in $ac_files ''
3525do
3526  test -f "$ac_file" || continue
3527  case $ac_file in
3528    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3529	;;
3530    [ab].out )
3531	# We found the default executable, but exeext='' is most
3532	# certainly right.
3533	break;;
3534    *.* )
3535	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3536	then :; else
3537	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3538	fi
3539	# We set ac_cv_exeext here because the later test for it is not
3540	# safe: cross compilers may not add the suffix if given an `-o'
3541	# argument, so we may need to know it at that point already.
3542	# Even if this section looks crufty: it has the advantage of
3543	# actually working.
3544	break;;
3545    * )
3546	break;;
3547  esac
3548done
3549test "$ac_cv_exeext" = no && ac_cv_exeext=
3550
3551else
3552  ac_file=''
3553fi
3554if test -z "$ac_file"; then :
3555  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556$as_echo "no" >&6; }
3557$as_echo "$as_me: failed program was:" >&5
3558sed 's/^/| /' conftest.$ac_ext >&5
3559
3560{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3561$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3562as_fn_error 77 "C compiler cannot create executables
3563See \`config.log' for more details" "$LINENO" 5; }
3564else
3565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3566$as_echo "yes" >&6; }
3567fi
3568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3569$as_echo_n "checking for C compiler default output file name... " >&6; }
3570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3571$as_echo "$ac_file" >&6; }
3572ac_exeext=$ac_cv_exeext
3573
3574rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3575ac_clean_files=$ac_clean_files_save
3576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3577$as_echo_n "checking for suffix of executables... " >&6; }
3578if { { ac_try="$ac_link"
3579case "(($ac_try" in
3580  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3581  *) ac_try_echo=$ac_try;;
3582esac
3583eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3584$as_echo "$ac_try_echo"; } >&5
3585  (eval "$ac_link") 2>&5
3586  ac_status=$?
3587  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3588  test $ac_status = 0; }; then :
3589  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3590# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3591# work properly (i.e., refer to `conftest.exe'), while it won't with
3592# `rm'.
3593for ac_file in conftest.exe conftest conftest.*; do
3594  test -f "$ac_file" || continue
3595  case $ac_file in
3596    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3597    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3598	  break;;
3599    * ) break;;
3600  esac
3601done
3602else
3603  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3604$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3605as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3606See \`config.log' for more details" "$LINENO" 5; }
3607fi
3608rm -f conftest conftest$ac_cv_exeext
3609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3610$as_echo "$ac_cv_exeext" >&6; }
3611
3612rm -f conftest.$ac_ext
3613EXEEXT=$ac_cv_exeext
3614ac_exeext=$EXEEXT
3615cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616/* end confdefs.h.  */
3617#include <stdio.h>
3618int
3619main ()
3620{
3621FILE *f = fopen ("conftest.out", "w");
3622 return ferror (f) || fclose (f) != 0;
3623
3624  ;
3625  return 0;
3626}
3627_ACEOF
3628ac_clean_files="$ac_clean_files conftest.out"
3629# Check that the compiler produces executables we can run.  If not, either
3630# the compiler is broken, or we cross compile.
3631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3632$as_echo_n "checking whether we are cross compiling... " >&6; }
3633if test "$cross_compiling" != yes; then
3634  { { ac_try="$ac_link"
3635case "(($ac_try" in
3636  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637  *) ac_try_echo=$ac_try;;
3638esac
3639eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640$as_echo "$ac_try_echo"; } >&5
3641  (eval "$ac_link") 2>&5
3642  ac_status=$?
3643  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3644  test $ac_status = 0; }
3645  if { ac_try='./conftest$ac_cv_exeext'
3646  { { case "(($ac_try" in
3647  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3648  *) ac_try_echo=$ac_try;;
3649esac
3650eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3651$as_echo "$ac_try_echo"; } >&5
3652  (eval "$ac_try") 2>&5
3653  ac_status=$?
3654  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3655  test $ac_status = 0; }; }; then
3656    cross_compiling=no
3657  else
3658    if test "$cross_compiling" = maybe; then
3659	cross_compiling=yes
3660    else
3661	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3662$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3663as_fn_error $? "cannot run C compiled programs.
3664If you meant to cross compile, use \`--host'.
3665See \`config.log' for more details" "$LINENO" 5; }
3666    fi
3667  fi
3668fi
3669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3670$as_echo "$cross_compiling" >&6; }
3671
3672rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3673ac_clean_files=$ac_clean_files_save
3674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3675$as_echo_n "checking for suffix of object files... " >&6; }
3676if ${ac_cv_objext+:} false; then :
3677  $as_echo_n "(cached) " >&6
3678else
3679  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3680/* end confdefs.h.  */
3681
3682int
3683main ()
3684{
3685
3686  ;
3687  return 0;
3688}
3689_ACEOF
3690rm -f conftest.o conftest.obj
3691if { { ac_try="$ac_compile"
3692case "(($ac_try" in
3693  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694  *) ac_try_echo=$ac_try;;
3695esac
3696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3697$as_echo "$ac_try_echo"; } >&5
3698  (eval "$ac_compile") 2>&5
3699  ac_status=$?
3700  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3701  test $ac_status = 0; }; then :
3702  for ac_file in conftest.o conftest.obj conftest.*; do
3703  test -f "$ac_file" || continue;
3704  case $ac_file in
3705    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3706    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3707       break;;
3708  esac
3709done
3710else
3711  $as_echo "$as_me: failed program was:" >&5
3712sed 's/^/| /' conftest.$ac_ext >&5
3713
3714{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3715$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3716as_fn_error $? "cannot compute suffix of object files: cannot compile
3717See \`config.log' for more details" "$LINENO" 5; }
3718fi
3719rm -f conftest.$ac_cv_objext conftest.$ac_ext
3720fi
3721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3722$as_echo "$ac_cv_objext" >&6; }
3723OBJEXT=$ac_cv_objext
3724ac_objext=$OBJEXT
3725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3726$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3727if ${ac_cv_c_compiler_gnu+:} false; then :
3728  $as_echo_n "(cached) " >&6
3729else
3730  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731/* end confdefs.h.  */
3732
3733int
3734main ()
3735{
3736#ifndef __GNUC__
3737       choke me
3738#endif
3739
3740  ;
3741  return 0;
3742}
3743_ACEOF
3744if ac_fn_c_try_compile "$LINENO"; then :
3745  ac_compiler_gnu=yes
3746else
3747  ac_compiler_gnu=no
3748fi
3749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3750ac_cv_c_compiler_gnu=$ac_compiler_gnu
3751
3752fi
3753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3754$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3755if test $ac_compiler_gnu = yes; then
3756  GCC=yes
3757else
3758  GCC=
3759fi
3760ac_test_CFLAGS=${CFLAGS+set}
3761ac_save_CFLAGS=$CFLAGS
3762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3763$as_echo_n "checking whether $CC accepts -g... " >&6; }
3764if ${ac_cv_prog_cc_g+:} false; then :
3765  $as_echo_n "(cached) " >&6
3766else
3767  ac_save_c_werror_flag=$ac_c_werror_flag
3768   ac_c_werror_flag=yes
3769   ac_cv_prog_cc_g=no
3770   CFLAGS="-g"
3771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3772/* end confdefs.h.  */
3773
3774int
3775main ()
3776{
3777
3778  ;
3779  return 0;
3780}
3781_ACEOF
3782if ac_fn_c_try_compile "$LINENO"; then :
3783  ac_cv_prog_cc_g=yes
3784else
3785  CFLAGS=""
3786      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787/* end confdefs.h.  */
3788
3789int
3790main ()
3791{
3792
3793  ;
3794  return 0;
3795}
3796_ACEOF
3797if ac_fn_c_try_compile "$LINENO"; then :
3798
3799else
3800  ac_c_werror_flag=$ac_save_c_werror_flag
3801	 CFLAGS="-g"
3802	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803/* end confdefs.h.  */
3804
3805int
3806main ()
3807{
3808
3809  ;
3810  return 0;
3811}
3812_ACEOF
3813if ac_fn_c_try_compile "$LINENO"; then :
3814  ac_cv_prog_cc_g=yes
3815fi
3816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3817fi
3818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3819fi
3820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821   ac_c_werror_flag=$ac_save_c_werror_flag
3822fi
3823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3824$as_echo "$ac_cv_prog_cc_g" >&6; }
3825if test "$ac_test_CFLAGS" = set; then
3826  CFLAGS=$ac_save_CFLAGS
3827elif test $ac_cv_prog_cc_g = yes; then
3828  if test "$GCC" = yes; then
3829    CFLAGS="-g -O2"
3830  else
3831    CFLAGS="-g"
3832  fi
3833else
3834  if test "$GCC" = yes; then
3835    CFLAGS="-O2"
3836  else
3837    CFLAGS=
3838  fi
3839fi
3840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3841$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3842if ${ac_cv_prog_cc_c89+:} false; then :
3843  $as_echo_n "(cached) " >&6
3844else
3845  ac_cv_prog_cc_c89=no
3846ac_save_CC=$CC
3847cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848/* end confdefs.h.  */
3849#include <stdarg.h>
3850#include <stdio.h>
3851struct stat;
3852/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3853struct buf { int x; };
3854FILE * (*rcsopen) (struct buf *, struct stat *, int);
3855static char *e (p, i)
3856     char **p;
3857     int i;
3858{
3859  return p[i];
3860}
3861static char *f (char * (*g) (char **, int), char **p, ...)
3862{
3863  char *s;
3864  va_list v;
3865  va_start (v,p);
3866  s = g (p, va_arg (v,int));
3867  va_end (v);
3868  return s;
3869}
3870
3871/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3872   function prototypes and stuff, but not '\xHH' hex character constants.
3873   These don't provoke an error unfortunately, instead are silently treated
3874   as 'x'.  The following induces an error, until -std is added to get
3875   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3876   array size at least.  It's necessary to write '\x00'==0 to get something
3877   that's true only with -std.  */
3878int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3879
3880/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3881   inside strings and character constants.  */
3882#define FOO(x) 'x'
3883int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3884
3885int test (int i, double x);
3886struct s1 {int (*f) (int a);};
3887struct s2 {int (*f) (double a);};
3888int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3889int argc;
3890char **argv;
3891int
3892main ()
3893{
3894return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3895  ;
3896  return 0;
3897}
3898_ACEOF
3899for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3900	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3901do
3902  CC="$ac_save_CC $ac_arg"
3903  if ac_fn_c_try_compile "$LINENO"; then :
3904  ac_cv_prog_cc_c89=$ac_arg
3905fi
3906rm -f core conftest.err conftest.$ac_objext
3907  test "x$ac_cv_prog_cc_c89" != "xno" && break
3908done
3909rm -f conftest.$ac_ext
3910CC=$ac_save_CC
3911
3912fi
3913# AC_CACHE_VAL
3914case "x$ac_cv_prog_cc_c89" in
3915  x)
3916    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3917$as_echo "none needed" >&6; } ;;
3918  xno)
3919    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3920$as_echo "unsupported" >&6; } ;;
3921  *)
3922    CC="$CC $ac_cv_prog_cc_c89"
3923    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3924$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3925esac
3926if test "x$ac_cv_prog_cc_c89" != xno; then :
3927
3928fi
3929
3930ac_ext=c
3931ac_cpp='$CPP $CPPFLAGS'
3932ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3933ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3934ac_compiler_gnu=$ac_cv_c_compiler_gnu
3935
3936ac_ext=c
3937ac_cpp='$CPP $CPPFLAGS'
3938ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3939ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3942$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3943if ${am_cv_prog_cc_c_o+:} false; then :
3944  $as_echo_n "(cached) " >&6
3945else
3946  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3947/* end confdefs.h.  */
3948
3949int
3950main ()
3951{
3952
3953  ;
3954  return 0;
3955}
3956_ACEOF
3957  # Make sure it works both with $CC and with simple cc.
3958  # Following AC_PROG_CC_C_O, we do the test twice because some
3959  # compilers refuse to overwrite an existing .o file with -o,
3960  # though they will create one.
3961  am_cv_prog_cc_c_o=yes
3962  for am_i in 1 2; do
3963    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3964   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3965   ac_status=$?
3966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967   (exit $ac_status); } \
3968         && test -f conftest2.$ac_objext; then
3969      : OK
3970    else
3971      am_cv_prog_cc_c_o=no
3972      break
3973    fi
3974  done
3975  rm -f core conftest*
3976  unset am_i
3977fi
3978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3979$as_echo "$am_cv_prog_cc_c_o" >&6; }
3980if test "$am_cv_prog_cc_c_o" != yes; then
3981   # Losing compiler, so override with the script.
3982   # FIXME: It is wrong to rewrite CC.
3983   # But if we don't then we get into trouble of one sort or another.
3984   # A longer-term fix would be to have automake use am__CC in this case,
3985   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3986   CC="$am_aux_dir/compile $CC"
3987fi
3988ac_ext=c
3989ac_cpp='$CPP $CPPFLAGS'
3990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3991ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3992ac_compiler_gnu=$ac_cv_c_compiler_gnu
3993
3994
3995depcc="$CC"   am_compiler_list=
3996
3997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3998$as_echo_n "checking dependency style of $depcc... " >&6; }
3999if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4000  $as_echo_n "(cached) " >&6
4001else
4002  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4003  # We make a subdir and do the tests there.  Otherwise we can end up
4004  # making bogus files that we don't know about and never remove.  For
4005  # instance it was reported that on HP-UX the gcc test will end up
4006  # making a dummy file named 'D' -- because '-MD' means "put the output
4007  # in D".
4008  rm -rf conftest.dir
4009  mkdir conftest.dir
4010  # Copy depcomp to subdir because otherwise we won't find it if we're
4011  # using a relative directory.
4012  cp "$am_depcomp" conftest.dir
4013  cd conftest.dir
4014  # We will build objects and dependencies in a subdirectory because
4015  # it helps to detect inapplicable dependency modes.  For instance
4016  # both Tru64's cc and ICC support -MD to output dependencies as a
4017  # side effect of compilation, but ICC will put the dependencies in
4018  # the current directory while Tru64 will put them in the object
4019  # directory.
4020  mkdir sub
4021
4022  am_cv_CC_dependencies_compiler_type=none
4023  if test "$am_compiler_list" = ""; then
4024     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4025  fi
4026  am__universal=false
4027  case " $depcc " in #(
4028     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4029     esac
4030
4031  for depmode in $am_compiler_list; do
4032    # Setup a source with many dependencies, because some compilers
4033    # like to wrap large dependency lists on column 80 (with \), and
4034    # we should not choose a depcomp mode which is confused by this.
4035    #
4036    # We need to recreate these files for each test, as the compiler may
4037    # overwrite some of them when testing with obscure command lines.
4038    # This happens at least with the AIX C compiler.
4039    : > sub/conftest.c
4040    for i in 1 2 3 4 5 6; do
4041      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4042      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4043      # Solaris 10 /bin/sh.
4044      echo '/* dummy */' > sub/conftst$i.h
4045    done
4046    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4047
4048    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4049    # mode.  It turns out that the SunPro C++ compiler does not properly
4050    # handle '-M -o', and we need to detect this.  Also, some Intel
4051    # versions had trouble with output in subdirs.
4052    am__obj=sub/conftest.${OBJEXT-o}
4053    am__minus_obj="-o $am__obj"
4054    case $depmode in
4055    gcc)
4056      # This depmode causes a compiler race in universal mode.
4057      test "$am__universal" = false || continue
4058      ;;
4059    nosideeffect)
4060      # After this tag, mechanisms are not by side-effect, so they'll
4061      # only be used when explicitly requested.
4062      if test "x$enable_dependency_tracking" = xyes; then
4063	continue
4064      else
4065	break
4066      fi
4067      ;;
4068    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4069      # This compiler won't grok '-c -o', but also, the minuso test has
4070      # not run yet.  These depmodes are late enough in the game, and
4071      # so weak that their functioning should not be impacted.
4072      am__obj=conftest.${OBJEXT-o}
4073      am__minus_obj=
4074      ;;
4075    none) break ;;
4076    esac
4077    if depmode=$depmode \
4078       source=sub/conftest.c object=$am__obj \
4079       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4080       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4081         >/dev/null 2>conftest.err &&
4082       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4083       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4084       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4085       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4086      # icc doesn't choke on unknown options, it will just issue warnings
4087      # or remarks (even with -Werror).  So we grep stderr for any message
4088      # that says an option was ignored or not supported.
4089      # When given -MP, icc 7.0 and 7.1 complain thusly:
4090      #   icc: Command line warning: ignoring option '-M'; no argument required
4091      # The diagnosis changed in icc 8.0:
4092      #   icc: Command line remark: option '-MP' not supported
4093      if (grep 'ignoring option' conftest.err ||
4094          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4095        am_cv_CC_dependencies_compiler_type=$depmode
4096        break
4097      fi
4098    fi
4099  done
4100
4101  cd ..
4102  rm -rf conftest.dir
4103else
4104  am_cv_CC_dependencies_compiler_type=none
4105fi
4106
4107fi
4108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4109$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4110CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4111
4112 if
4113  test "x$enable_dependency_tracking" != xno \
4114  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4115  am__fastdepCC_TRUE=
4116  am__fastdepCC_FALSE='#'
4117else
4118  am__fastdepCC_TRUE='#'
4119  am__fastdepCC_FALSE=
4120fi
4121
4122
4123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4124$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4125if ${ac_cv_path_SED+:} false; then :
4126  $as_echo_n "(cached) " >&6
4127else
4128            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4129     for ac_i in 1 2 3 4 5 6 7; do
4130       ac_script="$ac_script$as_nl$ac_script"
4131     done
4132     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4133     { ac_script=; unset ac_script;}
4134     if test -z "$SED"; then
4135  ac_path_SED_found=false
4136  # Loop through the user's path and test for each of PROGNAME-LIST
4137  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4138for as_dir in $PATH
4139do
4140  IFS=$as_save_IFS
4141  test -z "$as_dir" && as_dir=.
4142    for ac_prog in sed gsed; do
4143    for ac_exec_ext in '' $ac_executable_extensions; do
4144      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4145      as_fn_executable_p "$ac_path_SED" || continue
4146# Check for GNU ac_path_SED and select it if it is found.
4147  # Check for GNU $ac_path_SED
4148case `"$ac_path_SED" --version 2>&1` in
4149*GNU*)
4150  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4151*)
4152  ac_count=0
4153  $as_echo_n 0123456789 >"conftest.in"
4154  while :
4155  do
4156    cat "conftest.in" "conftest.in" >"conftest.tmp"
4157    mv "conftest.tmp" "conftest.in"
4158    cp "conftest.in" "conftest.nl"
4159    $as_echo '' >> "conftest.nl"
4160    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4161    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4162    as_fn_arith $ac_count + 1 && ac_count=$as_val
4163    if test $ac_count -gt ${ac_path_SED_max-0}; then
4164      # Best one so far, save it but keep looking for a better one
4165      ac_cv_path_SED="$ac_path_SED"
4166      ac_path_SED_max=$ac_count
4167    fi
4168    # 10*(2^10) chars as input seems more than enough
4169    test $ac_count -gt 10 && break
4170  done
4171  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4172esac
4173
4174      $ac_path_SED_found && break 3
4175    done
4176  done
4177  done
4178IFS=$as_save_IFS
4179  if test -z "$ac_cv_path_SED"; then
4180    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4181  fi
4182else
4183  ac_cv_path_SED=$SED
4184fi
4185
4186fi
4187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4188$as_echo "$ac_cv_path_SED" >&6; }
4189 SED="$ac_cv_path_SED"
4190  rm -f conftest.sed
4191
4192test -z "$SED" && SED=sed
4193Xsed="$SED -e 1s/^X//"
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4206$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4207if ${ac_cv_path_GREP+:} false; then :
4208  $as_echo_n "(cached) " >&6
4209else
4210  if test -z "$GREP"; then
4211  ac_path_GREP_found=false
4212  # Loop through the user's path and test for each of PROGNAME-LIST
4213  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4214for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4215do
4216  IFS=$as_save_IFS
4217  test -z "$as_dir" && as_dir=.
4218    for ac_prog in grep ggrep; do
4219    for ac_exec_ext in '' $ac_executable_extensions; do
4220      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4221      as_fn_executable_p "$ac_path_GREP" || continue
4222# Check for GNU ac_path_GREP and select it if it is found.
4223  # Check for GNU $ac_path_GREP
4224case `"$ac_path_GREP" --version 2>&1` in
4225*GNU*)
4226  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4227*)
4228  ac_count=0
4229  $as_echo_n 0123456789 >"conftest.in"
4230  while :
4231  do
4232    cat "conftest.in" "conftest.in" >"conftest.tmp"
4233    mv "conftest.tmp" "conftest.in"
4234    cp "conftest.in" "conftest.nl"
4235    $as_echo 'GREP' >> "conftest.nl"
4236    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4237    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4238    as_fn_arith $ac_count + 1 && ac_count=$as_val
4239    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4240      # Best one so far, save it but keep looking for a better one
4241      ac_cv_path_GREP="$ac_path_GREP"
4242      ac_path_GREP_max=$ac_count
4243    fi
4244    # 10*(2^10) chars as input seems more than enough
4245    test $ac_count -gt 10 && break
4246  done
4247  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4248esac
4249
4250      $ac_path_GREP_found && break 3
4251    done
4252  done
4253  done
4254IFS=$as_save_IFS
4255  if test -z "$ac_cv_path_GREP"; then
4256    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4257  fi
4258else
4259  ac_cv_path_GREP=$GREP
4260fi
4261
4262fi
4263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4264$as_echo "$ac_cv_path_GREP" >&6; }
4265 GREP="$ac_cv_path_GREP"
4266
4267
4268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4269$as_echo_n "checking for egrep... " >&6; }
4270if ${ac_cv_path_EGREP+:} false; then :
4271  $as_echo_n "(cached) " >&6
4272else
4273  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4274   then ac_cv_path_EGREP="$GREP -E"
4275   else
4276     if test -z "$EGREP"; then
4277  ac_path_EGREP_found=false
4278  # Loop through the user's path and test for each of PROGNAME-LIST
4279  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4281do
4282  IFS=$as_save_IFS
4283  test -z "$as_dir" && as_dir=.
4284    for ac_prog in egrep; do
4285    for ac_exec_ext in '' $ac_executable_extensions; do
4286      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4287      as_fn_executable_p "$ac_path_EGREP" || continue
4288# Check for GNU ac_path_EGREP and select it if it is found.
4289  # Check for GNU $ac_path_EGREP
4290case `"$ac_path_EGREP" --version 2>&1` in
4291*GNU*)
4292  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4293*)
4294  ac_count=0
4295  $as_echo_n 0123456789 >"conftest.in"
4296  while :
4297  do
4298    cat "conftest.in" "conftest.in" >"conftest.tmp"
4299    mv "conftest.tmp" "conftest.in"
4300    cp "conftest.in" "conftest.nl"
4301    $as_echo 'EGREP' >> "conftest.nl"
4302    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4303    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4304    as_fn_arith $ac_count + 1 && ac_count=$as_val
4305    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4306      # Best one so far, save it but keep looking for a better one
4307      ac_cv_path_EGREP="$ac_path_EGREP"
4308      ac_path_EGREP_max=$ac_count
4309    fi
4310    # 10*(2^10) chars as input seems more than enough
4311    test $ac_count -gt 10 && break
4312  done
4313  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4314esac
4315
4316      $ac_path_EGREP_found && break 3
4317    done
4318  done
4319  done
4320IFS=$as_save_IFS
4321  if test -z "$ac_cv_path_EGREP"; then
4322    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4323  fi
4324else
4325  ac_cv_path_EGREP=$EGREP
4326fi
4327
4328   fi
4329fi
4330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4331$as_echo "$ac_cv_path_EGREP" >&6; }
4332 EGREP="$ac_cv_path_EGREP"
4333
4334
4335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4336$as_echo_n "checking for fgrep... " >&6; }
4337if ${ac_cv_path_FGREP+:} false; then :
4338  $as_echo_n "(cached) " >&6
4339else
4340  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4341   then ac_cv_path_FGREP="$GREP -F"
4342   else
4343     if test -z "$FGREP"; then
4344  ac_path_FGREP_found=false
4345  # Loop through the user's path and test for each of PROGNAME-LIST
4346  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4348do
4349  IFS=$as_save_IFS
4350  test -z "$as_dir" && as_dir=.
4351    for ac_prog in fgrep; do
4352    for ac_exec_ext in '' $ac_executable_extensions; do
4353      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4354      as_fn_executable_p "$ac_path_FGREP" || continue
4355# Check for GNU ac_path_FGREP and select it if it is found.
4356  # Check for GNU $ac_path_FGREP
4357case `"$ac_path_FGREP" --version 2>&1` in
4358*GNU*)
4359  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4360*)
4361  ac_count=0
4362  $as_echo_n 0123456789 >"conftest.in"
4363  while :
4364  do
4365    cat "conftest.in" "conftest.in" >"conftest.tmp"
4366    mv "conftest.tmp" "conftest.in"
4367    cp "conftest.in" "conftest.nl"
4368    $as_echo 'FGREP' >> "conftest.nl"
4369    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4370    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4371    as_fn_arith $ac_count + 1 && ac_count=$as_val
4372    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4373      # Best one so far, save it but keep looking for a better one
4374      ac_cv_path_FGREP="$ac_path_FGREP"
4375      ac_path_FGREP_max=$ac_count
4376    fi
4377    # 10*(2^10) chars as input seems more than enough
4378    test $ac_count -gt 10 && break
4379  done
4380  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4381esac
4382
4383      $ac_path_FGREP_found && break 3
4384    done
4385  done
4386  done
4387IFS=$as_save_IFS
4388  if test -z "$ac_cv_path_FGREP"; then
4389    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4390  fi
4391else
4392  ac_cv_path_FGREP=$FGREP
4393fi
4394
4395   fi
4396fi
4397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4398$as_echo "$ac_cv_path_FGREP" >&6; }
4399 FGREP="$ac_cv_path_FGREP"
4400
4401
4402test -z "$GREP" && GREP=grep
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422# Check whether --with-gnu-ld was given.
4423if test "${with_gnu_ld+set}" = set; then :
4424  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4425else
4426  with_gnu_ld=no
4427fi
4428
4429ac_prog=ld
4430if test yes = "$GCC"; then
4431  # Check if gcc -print-prog-name=ld gives a path.
4432  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4433$as_echo_n "checking for ld used by $CC... " >&6; }
4434  case $host in
4435  *-*-mingw*)
4436    # gcc leaves a trailing carriage return, which upsets mingw
4437    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4438  *)
4439    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4440  esac
4441  case $ac_prog in
4442    # Accept absolute paths.
4443    [\\/]* | ?:[\\/]*)
4444      re_direlt='/[^/][^/]*/\.\./'
4445      # Canonicalize the pathname of ld
4446      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4447      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4448	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4449      done
4450      test -z "$LD" && LD=$ac_prog
4451      ;;
4452  "")
4453    # If it fails, then pretend we aren't using GCC.
4454    ac_prog=ld
4455    ;;
4456  *)
4457    # If it is relative, then search for the first ld in PATH.
4458    with_gnu_ld=unknown
4459    ;;
4460  esac
4461elif test yes = "$with_gnu_ld"; then
4462  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4463$as_echo_n "checking for GNU ld... " >&6; }
4464else
4465  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4466$as_echo_n "checking for non-GNU ld... " >&6; }
4467fi
4468if ${lt_cv_path_LD+:} false; then :
4469  $as_echo_n "(cached) " >&6
4470else
4471  if test -z "$LD"; then
4472  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4473  for ac_dir in $PATH; do
4474    IFS=$lt_save_ifs
4475    test -z "$ac_dir" && ac_dir=.
4476    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4477      lt_cv_path_LD=$ac_dir/$ac_prog
4478      # Check to see if the program is GNU ld.  I'd rather use --version,
4479      # but apparently some variants of GNU ld only accept -v.
4480      # Break only if it was the GNU/non-GNU ld that we prefer.
4481      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4482      *GNU* | *'with BFD'*)
4483	test no != "$with_gnu_ld" && break
4484	;;
4485      *)
4486	test yes != "$with_gnu_ld" && break
4487	;;
4488      esac
4489    fi
4490  done
4491  IFS=$lt_save_ifs
4492else
4493  lt_cv_path_LD=$LD # Let the user override the test with a path.
4494fi
4495fi
4496
4497LD=$lt_cv_path_LD
4498if test -n "$LD"; then
4499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4500$as_echo "$LD" >&6; }
4501else
4502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503$as_echo "no" >&6; }
4504fi
4505test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4507$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4508if ${lt_cv_prog_gnu_ld+:} false; then :
4509  $as_echo_n "(cached) " >&6
4510else
4511  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4512case `$LD -v 2>&1 </dev/null` in
4513*GNU* | *'with BFD'*)
4514  lt_cv_prog_gnu_ld=yes
4515  ;;
4516*)
4517  lt_cv_prog_gnu_ld=no
4518  ;;
4519esac
4520fi
4521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4522$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4523with_gnu_ld=$lt_cv_prog_gnu_ld
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4534$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4535if ${lt_cv_path_NM+:} false; then :
4536  $as_echo_n "(cached) " >&6
4537else
4538  if test -n "$NM"; then
4539  # Let the user override the test.
4540  lt_cv_path_NM=$NM
4541else
4542  lt_nm_to_check=${ac_tool_prefix}nm
4543  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4544    lt_nm_to_check="$lt_nm_to_check nm"
4545  fi
4546  for lt_tmp_nm in $lt_nm_to_check; do
4547    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4548    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4549      IFS=$lt_save_ifs
4550      test -z "$ac_dir" && ac_dir=.
4551      tmp_nm=$ac_dir/$lt_tmp_nm
4552      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4553	# Check to see if the nm accepts a BSD-compat flag.
4554	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4555	#   nm: unknown option "B" ignored
4556	# Tru64's nm complains that /dev/null is an invalid object file
4557	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4558	case $build_os in
4559	mingw*) lt_bad_file=conftest.nm/nofile ;;
4560	*) lt_bad_file=/dev/null ;;
4561	esac
4562	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4563	*$lt_bad_file* | *'Invalid file or object type'*)
4564	  lt_cv_path_NM="$tmp_nm -B"
4565	  break 2
4566	  ;;
4567	*)
4568	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4569	  */dev/null*)
4570	    lt_cv_path_NM="$tmp_nm -p"
4571	    break 2
4572	    ;;
4573	  *)
4574	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4575	    continue # so that we can try to find one that supports BSD flags
4576	    ;;
4577	  esac
4578	  ;;
4579	esac
4580      fi
4581    done
4582    IFS=$lt_save_ifs
4583  done
4584  : ${lt_cv_path_NM=no}
4585fi
4586fi
4587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4588$as_echo "$lt_cv_path_NM" >&6; }
4589if test no != "$lt_cv_path_NM"; then
4590  NM=$lt_cv_path_NM
4591else
4592  # Didn't find any BSD compatible name lister, look for dumpbin.
4593  if test -n "$DUMPBIN"; then :
4594    # Let the user override the test.
4595  else
4596    if test -n "$ac_tool_prefix"; then
4597  for ac_prog in dumpbin "link -dump"
4598  do
4599    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4600set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4602$as_echo_n "checking for $ac_word... " >&6; }
4603if ${ac_cv_prog_DUMPBIN+:} false; then :
4604  $as_echo_n "(cached) " >&6
4605else
4606  if test -n "$DUMPBIN"; then
4607  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4608else
4609as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610for as_dir in $PATH
4611do
4612  IFS=$as_save_IFS
4613  test -z "$as_dir" && as_dir=.
4614    for ac_exec_ext in '' $ac_executable_extensions; do
4615  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4616    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4617    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618    break 2
4619  fi
4620done
4621  done
4622IFS=$as_save_IFS
4623
4624fi
4625fi
4626DUMPBIN=$ac_cv_prog_DUMPBIN
4627if test -n "$DUMPBIN"; then
4628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4629$as_echo "$DUMPBIN" >&6; }
4630else
4631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4632$as_echo "no" >&6; }
4633fi
4634
4635
4636    test -n "$DUMPBIN" && break
4637  done
4638fi
4639if test -z "$DUMPBIN"; then
4640  ac_ct_DUMPBIN=$DUMPBIN
4641  for ac_prog in dumpbin "link -dump"
4642do
4643  # Extract the first word of "$ac_prog", so it can be a program name with args.
4644set dummy $ac_prog; ac_word=$2
4645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646$as_echo_n "checking for $ac_word... " >&6; }
4647if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4648  $as_echo_n "(cached) " >&6
4649else
4650  if test -n "$ac_ct_DUMPBIN"; then
4651  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4652else
4653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654for as_dir in $PATH
4655do
4656  IFS=$as_save_IFS
4657  test -z "$as_dir" && as_dir=.
4658    for ac_exec_ext in '' $ac_executable_extensions; do
4659  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4660    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4661    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4662    break 2
4663  fi
4664done
4665  done
4666IFS=$as_save_IFS
4667
4668fi
4669fi
4670ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4671if test -n "$ac_ct_DUMPBIN"; then
4672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4673$as_echo "$ac_ct_DUMPBIN" >&6; }
4674else
4675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676$as_echo "no" >&6; }
4677fi
4678
4679
4680  test -n "$ac_ct_DUMPBIN" && break
4681done
4682
4683  if test "x$ac_ct_DUMPBIN" = x; then
4684    DUMPBIN=":"
4685  else
4686    case $cross_compiling:$ac_tool_warned in
4687yes:)
4688{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4689$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4690ac_tool_warned=yes ;;
4691esac
4692    DUMPBIN=$ac_ct_DUMPBIN
4693  fi
4694fi
4695
4696    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4697    *COFF*)
4698      DUMPBIN="$DUMPBIN -symbols -headers"
4699      ;;
4700    *)
4701      DUMPBIN=:
4702      ;;
4703    esac
4704  fi
4705
4706  if test : != "$DUMPBIN"; then
4707    NM=$DUMPBIN
4708  fi
4709fi
4710test -z "$NM" && NM=nm
4711
4712
4713
4714
4715
4716
4717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4718$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4719if ${lt_cv_nm_interface+:} false; then :
4720  $as_echo_n "(cached) " >&6
4721else
4722  lt_cv_nm_interface="BSD nm"
4723  echo "int some_variable = 0;" > conftest.$ac_ext
4724  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4725  (eval "$ac_compile" 2>conftest.err)
4726  cat conftest.err >&5
4727  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4728  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4729  cat conftest.err >&5
4730  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4731  cat conftest.out >&5
4732  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4733    lt_cv_nm_interface="MS dumpbin"
4734  fi
4735  rm -f conftest*
4736fi
4737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4738$as_echo "$lt_cv_nm_interface" >&6; }
4739
4740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4741$as_echo_n "checking whether ln -s works... " >&6; }
4742LN_S=$as_ln_s
4743if test "$LN_S" = "ln -s"; then
4744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4745$as_echo "yes" >&6; }
4746else
4747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4748$as_echo "no, using $LN_S" >&6; }
4749fi
4750
4751# find the maximum length of command line arguments
4752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4753$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4754if ${lt_cv_sys_max_cmd_len+:} false; then :
4755  $as_echo_n "(cached) " >&6
4756else
4757    i=0
4758  teststring=ABCD
4759
4760  case $build_os in
4761  msdosdjgpp*)
4762    # On DJGPP, this test can blow up pretty badly due to problems in libc
4763    # (any single argument exceeding 2000 bytes causes a buffer overrun
4764    # during glob expansion).  Even if it were fixed, the result of this
4765    # check would be larger than it should be.
4766    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4767    ;;
4768
4769  gnu*)
4770    # Under GNU Hurd, this test is not required because there is
4771    # no limit to the length of command line arguments.
4772    # Libtool will interpret -1 as no limit whatsoever
4773    lt_cv_sys_max_cmd_len=-1;
4774    ;;
4775
4776  cygwin* | mingw* | cegcc*)
4777    # On Win9x/ME, this test blows up -- it succeeds, but takes
4778    # about 5 minutes as the teststring grows exponentially.
4779    # Worse, since 9x/ME are not pre-emptively multitasking,
4780    # you end up with a "frozen" computer, even though with patience
4781    # the test eventually succeeds (with a max line length of 256k).
4782    # Instead, let's just punt: use the minimum linelength reported by
4783    # all of the supported platforms: 8192 (on NT/2K/XP).
4784    lt_cv_sys_max_cmd_len=8192;
4785    ;;
4786
4787  mint*)
4788    # On MiNT this can take a long time and run out of memory.
4789    lt_cv_sys_max_cmd_len=8192;
4790    ;;
4791
4792  amigaos*)
4793    # On AmigaOS with pdksh, this test takes hours, literally.
4794    # So we just punt and use a minimum line length of 8192.
4795    lt_cv_sys_max_cmd_len=8192;
4796    ;;
4797
4798  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4799    # This has been around since 386BSD, at least.  Likely further.
4800    if test -x /sbin/sysctl; then
4801      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4802    elif test -x /usr/sbin/sysctl; then
4803      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4804    else
4805      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4806    fi
4807    # And add a safety zone
4808    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4809    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4810    ;;
4811
4812  interix*)
4813    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4814    lt_cv_sys_max_cmd_len=196608
4815    ;;
4816
4817  os2*)
4818    # The test takes a long time on OS/2.
4819    lt_cv_sys_max_cmd_len=8192
4820    ;;
4821
4822  osf*)
4823    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4824    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4825    # nice to cause kernel panics so lets avoid the loop below.
4826    # First set a reasonable default.
4827    lt_cv_sys_max_cmd_len=16384
4828    #
4829    if test -x /sbin/sysconfig; then
4830      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4831        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4832      esac
4833    fi
4834    ;;
4835  sco3.2v5*)
4836    lt_cv_sys_max_cmd_len=102400
4837    ;;
4838  sysv5* | sco5v6* | sysv4.2uw2*)
4839    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4840    if test -n "$kargmax"; then
4841      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4842    else
4843      lt_cv_sys_max_cmd_len=32768
4844    fi
4845    ;;
4846  *)
4847    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4848    if test -n "$lt_cv_sys_max_cmd_len" && \
4849       test undefined != "$lt_cv_sys_max_cmd_len"; then
4850      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4851      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4852    else
4853      # Make teststring a little bigger before we do anything with it.
4854      # a 1K string should be a reasonable start.
4855      for i in 1 2 3 4 5 6 7 8; do
4856        teststring=$teststring$teststring
4857      done
4858      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4859      # If test is not a shell built-in, we'll probably end up computing a
4860      # maximum length that is only half of the actual maximum length, but
4861      # we can't tell.
4862      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4863	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4864	      test 17 != "$i" # 1/2 MB should be enough
4865      do
4866        i=`expr $i + 1`
4867        teststring=$teststring$teststring
4868      done
4869      # Only check the string length outside the loop.
4870      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4871      teststring=
4872      # Add a significant safety factor because C++ compilers can tack on
4873      # massive amounts of additional arguments before passing them to the
4874      # linker.  It appears as though 1/2 is a usable value.
4875      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4876    fi
4877    ;;
4878  esac
4879
4880fi
4881
4882if test -n "$lt_cv_sys_max_cmd_len"; then
4883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4884$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4885else
4886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4887$as_echo "none" >&6; }
4888fi
4889max_cmd_len=$lt_cv_sys_max_cmd_len
4890
4891
4892
4893
4894
4895
4896: ${CP="cp -f"}
4897: ${MV="mv -f"}
4898: ${RM="rm -f"}
4899
4900if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4901  lt_unset=unset
4902else
4903  lt_unset=false
4904fi
4905
4906
4907
4908
4909
4910# test EBCDIC or ASCII
4911case `echo X|tr X '\101'` in
4912 A) # ASCII based system
4913    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4914  lt_SP2NL='tr \040 \012'
4915  lt_NL2SP='tr \015\012 \040\040'
4916  ;;
4917 *) # EBCDIC based system
4918  lt_SP2NL='tr \100 \n'
4919  lt_NL2SP='tr \r\n \100\100'
4920  ;;
4921esac
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4932$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4933if ${lt_cv_to_host_file_cmd+:} false; then :
4934  $as_echo_n "(cached) " >&6
4935else
4936  case $host in
4937  *-*-mingw* )
4938    case $build in
4939      *-*-mingw* ) # actually msys
4940        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4941        ;;
4942      *-*-cygwin* )
4943        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4944        ;;
4945      * ) # otherwise, assume *nix
4946        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4947        ;;
4948    esac
4949    ;;
4950  *-*-cygwin* )
4951    case $build in
4952      *-*-mingw* ) # actually msys
4953        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4954        ;;
4955      *-*-cygwin* )
4956        lt_cv_to_host_file_cmd=func_convert_file_noop
4957        ;;
4958      * ) # otherwise, assume *nix
4959        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4960        ;;
4961    esac
4962    ;;
4963  * ) # unhandled hosts (and "normal" native builds)
4964    lt_cv_to_host_file_cmd=func_convert_file_noop
4965    ;;
4966esac
4967
4968fi
4969
4970to_host_file_cmd=$lt_cv_to_host_file_cmd
4971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4972$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4973
4974
4975
4976
4977
4978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4979$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4980if ${lt_cv_to_tool_file_cmd+:} false; then :
4981  $as_echo_n "(cached) " >&6
4982else
4983  #assume ordinary cross tools, or native build.
4984lt_cv_to_tool_file_cmd=func_convert_file_noop
4985case $host in
4986  *-*-mingw* )
4987    case $build in
4988      *-*-mingw* ) # actually msys
4989        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4990        ;;
4991    esac
4992    ;;
4993esac
4994
4995fi
4996
4997to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4999$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5000
5001
5002
5003
5004
5005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5006$as_echo_n "checking for $LD option to reload object files... " >&6; }
5007if ${lt_cv_ld_reload_flag+:} false; then :
5008  $as_echo_n "(cached) " >&6
5009else
5010  lt_cv_ld_reload_flag='-r'
5011fi
5012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5013$as_echo "$lt_cv_ld_reload_flag" >&6; }
5014reload_flag=$lt_cv_ld_reload_flag
5015case $reload_flag in
5016"" | " "*) ;;
5017*) reload_flag=" $reload_flag" ;;
5018esac
5019reload_cmds='$LD$reload_flag -o $output$reload_objs'
5020case $host_os in
5021  cygwin* | mingw* | pw32* | cegcc*)
5022    if test yes != "$GCC"; then
5023      reload_cmds=false
5024    fi
5025    ;;
5026  darwin*)
5027    if test yes = "$GCC"; then
5028      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5029    else
5030      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5031    fi
5032    ;;
5033esac
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043if test -n "$ac_tool_prefix"; then
5044  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5045set dummy ${ac_tool_prefix}objdump; ac_word=$2
5046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5047$as_echo_n "checking for $ac_word... " >&6; }
5048if ${ac_cv_prog_OBJDUMP+:} false; then :
5049  $as_echo_n "(cached) " >&6
5050else
5051  if test -n "$OBJDUMP"; then
5052  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5053else
5054as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5055for as_dir in $PATH
5056do
5057  IFS=$as_save_IFS
5058  test -z "$as_dir" && as_dir=.
5059    for ac_exec_ext in '' $ac_executable_extensions; do
5060  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5061    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5062    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5063    break 2
5064  fi
5065done
5066  done
5067IFS=$as_save_IFS
5068
5069fi
5070fi
5071OBJDUMP=$ac_cv_prog_OBJDUMP
5072if test -n "$OBJDUMP"; then
5073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5074$as_echo "$OBJDUMP" >&6; }
5075else
5076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077$as_echo "no" >&6; }
5078fi
5079
5080
5081fi
5082if test -z "$ac_cv_prog_OBJDUMP"; then
5083  ac_ct_OBJDUMP=$OBJDUMP
5084  # Extract the first word of "objdump", so it can be a program name with args.
5085set dummy objdump; ac_word=$2
5086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087$as_echo_n "checking for $ac_word... " >&6; }
5088if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5089  $as_echo_n "(cached) " >&6
5090else
5091  if test -n "$ac_ct_OBJDUMP"; then
5092  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5093else
5094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095for as_dir in $PATH
5096do
5097  IFS=$as_save_IFS
5098  test -z "$as_dir" && as_dir=.
5099    for ac_exec_ext in '' $ac_executable_extensions; do
5100  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5101    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5102    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5103    break 2
5104  fi
5105done
5106  done
5107IFS=$as_save_IFS
5108
5109fi
5110fi
5111ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5112if test -n "$ac_ct_OBJDUMP"; then
5113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5114$as_echo "$ac_ct_OBJDUMP" >&6; }
5115else
5116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117$as_echo "no" >&6; }
5118fi
5119
5120  if test "x$ac_ct_OBJDUMP" = x; then
5121    OBJDUMP="false"
5122  else
5123    case $cross_compiling:$ac_tool_warned in
5124yes:)
5125{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5126$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5127ac_tool_warned=yes ;;
5128esac
5129    OBJDUMP=$ac_ct_OBJDUMP
5130  fi
5131else
5132  OBJDUMP="$ac_cv_prog_OBJDUMP"
5133fi
5134
5135test -z "$OBJDUMP" && OBJDUMP=objdump
5136
5137
5138
5139
5140
5141
5142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5143$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5144if ${lt_cv_deplibs_check_method+:} false; then :
5145  $as_echo_n "(cached) " >&6
5146else
5147  lt_cv_file_magic_cmd='$MAGIC_CMD'
5148lt_cv_file_magic_test_file=
5149lt_cv_deplibs_check_method='unknown'
5150# Need to set the preceding variable on all platforms that support
5151# interlibrary dependencies.
5152# 'none' -- dependencies not supported.
5153# 'unknown' -- same as none, but documents that we really don't know.
5154# 'pass_all' -- all dependencies passed with no checks.
5155# 'test_compile' -- check by making test program.
5156# 'file_magic [[regex]]' -- check by looking for files in library path
5157# that responds to the $file_magic_cmd with a given extended regex.
5158# If you have 'file' or equivalent on your system and you're not sure
5159# whether 'pass_all' will *always* work, you probably want this one.
5160
5161case $host_os in
5162aix[4-9]*)
5163  lt_cv_deplibs_check_method=pass_all
5164  ;;
5165
5166beos*)
5167  lt_cv_deplibs_check_method=pass_all
5168  ;;
5169
5170bsdi[45]*)
5171  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5172  lt_cv_file_magic_cmd='/usr/bin/file -L'
5173  lt_cv_file_magic_test_file=/shlib/libc.so
5174  ;;
5175
5176cygwin*)
5177  # func_win32_libid is a shell function defined in ltmain.sh
5178  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5179  lt_cv_file_magic_cmd='func_win32_libid'
5180  ;;
5181
5182mingw* | pw32*)
5183  # Base MSYS/MinGW do not provide the 'file' command needed by
5184  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5185  # unless we find 'file', for example because we are cross-compiling.
5186  if ( file / ) >/dev/null 2>&1; then
5187    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5188    lt_cv_file_magic_cmd='func_win32_libid'
5189  else
5190    # Keep this pattern in sync with the one in func_win32_libid.
5191    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5192    lt_cv_file_magic_cmd='$OBJDUMP -f'
5193  fi
5194  ;;
5195
5196cegcc*)
5197  # use the weaker test based on 'objdump'. See mingw*.
5198  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5199  lt_cv_file_magic_cmd='$OBJDUMP -f'
5200  ;;
5201
5202darwin* | rhapsody*)
5203  lt_cv_deplibs_check_method=pass_all
5204  ;;
5205
5206freebsd* | dragonfly*)
5207  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5208    case $host_cpu in
5209    i*86 )
5210      # Not sure whether the presence of OpenBSD here was a mistake.
5211      # Let's accept both of them until this is cleared up.
5212      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5213      lt_cv_file_magic_cmd=/usr/bin/file
5214      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5215      ;;
5216    esac
5217  else
5218    lt_cv_deplibs_check_method=pass_all
5219  fi
5220  ;;
5221
5222haiku*)
5223  lt_cv_deplibs_check_method=pass_all
5224  ;;
5225
5226hpux10.20* | hpux11*)
5227  lt_cv_file_magic_cmd=/usr/bin/file
5228  case $host_cpu in
5229  ia64*)
5230    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5231    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5232    ;;
5233  hppa*64*)
5234    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]'
5235    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5236    ;;
5237  *)
5238    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5239    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5240    ;;
5241  esac
5242  ;;
5243
5244interix[3-9]*)
5245  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5246  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5247  ;;
5248
5249irix5* | irix6* | nonstopux*)
5250  case $LD in
5251  *-32|*"-32 ") libmagic=32-bit;;
5252  *-n32|*"-n32 ") libmagic=N32;;
5253  *-64|*"-64 ") libmagic=64-bit;;
5254  *) libmagic=never-match;;
5255  esac
5256  lt_cv_deplibs_check_method=pass_all
5257  ;;
5258
5259# This must be glibc/ELF.
5260linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5261  lt_cv_deplibs_check_method=pass_all
5262  ;;
5263
5264netbsd* | netbsdelf*-gnu)
5265  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5266    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5267  else
5268    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5269  fi
5270  ;;
5271
5272newos6*)
5273  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5274  lt_cv_file_magic_cmd=/usr/bin/file
5275  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5276  ;;
5277
5278*nto* | *qnx*)
5279  lt_cv_deplibs_check_method=pass_all
5280  ;;
5281
5282openbsd* | bitrig*)
5283  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5284    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5285  else
5286    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5287  fi
5288  ;;
5289
5290osf3* | osf4* | osf5*)
5291  lt_cv_deplibs_check_method=pass_all
5292  ;;
5293
5294rdos*)
5295  lt_cv_deplibs_check_method=pass_all
5296  ;;
5297
5298solaris*)
5299  lt_cv_deplibs_check_method=pass_all
5300  ;;
5301
5302sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5303  lt_cv_deplibs_check_method=pass_all
5304  ;;
5305
5306sysv4 | sysv4.3*)
5307  case $host_vendor in
5308  motorola)
5309    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]'
5310    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5311    ;;
5312  ncr)
5313    lt_cv_deplibs_check_method=pass_all
5314    ;;
5315  sequent)
5316    lt_cv_file_magic_cmd='/bin/file'
5317    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5318    ;;
5319  sni)
5320    lt_cv_file_magic_cmd='/bin/file'
5321    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5322    lt_cv_file_magic_test_file=/lib/libc.so
5323    ;;
5324  siemens)
5325    lt_cv_deplibs_check_method=pass_all
5326    ;;
5327  pc)
5328    lt_cv_deplibs_check_method=pass_all
5329    ;;
5330  esac
5331  ;;
5332
5333tpf*)
5334  lt_cv_deplibs_check_method=pass_all
5335  ;;
5336os2*)
5337  lt_cv_deplibs_check_method=pass_all
5338  ;;
5339esac
5340
5341fi
5342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5343$as_echo "$lt_cv_deplibs_check_method" >&6; }
5344
5345file_magic_glob=
5346want_nocaseglob=no
5347if test "$build" = "$host"; then
5348  case $host_os in
5349  mingw* | pw32*)
5350    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5351      want_nocaseglob=yes
5352    else
5353      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5354    fi
5355    ;;
5356  esac
5357fi
5358
5359file_magic_cmd=$lt_cv_file_magic_cmd
5360deplibs_check_method=$lt_cv_deplibs_check_method
5361test -z "$deplibs_check_method" && deplibs_check_method=unknown
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384if test -n "$ac_tool_prefix"; then
5385  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5386set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388$as_echo_n "checking for $ac_word... " >&6; }
5389if ${ac_cv_prog_DLLTOOL+:} false; then :
5390  $as_echo_n "(cached) " >&6
5391else
5392  if test -n "$DLLTOOL"; then
5393  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5394else
5395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396for as_dir in $PATH
5397do
5398  IFS=$as_save_IFS
5399  test -z "$as_dir" && as_dir=.
5400    for ac_exec_ext in '' $ac_executable_extensions; do
5401  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5402    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5403    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404    break 2
5405  fi
5406done
5407  done
5408IFS=$as_save_IFS
5409
5410fi
5411fi
5412DLLTOOL=$ac_cv_prog_DLLTOOL
5413if test -n "$DLLTOOL"; then
5414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5415$as_echo "$DLLTOOL" >&6; }
5416else
5417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418$as_echo "no" >&6; }
5419fi
5420
5421
5422fi
5423if test -z "$ac_cv_prog_DLLTOOL"; then
5424  ac_ct_DLLTOOL=$DLLTOOL
5425  # Extract the first word of "dlltool", so it can be a program name with args.
5426set dummy dlltool; ac_word=$2
5427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428$as_echo_n "checking for $ac_word... " >&6; }
5429if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5430  $as_echo_n "(cached) " >&6
5431else
5432  if test -n "$ac_ct_DLLTOOL"; then
5433  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5434else
5435as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436for as_dir in $PATH
5437do
5438  IFS=$as_save_IFS
5439  test -z "$as_dir" && as_dir=.
5440    for ac_exec_ext in '' $ac_executable_extensions; do
5441  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5442    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5443    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5444    break 2
5445  fi
5446done
5447  done
5448IFS=$as_save_IFS
5449
5450fi
5451fi
5452ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5453if test -n "$ac_ct_DLLTOOL"; then
5454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5455$as_echo "$ac_ct_DLLTOOL" >&6; }
5456else
5457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458$as_echo "no" >&6; }
5459fi
5460
5461  if test "x$ac_ct_DLLTOOL" = x; then
5462    DLLTOOL="false"
5463  else
5464    case $cross_compiling:$ac_tool_warned in
5465yes:)
5466{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5467$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5468ac_tool_warned=yes ;;
5469esac
5470    DLLTOOL=$ac_ct_DLLTOOL
5471  fi
5472else
5473  DLLTOOL="$ac_cv_prog_DLLTOOL"
5474fi
5475
5476test -z "$DLLTOOL" && DLLTOOL=dlltool
5477
5478
5479
5480
5481
5482
5483
5484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5485$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5486if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5487  $as_echo_n "(cached) " >&6
5488else
5489  lt_cv_sharedlib_from_linklib_cmd='unknown'
5490
5491case $host_os in
5492cygwin* | mingw* | pw32* | cegcc*)
5493  # two different shell functions defined in ltmain.sh;
5494  # decide which one to use based on capabilities of $DLLTOOL
5495  case `$DLLTOOL --help 2>&1` in
5496  *--identify-strict*)
5497    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5498    ;;
5499  *)
5500    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5501    ;;
5502  esac
5503  ;;
5504*)
5505  # fallback: assume linklib IS sharedlib
5506  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5507  ;;
5508esac
5509
5510fi
5511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5512$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5513sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5514test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5515
5516
5517
5518
5519
5520
5521
5522
5523if test -n "$ac_tool_prefix"; then
5524  for ac_prog in ar
5525  do
5526    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5527set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5529$as_echo_n "checking for $ac_word... " >&6; }
5530if ${ac_cv_prog_AR+:} false; then :
5531  $as_echo_n "(cached) " >&6
5532else
5533  if test -n "$AR"; then
5534  ac_cv_prog_AR="$AR" # Let the user override the test.
5535else
5536as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537for as_dir in $PATH
5538do
5539  IFS=$as_save_IFS
5540  test -z "$as_dir" && as_dir=.
5541    for ac_exec_ext in '' $ac_executable_extensions; do
5542  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5543    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5544    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5545    break 2
5546  fi
5547done
5548  done
5549IFS=$as_save_IFS
5550
5551fi
5552fi
5553AR=$ac_cv_prog_AR
5554if test -n "$AR"; then
5555  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5556$as_echo "$AR" >&6; }
5557else
5558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5559$as_echo "no" >&6; }
5560fi
5561
5562
5563    test -n "$AR" && break
5564  done
5565fi
5566if test -z "$AR"; then
5567  ac_ct_AR=$AR
5568  for ac_prog in ar
5569do
5570  # Extract the first word of "$ac_prog", so it can be a program name with args.
5571set dummy $ac_prog; ac_word=$2
5572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573$as_echo_n "checking for $ac_word... " >&6; }
5574if ${ac_cv_prog_ac_ct_AR+:} false; then :
5575  $as_echo_n "(cached) " >&6
5576else
5577  if test -n "$ac_ct_AR"; then
5578  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5579else
5580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581for as_dir in $PATH
5582do
5583  IFS=$as_save_IFS
5584  test -z "$as_dir" && as_dir=.
5585    for ac_exec_ext in '' $ac_executable_extensions; do
5586  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5587    ac_cv_prog_ac_ct_AR="$ac_prog"
5588    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589    break 2
5590  fi
5591done
5592  done
5593IFS=$as_save_IFS
5594
5595fi
5596fi
5597ac_ct_AR=$ac_cv_prog_ac_ct_AR
5598if test -n "$ac_ct_AR"; then
5599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5600$as_echo "$ac_ct_AR" >&6; }
5601else
5602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603$as_echo "no" >&6; }
5604fi
5605
5606
5607  test -n "$ac_ct_AR" && break
5608done
5609
5610  if test "x$ac_ct_AR" = x; then
5611    AR="false"
5612  else
5613    case $cross_compiling:$ac_tool_warned in
5614yes:)
5615{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5616$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5617ac_tool_warned=yes ;;
5618esac
5619    AR=$ac_ct_AR
5620  fi
5621fi
5622
5623: ${AR=ar}
5624: ${AR_FLAGS=cr}
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5637$as_echo_n "checking for archiver @FILE support... " >&6; }
5638if ${lt_cv_ar_at_file+:} false; then :
5639  $as_echo_n "(cached) " >&6
5640else
5641  lt_cv_ar_at_file=no
5642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5643/* end confdefs.h.  */
5644
5645int
5646main ()
5647{
5648
5649  ;
5650  return 0;
5651}
5652_ACEOF
5653if ac_fn_c_try_compile "$LINENO"; then :
5654  echo conftest.$ac_objext > conftest.lst
5655      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5656      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5657  (eval $lt_ar_try) 2>&5
5658  ac_status=$?
5659  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5660  test $ac_status = 0; }
5661      if test 0 -eq "$ac_status"; then
5662	# Ensure the archiver fails upon bogus file names.
5663	rm -f conftest.$ac_objext libconftest.a
5664	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5665  (eval $lt_ar_try) 2>&5
5666  ac_status=$?
5667  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5668  test $ac_status = 0; }
5669	if test 0 -ne "$ac_status"; then
5670          lt_cv_ar_at_file=@
5671        fi
5672      fi
5673      rm -f conftest.* libconftest.a
5674
5675fi
5676rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5677
5678fi
5679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5680$as_echo "$lt_cv_ar_at_file" >&6; }
5681
5682if test no = "$lt_cv_ar_at_file"; then
5683  archiver_list_spec=
5684else
5685  archiver_list_spec=$lt_cv_ar_at_file
5686fi
5687
5688
5689
5690
5691
5692
5693
5694if test -n "$ac_tool_prefix"; then
5695  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5696set dummy ${ac_tool_prefix}strip; ac_word=$2
5697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5698$as_echo_n "checking for $ac_word... " >&6; }
5699if ${ac_cv_prog_STRIP+:} false; then :
5700  $as_echo_n "(cached) " >&6
5701else
5702  if test -n "$STRIP"; then
5703  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5704else
5705as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706for as_dir in $PATH
5707do
5708  IFS=$as_save_IFS
5709  test -z "$as_dir" && as_dir=.
5710    for ac_exec_ext in '' $ac_executable_extensions; do
5711  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5712    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5713    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5714    break 2
5715  fi
5716done
5717  done
5718IFS=$as_save_IFS
5719
5720fi
5721fi
5722STRIP=$ac_cv_prog_STRIP
5723if test -n "$STRIP"; then
5724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5725$as_echo "$STRIP" >&6; }
5726else
5727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728$as_echo "no" >&6; }
5729fi
5730
5731
5732fi
5733if test -z "$ac_cv_prog_STRIP"; then
5734  ac_ct_STRIP=$STRIP
5735  # Extract the first word of "strip", so it can be a program name with args.
5736set dummy strip; ac_word=$2
5737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5738$as_echo_n "checking for $ac_word... " >&6; }
5739if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5740  $as_echo_n "(cached) " >&6
5741else
5742  if test -n "$ac_ct_STRIP"; then
5743  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5744else
5745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746for as_dir in $PATH
5747do
5748  IFS=$as_save_IFS
5749  test -z "$as_dir" && as_dir=.
5750    for ac_exec_ext in '' $ac_executable_extensions; do
5751  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5752    ac_cv_prog_ac_ct_STRIP="strip"
5753    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754    break 2
5755  fi
5756done
5757  done
5758IFS=$as_save_IFS
5759
5760fi
5761fi
5762ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5763if test -n "$ac_ct_STRIP"; then
5764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5765$as_echo "$ac_ct_STRIP" >&6; }
5766else
5767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768$as_echo "no" >&6; }
5769fi
5770
5771  if test "x$ac_ct_STRIP" = x; then
5772    STRIP=":"
5773  else
5774    case $cross_compiling:$ac_tool_warned in
5775yes:)
5776{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5777$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5778ac_tool_warned=yes ;;
5779esac
5780    STRIP=$ac_ct_STRIP
5781  fi
5782else
5783  STRIP="$ac_cv_prog_STRIP"
5784fi
5785
5786test -z "$STRIP" && STRIP=:
5787
5788
5789
5790
5791
5792
5793if test -n "$ac_tool_prefix"; then
5794  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5795set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797$as_echo_n "checking for $ac_word... " >&6; }
5798if ${ac_cv_prog_RANLIB+:} false; then :
5799  $as_echo_n "(cached) " >&6
5800else
5801  if test -n "$RANLIB"; then
5802  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5803else
5804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805for as_dir in $PATH
5806do
5807  IFS=$as_save_IFS
5808  test -z "$as_dir" && as_dir=.
5809    for ac_exec_ext in '' $ac_executable_extensions; do
5810  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5811    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5812    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813    break 2
5814  fi
5815done
5816  done
5817IFS=$as_save_IFS
5818
5819fi
5820fi
5821RANLIB=$ac_cv_prog_RANLIB
5822if test -n "$RANLIB"; then
5823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5824$as_echo "$RANLIB" >&6; }
5825else
5826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827$as_echo "no" >&6; }
5828fi
5829
5830
5831fi
5832if test -z "$ac_cv_prog_RANLIB"; then
5833  ac_ct_RANLIB=$RANLIB
5834  # Extract the first word of "ranlib", so it can be a program name with args.
5835set dummy ranlib; ac_word=$2
5836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837$as_echo_n "checking for $ac_word... " >&6; }
5838if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5839  $as_echo_n "(cached) " >&6
5840else
5841  if test -n "$ac_ct_RANLIB"; then
5842  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5843else
5844as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845for as_dir in $PATH
5846do
5847  IFS=$as_save_IFS
5848  test -z "$as_dir" && as_dir=.
5849    for ac_exec_ext in '' $ac_executable_extensions; do
5850  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851    ac_cv_prog_ac_ct_RANLIB="ranlib"
5852    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853    break 2
5854  fi
5855done
5856  done
5857IFS=$as_save_IFS
5858
5859fi
5860fi
5861ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5862if test -n "$ac_ct_RANLIB"; then
5863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5864$as_echo "$ac_ct_RANLIB" >&6; }
5865else
5866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867$as_echo "no" >&6; }
5868fi
5869
5870  if test "x$ac_ct_RANLIB" = x; then
5871    RANLIB=":"
5872  else
5873    case $cross_compiling:$ac_tool_warned in
5874yes:)
5875{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5876$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5877ac_tool_warned=yes ;;
5878esac
5879    RANLIB=$ac_ct_RANLIB
5880  fi
5881else
5882  RANLIB="$ac_cv_prog_RANLIB"
5883fi
5884
5885test -z "$RANLIB" && RANLIB=:
5886
5887
5888
5889
5890
5891
5892# Determine commands to create old-style static archives.
5893old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5894old_postinstall_cmds='chmod 644 $oldlib'
5895old_postuninstall_cmds=
5896
5897if test -n "$RANLIB"; then
5898  case $host_os in
5899  bitrig* | openbsd*)
5900    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5901    ;;
5902  *)
5903    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5904    ;;
5905  esac
5906  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5907fi
5908
5909case $host_os in
5910  darwin*)
5911    lock_old_archive_extraction=yes ;;
5912  *)
5913    lock_old_archive_extraction=no ;;
5914esac
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954# If no C compiler was specified, use CC.
5955LTCC=${LTCC-"$CC"}
5956
5957# If no C compiler flags were specified, use CFLAGS.
5958LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5959
5960# Allow CC to be a program name with arguments.
5961compiler=$CC
5962
5963
5964# Check for command to grab the raw symbol name followed by C symbol from nm.
5965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5966$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5967if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5968  $as_echo_n "(cached) " >&6
5969else
5970
5971# These are sane defaults that work on at least a few old systems.
5972# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5973
5974# Character class describing NM global symbol codes.
5975symcode='[BCDEGRST]'
5976
5977# Regexp to match symbols that can be accessed directly from C.
5978sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5979
5980# Define system-specific variables.
5981case $host_os in
5982aix*)
5983  symcode='[BCDT]'
5984  ;;
5985cygwin* | mingw* | pw32* | cegcc*)
5986  symcode='[ABCDGISTW]'
5987  ;;
5988hpux*)
5989  if test ia64 = "$host_cpu"; then
5990    symcode='[ABCDEGRST]'
5991  fi
5992  ;;
5993irix* | nonstopux*)
5994  symcode='[BCDEGRST]'
5995  ;;
5996osf*)
5997  symcode='[BCDEGQRST]'
5998  ;;
5999solaris*)
6000  symcode='[BDRT]'
6001  ;;
6002sco3.2v5*)
6003  symcode='[DT]'
6004  ;;
6005sysv4.2uw2*)
6006  symcode='[DT]'
6007  ;;
6008sysv5* | sco5v6* | unixware* | OpenUNIX*)
6009  symcode='[ABDT]'
6010  ;;
6011sysv4)
6012  symcode='[DFNSTU]'
6013  ;;
6014esac
6015
6016# If we're using GNU nm, then use its standard symbol codes.
6017case `$NM -V 2>&1` in
6018*GNU* | *'with BFD'*)
6019  symcode='[ABCDGIRSTW]' ;;
6020esac
6021
6022if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6023  # Gets list of data symbols to import.
6024  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6025  # Adjust the below global symbol transforms to fixup imported variables.
6026  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6027  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6028  lt_c_name_lib_hook="\
6029  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6030  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6031else
6032  # Disable hooks by default.
6033  lt_cv_sys_global_symbol_to_import=
6034  lt_cdecl_hook=
6035  lt_c_name_hook=
6036  lt_c_name_lib_hook=
6037fi
6038
6039# Transform an extracted symbol line into a proper C declaration.
6040# Some systems (esp. on ia64) link data and code symbols differently,
6041# so use this general approach.
6042lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6043$lt_cdecl_hook\
6044" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6045" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6046
6047# Transform an extracted symbol line into symbol name and symbol address
6048lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6049$lt_c_name_hook\
6050" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6051" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6052
6053# Transform an extracted symbol line into symbol name with lib prefix and
6054# symbol address.
6055lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6056$lt_c_name_lib_hook\
6057" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6058" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6059" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6060
6061# Handle CRLF in mingw tool chain
6062opt_cr=
6063case $build_os in
6064mingw*)
6065  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6066  ;;
6067esac
6068
6069# Try without a prefix underscore, then with it.
6070for ac_symprfx in "" "_"; do
6071
6072  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6073  symxfrm="\\1 $ac_symprfx\\2 \\2"
6074
6075  # Write the raw and C identifiers.
6076  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6077    # Fake it for dumpbin and say T for any non-static function,
6078    # D for any global variable and I for any imported variable.
6079    # Also find C++ and __fastcall symbols from MSVC++,
6080    # which start with @ or ?.
6081    lt_cv_sys_global_symbol_pipe="$AWK '"\
6082"     {last_section=section; section=\$ 3};"\
6083"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6084"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6085"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6086"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6087"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6088"     \$ 0!~/External *\|/{next};"\
6089"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6090"     {if(hide[section]) next};"\
6091"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6092"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6093"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6094"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6095"     ' prfx=^$ac_symprfx"
6096  else
6097    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6098  fi
6099  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6100
6101  # Check to see that the pipe works correctly.
6102  pipe_works=no
6103
6104  rm -f conftest*
6105  cat > conftest.$ac_ext <<_LT_EOF
6106#ifdef __cplusplus
6107extern "C" {
6108#endif
6109char nm_test_var;
6110void nm_test_func(void);
6111void nm_test_func(void){}
6112#ifdef __cplusplus
6113}
6114#endif
6115int main(){nm_test_var='a';nm_test_func();return(0);}
6116_LT_EOF
6117
6118  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6119  (eval $ac_compile) 2>&5
6120  ac_status=$?
6121  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6122  test $ac_status = 0; }; then
6123    # Now try to grab the symbols.
6124    nlist=conftest.nm
6125    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6126    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6127      # Try sorting and uniquifying the output.
6128      if sort "$nlist" | uniq > "$nlist"T; then
6129	mv -f "$nlist"T "$nlist"
6130      else
6131	rm -f "$nlist"T
6132      fi
6133
6134      # Make sure that we snagged all the symbols we need.
6135      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6136	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6137	  cat <<_LT_EOF > conftest.$ac_ext
6138/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6139#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6140/* DATA imports from DLLs on WIN32 can't be const, because runtime
6141   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6142# define LT_DLSYM_CONST
6143#elif defined __osf__
6144/* This system does not cope well with relocations in const data.  */
6145# define LT_DLSYM_CONST
6146#else
6147# define LT_DLSYM_CONST const
6148#endif
6149
6150#ifdef __cplusplus
6151extern "C" {
6152#endif
6153
6154_LT_EOF
6155	  # Now generate the symbol file.
6156	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6157
6158	  cat <<_LT_EOF >> conftest.$ac_ext
6159
6160/* The mapping between symbol names and symbols.  */
6161LT_DLSYM_CONST struct {
6162  const char *name;
6163  void       *address;
6164}
6165lt__PROGRAM__LTX_preloaded_symbols[] =
6166{
6167  { "@PROGRAM@", (void *) 0 },
6168_LT_EOF
6169	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6170	  cat <<\_LT_EOF >> conftest.$ac_ext
6171  {0, (void *) 0}
6172};
6173
6174/* This works around a problem in FreeBSD linker */
6175#ifdef FREEBSD_WORKAROUND
6176static const void *lt_preloaded_setup() {
6177  return lt__PROGRAM__LTX_preloaded_symbols;
6178}
6179#endif
6180
6181#ifdef __cplusplus
6182}
6183#endif
6184_LT_EOF
6185	  # Now try linking the two files.
6186	  mv conftest.$ac_objext conftstm.$ac_objext
6187	  lt_globsym_save_LIBS=$LIBS
6188	  lt_globsym_save_CFLAGS=$CFLAGS
6189	  LIBS=conftstm.$ac_objext
6190	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6191	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6192  (eval $ac_link) 2>&5
6193  ac_status=$?
6194  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6195  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6196	    pipe_works=yes
6197	  fi
6198	  LIBS=$lt_globsym_save_LIBS
6199	  CFLAGS=$lt_globsym_save_CFLAGS
6200	else
6201	  echo "cannot find nm_test_func in $nlist" >&5
6202	fi
6203      else
6204	echo "cannot find nm_test_var in $nlist" >&5
6205      fi
6206    else
6207      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6208    fi
6209  else
6210    echo "$progname: failed program was:" >&5
6211    cat conftest.$ac_ext >&5
6212  fi
6213  rm -rf conftest* conftst*
6214
6215  # Do not use the global_symbol_pipe unless it works.
6216  if test yes = "$pipe_works"; then
6217    break
6218  else
6219    lt_cv_sys_global_symbol_pipe=
6220  fi
6221done
6222
6223fi
6224
6225if test -z "$lt_cv_sys_global_symbol_pipe"; then
6226  lt_cv_sys_global_symbol_to_cdecl=
6227fi
6228if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6230$as_echo "failed" >&6; }
6231else
6232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6233$as_echo "ok" >&6; }
6234fi
6235
6236# Response file support.
6237if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6238  nm_file_list_spec='@'
6239elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6240  nm_file_list_spec='@'
6241fi
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6280$as_echo_n "checking for sysroot... " >&6; }
6281
6282# Check whether --with-sysroot was given.
6283if test "${with_sysroot+set}" = set; then :
6284  withval=$with_sysroot;
6285else
6286  with_sysroot=no
6287fi
6288
6289
6290lt_sysroot=
6291case $with_sysroot in #(
6292 yes)
6293   if test yes = "$GCC"; then
6294     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6295   fi
6296   ;; #(
6297 /*)
6298   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6299   ;; #(
6300 no|'')
6301   ;; #(
6302 *)
6303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6304$as_echo "$with_sysroot" >&6; }
6305   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6306   ;;
6307esac
6308
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6310$as_echo "${lt_sysroot:-no}" >&6; }
6311
6312
6313
6314
6315
6316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6317$as_echo_n "checking for a working dd... " >&6; }
6318if ${ac_cv_path_lt_DD+:} false; then :
6319  $as_echo_n "(cached) " >&6
6320else
6321  printf 0123456789abcdef0123456789abcdef >conftest.i
6322cat conftest.i conftest.i >conftest2.i
6323: ${lt_DD:=$DD}
6324if test -z "$lt_DD"; then
6325  ac_path_lt_DD_found=false
6326  # Loop through the user's path and test for each of PROGNAME-LIST
6327  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328for as_dir in $PATH
6329do
6330  IFS=$as_save_IFS
6331  test -z "$as_dir" && as_dir=.
6332    for ac_prog in dd; do
6333    for ac_exec_ext in '' $ac_executable_extensions; do
6334      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6335      as_fn_executable_p "$ac_path_lt_DD" || continue
6336if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6337  cmp -s conftest.i conftest.out \
6338  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6339fi
6340      $ac_path_lt_DD_found && break 3
6341    done
6342  done
6343  done
6344IFS=$as_save_IFS
6345  if test -z "$ac_cv_path_lt_DD"; then
6346    :
6347  fi
6348else
6349  ac_cv_path_lt_DD=$lt_DD
6350fi
6351
6352rm -f conftest.i conftest2.i conftest.out
6353fi
6354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6355$as_echo "$ac_cv_path_lt_DD" >&6; }
6356
6357
6358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6359$as_echo_n "checking how to truncate binary pipes... " >&6; }
6360if ${lt_cv_truncate_bin+:} false; then :
6361  $as_echo_n "(cached) " >&6
6362else
6363  printf 0123456789abcdef0123456789abcdef >conftest.i
6364cat conftest.i conftest.i >conftest2.i
6365lt_cv_truncate_bin=
6366if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6367  cmp -s conftest.i conftest.out \
6368  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6369fi
6370rm -f conftest.i conftest2.i conftest.out
6371test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6372fi
6373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6374$as_echo "$lt_cv_truncate_bin" >&6; }
6375
6376
6377
6378
6379
6380
6381
6382# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6383func_cc_basename ()
6384{
6385    for cc_temp in $*""; do
6386      case $cc_temp in
6387        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6388        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6389        \-*) ;;
6390        *) break;;
6391      esac
6392    done
6393    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6394}
6395
6396# Check whether --enable-libtool-lock was given.
6397if test "${enable_libtool_lock+set}" = set; then :
6398  enableval=$enable_libtool_lock;
6399fi
6400
6401test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6402
6403# Some flags need to be propagated to the compiler or linker for good
6404# libtool support.
6405case $host in
6406ia64-*-hpux*)
6407  # Find out what ABI is being produced by ac_compile, and set mode
6408  # options accordingly.
6409  echo 'int i;' > conftest.$ac_ext
6410  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6411  (eval $ac_compile) 2>&5
6412  ac_status=$?
6413  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6414  test $ac_status = 0; }; then
6415    case `/usr/bin/file conftest.$ac_objext` in
6416      *ELF-32*)
6417	HPUX_IA64_MODE=32
6418	;;
6419      *ELF-64*)
6420	HPUX_IA64_MODE=64
6421	;;
6422    esac
6423  fi
6424  rm -rf conftest*
6425  ;;
6426*-*-irix6*)
6427  # Find out what ABI is being produced by ac_compile, and set linker
6428  # options accordingly.
6429  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6430  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6431  (eval $ac_compile) 2>&5
6432  ac_status=$?
6433  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6434  test $ac_status = 0; }; then
6435    if test yes = "$lt_cv_prog_gnu_ld"; then
6436      case `/usr/bin/file conftest.$ac_objext` in
6437	*32-bit*)
6438	  LD="${LD-ld} -melf32bsmip"
6439	  ;;
6440	*N32*)
6441	  LD="${LD-ld} -melf32bmipn32"
6442	  ;;
6443	*64-bit*)
6444	  LD="${LD-ld} -melf64bmip"
6445	;;
6446      esac
6447    else
6448      case `/usr/bin/file conftest.$ac_objext` in
6449	*32-bit*)
6450	  LD="${LD-ld} -32"
6451	  ;;
6452	*N32*)
6453	  LD="${LD-ld} -n32"
6454	  ;;
6455	*64-bit*)
6456	  LD="${LD-ld} -64"
6457	  ;;
6458      esac
6459    fi
6460  fi
6461  rm -rf conftest*
6462  ;;
6463
6464mips64*-*linux*)
6465  # Find out what ABI is being produced by ac_compile, and set linker
6466  # options accordingly.
6467  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6468  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6469  (eval $ac_compile) 2>&5
6470  ac_status=$?
6471  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6472  test $ac_status = 0; }; then
6473    emul=elf
6474    case `/usr/bin/file conftest.$ac_objext` in
6475      *32-bit*)
6476	emul="${emul}32"
6477	;;
6478      *64-bit*)
6479	emul="${emul}64"
6480	;;
6481    esac
6482    case `/usr/bin/file conftest.$ac_objext` in
6483      *MSB*)
6484	emul="${emul}btsmip"
6485	;;
6486      *LSB*)
6487	emul="${emul}ltsmip"
6488	;;
6489    esac
6490    case `/usr/bin/file conftest.$ac_objext` in
6491      *N32*)
6492	emul="${emul}n32"
6493	;;
6494    esac
6495    LD="${LD-ld} -m $emul"
6496  fi
6497  rm -rf conftest*
6498  ;;
6499
6500x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6501s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6502  # Find out what ABI is being produced by ac_compile, and set linker
6503  # options accordingly.  Note that the listed cases only cover the
6504  # situations where additional linker options are needed (such as when
6505  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6506  # vice versa); the common cases where no linker options are needed do
6507  # not appear in the list.
6508  echo 'int i;' > conftest.$ac_ext
6509  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6510  (eval $ac_compile) 2>&5
6511  ac_status=$?
6512  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6513  test $ac_status = 0; }; then
6514    case `/usr/bin/file conftest.o` in
6515      *32-bit*)
6516	case $host in
6517	  x86_64-*kfreebsd*-gnu)
6518	    LD="${LD-ld} -m elf_i386_fbsd"
6519	    ;;
6520	  x86_64-*linux*)
6521	    case `/usr/bin/file conftest.o` in
6522	      *x86-64*)
6523		LD="${LD-ld} -m elf32_x86_64"
6524		;;
6525	      *)
6526		LD="${LD-ld} -m elf_i386"
6527		;;
6528	    esac
6529	    ;;
6530	  powerpc64le-*linux*)
6531	    LD="${LD-ld} -m elf32lppclinux"
6532	    ;;
6533	  powerpc64-*linux*)
6534	    LD="${LD-ld} -m elf32ppclinux"
6535	    ;;
6536	  s390x-*linux*)
6537	    LD="${LD-ld} -m elf_s390"
6538	    ;;
6539	  sparc64-*linux*)
6540	    LD="${LD-ld} -m elf32_sparc"
6541	    ;;
6542	esac
6543	;;
6544      *64-bit*)
6545	case $host in
6546	  x86_64-*kfreebsd*-gnu)
6547	    LD="${LD-ld} -m elf_x86_64_fbsd"
6548	    ;;
6549	  x86_64-*linux*)
6550	    LD="${LD-ld} -m elf_x86_64"
6551	    ;;
6552	  powerpcle-*linux*)
6553	    LD="${LD-ld} -m elf64lppc"
6554	    ;;
6555	  powerpc-*linux*)
6556	    LD="${LD-ld} -m elf64ppc"
6557	    ;;
6558	  s390*-*linux*|s390*-*tpf*)
6559	    LD="${LD-ld} -m elf64_s390"
6560	    ;;
6561	  sparc*-*linux*)
6562	    LD="${LD-ld} -m elf64_sparc"
6563	    ;;
6564	esac
6565	;;
6566    esac
6567  fi
6568  rm -rf conftest*
6569  ;;
6570
6571*-*-sco3.2v5*)
6572  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6573  SAVE_CFLAGS=$CFLAGS
6574  CFLAGS="$CFLAGS -belf"
6575  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6576$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6577if ${lt_cv_cc_needs_belf+:} false; then :
6578  $as_echo_n "(cached) " >&6
6579else
6580  ac_ext=c
6581ac_cpp='$CPP $CPPFLAGS'
6582ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6583ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6584ac_compiler_gnu=$ac_cv_c_compiler_gnu
6585
6586     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6587/* end confdefs.h.  */
6588
6589int
6590main ()
6591{
6592
6593  ;
6594  return 0;
6595}
6596_ACEOF
6597if ac_fn_c_try_link "$LINENO"; then :
6598  lt_cv_cc_needs_belf=yes
6599else
6600  lt_cv_cc_needs_belf=no
6601fi
6602rm -f core conftest.err conftest.$ac_objext \
6603    conftest$ac_exeext conftest.$ac_ext
6604     ac_ext=c
6605ac_cpp='$CPP $CPPFLAGS'
6606ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6607ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6608ac_compiler_gnu=$ac_cv_c_compiler_gnu
6609
6610fi
6611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6612$as_echo "$lt_cv_cc_needs_belf" >&6; }
6613  if test yes != "$lt_cv_cc_needs_belf"; then
6614    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6615    CFLAGS=$SAVE_CFLAGS
6616  fi
6617  ;;
6618*-*solaris*)
6619  # Find out what ABI is being produced by ac_compile, and set linker
6620  # options accordingly.
6621  echo 'int i;' > conftest.$ac_ext
6622  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6623  (eval $ac_compile) 2>&5
6624  ac_status=$?
6625  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6626  test $ac_status = 0; }; then
6627    case `/usr/bin/file conftest.o` in
6628    *64-bit*)
6629      case $lt_cv_prog_gnu_ld in
6630      yes*)
6631        case $host in
6632        i?86-*-solaris*|x86_64-*-solaris*)
6633          LD="${LD-ld} -m elf_x86_64"
6634          ;;
6635        sparc*-*-solaris*)
6636          LD="${LD-ld} -m elf64_sparc"
6637          ;;
6638        esac
6639        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6640        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6641          LD=${LD-ld}_sol2
6642        fi
6643        ;;
6644      *)
6645	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6646	  LD="${LD-ld} -64"
6647	fi
6648	;;
6649      esac
6650      ;;
6651    esac
6652  fi
6653  rm -rf conftest*
6654  ;;
6655esac
6656
6657need_locks=$enable_libtool_lock
6658
6659if test -n "$ac_tool_prefix"; then
6660  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6661set dummy ${ac_tool_prefix}mt; ac_word=$2
6662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663$as_echo_n "checking for $ac_word... " >&6; }
6664if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6665  $as_echo_n "(cached) " >&6
6666else
6667  if test -n "$MANIFEST_TOOL"; then
6668  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6669else
6670as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671for as_dir in $PATH
6672do
6673  IFS=$as_save_IFS
6674  test -z "$as_dir" && as_dir=.
6675    for ac_exec_ext in '' $ac_executable_extensions; do
6676  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6677    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6678    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6679    break 2
6680  fi
6681done
6682  done
6683IFS=$as_save_IFS
6684
6685fi
6686fi
6687MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6688if test -n "$MANIFEST_TOOL"; then
6689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6690$as_echo "$MANIFEST_TOOL" >&6; }
6691else
6692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693$as_echo "no" >&6; }
6694fi
6695
6696
6697fi
6698if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6699  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6700  # Extract the first word of "mt", so it can be a program name with args.
6701set dummy mt; ac_word=$2
6702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703$as_echo_n "checking for $ac_word... " >&6; }
6704if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6705  $as_echo_n "(cached) " >&6
6706else
6707  if test -n "$ac_ct_MANIFEST_TOOL"; then
6708  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6709else
6710as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711for as_dir in $PATH
6712do
6713  IFS=$as_save_IFS
6714  test -z "$as_dir" && as_dir=.
6715    for ac_exec_ext in '' $ac_executable_extensions; do
6716  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6717    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6718    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6719    break 2
6720  fi
6721done
6722  done
6723IFS=$as_save_IFS
6724
6725fi
6726fi
6727ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6728if test -n "$ac_ct_MANIFEST_TOOL"; then
6729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6730$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6731else
6732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733$as_echo "no" >&6; }
6734fi
6735
6736  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6737    MANIFEST_TOOL=":"
6738  else
6739    case $cross_compiling:$ac_tool_warned in
6740yes:)
6741{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6742$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6743ac_tool_warned=yes ;;
6744esac
6745    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6746  fi
6747else
6748  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6749fi
6750
6751test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6753$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6754if ${lt_cv_path_mainfest_tool+:} false; then :
6755  $as_echo_n "(cached) " >&6
6756else
6757  lt_cv_path_mainfest_tool=no
6758  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6759  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6760  cat conftest.err >&5
6761  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6762    lt_cv_path_mainfest_tool=yes
6763  fi
6764  rm -f conftest*
6765fi
6766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6767$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6768if test yes != "$lt_cv_path_mainfest_tool"; then
6769  MANIFEST_TOOL=:
6770fi
6771
6772
6773
6774
6775
6776
6777  case $host_os in
6778    rhapsody* | darwin*)
6779    if test -n "$ac_tool_prefix"; then
6780  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6781set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6783$as_echo_n "checking for $ac_word... " >&6; }
6784if ${ac_cv_prog_DSYMUTIL+:} false; then :
6785  $as_echo_n "(cached) " >&6
6786else
6787  if test -n "$DSYMUTIL"; then
6788  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6789else
6790as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6791for as_dir in $PATH
6792do
6793  IFS=$as_save_IFS
6794  test -z "$as_dir" && as_dir=.
6795    for ac_exec_ext in '' $ac_executable_extensions; do
6796  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6797    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6798    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6799    break 2
6800  fi
6801done
6802  done
6803IFS=$as_save_IFS
6804
6805fi
6806fi
6807DSYMUTIL=$ac_cv_prog_DSYMUTIL
6808if test -n "$DSYMUTIL"; then
6809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6810$as_echo "$DSYMUTIL" >&6; }
6811else
6812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813$as_echo "no" >&6; }
6814fi
6815
6816
6817fi
6818if test -z "$ac_cv_prog_DSYMUTIL"; then
6819  ac_ct_DSYMUTIL=$DSYMUTIL
6820  # Extract the first word of "dsymutil", so it can be a program name with args.
6821set dummy dsymutil; ac_word=$2
6822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6823$as_echo_n "checking for $ac_word... " >&6; }
6824if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6825  $as_echo_n "(cached) " >&6
6826else
6827  if test -n "$ac_ct_DSYMUTIL"; then
6828  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6829else
6830as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831for as_dir in $PATH
6832do
6833  IFS=$as_save_IFS
6834  test -z "$as_dir" && as_dir=.
6835    for ac_exec_ext in '' $ac_executable_extensions; do
6836  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6837    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6838    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6839    break 2
6840  fi
6841done
6842  done
6843IFS=$as_save_IFS
6844
6845fi
6846fi
6847ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6848if test -n "$ac_ct_DSYMUTIL"; then
6849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6850$as_echo "$ac_ct_DSYMUTIL" >&6; }
6851else
6852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6853$as_echo "no" >&6; }
6854fi
6855
6856  if test "x$ac_ct_DSYMUTIL" = x; then
6857    DSYMUTIL=":"
6858  else
6859    case $cross_compiling:$ac_tool_warned in
6860yes:)
6861{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6862$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6863ac_tool_warned=yes ;;
6864esac
6865    DSYMUTIL=$ac_ct_DSYMUTIL
6866  fi
6867else
6868  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6869fi
6870
6871    if test -n "$ac_tool_prefix"; then
6872  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6873set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6875$as_echo_n "checking for $ac_word... " >&6; }
6876if ${ac_cv_prog_NMEDIT+:} false; then :
6877  $as_echo_n "(cached) " >&6
6878else
6879  if test -n "$NMEDIT"; then
6880  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6881else
6882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6883for as_dir in $PATH
6884do
6885  IFS=$as_save_IFS
6886  test -z "$as_dir" && as_dir=.
6887    for ac_exec_ext in '' $ac_executable_extensions; do
6888  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6889    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6890    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6891    break 2
6892  fi
6893done
6894  done
6895IFS=$as_save_IFS
6896
6897fi
6898fi
6899NMEDIT=$ac_cv_prog_NMEDIT
6900if test -n "$NMEDIT"; then
6901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6902$as_echo "$NMEDIT" >&6; }
6903else
6904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6905$as_echo "no" >&6; }
6906fi
6907
6908
6909fi
6910if test -z "$ac_cv_prog_NMEDIT"; then
6911  ac_ct_NMEDIT=$NMEDIT
6912  # Extract the first word of "nmedit", so it can be a program name with args.
6913set dummy nmedit; ac_word=$2
6914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6915$as_echo_n "checking for $ac_word... " >&6; }
6916if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6917  $as_echo_n "(cached) " >&6
6918else
6919  if test -n "$ac_ct_NMEDIT"; then
6920  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6921else
6922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6923for as_dir in $PATH
6924do
6925  IFS=$as_save_IFS
6926  test -z "$as_dir" && as_dir=.
6927    for ac_exec_ext in '' $ac_executable_extensions; do
6928  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6929    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6930    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6931    break 2
6932  fi
6933done
6934  done
6935IFS=$as_save_IFS
6936
6937fi
6938fi
6939ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6940if test -n "$ac_ct_NMEDIT"; then
6941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6942$as_echo "$ac_ct_NMEDIT" >&6; }
6943else
6944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6945$as_echo "no" >&6; }
6946fi
6947
6948  if test "x$ac_ct_NMEDIT" = x; then
6949    NMEDIT=":"
6950  else
6951    case $cross_compiling:$ac_tool_warned in
6952yes:)
6953{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6954$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6955ac_tool_warned=yes ;;
6956esac
6957    NMEDIT=$ac_ct_NMEDIT
6958  fi
6959else
6960  NMEDIT="$ac_cv_prog_NMEDIT"
6961fi
6962
6963    if test -n "$ac_tool_prefix"; then
6964  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6965set dummy ${ac_tool_prefix}lipo; ac_word=$2
6966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6967$as_echo_n "checking for $ac_word... " >&6; }
6968if ${ac_cv_prog_LIPO+:} false; then :
6969  $as_echo_n "(cached) " >&6
6970else
6971  if test -n "$LIPO"; then
6972  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6973else
6974as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975for as_dir in $PATH
6976do
6977  IFS=$as_save_IFS
6978  test -z "$as_dir" && as_dir=.
6979    for ac_exec_ext in '' $ac_executable_extensions; do
6980  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6981    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6982    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6983    break 2
6984  fi
6985done
6986  done
6987IFS=$as_save_IFS
6988
6989fi
6990fi
6991LIPO=$ac_cv_prog_LIPO
6992if test -n "$LIPO"; then
6993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6994$as_echo "$LIPO" >&6; }
6995else
6996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6997$as_echo "no" >&6; }
6998fi
6999
7000
7001fi
7002if test -z "$ac_cv_prog_LIPO"; then
7003  ac_ct_LIPO=$LIPO
7004  # Extract the first word of "lipo", so it can be a program name with args.
7005set dummy lipo; ac_word=$2
7006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7007$as_echo_n "checking for $ac_word... " >&6; }
7008if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7009  $as_echo_n "(cached) " >&6
7010else
7011  if test -n "$ac_ct_LIPO"; then
7012  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7013else
7014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015for as_dir in $PATH
7016do
7017  IFS=$as_save_IFS
7018  test -z "$as_dir" && as_dir=.
7019    for ac_exec_ext in '' $ac_executable_extensions; do
7020  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7021    ac_cv_prog_ac_ct_LIPO="lipo"
7022    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7023    break 2
7024  fi
7025done
7026  done
7027IFS=$as_save_IFS
7028
7029fi
7030fi
7031ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7032if test -n "$ac_ct_LIPO"; then
7033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7034$as_echo "$ac_ct_LIPO" >&6; }
7035else
7036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7037$as_echo "no" >&6; }
7038fi
7039
7040  if test "x$ac_ct_LIPO" = x; then
7041    LIPO=":"
7042  else
7043    case $cross_compiling:$ac_tool_warned in
7044yes:)
7045{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7046$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7047ac_tool_warned=yes ;;
7048esac
7049    LIPO=$ac_ct_LIPO
7050  fi
7051else
7052  LIPO="$ac_cv_prog_LIPO"
7053fi
7054
7055    if test -n "$ac_tool_prefix"; then
7056  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7057set dummy ${ac_tool_prefix}otool; ac_word=$2
7058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059$as_echo_n "checking for $ac_word... " >&6; }
7060if ${ac_cv_prog_OTOOL+:} false; then :
7061  $as_echo_n "(cached) " >&6
7062else
7063  if test -n "$OTOOL"; then
7064  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7065else
7066as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067for as_dir in $PATH
7068do
7069  IFS=$as_save_IFS
7070  test -z "$as_dir" && as_dir=.
7071    for ac_exec_ext in '' $ac_executable_extensions; do
7072  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7073    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7074    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7075    break 2
7076  fi
7077done
7078  done
7079IFS=$as_save_IFS
7080
7081fi
7082fi
7083OTOOL=$ac_cv_prog_OTOOL
7084if test -n "$OTOOL"; then
7085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7086$as_echo "$OTOOL" >&6; }
7087else
7088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089$as_echo "no" >&6; }
7090fi
7091
7092
7093fi
7094if test -z "$ac_cv_prog_OTOOL"; then
7095  ac_ct_OTOOL=$OTOOL
7096  # Extract the first word of "otool", so it can be a program name with args.
7097set dummy otool; ac_word=$2
7098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7099$as_echo_n "checking for $ac_word... " >&6; }
7100if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7101  $as_echo_n "(cached) " >&6
7102else
7103  if test -n "$ac_ct_OTOOL"; then
7104  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7105else
7106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7107for as_dir in $PATH
7108do
7109  IFS=$as_save_IFS
7110  test -z "$as_dir" && as_dir=.
7111    for ac_exec_ext in '' $ac_executable_extensions; do
7112  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7113    ac_cv_prog_ac_ct_OTOOL="otool"
7114    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7115    break 2
7116  fi
7117done
7118  done
7119IFS=$as_save_IFS
7120
7121fi
7122fi
7123ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7124if test -n "$ac_ct_OTOOL"; then
7125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7126$as_echo "$ac_ct_OTOOL" >&6; }
7127else
7128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7129$as_echo "no" >&6; }
7130fi
7131
7132  if test "x$ac_ct_OTOOL" = x; then
7133    OTOOL=":"
7134  else
7135    case $cross_compiling:$ac_tool_warned in
7136yes:)
7137{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7138$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7139ac_tool_warned=yes ;;
7140esac
7141    OTOOL=$ac_ct_OTOOL
7142  fi
7143else
7144  OTOOL="$ac_cv_prog_OTOOL"
7145fi
7146
7147    if test -n "$ac_tool_prefix"; then
7148  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7149set dummy ${ac_tool_prefix}otool64; ac_word=$2
7150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7151$as_echo_n "checking for $ac_word... " >&6; }
7152if ${ac_cv_prog_OTOOL64+:} false; then :
7153  $as_echo_n "(cached) " >&6
7154else
7155  if test -n "$OTOOL64"; then
7156  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7157else
7158as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7159for as_dir in $PATH
7160do
7161  IFS=$as_save_IFS
7162  test -z "$as_dir" && as_dir=.
7163    for ac_exec_ext in '' $ac_executable_extensions; do
7164  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7165    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7166    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7167    break 2
7168  fi
7169done
7170  done
7171IFS=$as_save_IFS
7172
7173fi
7174fi
7175OTOOL64=$ac_cv_prog_OTOOL64
7176if test -n "$OTOOL64"; then
7177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7178$as_echo "$OTOOL64" >&6; }
7179else
7180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181$as_echo "no" >&6; }
7182fi
7183
7184
7185fi
7186if test -z "$ac_cv_prog_OTOOL64"; then
7187  ac_ct_OTOOL64=$OTOOL64
7188  # Extract the first word of "otool64", so it can be a program name with args.
7189set dummy otool64; ac_word=$2
7190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191$as_echo_n "checking for $ac_word... " >&6; }
7192if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7193  $as_echo_n "(cached) " >&6
7194else
7195  if test -n "$ac_ct_OTOOL64"; then
7196  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7197else
7198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199for as_dir in $PATH
7200do
7201  IFS=$as_save_IFS
7202  test -z "$as_dir" && as_dir=.
7203    for ac_exec_ext in '' $ac_executable_extensions; do
7204  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7205    ac_cv_prog_ac_ct_OTOOL64="otool64"
7206    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7207    break 2
7208  fi
7209done
7210  done
7211IFS=$as_save_IFS
7212
7213fi
7214fi
7215ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7216if test -n "$ac_ct_OTOOL64"; then
7217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7218$as_echo "$ac_ct_OTOOL64" >&6; }
7219else
7220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221$as_echo "no" >&6; }
7222fi
7223
7224  if test "x$ac_ct_OTOOL64" = x; then
7225    OTOOL64=":"
7226  else
7227    case $cross_compiling:$ac_tool_warned in
7228yes:)
7229{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7230$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7231ac_tool_warned=yes ;;
7232esac
7233    OTOOL64=$ac_ct_OTOOL64
7234  fi
7235else
7236  OTOOL64="$ac_cv_prog_OTOOL64"
7237fi
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7266$as_echo_n "checking for -single_module linker flag... " >&6; }
7267if ${lt_cv_apple_cc_single_mod+:} false; then :
7268  $as_echo_n "(cached) " >&6
7269else
7270  lt_cv_apple_cc_single_mod=no
7271      if test -z "$LT_MULTI_MODULE"; then
7272	# By default we will add the -single_module flag. You can override
7273	# by either setting the environment variable LT_MULTI_MODULE
7274	# non-empty at configure time, or by adding -multi_module to the
7275	# link flags.
7276	rm -rf libconftest.dylib*
7277	echo "int foo(void){return 1;}" > conftest.c
7278	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7279-dynamiclib -Wl,-single_module conftest.c" >&5
7280	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7281	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7282        _lt_result=$?
7283	# If there is a non-empty error log, and "single_module"
7284	# appears in it, assume the flag caused a linker warning
7285        if test -s conftest.err && $GREP single_module conftest.err; then
7286	  cat conftest.err >&5
7287	# Otherwise, if the output was created with a 0 exit code from
7288	# the compiler, it worked.
7289	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7290	  lt_cv_apple_cc_single_mod=yes
7291	else
7292	  cat conftest.err >&5
7293	fi
7294	rm -rf libconftest.dylib*
7295	rm -f conftest.*
7296      fi
7297fi
7298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7299$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7300
7301    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7302$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7303if ${lt_cv_ld_exported_symbols_list+:} false; then :
7304  $as_echo_n "(cached) " >&6
7305else
7306  lt_cv_ld_exported_symbols_list=no
7307      save_LDFLAGS=$LDFLAGS
7308      echo "_main" > conftest.sym
7309      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7310      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7311/* end confdefs.h.  */
7312
7313int
7314main ()
7315{
7316
7317  ;
7318  return 0;
7319}
7320_ACEOF
7321if ac_fn_c_try_link "$LINENO"; then :
7322  lt_cv_ld_exported_symbols_list=yes
7323else
7324  lt_cv_ld_exported_symbols_list=no
7325fi
7326rm -f core conftest.err conftest.$ac_objext \
7327    conftest$ac_exeext conftest.$ac_ext
7328	LDFLAGS=$save_LDFLAGS
7329
7330fi
7331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7332$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7333
7334    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7335$as_echo_n "checking for -force_load linker flag... " >&6; }
7336if ${lt_cv_ld_force_load+:} false; then :
7337  $as_echo_n "(cached) " >&6
7338else
7339  lt_cv_ld_force_load=no
7340      cat > conftest.c << _LT_EOF
7341int forced_loaded() { return 2;}
7342_LT_EOF
7343      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7344      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7345      echo "$AR cr libconftest.a conftest.o" >&5
7346      $AR cr libconftest.a conftest.o 2>&5
7347      echo "$RANLIB libconftest.a" >&5
7348      $RANLIB libconftest.a 2>&5
7349      cat > conftest.c << _LT_EOF
7350int main() { return 0;}
7351_LT_EOF
7352      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7353      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7354      _lt_result=$?
7355      if test -s conftest.err && $GREP force_load conftest.err; then
7356	cat conftest.err >&5
7357      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7358	lt_cv_ld_force_load=yes
7359      else
7360	cat conftest.err >&5
7361      fi
7362        rm -f conftest.err libconftest.a conftest conftest.c
7363        rm -rf conftest.dSYM
7364
7365fi
7366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7367$as_echo "$lt_cv_ld_force_load" >&6; }
7368    case $host_os in
7369    rhapsody* | darwin1.[012])
7370      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7371    darwin1.*)
7372      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7373    darwin*) # darwin 5.x on
7374      # if running on 10.5 or later, the deployment target defaults
7375      # to the OS version, if on x86, and 10.4, the deployment
7376      # target defaults to 10.4. Don't you love it?
7377      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7378	10.0,*86*-darwin8*|10.0,*-darwin[912]*)
7379	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7380	10.[012][,.]*)
7381	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7382	10.*|11.*)
7383	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7384      esac
7385    ;;
7386  esac
7387    if test yes = "$lt_cv_apple_cc_single_mod"; then
7388      _lt_dar_single_mod='$single_module'
7389    fi
7390    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7391      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7392    else
7393      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7394    fi
7395    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7396      _lt_dsymutil='~$DSYMUTIL $lib || :'
7397    else
7398      _lt_dsymutil=
7399    fi
7400    ;;
7401  esac
7402
7403# func_munge_path_list VARIABLE PATH
7404# -----------------------------------
7405# VARIABLE is name of variable containing _space_ separated list of
7406# directories to be munged by the contents of PATH, which is string
7407# having a format:
7408# "DIR[:DIR]:"
7409#       string "DIR[ DIR]" will be prepended to VARIABLE
7410# ":DIR[:DIR]"
7411#       string "DIR[ DIR]" will be appended to VARIABLE
7412# "DIRP[:DIRP]::[DIRA:]DIRA"
7413#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7414#       "DIRA[ DIRA]" will be appended to VARIABLE
7415# "DIR[:DIR]"
7416#       VARIABLE will be replaced by "DIR[ DIR]"
7417func_munge_path_list ()
7418{
7419    case x$2 in
7420    x)
7421        ;;
7422    *:)
7423        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7424        ;;
7425    x:*)
7426        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7427        ;;
7428    *::*)
7429        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7430        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7431        ;;
7432    *)
7433        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7434        ;;
7435    esac
7436}
7437
7438ac_ext=c
7439ac_cpp='$CPP $CPPFLAGS'
7440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7442ac_compiler_gnu=$ac_cv_c_compiler_gnu
7443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7444$as_echo_n "checking how to run the C preprocessor... " >&6; }
7445# On Suns, sometimes $CPP names a directory.
7446if test -n "$CPP" && test -d "$CPP"; then
7447  CPP=
7448fi
7449if test -z "$CPP"; then
7450  if ${ac_cv_prog_CPP+:} false; then :
7451  $as_echo_n "(cached) " >&6
7452else
7453      # Double quotes because CPP needs to be expanded
7454    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7455    do
7456      ac_preproc_ok=false
7457for ac_c_preproc_warn_flag in '' yes
7458do
7459  # Use a header file that comes with gcc, so configuring glibc
7460  # with a fresh cross-compiler works.
7461  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7462  # <limits.h> exists even on freestanding compilers.
7463  # On the NeXT, cc -E runs the code through the compiler's parser,
7464  # not just through cpp. "Syntax error" is here to catch this case.
7465  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7466/* end confdefs.h.  */
7467#ifdef __STDC__
7468# include <limits.h>
7469#else
7470# include <assert.h>
7471#endif
7472		     Syntax error
7473_ACEOF
7474if ac_fn_c_try_cpp "$LINENO"; then :
7475
7476else
7477  # Broken: fails on valid input.
7478continue
7479fi
7480rm -f conftest.err conftest.i conftest.$ac_ext
7481
7482  # OK, works on sane cases.  Now check whether nonexistent headers
7483  # can be detected and how.
7484  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7485/* end confdefs.h.  */
7486#include <ac_nonexistent.h>
7487_ACEOF
7488if ac_fn_c_try_cpp "$LINENO"; then :
7489  # Broken: success on invalid input.
7490continue
7491else
7492  # Passes both tests.
7493ac_preproc_ok=:
7494break
7495fi
7496rm -f conftest.err conftest.i conftest.$ac_ext
7497
7498done
7499# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7500rm -f conftest.i conftest.err conftest.$ac_ext
7501if $ac_preproc_ok; then :
7502  break
7503fi
7504
7505    done
7506    ac_cv_prog_CPP=$CPP
7507
7508fi
7509  CPP=$ac_cv_prog_CPP
7510else
7511  ac_cv_prog_CPP=$CPP
7512fi
7513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7514$as_echo "$CPP" >&6; }
7515ac_preproc_ok=false
7516for ac_c_preproc_warn_flag in '' yes
7517do
7518  # Use a header file that comes with gcc, so configuring glibc
7519  # with a fresh cross-compiler works.
7520  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7521  # <limits.h> exists even on freestanding compilers.
7522  # On the NeXT, cc -E runs the code through the compiler's parser,
7523  # not just through cpp. "Syntax error" is here to catch this case.
7524  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7525/* end confdefs.h.  */
7526#ifdef __STDC__
7527# include <limits.h>
7528#else
7529# include <assert.h>
7530#endif
7531		     Syntax error
7532_ACEOF
7533if ac_fn_c_try_cpp "$LINENO"; then :
7534
7535else
7536  # Broken: fails on valid input.
7537continue
7538fi
7539rm -f conftest.err conftest.i conftest.$ac_ext
7540
7541  # OK, works on sane cases.  Now check whether nonexistent headers
7542  # can be detected and how.
7543  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7544/* end confdefs.h.  */
7545#include <ac_nonexistent.h>
7546_ACEOF
7547if ac_fn_c_try_cpp "$LINENO"; then :
7548  # Broken: success on invalid input.
7549continue
7550else
7551  # Passes both tests.
7552ac_preproc_ok=:
7553break
7554fi
7555rm -f conftest.err conftest.i conftest.$ac_ext
7556
7557done
7558# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7559rm -f conftest.i conftest.err conftest.$ac_ext
7560if $ac_preproc_ok; then :
7561
7562else
7563  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7564$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7565as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7566See \`config.log' for more details" "$LINENO" 5; }
7567fi
7568
7569ac_ext=c
7570ac_cpp='$CPP $CPPFLAGS'
7571ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7572ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7573ac_compiler_gnu=$ac_cv_c_compiler_gnu
7574
7575
7576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7577$as_echo_n "checking for ANSI C header files... " >&6; }
7578if ${ac_cv_header_stdc+:} false; then :
7579  $as_echo_n "(cached) " >&6
7580else
7581  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7582/* end confdefs.h.  */
7583#include <stdlib.h>
7584#include <stdarg.h>
7585#include <string.h>
7586#include <float.h>
7587
7588int
7589main ()
7590{
7591
7592  ;
7593  return 0;
7594}
7595_ACEOF
7596if ac_fn_c_try_compile "$LINENO"; then :
7597  ac_cv_header_stdc=yes
7598else
7599  ac_cv_header_stdc=no
7600fi
7601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7602
7603if test $ac_cv_header_stdc = yes; then
7604  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7605  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7606/* end confdefs.h.  */
7607#include <string.h>
7608
7609_ACEOF
7610if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7611  $EGREP "memchr" >/dev/null 2>&1; then :
7612
7613else
7614  ac_cv_header_stdc=no
7615fi
7616rm -f conftest*
7617
7618fi
7619
7620if test $ac_cv_header_stdc = yes; then
7621  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7622  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7623/* end confdefs.h.  */
7624#include <stdlib.h>
7625
7626_ACEOF
7627if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7628  $EGREP "free" >/dev/null 2>&1; then :
7629
7630else
7631  ac_cv_header_stdc=no
7632fi
7633rm -f conftest*
7634
7635fi
7636
7637if test $ac_cv_header_stdc = yes; then
7638  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7639  if test "$cross_compiling" = yes; then :
7640  :
7641else
7642  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7643/* end confdefs.h.  */
7644#include <ctype.h>
7645#include <stdlib.h>
7646#if ((' ' & 0x0FF) == 0x020)
7647# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7648# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7649#else
7650# define ISLOWER(c) \
7651		   (('a' <= (c) && (c) <= 'i') \
7652		     || ('j' <= (c) && (c) <= 'r') \
7653		     || ('s' <= (c) && (c) <= 'z'))
7654# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7655#endif
7656
7657#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7658int
7659main ()
7660{
7661  int i;
7662  for (i = 0; i < 256; i++)
7663    if (XOR (islower (i), ISLOWER (i))
7664	|| toupper (i) != TOUPPER (i))
7665      return 2;
7666  return 0;
7667}
7668_ACEOF
7669if ac_fn_c_try_run "$LINENO"; then :
7670
7671else
7672  ac_cv_header_stdc=no
7673fi
7674rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7675  conftest.$ac_objext conftest.beam conftest.$ac_ext
7676fi
7677
7678fi
7679fi
7680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7681$as_echo "$ac_cv_header_stdc" >&6; }
7682if test $ac_cv_header_stdc = yes; then
7683
7684$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7685
7686fi
7687
7688# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7689for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7690		  inttypes.h stdint.h unistd.h
7691do :
7692  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7693ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7694"
7695if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7696  cat >>confdefs.h <<_ACEOF
7697#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7698_ACEOF
7699
7700fi
7701
7702done
7703
7704
7705for ac_header in dlfcn.h
7706do :
7707  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7708"
7709if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7710  cat >>confdefs.h <<_ACEOF
7711#define HAVE_DLFCN_H 1
7712_ACEOF
7713
7714fi
7715
7716done
7717
7718
7719
7720
7721
7722# Set options
7723enable_dlopen=yes
7724enable_win32_dll=yes
7725
7726case $host in
7727*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7728  if test -n "$ac_tool_prefix"; then
7729  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7730set dummy ${ac_tool_prefix}as; ac_word=$2
7731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7732$as_echo_n "checking for $ac_word... " >&6; }
7733if ${ac_cv_prog_AS+:} false; then :
7734  $as_echo_n "(cached) " >&6
7735else
7736  if test -n "$AS"; then
7737  ac_cv_prog_AS="$AS" # Let the user override the test.
7738else
7739as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7740for as_dir in $PATH
7741do
7742  IFS=$as_save_IFS
7743  test -z "$as_dir" && as_dir=.
7744    for ac_exec_ext in '' $ac_executable_extensions; do
7745  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7746    ac_cv_prog_AS="${ac_tool_prefix}as"
7747    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7748    break 2
7749  fi
7750done
7751  done
7752IFS=$as_save_IFS
7753
7754fi
7755fi
7756AS=$ac_cv_prog_AS
7757if test -n "$AS"; then
7758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7759$as_echo "$AS" >&6; }
7760else
7761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7762$as_echo "no" >&6; }
7763fi
7764
7765
7766fi
7767if test -z "$ac_cv_prog_AS"; then
7768  ac_ct_AS=$AS
7769  # Extract the first word of "as", so it can be a program name with args.
7770set dummy as; ac_word=$2
7771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7772$as_echo_n "checking for $ac_word... " >&6; }
7773if ${ac_cv_prog_ac_ct_AS+:} false; then :
7774  $as_echo_n "(cached) " >&6
7775else
7776  if test -n "$ac_ct_AS"; then
7777  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7778else
7779as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7780for as_dir in $PATH
7781do
7782  IFS=$as_save_IFS
7783  test -z "$as_dir" && as_dir=.
7784    for ac_exec_ext in '' $ac_executable_extensions; do
7785  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7786    ac_cv_prog_ac_ct_AS="as"
7787    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7788    break 2
7789  fi
7790done
7791  done
7792IFS=$as_save_IFS
7793
7794fi
7795fi
7796ac_ct_AS=$ac_cv_prog_ac_ct_AS
7797if test -n "$ac_ct_AS"; then
7798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7799$as_echo "$ac_ct_AS" >&6; }
7800else
7801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802$as_echo "no" >&6; }
7803fi
7804
7805  if test "x$ac_ct_AS" = x; then
7806    AS="false"
7807  else
7808    case $cross_compiling:$ac_tool_warned in
7809yes:)
7810{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7811$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7812ac_tool_warned=yes ;;
7813esac
7814    AS=$ac_ct_AS
7815  fi
7816else
7817  AS="$ac_cv_prog_AS"
7818fi
7819
7820  if test -n "$ac_tool_prefix"; then
7821  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7822set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7824$as_echo_n "checking for $ac_word... " >&6; }
7825if ${ac_cv_prog_DLLTOOL+:} false; then :
7826  $as_echo_n "(cached) " >&6
7827else
7828  if test -n "$DLLTOOL"; then
7829  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7830else
7831as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7832for as_dir in $PATH
7833do
7834  IFS=$as_save_IFS
7835  test -z "$as_dir" && as_dir=.
7836    for ac_exec_ext in '' $ac_executable_extensions; do
7837  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7838    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7839    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7840    break 2
7841  fi
7842done
7843  done
7844IFS=$as_save_IFS
7845
7846fi
7847fi
7848DLLTOOL=$ac_cv_prog_DLLTOOL
7849if test -n "$DLLTOOL"; then
7850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7851$as_echo "$DLLTOOL" >&6; }
7852else
7853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7854$as_echo "no" >&6; }
7855fi
7856
7857
7858fi
7859if test -z "$ac_cv_prog_DLLTOOL"; then
7860  ac_ct_DLLTOOL=$DLLTOOL
7861  # Extract the first word of "dlltool", so it can be a program name with args.
7862set dummy dlltool; ac_word=$2
7863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7864$as_echo_n "checking for $ac_word... " >&6; }
7865if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7866  $as_echo_n "(cached) " >&6
7867else
7868  if test -n "$ac_ct_DLLTOOL"; then
7869  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7870else
7871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7872for as_dir in $PATH
7873do
7874  IFS=$as_save_IFS
7875  test -z "$as_dir" && as_dir=.
7876    for ac_exec_ext in '' $ac_executable_extensions; do
7877  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7878    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7879    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7880    break 2
7881  fi
7882done
7883  done
7884IFS=$as_save_IFS
7885
7886fi
7887fi
7888ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7889if test -n "$ac_ct_DLLTOOL"; then
7890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7891$as_echo "$ac_ct_DLLTOOL" >&6; }
7892else
7893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7894$as_echo "no" >&6; }
7895fi
7896
7897  if test "x$ac_ct_DLLTOOL" = x; then
7898    DLLTOOL="false"
7899  else
7900    case $cross_compiling:$ac_tool_warned in
7901yes:)
7902{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7903$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7904ac_tool_warned=yes ;;
7905esac
7906    DLLTOOL=$ac_ct_DLLTOOL
7907  fi
7908else
7909  DLLTOOL="$ac_cv_prog_DLLTOOL"
7910fi
7911
7912  if test -n "$ac_tool_prefix"; then
7913  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7914set dummy ${ac_tool_prefix}objdump; ac_word=$2
7915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7916$as_echo_n "checking for $ac_word... " >&6; }
7917if ${ac_cv_prog_OBJDUMP+:} false; then :
7918  $as_echo_n "(cached) " >&6
7919else
7920  if test -n "$OBJDUMP"; then
7921  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7922else
7923as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924for as_dir in $PATH
7925do
7926  IFS=$as_save_IFS
7927  test -z "$as_dir" && as_dir=.
7928    for ac_exec_ext in '' $ac_executable_extensions; do
7929  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7930    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7931    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932    break 2
7933  fi
7934done
7935  done
7936IFS=$as_save_IFS
7937
7938fi
7939fi
7940OBJDUMP=$ac_cv_prog_OBJDUMP
7941if test -n "$OBJDUMP"; then
7942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7943$as_echo "$OBJDUMP" >&6; }
7944else
7945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946$as_echo "no" >&6; }
7947fi
7948
7949
7950fi
7951if test -z "$ac_cv_prog_OBJDUMP"; then
7952  ac_ct_OBJDUMP=$OBJDUMP
7953  # Extract the first word of "objdump", so it can be a program name with args.
7954set dummy objdump; ac_word=$2
7955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956$as_echo_n "checking for $ac_word... " >&6; }
7957if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7958  $as_echo_n "(cached) " >&6
7959else
7960  if test -n "$ac_ct_OBJDUMP"; then
7961  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7962else
7963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7964for as_dir in $PATH
7965do
7966  IFS=$as_save_IFS
7967  test -z "$as_dir" && as_dir=.
7968    for ac_exec_ext in '' $ac_executable_extensions; do
7969  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7970    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7971    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7972    break 2
7973  fi
7974done
7975  done
7976IFS=$as_save_IFS
7977
7978fi
7979fi
7980ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7981if test -n "$ac_ct_OBJDUMP"; then
7982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7983$as_echo "$ac_ct_OBJDUMP" >&6; }
7984else
7985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986$as_echo "no" >&6; }
7987fi
7988
7989  if test "x$ac_ct_OBJDUMP" = x; then
7990    OBJDUMP="false"
7991  else
7992    case $cross_compiling:$ac_tool_warned in
7993yes:)
7994{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7995$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7996ac_tool_warned=yes ;;
7997esac
7998    OBJDUMP=$ac_ct_OBJDUMP
7999  fi
8000else
8001  OBJDUMP="$ac_cv_prog_OBJDUMP"
8002fi
8003
8004  ;;
8005esac
8006
8007test -z "$AS" && AS=as
8008
8009
8010
8011
8012
8013test -z "$DLLTOOL" && DLLTOOL=dlltool
8014
8015
8016
8017
8018
8019test -z "$OBJDUMP" && OBJDUMP=objdump
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029            # Check whether --enable-shared was given.
8030if test "${enable_shared+set}" = set; then :
8031  enableval=$enable_shared; p=${PACKAGE-default}
8032    case $enableval in
8033    yes) enable_shared=yes ;;
8034    no) enable_shared=no ;;
8035    *)
8036      enable_shared=no
8037      # Look at the argument we got.  We use all the common list separators.
8038      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8039      for pkg in $enableval; do
8040	IFS=$lt_save_ifs
8041	if test "X$pkg" = "X$p"; then
8042	  enable_shared=yes
8043	fi
8044      done
8045      IFS=$lt_save_ifs
8046      ;;
8047    esac
8048else
8049  enable_shared=yes
8050fi
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060  # Check whether --enable-static was given.
8061if test "${enable_static+set}" = set; then :
8062  enableval=$enable_static; p=${PACKAGE-default}
8063    case $enableval in
8064    yes) enable_static=yes ;;
8065    no) enable_static=no ;;
8066    *)
8067     enable_static=no
8068      # Look at the argument we got.  We use all the common list separators.
8069      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8070      for pkg in $enableval; do
8071	IFS=$lt_save_ifs
8072	if test "X$pkg" = "X$p"; then
8073	  enable_static=yes
8074	fi
8075      done
8076      IFS=$lt_save_ifs
8077      ;;
8078    esac
8079else
8080  enable_static=yes
8081fi
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092# Check whether --with-pic was given.
8093if test "${with_pic+set}" = set; then :
8094  withval=$with_pic; lt_p=${PACKAGE-default}
8095    case $withval in
8096    yes|no) pic_mode=$withval ;;
8097    *)
8098      pic_mode=default
8099      # Look at the argument we got.  We use all the common list separators.
8100      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8101      for lt_pkg in $withval; do
8102	IFS=$lt_save_ifs
8103	if test "X$lt_pkg" = "X$lt_p"; then
8104	  pic_mode=yes
8105	fi
8106      done
8107      IFS=$lt_save_ifs
8108      ;;
8109    esac
8110else
8111  pic_mode=default
8112fi
8113
8114
8115
8116
8117
8118
8119
8120
8121  # Check whether --enable-fast-install was given.
8122if test "${enable_fast_install+set}" = set; then :
8123  enableval=$enable_fast_install; p=${PACKAGE-default}
8124    case $enableval in
8125    yes) enable_fast_install=yes ;;
8126    no) enable_fast_install=no ;;
8127    *)
8128      enable_fast_install=no
8129      # Look at the argument we got.  We use all the common list separators.
8130      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8131      for pkg in $enableval; do
8132	IFS=$lt_save_ifs
8133	if test "X$pkg" = "X$p"; then
8134	  enable_fast_install=yes
8135	fi
8136      done
8137      IFS=$lt_save_ifs
8138      ;;
8139    esac
8140else
8141  enable_fast_install=yes
8142fi
8143
8144
8145
8146
8147
8148
8149
8150
8151  shared_archive_member_spec=
8152case $host,$enable_shared in
8153power*-*-aix[5-9]*,yes)
8154  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8155$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8156
8157# Check whether --with-aix-soname was given.
8158if test "${with_aix_soname+set}" = set; then :
8159  withval=$with_aix_soname; case $withval in
8160    aix|svr4|both)
8161      ;;
8162    *)
8163      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8164      ;;
8165    esac
8166    lt_cv_with_aix_soname=$with_aix_soname
8167else
8168  if ${lt_cv_with_aix_soname+:} false; then :
8169  $as_echo_n "(cached) " >&6
8170else
8171  lt_cv_with_aix_soname=aix
8172fi
8173
8174    with_aix_soname=$lt_cv_with_aix_soname
8175fi
8176
8177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8178$as_echo "$with_aix_soname" >&6; }
8179  if test aix != "$with_aix_soname"; then
8180    # For the AIX way of multilib, we name the shared archive member
8181    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8182    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8183    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8184    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8185    if test 64 = "${OBJECT_MODE-32}"; then
8186      shared_archive_member_spec=shr_64
8187    else
8188      shared_archive_member_spec=shr
8189    fi
8190  fi
8191  ;;
8192*)
8193  with_aix_soname=aix
8194  ;;
8195esac
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206# This can be used to rebuild libtool when needed
8207LIBTOOL_DEPS=$ltmain
8208
8209# Always use our own libtool.
8210LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241test -z "$LN_S" && LN_S="ln -s"
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256if test -n "${ZSH_VERSION+set}"; then
8257   setopt NO_GLOB_SUBST
8258fi
8259
8260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8261$as_echo_n "checking for objdir... " >&6; }
8262if ${lt_cv_objdir+:} false; then :
8263  $as_echo_n "(cached) " >&6
8264else
8265  rm -f .libs 2>/dev/null
8266mkdir .libs 2>/dev/null
8267if test -d .libs; then
8268  lt_cv_objdir=.libs
8269else
8270  # MS-DOS does not allow filenames that begin with a dot.
8271  lt_cv_objdir=_libs
8272fi
8273rmdir .libs 2>/dev/null
8274fi
8275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8276$as_echo "$lt_cv_objdir" >&6; }
8277objdir=$lt_cv_objdir
8278
8279
8280
8281
8282
8283cat >>confdefs.h <<_ACEOF
8284#define LT_OBJDIR "$lt_cv_objdir/"
8285_ACEOF
8286
8287
8288
8289
8290case $host_os in
8291aix3*)
8292  # AIX sometimes has problems with the GCC collect2 program.  For some
8293  # reason, if we set the COLLECT_NAMES environment variable, the problems
8294  # vanish in a puff of smoke.
8295  if test set != "${COLLECT_NAMES+set}"; then
8296    COLLECT_NAMES=
8297    export COLLECT_NAMES
8298  fi
8299  ;;
8300esac
8301
8302# Global variables:
8303ofile=libtool
8304can_build_shared=yes
8305
8306# All known linkers require a '.a' archive for static linking (except MSVC,
8307# which needs '.lib').
8308libext=a
8309
8310with_gnu_ld=$lt_cv_prog_gnu_ld
8311
8312old_CC=$CC
8313old_CFLAGS=$CFLAGS
8314
8315# Set sane defaults for various variables
8316test -z "$CC" && CC=cc
8317test -z "$LTCC" && LTCC=$CC
8318test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8319test -z "$LD" && LD=ld
8320test -z "$ac_objext" && ac_objext=o
8321
8322func_cc_basename $compiler
8323cc_basename=$func_cc_basename_result
8324
8325
8326# Only perform the check for file, if the check method requires it
8327test -z "$MAGIC_CMD" && MAGIC_CMD=file
8328case $deplibs_check_method in
8329file_magic*)
8330  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8331    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8332$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8333if ${lt_cv_path_MAGIC_CMD+:} false; then :
8334  $as_echo_n "(cached) " >&6
8335else
8336  case $MAGIC_CMD in
8337[\\/*] |  ?:[\\/]*)
8338  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8339  ;;
8340*)
8341  lt_save_MAGIC_CMD=$MAGIC_CMD
8342  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8343  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8344  for ac_dir in $ac_dummy; do
8345    IFS=$lt_save_ifs
8346    test -z "$ac_dir" && ac_dir=.
8347    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8348      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8349      if test -n "$file_magic_test_file"; then
8350	case $deplibs_check_method in
8351	"file_magic "*)
8352	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8354	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8355	    $EGREP "$file_magic_regex" > /dev/null; then
8356	    :
8357	  else
8358	    cat <<_LT_EOF 1>&2
8359
8360*** Warning: the command libtool uses to detect shared libraries,
8361*** $file_magic_cmd, produces output that libtool cannot recognize.
8362*** The result is that libtool may fail to recognize shared libraries
8363*** as such.  This will affect the creation of libtool libraries that
8364*** depend on shared libraries, but programs linked with such libtool
8365*** libraries will work regardless of this problem.  Nevertheless, you
8366*** may want to report the problem to your system manager and/or to
8367*** bug-libtool@gnu.org
8368
8369_LT_EOF
8370	  fi ;;
8371	esac
8372      fi
8373      break
8374    fi
8375  done
8376  IFS=$lt_save_ifs
8377  MAGIC_CMD=$lt_save_MAGIC_CMD
8378  ;;
8379esac
8380fi
8381
8382MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8383if test -n "$MAGIC_CMD"; then
8384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385$as_echo "$MAGIC_CMD" >&6; }
8386else
8387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388$as_echo "no" >&6; }
8389fi
8390
8391
8392
8393
8394
8395if test -z "$lt_cv_path_MAGIC_CMD"; then
8396  if test -n "$ac_tool_prefix"; then
8397    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8398$as_echo_n "checking for file... " >&6; }
8399if ${lt_cv_path_MAGIC_CMD+:} false; then :
8400  $as_echo_n "(cached) " >&6
8401else
8402  case $MAGIC_CMD in
8403[\\/*] |  ?:[\\/]*)
8404  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8405  ;;
8406*)
8407  lt_save_MAGIC_CMD=$MAGIC_CMD
8408  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8409  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8410  for ac_dir in $ac_dummy; do
8411    IFS=$lt_save_ifs
8412    test -z "$ac_dir" && ac_dir=.
8413    if test -f "$ac_dir/file"; then
8414      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8415      if test -n "$file_magic_test_file"; then
8416	case $deplibs_check_method in
8417	"file_magic "*)
8418	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8419	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8420	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8421	    $EGREP "$file_magic_regex" > /dev/null; then
8422	    :
8423	  else
8424	    cat <<_LT_EOF 1>&2
8425
8426*** Warning: the command libtool uses to detect shared libraries,
8427*** $file_magic_cmd, produces output that libtool cannot recognize.
8428*** The result is that libtool may fail to recognize shared libraries
8429*** as such.  This will affect the creation of libtool libraries that
8430*** depend on shared libraries, but programs linked with such libtool
8431*** libraries will work regardless of this problem.  Nevertheless, you
8432*** may want to report the problem to your system manager and/or to
8433*** bug-libtool@gnu.org
8434
8435_LT_EOF
8436	  fi ;;
8437	esac
8438      fi
8439      break
8440    fi
8441  done
8442  IFS=$lt_save_ifs
8443  MAGIC_CMD=$lt_save_MAGIC_CMD
8444  ;;
8445esac
8446fi
8447
8448MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8449if test -n "$MAGIC_CMD"; then
8450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8451$as_echo "$MAGIC_CMD" >&6; }
8452else
8453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8454$as_echo "no" >&6; }
8455fi
8456
8457
8458  else
8459    MAGIC_CMD=:
8460  fi
8461fi
8462
8463  fi
8464  ;;
8465esac
8466
8467# Use C for the default configuration in the libtool script
8468
8469lt_save_CC=$CC
8470ac_ext=c
8471ac_cpp='$CPP $CPPFLAGS'
8472ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8473ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8474ac_compiler_gnu=$ac_cv_c_compiler_gnu
8475
8476
8477# Source file extension for C test sources.
8478ac_ext=c
8479
8480# Object file extension for compiled C test sources.
8481objext=o
8482objext=$objext
8483
8484# Code to be used in simple compile tests
8485lt_simple_compile_test_code="int some_variable = 0;"
8486
8487# Code to be used in simple link tests
8488lt_simple_link_test_code='int main(){return(0);}'
8489
8490
8491
8492
8493
8494
8495
8496# If no C compiler was specified, use CC.
8497LTCC=${LTCC-"$CC"}
8498
8499# If no C compiler flags were specified, use CFLAGS.
8500LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8501
8502# Allow CC to be a program name with arguments.
8503compiler=$CC
8504
8505# Save the default compiler, since it gets overwritten when the other
8506# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8507compiler_DEFAULT=$CC
8508
8509# save warnings/boilerplate of simple test code
8510ac_outfile=conftest.$ac_objext
8511echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8512eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8513_lt_compiler_boilerplate=`cat conftest.err`
8514$RM conftest*
8515
8516ac_outfile=conftest.$ac_objext
8517echo "$lt_simple_link_test_code" >conftest.$ac_ext
8518eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8519_lt_linker_boilerplate=`cat conftest.err`
8520$RM -r conftest*
8521
8522
8523## CAVEAT EMPTOR:
8524## There is no encapsulation within the following macros, do not change
8525## the running order or otherwise move them around unless you know exactly
8526## what you are doing...
8527if test -n "$compiler"; then
8528
8529lt_prog_compiler_no_builtin_flag=
8530
8531if test yes = "$GCC"; then
8532  case $cc_basename in
8533  nvcc*)
8534    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8535  *)
8536    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8537  esac
8538
8539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8540$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8541if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8542  $as_echo_n "(cached) " >&6
8543else
8544  lt_cv_prog_compiler_rtti_exceptions=no
8545   ac_outfile=conftest.$ac_objext
8546   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8547   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8548   # Insert the option either (1) after the last *FLAGS variable, or
8549   # (2) before a word containing "conftest.", or (3) at the end.
8550   # Note that $ac_compile itself does not contain backslashes and begins
8551   # with a dollar sign (not a hyphen), so the echo should work correctly.
8552   # The option is referenced via a variable to avoid confusing sed.
8553   lt_compile=`echo "$ac_compile" | $SED \
8554   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8555   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8556   -e 's:$: $lt_compiler_flag:'`
8557   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8558   (eval "$lt_compile" 2>conftest.err)
8559   ac_status=$?
8560   cat conftest.err >&5
8561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562   if (exit $ac_status) && test -s "$ac_outfile"; then
8563     # The compiler can only warn and ignore the option if not recognized
8564     # So say no if there are warnings other than the usual output.
8565     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8566     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8567     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8568       lt_cv_prog_compiler_rtti_exceptions=yes
8569     fi
8570   fi
8571   $RM conftest*
8572
8573fi
8574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8575$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8576
8577if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8578    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8579else
8580    :
8581fi
8582
8583fi
8584
8585
8586
8587
8588
8589
8590  lt_prog_compiler_wl=
8591lt_prog_compiler_pic=
8592lt_prog_compiler_static=
8593
8594
8595  if test yes = "$GCC"; then
8596    lt_prog_compiler_wl='-Wl,'
8597    lt_prog_compiler_static='-static'
8598
8599    case $host_os in
8600      aix*)
8601      # All AIX code is PIC.
8602      if test ia64 = "$host_cpu"; then
8603	# AIX 5 now supports IA64 processor
8604	lt_prog_compiler_static='-Bstatic'
8605      fi
8606      lt_prog_compiler_pic='-fPIC'
8607      ;;
8608
8609    amigaos*)
8610      case $host_cpu in
8611      powerpc)
8612            # see comment about AmigaOS4 .so support
8613            lt_prog_compiler_pic='-fPIC'
8614        ;;
8615      m68k)
8616            # FIXME: we need at least 68020 code to build shared libraries, but
8617            # adding the '-m68020' flag to GCC prevents building anything better,
8618            # like '-m68040'.
8619            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8620        ;;
8621      esac
8622      ;;
8623
8624    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8625      # PIC is the default for these OSes.
8626      ;;
8627
8628    mingw* | cygwin* | pw32* | os2* | cegcc*)
8629      # This hack is so that the source file can tell whether it is being
8630      # built for inclusion in a dll (and should export symbols for example).
8631      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8632      # (--disable-auto-import) libraries
8633      lt_prog_compiler_pic='-DDLL_EXPORT'
8634      case $host_os in
8635      os2*)
8636	lt_prog_compiler_static='$wl-static'
8637	;;
8638      esac
8639      ;;
8640
8641    darwin* | rhapsody*)
8642      # PIC is the default on this platform
8643      # Common symbols not allowed in MH_DYLIB files
8644      lt_prog_compiler_pic='-fno-common'
8645      ;;
8646
8647    haiku*)
8648      # PIC is the default for Haiku.
8649      # The "-static" flag exists, but is broken.
8650      lt_prog_compiler_static=
8651      ;;
8652
8653    hpux*)
8654      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8655      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8656      # sets the default TLS model and affects inlining.
8657      case $host_cpu in
8658      hppa*64*)
8659	# +Z the default
8660	;;
8661      *)
8662	lt_prog_compiler_pic='-fPIC'
8663	;;
8664      esac
8665      ;;
8666
8667    interix[3-9]*)
8668      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8669      # Instead, we relocate shared libraries at runtime.
8670      ;;
8671
8672    msdosdjgpp*)
8673      # Just because we use GCC doesn't mean we suddenly get shared libraries
8674      # on systems that don't support them.
8675      lt_prog_compiler_can_build_shared=no
8676      enable_shared=no
8677      ;;
8678
8679    *nto* | *qnx*)
8680      # QNX uses GNU C++, but need to define -shared option too, otherwise
8681      # it will coredump.
8682      lt_prog_compiler_pic='-fPIC -shared'
8683      ;;
8684
8685    sysv4*MP*)
8686      if test -d /usr/nec; then
8687	lt_prog_compiler_pic=-Kconform_pic
8688      fi
8689      ;;
8690
8691    *)
8692      lt_prog_compiler_pic='-fPIC'
8693      ;;
8694    esac
8695
8696    case $cc_basename in
8697    nvcc*) # Cuda Compiler Driver 2.2
8698      lt_prog_compiler_wl='-Xlinker '
8699      if test -n "$lt_prog_compiler_pic"; then
8700        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8701      fi
8702      ;;
8703    esac
8704  else
8705    # PORTME Check for flag to pass linker flags through the system compiler.
8706    case $host_os in
8707    aix*)
8708      lt_prog_compiler_wl='-Wl,'
8709      if test ia64 = "$host_cpu"; then
8710	# AIX 5 now supports IA64 processor
8711	lt_prog_compiler_static='-Bstatic'
8712      else
8713	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8714      fi
8715      ;;
8716
8717    darwin* | rhapsody*)
8718      # PIC is the default on this platform
8719      # Common symbols not allowed in MH_DYLIB files
8720      lt_prog_compiler_pic='-fno-common'
8721      case $cc_basename in
8722      nagfor*)
8723        # NAG Fortran compiler
8724        lt_prog_compiler_wl='-Wl,-Wl,,'
8725        lt_prog_compiler_pic='-PIC'
8726        lt_prog_compiler_static='-Bstatic'
8727        ;;
8728      esac
8729      ;;
8730
8731    mingw* | cygwin* | pw32* | os2* | cegcc*)
8732      # This hack is so that the source file can tell whether it is being
8733      # built for inclusion in a dll (and should export symbols for example).
8734      lt_prog_compiler_pic='-DDLL_EXPORT'
8735      case $host_os in
8736      os2*)
8737	lt_prog_compiler_static='$wl-static'
8738	;;
8739      esac
8740      ;;
8741
8742    hpux9* | hpux10* | hpux11*)
8743      lt_prog_compiler_wl='-Wl,'
8744      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8745      # not for PA HP-UX.
8746      case $host_cpu in
8747      hppa*64*|ia64*)
8748	# +Z the default
8749	;;
8750      *)
8751	lt_prog_compiler_pic='+Z'
8752	;;
8753      esac
8754      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8755      lt_prog_compiler_static='$wl-a ${wl}archive'
8756      ;;
8757
8758    irix5* | irix6* | nonstopux*)
8759      lt_prog_compiler_wl='-Wl,'
8760      # PIC (with -KPIC) is the default.
8761      lt_prog_compiler_static='-non_shared'
8762      ;;
8763
8764    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8765      case $cc_basename in
8766      # old Intel for x86_64, which still supported -KPIC.
8767      ecc*)
8768	lt_prog_compiler_wl='-Wl,'
8769	lt_prog_compiler_pic='-KPIC'
8770	lt_prog_compiler_static='-static'
8771        ;;
8772      # flang / f18. f95 an alias for gfortran or flang on Debian
8773      flang* | f18* | f95*)
8774	lt_prog_compiler_wl='-Wl,'
8775	lt_prog_compiler_pic='-fPIC'
8776	lt_prog_compiler_static='-static'
8777        ;;
8778      # icc used to be incompatible with GCC.
8779      # ICC 10 doesn't accept -KPIC any more.
8780      icc* | ifort*)
8781	lt_prog_compiler_wl='-Wl,'
8782	lt_prog_compiler_pic='-fPIC'
8783	lt_prog_compiler_static='-static'
8784        ;;
8785      # Lahey Fortran 8.1.
8786      lf95*)
8787	lt_prog_compiler_wl='-Wl,'
8788	lt_prog_compiler_pic='--shared'
8789	lt_prog_compiler_static='--static'
8790	;;
8791      nagfor*)
8792	# NAG Fortran compiler
8793	lt_prog_compiler_wl='-Wl,-Wl,,'
8794	lt_prog_compiler_pic='-PIC'
8795	lt_prog_compiler_static='-Bstatic'
8796	;;
8797      tcc*)
8798	# Fabrice Bellard et al's Tiny C Compiler
8799	lt_prog_compiler_wl='-Wl,'
8800	lt_prog_compiler_pic='-fPIC'
8801	lt_prog_compiler_static='-static'
8802	;;
8803      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8804        # Portland Group compilers (*not* the Pentium gcc compiler,
8805	# which looks to be a dead project)
8806	lt_prog_compiler_wl='-Wl,'
8807	lt_prog_compiler_pic='-fpic'
8808	lt_prog_compiler_static='-Bstatic'
8809        ;;
8810      ccc*)
8811        lt_prog_compiler_wl='-Wl,'
8812        # All Alpha code is PIC.
8813        lt_prog_compiler_static='-non_shared'
8814        ;;
8815      xl* | bgxl* | bgf* | mpixl*)
8816	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8817	lt_prog_compiler_wl='-Wl,'
8818	lt_prog_compiler_pic='-qpic'
8819	lt_prog_compiler_static='-qstaticlink'
8820	;;
8821      *)
8822	case `$CC -V 2>&1 | sed 5q` in
8823	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8824	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8825	  lt_prog_compiler_pic='-KPIC'
8826	  lt_prog_compiler_static='-Bstatic'
8827	  lt_prog_compiler_wl=''
8828	  ;;
8829	*Sun\ F* | *Sun*Fortran*)
8830	  lt_prog_compiler_pic='-KPIC'
8831	  lt_prog_compiler_static='-Bstatic'
8832	  lt_prog_compiler_wl='-Qoption ld '
8833	  ;;
8834	*Sun\ C*)
8835	  # Sun C 5.9
8836	  lt_prog_compiler_pic='-KPIC'
8837	  lt_prog_compiler_static='-Bstatic'
8838	  lt_prog_compiler_wl='-Wl,'
8839	  ;;
8840        *Intel*\ [CF]*Compiler*)
8841	  lt_prog_compiler_wl='-Wl,'
8842	  lt_prog_compiler_pic='-fPIC'
8843	  lt_prog_compiler_static='-static'
8844	  ;;
8845	*Portland\ Group*)
8846	  lt_prog_compiler_wl='-Wl,'
8847	  lt_prog_compiler_pic='-fpic'
8848	  lt_prog_compiler_static='-Bstatic'
8849	  ;;
8850	esac
8851	;;
8852      esac
8853      ;;
8854
8855    newsos6)
8856      lt_prog_compiler_pic='-KPIC'
8857      lt_prog_compiler_static='-Bstatic'
8858      ;;
8859
8860    *nto* | *qnx*)
8861      # QNX uses GNU C++, but need to define -shared option too, otherwise
8862      # it will coredump.
8863      lt_prog_compiler_pic='-fPIC -shared'
8864      ;;
8865
8866    osf3* | osf4* | osf5*)
8867      lt_prog_compiler_wl='-Wl,'
8868      # All OSF/1 code is PIC.
8869      lt_prog_compiler_static='-non_shared'
8870      ;;
8871
8872    rdos*)
8873      lt_prog_compiler_static='-non_shared'
8874      ;;
8875
8876    solaris*)
8877      lt_prog_compiler_pic='-KPIC'
8878      lt_prog_compiler_static='-Bstatic'
8879      case $cc_basename in
8880      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8881	lt_prog_compiler_wl='-Qoption ld ';;
8882      *)
8883	lt_prog_compiler_wl='-Wl,';;
8884      esac
8885      ;;
8886
8887    sunos4*)
8888      lt_prog_compiler_wl='-Qoption ld '
8889      lt_prog_compiler_pic='-PIC'
8890      lt_prog_compiler_static='-Bstatic'
8891      ;;
8892
8893    sysv4 | sysv4.2uw2* | sysv4.3*)
8894      lt_prog_compiler_wl='-Wl,'
8895      lt_prog_compiler_pic='-KPIC'
8896      lt_prog_compiler_static='-Bstatic'
8897      ;;
8898
8899    sysv4*MP*)
8900      if test -d /usr/nec; then
8901	lt_prog_compiler_pic='-Kconform_pic'
8902	lt_prog_compiler_static='-Bstatic'
8903      fi
8904      ;;
8905
8906    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8907      lt_prog_compiler_wl='-Wl,'
8908      lt_prog_compiler_pic='-KPIC'
8909      lt_prog_compiler_static='-Bstatic'
8910      ;;
8911
8912    unicos*)
8913      lt_prog_compiler_wl='-Wl,'
8914      lt_prog_compiler_can_build_shared=no
8915      ;;
8916
8917    uts4*)
8918      lt_prog_compiler_pic='-pic'
8919      lt_prog_compiler_static='-Bstatic'
8920      ;;
8921
8922    *)
8923      lt_prog_compiler_can_build_shared=no
8924      ;;
8925    esac
8926  fi
8927
8928case $host_os in
8929  # For platforms that do not support PIC, -DPIC is meaningless:
8930  *djgpp*)
8931    lt_prog_compiler_pic=
8932    ;;
8933  *)
8934    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8935    ;;
8936esac
8937
8938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8939$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8940if ${lt_cv_prog_compiler_pic+:} false; then :
8941  $as_echo_n "(cached) " >&6
8942else
8943  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8944fi
8945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8946$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8947lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8948
8949#
8950# Check to make sure the PIC flag actually works.
8951#
8952if test -n "$lt_prog_compiler_pic"; then
8953  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8954$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8955if ${lt_cv_prog_compiler_pic_works+:} false; then :
8956  $as_echo_n "(cached) " >&6
8957else
8958  lt_cv_prog_compiler_pic_works=no
8959   ac_outfile=conftest.$ac_objext
8960   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8961   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8962   # Insert the option either (1) after the last *FLAGS variable, or
8963   # (2) before a word containing "conftest.", or (3) at the end.
8964   # Note that $ac_compile itself does not contain backslashes and begins
8965   # with a dollar sign (not a hyphen), so the echo should work correctly.
8966   # The option is referenced via a variable to avoid confusing sed.
8967   lt_compile=`echo "$ac_compile" | $SED \
8968   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8969   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8970   -e 's:$: $lt_compiler_flag:'`
8971   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8972   (eval "$lt_compile" 2>conftest.err)
8973   ac_status=$?
8974   cat conftest.err >&5
8975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976   if (exit $ac_status) && test -s "$ac_outfile"; then
8977     # The compiler can only warn and ignore the option if not recognized
8978     # So say no if there are warnings other than the usual output.
8979     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8980     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8981     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8982       lt_cv_prog_compiler_pic_works=yes
8983     fi
8984   fi
8985   $RM conftest*
8986
8987fi
8988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8989$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8990
8991if test yes = "$lt_cv_prog_compiler_pic_works"; then
8992    case $lt_prog_compiler_pic in
8993     "" | " "*) ;;
8994     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8995     esac
8996else
8997    lt_prog_compiler_pic=
8998     lt_prog_compiler_can_build_shared=no
8999fi
9000
9001fi
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013#
9014# Check to make sure the static flag actually works.
9015#
9016wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9018$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9019if ${lt_cv_prog_compiler_static_works+:} false; then :
9020  $as_echo_n "(cached) " >&6
9021else
9022  lt_cv_prog_compiler_static_works=no
9023   save_LDFLAGS=$LDFLAGS
9024   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9025   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9026   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9027     # The linker can only warn and ignore the option if not recognized
9028     # So say no if there are warnings
9029     if test -s conftest.err; then
9030       # Append any errors to the config.log.
9031       cat conftest.err 1>&5
9032       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9033       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9034       if diff conftest.exp conftest.er2 >/dev/null; then
9035         lt_cv_prog_compiler_static_works=yes
9036       fi
9037     else
9038       lt_cv_prog_compiler_static_works=yes
9039     fi
9040   fi
9041   $RM -r conftest*
9042   LDFLAGS=$save_LDFLAGS
9043
9044fi
9045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9046$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9047
9048if test yes = "$lt_cv_prog_compiler_static_works"; then
9049    :
9050else
9051    lt_prog_compiler_static=
9052fi
9053
9054
9055
9056
9057
9058
9059
9060  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9061$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9062if ${lt_cv_prog_compiler_c_o+:} false; then :
9063  $as_echo_n "(cached) " >&6
9064else
9065  lt_cv_prog_compiler_c_o=no
9066   $RM -r conftest 2>/dev/null
9067   mkdir conftest
9068   cd conftest
9069   mkdir out
9070   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9071
9072   lt_compiler_flag="-o out/conftest2.$ac_objext"
9073   # Insert the option either (1) after the last *FLAGS variable, or
9074   # (2) before a word containing "conftest.", or (3) at the end.
9075   # Note that $ac_compile itself does not contain backslashes and begins
9076   # with a dollar sign (not a hyphen), so the echo should work correctly.
9077   lt_compile=`echo "$ac_compile" | $SED \
9078   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9079   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9080   -e 's:$: $lt_compiler_flag:'`
9081   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9082   (eval "$lt_compile" 2>out/conftest.err)
9083   ac_status=$?
9084   cat out/conftest.err >&5
9085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9087   then
9088     # The compiler can only warn and ignore the option if not recognized
9089     # So say no if there are warnings
9090     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9091     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9092     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9093       lt_cv_prog_compiler_c_o=yes
9094     fi
9095   fi
9096   chmod u+w . 2>&5
9097   $RM conftest*
9098   # SGI C++ compiler will create directory out/ii_files/ for
9099   # template instantiation
9100   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9101   $RM out/* && rmdir out
9102   cd ..
9103   $RM -r conftest
9104   $RM conftest*
9105
9106fi
9107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9108$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9109
9110
9111
9112
9113
9114
9115  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9116$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9117if ${lt_cv_prog_compiler_c_o+:} false; then :
9118  $as_echo_n "(cached) " >&6
9119else
9120  lt_cv_prog_compiler_c_o=no
9121   $RM -r conftest 2>/dev/null
9122   mkdir conftest
9123   cd conftest
9124   mkdir out
9125   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9126
9127   lt_compiler_flag="-o out/conftest2.$ac_objext"
9128   # Insert the option either (1) after the last *FLAGS variable, or
9129   # (2) before a word containing "conftest.", or (3) at the end.
9130   # Note that $ac_compile itself does not contain backslashes and begins
9131   # with a dollar sign (not a hyphen), so the echo should work correctly.
9132   lt_compile=`echo "$ac_compile" | $SED \
9133   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9134   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9135   -e 's:$: $lt_compiler_flag:'`
9136   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9137   (eval "$lt_compile" 2>out/conftest.err)
9138   ac_status=$?
9139   cat out/conftest.err >&5
9140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9142   then
9143     # The compiler can only warn and ignore the option if not recognized
9144     # So say no if there are warnings
9145     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9146     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9147     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9148       lt_cv_prog_compiler_c_o=yes
9149     fi
9150   fi
9151   chmod u+w . 2>&5
9152   $RM conftest*
9153   # SGI C++ compiler will create directory out/ii_files/ for
9154   # template instantiation
9155   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9156   $RM out/* && rmdir out
9157   cd ..
9158   $RM -r conftest
9159   $RM conftest*
9160
9161fi
9162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9163$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9164
9165
9166
9167
9168hard_links=nottested
9169if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9170  # do not overwrite the value of need_locks provided by the user
9171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9172$as_echo_n "checking if we can lock with hard links... " >&6; }
9173  hard_links=yes
9174  $RM conftest*
9175  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9176  touch conftest.a
9177  ln conftest.a conftest.b 2>&5 || hard_links=no
9178  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9180$as_echo "$hard_links" >&6; }
9181  if test no = "$hard_links"; then
9182    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9183$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9184    need_locks=warn
9185  fi
9186else
9187  need_locks=no
9188fi
9189
9190
9191
9192
9193
9194
9195  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9196$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9197
9198  runpath_var=
9199  allow_undefined_flag=
9200  always_export_symbols=no
9201  archive_cmds=
9202  archive_expsym_cmds=
9203  compiler_needs_object=no
9204  enable_shared_with_static_runtimes=no
9205  export_dynamic_flag_spec=
9206  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9207  hardcode_automatic=no
9208  hardcode_direct=no
9209  hardcode_direct_absolute=no
9210  hardcode_libdir_flag_spec=
9211  hardcode_libdir_separator=
9212  hardcode_minus_L=no
9213  hardcode_shlibpath_var=unsupported
9214  inherit_rpath=no
9215  link_all_deplibs=unknown
9216  module_cmds=
9217  module_expsym_cmds=
9218  old_archive_from_new_cmds=
9219  old_archive_from_expsyms_cmds=
9220  thread_safe_flag_spec=
9221  whole_archive_flag_spec=
9222  # include_expsyms should be a list of space-separated symbols to be *always*
9223  # included in the symbol list
9224  include_expsyms=
9225  # exclude_expsyms can be an extended regexp of symbols to exclude
9226  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9227  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9228  # as well as any symbol that contains 'd'.
9229  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9230  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9231  # platforms (ab)use it in PIC code, but their linkers get confused if
9232  # the symbol is explicitly referenced.  Since portable code cannot
9233  # rely on this symbol name, it's probably fine to never include it in
9234  # preloaded symbol tables.
9235  # Exclude shared library initialization/finalization symbols.
9236  extract_expsyms_cmds=
9237
9238  case $host_os in
9239  cygwin* | mingw* | pw32* | cegcc*)
9240    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9241    # When not using gcc, we currently assume that we are using
9242    # Microsoft Visual C++.
9243    if test yes != "$GCC"; then
9244      with_gnu_ld=no
9245    fi
9246    ;;
9247  interix*)
9248    # we just hope/assume this is gcc and not c89 (= MSVC++)
9249    with_gnu_ld=yes
9250    ;;
9251  openbsd* | bitrig*)
9252    with_gnu_ld=no
9253    ;;
9254  linux* | k*bsd*-gnu | gnu*)
9255    link_all_deplibs=no
9256    ;;
9257  esac
9258
9259  ld_shlibs=yes
9260
9261  # On some targets, GNU ld is compatible enough with the native linker
9262  # that we're better off using the native interface for both.
9263  lt_use_gnu_ld_interface=no
9264  if test yes = "$with_gnu_ld"; then
9265    case $host_os in
9266      aix*)
9267	# The AIX port of GNU ld has always aspired to compatibility
9268	# with the native linker.  However, as the warning in the GNU ld
9269	# block says, versions before 2.19.5* couldn't really create working
9270	# shared libraries, regardless of the interface used.
9271	case `$LD -v 2>&1` in
9272	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9273	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9274	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9275	  *)
9276	    lt_use_gnu_ld_interface=yes
9277	    ;;
9278	esac
9279	;;
9280      *)
9281	lt_use_gnu_ld_interface=yes
9282	;;
9283    esac
9284  fi
9285
9286  if test yes = "$lt_use_gnu_ld_interface"; then
9287    # If archive_cmds runs LD, not CC, wlarc should be empty
9288    wlarc='$wl'
9289
9290    # Set some defaults for GNU ld with shared library support. These
9291    # are reset later if shared libraries are not supported. Putting them
9292    # here allows them to be overridden if necessary.
9293    runpath_var=LD_RUN_PATH
9294    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9295    export_dynamic_flag_spec='$wl--export-dynamic'
9296    # ancient GNU ld didn't support --whole-archive et. al.
9297    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9298      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9299    else
9300      whole_archive_flag_spec=
9301    fi
9302    supports_anon_versioning=no
9303    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9304      *GNU\ gold*) supports_anon_versioning=yes ;;
9305      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9306      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9307      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9308      *\ 2.11.*) ;; # other 2.11 versions
9309      *) supports_anon_versioning=yes ;;
9310    esac
9311
9312    # See if GNU ld supports shared libraries.
9313    case $host_os in
9314    aix[3-9]*)
9315      # On AIX/PPC, the GNU linker is very broken
9316      if test ia64 != "$host_cpu"; then
9317	ld_shlibs=no
9318	cat <<_LT_EOF 1>&2
9319
9320*** Warning: the GNU linker, at least up to release 2.19, is reported
9321*** to be unable to reliably create shared libraries on AIX.
9322*** Therefore, libtool is disabling shared libraries support.  If you
9323*** really care for shared libraries, you may want to install binutils
9324*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9325*** You will then need to restart the configuration process.
9326
9327_LT_EOF
9328      fi
9329      ;;
9330
9331    amigaos*)
9332      case $host_cpu in
9333      powerpc)
9334            # see comment about AmigaOS4 .so support
9335            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9336            archive_expsym_cmds=''
9337        ;;
9338      m68k)
9339            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)'
9340            hardcode_libdir_flag_spec='-L$libdir'
9341            hardcode_minus_L=yes
9342        ;;
9343      esac
9344      ;;
9345
9346    beos*)
9347      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9348	allow_undefined_flag=unsupported
9349	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9350	# support --undefined.  This deserves some investigation.  FIXME
9351	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9352      else
9353	ld_shlibs=no
9354      fi
9355      ;;
9356
9357    cygwin* | mingw* | pw32* | cegcc*)
9358      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9359      # as there is no search path for DLLs.
9360      hardcode_libdir_flag_spec='-L$libdir'
9361      export_dynamic_flag_spec='$wl--export-all-symbols'
9362      allow_undefined_flag=unsupported
9363      always_export_symbols=no
9364      enable_shared_with_static_runtimes=yes
9365      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'
9366      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9367
9368      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9369        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9370	# If the export-symbols file already is a .def file, use it as
9371	# is; otherwise, prepend EXPORTS...
9372	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9373          cp $export_symbols $output_objdir/$soname.def;
9374        else
9375          echo EXPORTS > $output_objdir/$soname.def;
9376          cat $export_symbols >> $output_objdir/$soname.def;
9377        fi~
9378        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9379      else
9380	ld_shlibs=no
9381      fi
9382      ;;
9383
9384    haiku*)
9385      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9386      link_all_deplibs=yes
9387      ;;
9388
9389    os2*)
9390      hardcode_libdir_flag_spec='-L$libdir'
9391      hardcode_minus_L=yes
9392      allow_undefined_flag=unsupported
9393      shrext_cmds=.dll
9394      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9395	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9396	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9397	$ECHO EXPORTS >> $output_objdir/$libname.def~
9398	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9399	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9400	emximp -o $lib $output_objdir/$libname.def'
9401      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9402	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9403	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9404	$ECHO EXPORTS >> $output_objdir/$libname.def~
9405	prefix_cmds="$SED"~
9406	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9407	  prefix_cmds="$prefix_cmds -e 1d";
9408	fi~
9409	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9410	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9411	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9412	emximp -o $lib $output_objdir/$libname.def'
9413      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9414      enable_shared_with_static_runtimes=yes
9415      ;;
9416
9417    interix[3-9]*)
9418      hardcode_direct=no
9419      hardcode_shlibpath_var=no
9420      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9421      export_dynamic_flag_spec='$wl-E'
9422      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9423      # Instead, shared libraries are loaded at an image base (0x10000000 by
9424      # default) and relocated if they conflict, which is a slow very memory
9425      # consuming and fragmenting process.  To avoid this, we pick a random,
9426      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9427      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9428      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9429      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'
9430      ;;
9431
9432    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9433      tmp_diet=no
9434      if test linux-dietlibc = "$host_os"; then
9435	case $cc_basename in
9436	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9437	esac
9438      fi
9439      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9440	 && test no = "$tmp_diet"
9441      then
9442	tmp_addflag=' $pic_flag'
9443	tmp_sharedflag='-shared'
9444	case $cc_basename,$host_cpu in
9445        pgcc*)				# Portland Group C compiler
9446	  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'
9447	  tmp_addflag=' $pic_flag'
9448	  ;;
9449	pgf77* | pgf90* | pgf95* | pgfortran*)
9450					# Portland Group f77 and f90 compilers
9451	  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'
9452	  tmp_addflag=' $pic_flag -Mnomain' ;;
9453	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9454	  tmp_addflag=' -i_dynamic' ;;
9455	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9456	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9457	ifc* | ifort*)			# Intel Fortran compiler
9458	  tmp_addflag=' -nofor_main' ;;
9459	lf95*)				# Lahey Fortran 8.1
9460	  whole_archive_flag_spec=
9461	  tmp_sharedflag='--shared' ;;
9462        nagfor*)                        # NAGFOR 5.3
9463          tmp_sharedflag='-Wl,-shared' ;;
9464	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9465	  tmp_sharedflag='-qmkshrobj'
9466	  tmp_addflag= ;;
9467	nvcc*)	# Cuda Compiler Driver 2.2
9468	  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'
9469	  compiler_needs_object=yes
9470	  ;;
9471	esac
9472	case `$CC -V 2>&1 | sed 5q` in
9473	*Sun\ C*)			# Sun C 5.9
9474	  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'
9475	  compiler_needs_object=yes
9476	  tmp_sharedflag='-G' ;;
9477	*Sun\ F*)			# Sun Fortran 8.3
9478	  tmp_sharedflag='-G' ;;
9479	esac
9480	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9481
9482        if test yes = "$supports_anon_versioning"; then
9483          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9484            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9485            echo "local: *; };" >> $output_objdir/$libname.ver~
9486            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9487        fi
9488
9489	case $cc_basename in
9490	tcc*)
9491	  export_dynamic_flag_spec='-rdynamic'
9492	  ;;
9493	xlf* | bgf* | bgxlf* | mpixlf*)
9494	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9495	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9496	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9497	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9498	  if test yes = "$supports_anon_versioning"; then
9499	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9500              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9501              echo "local: *; };" >> $output_objdir/$libname.ver~
9502              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9503	  fi
9504	  ;;
9505	esac
9506      else
9507        ld_shlibs=no
9508      fi
9509      ;;
9510
9511    netbsd* | netbsdelf*-gnu)
9512      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9513	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9514	wlarc=
9515      else
9516	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9517	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9518      fi
9519      ;;
9520
9521    solaris*)
9522      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9523	ld_shlibs=no
9524	cat <<_LT_EOF 1>&2
9525
9526*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9527*** create shared libraries on Solaris systems.  Therefore, libtool
9528*** is disabling shared libraries support.  We urge you to upgrade GNU
9529*** binutils to release 2.9.1 or newer.  Another option is to modify
9530*** your PATH or compiler configuration so that the native linker is
9531*** used, and then restart.
9532
9533_LT_EOF
9534      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9535	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9536	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9537      else
9538	ld_shlibs=no
9539      fi
9540      ;;
9541
9542    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9543      case `$LD -v 2>&1` in
9544        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9545	ld_shlibs=no
9546	cat <<_LT_EOF 1>&2
9547
9548*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9549*** reliably create shared libraries on SCO systems.  Therefore, libtool
9550*** is disabling shared libraries support.  We urge you to upgrade GNU
9551*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9552*** your PATH or compiler configuration so that the native linker is
9553*** used, and then restart.
9554
9555_LT_EOF
9556	;;
9557	*)
9558	  # For security reasons, it is highly recommended that you always
9559	  # use absolute paths for naming shared libraries, and exclude the
9560	  # DT_RUNPATH tag from executables and libraries.  But doing so
9561	  # requires that you compile everything twice, which is a pain.
9562	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9563	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9564	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9565	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9566	  else
9567	    ld_shlibs=no
9568	  fi
9569	;;
9570      esac
9571      ;;
9572
9573    sunos4*)
9574      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9575      wlarc=
9576      hardcode_direct=yes
9577      hardcode_shlibpath_var=no
9578      ;;
9579
9580    *)
9581      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9582	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9583	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9584      else
9585	ld_shlibs=no
9586      fi
9587      ;;
9588    esac
9589
9590    if test no = "$ld_shlibs"; then
9591      runpath_var=
9592      hardcode_libdir_flag_spec=
9593      export_dynamic_flag_spec=
9594      whole_archive_flag_spec=
9595    fi
9596  else
9597    # PORTME fill in a description of your system's linker (not GNU ld)
9598    case $host_os in
9599    aix3*)
9600      allow_undefined_flag=unsupported
9601      always_export_symbols=yes
9602      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'
9603      # Note: this linker hardcodes the directories in LIBPATH if there
9604      # are no directories specified by -L.
9605      hardcode_minus_L=yes
9606      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9607	# Neither direct hardcoding nor static linking is supported with a
9608	# broken collect2.
9609	hardcode_direct=unsupported
9610      fi
9611      ;;
9612
9613    aix[4-9]*)
9614      if test ia64 = "$host_cpu"; then
9615	# On IA64, the linker does run time linking by default, so we don't
9616	# have to do anything special.
9617	aix_use_runtimelinking=no
9618	exp_sym_flag='-Bexport'
9619	no_entry_flag=
9620      else
9621	# If we're using GNU nm, then we don't want the "-C" option.
9622	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9623	# Without the "-l" option, or with the "-B" option, AIX nm treats
9624	# weak defined symbols like other global defined symbols, whereas
9625	# GNU nm marks them as "W".
9626	# While the 'weak' keyword is ignored in the Export File, we need
9627	# it in the Import File for the 'aix-soname' feature, so we have
9628	# to replace the "-B" option with "-P" for AIX nm.
9629	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9630	  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'
9631	else
9632	  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'
9633	fi
9634	aix_use_runtimelinking=no
9635
9636	# Test if we are trying to use run time linking or normal
9637	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9638	# have runtime linking enabled, and use it for executables.
9639	# For shared libraries, we enable/disable runtime linking
9640	# depending on the kind of the shared library created -
9641	# when "with_aix_soname,aix_use_runtimelinking" is:
9642	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9643	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9644	#            lib.a           static archive
9645	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9646	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9647	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9648	#            lib.a(lib.so.V) shared, rtl:no
9649	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9650	#            lib.a           static archive
9651	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9652	  for ld_flag in $LDFLAGS; do
9653	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9654	    aix_use_runtimelinking=yes
9655	    break
9656	  fi
9657	  done
9658	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9659	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9660	    # so we don't have lib.a shared libs to link our executables.
9661	    # We have to force runtime linking in this case.
9662	    aix_use_runtimelinking=yes
9663	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9664	  fi
9665	  ;;
9666	esac
9667
9668	exp_sym_flag='-bexport'
9669	no_entry_flag='-bnoentry'
9670      fi
9671
9672      # When large executables or shared objects are built, AIX ld can
9673      # have problems creating the table of contents.  If linking a library
9674      # or program results in "error TOC overflow" add -mminimal-toc to
9675      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9676      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9677
9678      archive_cmds=''
9679      hardcode_direct=yes
9680      hardcode_direct_absolute=yes
9681      hardcode_libdir_separator=':'
9682      link_all_deplibs=yes
9683      file_list_spec='$wl-f,'
9684      case $with_aix_soname,$aix_use_runtimelinking in
9685      aix,*) ;; # traditional, no import file
9686      svr4,* | *,yes) # use import file
9687	# The Import File defines what to hardcode.
9688	hardcode_direct=no
9689	hardcode_direct_absolute=no
9690	;;
9691      esac
9692
9693      if test yes = "$GCC"; then
9694	case $host_os in aix4.[012]|aix4.[012].*)
9695	# We only want to do this on AIX 4.2 and lower, the check
9696	# below for broken collect2 doesn't work under 4.3+
9697	  collect2name=`$CC -print-prog-name=collect2`
9698	  if test -f "$collect2name" &&
9699	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9700	  then
9701	  # We have reworked collect2
9702	  :
9703	  else
9704	  # We have old collect2
9705	  hardcode_direct=unsupported
9706	  # It fails to find uninstalled libraries when the uninstalled
9707	  # path is not listed in the libpath.  Setting hardcode_minus_L
9708	  # to unsupported forces relinking
9709	  hardcode_minus_L=yes
9710	  hardcode_libdir_flag_spec='-L$libdir'
9711	  hardcode_libdir_separator=
9712	  fi
9713	  ;;
9714	esac
9715	shared_flag='-shared'
9716	if test yes = "$aix_use_runtimelinking"; then
9717	  shared_flag="$shared_flag "'$wl-G'
9718	fi
9719	# Need to ensure runtime linking is disabled for the traditional
9720	# shared library, or the linker may eventually find shared libraries
9721	# /with/ Import File - we do not want to mix them.
9722	shared_flag_aix='-shared'
9723	shared_flag_svr4='-shared $wl-G'
9724      else
9725	# not using gcc
9726	if test ia64 = "$host_cpu"; then
9727	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9728	# chokes on -Wl,-G. The following line is correct:
9729	  shared_flag='-G'
9730	else
9731	  if test yes = "$aix_use_runtimelinking"; then
9732	    shared_flag='$wl-G'
9733	  else
9734	    shared_flag='$wl-bM:SRE'
9735	  fi
9736	  shared_flag_aix='$wl-bM:SRE'
9737	  shared_flag_svr4='$wl-G'
9738	fi
9739      fi
9740
9741      export_dynamic_flag_spec='$wl-bexpall'
9742      # It seems that -bexpall does not export symbols beginning with
9743      # underscore (_), so it is better to generate a list of symbols to export.
9744      always_export_symbols=yes
9745      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9746	# Warning - without using the other runtime loading flags (-brtl),
9747	# -berok will link without error, but may produce a broken library.
9748	allow_undefined_flag='-berok'
9749        # Determine the default libpath from the value encoded in an
9750        # empty executable.
9751        if test set = "${lt_cv_aix_libpath+set}"; then
9752  aix_libpath=$lt_cv_aix_libpath
9753else
9754  if ${lt_cv_aix_libpath_+:} false; then :
9755  $as_echo_n "(cached) " >&6
9756else
9757  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758/* end confdefs.h.  */
9759
9760int
9761main ()
9762{
9763
9764  ;
9765  return 0;
9766}
9767_ACEOF
9768if ac_fn_c_try_link "$LINENO"; then :
9769
9770  lt_aix_libpath_sed='
9771      /Import File Strings/,/^$/ {
9772	  /^0/ {
9773	      s/^0  *\([^ ]*\) *$/\1/
9774	      p
9775	  }
9776      }'
9777  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9778  # Check for a 64-bit object if we didn't find anything.
9779  if test -z "$lt_cv_aix_libpath_"; then
9780    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9781  fi
9782fi
9783rm -f core conftest.err conftest.$ac_objext \
9784    conftest$ac_exeext conftest.$ac_ext
9785  if test -z "$lt_cv_aix_libpath_"; then
9786    lt_cv_aix_libpath_=/usr/lib:/lib
9787  fi
9788
9789fi
9790
9791  aix_libpath=$lt_cv_aix_libpath_
9792fi
9793
9794        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9795        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
9796      else
9797	if test ia64 = "$host_cpu"; then
9798	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9799	  allow_undefined_flag="-z nodefs"
9800	  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"
9801	else
9802	 # Determine the default libpath from the value encoded in an
9803	 # empty executable.
9804	 if test set = "${lt_cv_aix_libpath+set}"; then
9805  aix_libpath=$lt_cv_aix_libpath
9806else
9807  if ${lt_cv_aix_libpath_+:} false; then :
9808  $as_echo_n "(cached) " >&6
9809else
9810  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9811/* end confdefs.h.  */
9812
9813int
9814main ()
9815{
9816
9817  ;
9818  return 0;
9819}
9820_ACEOF
9821if ac_fn_c_try_link "$LINENO"; then :
9822
9823  lt_aix_libpath_sed='
9824      /Import File Strings/,/^$/ {
9825	  /^0/ {
9826	      s/^0  *\([^ ]*\) *$/\1/
9827	      p
9828	  }
9829      }'
9830  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9831  # Check for a 64-bit object if we didn't find anything.
9832  if test -z "$lt_cv_aix_libpath_"; then
9833    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9834  fi
9835fi
9836rm -f core conftest.err conftest.$ac_objext \
9837    conftest$ac_exeext conftest.$ac_ext
9838  if test -z "$lt_cv_aix_libpath_"; then
9839    lt_cv_aix_libpath_=/usr/lib:/lib
9840  fi
9841
9842fi
9843
9844  aix_libpath=$lt_cv_aix_libpath_
9845fi
9846
9847	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9848	  # Warning - without using the other run time loading flags,
9849	  # -berok will link without error, but may produce a broken library.
9850	  no_undefined_flag=' $wl-bernotok'
9851	  allow_undefined_flag=' $wl-berok'
9852	  if test yes = "$with_gnu_ld"; then
9853	    # We only use this code for GNU lds that support --whole-archive.
9854	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9855	  else
9856	    # Exported symbols can be pulled into shared objects from archives
9857	    whole_archive_flag_spec='$convenience'
9858	  fi
9859	  archive_cmds_need_lc=yes
9860	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9861	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9862	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9863	  if test svr4 != "$with_aix_soname"; then
9864	    # This is similar to how AIX traditionally builds its shared libraries.
9865	    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'
9866	  fi
9867	  if test aix != "$with_aix_soname"; then
9868	    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'
9869	  else
9870	    # used by -dlpreopen to get the symbols
9871	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9872	  fi
9873	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9874	fi
9875      fi
9876      ;;
9877
9878    amigaos*)
9879      case $host_cpu in
9880      powerpc)
9881            # see comment about AmigaOS4 .so support
9882            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9883            archive_expsym_cmds=''
9884        ;;
9885      m68k)
9886            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)'
9887            hardcode_libdir_flag_spec='-L$libdir'
9888            hardcode_minus_L=yes
9889        ;;
9890      esac
9891      ;;
9892
9893    bsdi[45]*)
9894      export_dynamic_flag_spec=-rdynamic
9895      ;;
9896
9897    cygwin* | mingw* | pw32* | cegcc*)
9898      # When not using gcc, we currently assume that we are using
9899      # Microsoft Visual C++.
9900      # hardcode_libdir_flag_spec is actually meaningless, as there is
9901      # no search path for DLLs.
9902      case $cc_basename in
9903      cl*)
9904	# Native MSVC
9905	hardcode_libdir_flag_spec=' '
9906	allow_undefined_flag=unsupported
9907	always_export_symbols=yes
9908	file_list_spec='@'
9909	# Tell ltmain to make .lib files, not .a files.
9910	libext=lib
9911	# Tell ltmain to make .dll files, not .so files.
9912	shrext_cmds=.dll
9913	# FIXME: Setting linknames here is a bad hack.
9914	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9915	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9916            cp "$export_symbols" "$output_objdir/$soname.def";
9917            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9918          else
9919            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9920          fi~
9921          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9922          linknames='
9923	# The linker will not automatically build a static lib if we build a DLL.
9924	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9925	enable_shared_with_static_runtimes=yes
9926	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9927	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9928	# Don't use ranlib
9929	old_postinstall_cmds='chmod 644 $oldlib'
9930	postlink_cmds='lt_outputfile="@OUTPUT@"~
9931          lt_tool_outputfile="@TOOL_OUTPUT@"~
9932          case $lt_outputfile in
9933            *.exe|*.EXE) ;;
9934            *)
9935              lt_outputfile=$lt_outputfile.exe
9936              lt_tool_outputfile=$lt_tool_outputfile.exe
9937              ;;
9938          esac~
9939          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9940            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9941            $RM "$lt_outputfile.manifest";
9942          fi'
9943	;;
9944      *)
9945	# Assume MSVC wrapper
9946	hardcode_libdir_flag_spec=' '
9947	allow_undefined_flag=unsupported
9948	# Tell ltmain to make .lib files, not .a files.
9949	libext=lib
9950	# Tell ltmain to make .dll files, not .so files.
9951	shrext_cmds=.dll
9952	# FIXME: Setting linknames here is a bad hack.
9953	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9954	# The linker will automatically build a .lib file if we build a DLL.
9955	old_archive_from_new_cmds='true'
9956	# FIXME: Should let the user specify the lib program.
9957	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9958	enable_shared_with_static_runtimes=yes
9959	;;
9960      esac
9961      ;;
9962
9963    darwin* | rhapsody*)
9964
9965
9966  archive_cmds_need_lc=no
9967  hardcode_direct=no
9968  hardcode_automatic=yes
9969  hardcode_shlibpath_var=unsupported
9970  if test yes = "$lt_cv_ld_force_load"; then
9971    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\"`'
9972
9973  else
9974    whole_archive_flag_spec=''
9975  fi
9976  link_all_deplibs=yes
9977  allow_undefined_flag=$_lt_dar_allow_undefined
9978  case $cc_basename in
9979     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9980     *) _lt_dar_can_shared=$GCC ;;
9981  esac
9982  if test yes = "$_lt_dar_can_shared"; then
9983    output_verbose_link_cmd=func_echo_all
9984    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9985    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9986    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"
9987    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"
9988
9989  else
9990  ld_shlibs=no
9991  fi
9992
9993      ;;
9994
9995    dgux*)
9996      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9997      hardcode_libdir_flag_spec='-L$libdir'
9998      hardcode_shlibpath_var=no
9999      ;;
10000
10001    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10002    # support.  Future versions do this automatically, but an explicit c++rt0.o
10003    # does not break anything, and helps significantly (at the cost of a little
10004    # extra space).
10005    freebsd2.2*)
10006      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10007      hardcode_libdir_flag_spec='-R$libdir'
10008      hardcode_direct=yes
10009      hardcode_shlibpath_var=no
10010      ;;
10011
10012    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10013    freebsd2.*)
10014      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10015      hardcode_direct=yes
10016      hardcode_minus_L=yes
10017      hardcode_shlibpath_var=no
10018      ;;
10019
10020    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10021    freebsd* | dragonfly*)
10022      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10023      hardcode_libdir_flag_spec='-R$libdir'
10024      hardcode_direct=yes
10025      hardcode_shlibpath_var=no
10026      ;;
10027
10028    hpux9*)
10029      if test yes = "$GCC"; then
10030	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'
10031      else
10032	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'
10033      fi
10034      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10035      hardcode_libdir_separator=:
10036      hardcode_direct=yes
10037
10038      # hardcode_minus_L: Not really in the search PATH,
10039      # but as the default location of the library.
10040      hardcode_minus_L=yes
10041      export_dynamic_flag_spec='$wl-E'
10042      ;;
10043
10044    hpux10*)
10045      if test yes,no = "$GCC,$with_gnu_ld"; then
10046	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10047      else
10048	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10049      fi
10050      if test no = "$with_gnu_ld"; then
10051	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10052	hardcode_libdir_separator=:
10053	hardcode_direct=yes
10054	hardcode_direct_absolute=yes
10055	export_dynamic_flag_spec='$wl-E'
10056	# hardcode_minus_L: Not really in the search PATH,
10057	# but as the default location of the library.
10058	hardcode_minus_L=yes
10059      fi
10060      ;;
10061
10062    hpux11*)
10063      if test yes,no = "$GCC,$with_gnu_ld"; then
10064	case $host_cpu in
10065	hppa*64*)
10066	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10067	  ;;
10068	ia64*)
10069	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10070	  ;;
10071	*)
10072	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10073	  ;;
10074	esac
10075      else
10076	case $host_cpu in
10077	hppa*64*)
10078	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10079	  ;;
10080	ia64*)
10081	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10082	  ;;
10083	*)
10084
10085	  # Older versions of the 11.00 compiler do not understand -b yet
10086	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10087	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10088$as_echo_n "checking if $CC understands -b... " >&6; }
10089if ${lt_cv_prog_compiler__b+:} false; then :
10090  $as_echo_n "(cached) " >&6
10091else
10092  lt_cv_prog_compiler__b=no
10093   save_LDFLAGS=$LDFLAGS
10094   LDFLAGS="$LDFLAGS -b"
10095   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10096   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10097     # The linker can only warn and ignore the option if not recognized
10098     # So say no if there are warnings
10099     if test -s conftest.err; then
10100       # Append any errors to the config.log.
10101       cat conftest.err 1>&5
10102       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10103       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10104       if diff conftest.exp conftest.er2 >/dev/null; then
10105         lt_cv_prog_compiler__b=yes
10106       fi
10107     else
10108       lt_cv_prog_compiler__b=yes
10109     fi
10110   fi
10111   $RM -r conftest*
10112   LDFLAGS=$save_LDFLAGS
10113
10114fi
10115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10116$as_echo "$lt_cv_prog_compiler__b" >&6; }
10117
10118if test yes = "$lt_cv_prog_compiler__b"; then
10119    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10120else
10121    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10122fi
10123
10124	  ;;
10125	esac
10126      fi
10127      if test no = "$with_gnu_ld"; then
10128	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10129	hardcode_libdir_separator=:
10130
10131	case $host_cpu in
10132	hppa*64*|ia64*)
10133	  hardcode_direct=no
10134	  hardcode_shlibpath_var=no
10135	  ;;
10136	*)
10137	  hardcode_direct=yes
10138	  hardcode_direct_absolute=yes
10139	  export_dynamic_flag_spec='$wl-E'
10140
10141	  # hardcode_minus_L: Not really in the search PATH,
10142	  # but as the default location of the library.
10143	  hardcode_minus_L=yes
10144	  ;;
10145	esac
10146      fi
10147      ;;
10148
10149    irix5* | irix6* | nonstopux*)
10150      if test yes = "$GCC"; then
10151	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'
10152	# Try to use the -exported_symbol ld option, if it does not
10153	# work, assume that -exports_file does not work either and
10154	# implicitly export all symbols.
10155	# This should be the same for all languages, so no per-tag cache variable.
10156	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10157$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10158if ${lt_cv_irix_exported_symbol+:} false; then :
10159  $as_echo_n "(cached) " >&6
10160else
10161  save_LDFLAGS=$LDFLAGS
10162	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10163	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10164/* end confdefs.h.  */
10165int foo (void) { return 0; }
10166_ACEOF
10167if ac_fn_c_try_link "$LINENO"; then :
10168  lt_cv_irix_exported_symbol=yes
10169else
10170  lt_cv_irix_exported_symbol=no
10171fi
10172rm -f core conftest.err conftest.$ac_objext \
10173    conftest$ac_exeext conftest.$ac_ext
10174           LDFLAGS=$save_LDFLAGS
10175fi
10176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10177$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10178	if test yes = "$lt_cv_irix_exported_symbol"; then
10179          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'
10180	fi
10181	link_all_deplibs=no
10182      else
10183	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'
10184	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'
10185      fi
10186      archive_cmds_need_lc='no'
10187      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10188      hardcode_libdir_separator=:
10189      inherit_rpath=yes
10190      link_all_deplibs=yes
10191      ;;
10192
10193    linux*)
10194      case $cc_basename in
10195      tcc*)
10196	# Fabrice Bellard et al's Tiny C Compiler
10197	ld_shlibs=yes
10198	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10199	;;
10200      esac
10201      ;;
10202
10203    netbsd* | netbsdelf*-gnu)
10204      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10205	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10206      else
10207	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10208      fi
10209      hardcode_libdir_flag_spec='-R$libdir'
10210      hardcode_direct=yes
10211      hardcode_shlibpath_var=no
10212      ;;
10213
10214    newsos6)
10215      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10216      hardcode_direct=yes
10217      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10218      hardcode_libdir_separator=:
10219      hardcode_shlibpath_var=no
10220      ;;
10221
10222    *nto* | *qnx*)
10223      ;;
10224
10225    openbsd* | bitrig*)
10226      if test -f /usr/libexec/ld.so; then
10227	hardcode_direct=yes
10228	hardcode_shlibpath_var=no
10229	hardcode_direct_absolute=yes
10230	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10231	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10232	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10233	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10234	  export_dynamic_flag_spec='$wl-E'
10235	else
10236	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10237	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10238	fi
10239      else
10240	ld_shlibs=no
10241      fi
10242      ;;
10243
10244    os2*)
10245      hardcode_libdir_flag_spec='-L$libdir'
10246      hardcode_minus_L=yes
10247      allow_undefined_flag=unsupported
10248      shrext_cmds=.dll
10249      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10250	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10251	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10252	$ECHO EXPORTS >> $output_objdir/$libname.def~
10253	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10254	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10255	emximp -o $lib $output_objdir/$libname.def'
10256      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10257	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10258	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10259	$ECHO EXPORTS >> $output_objdir/$libname.def~
10260	prefix_cmds="$SED"~
10261	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10262	  prefix_cmds="$prefix_cmds -e 1d";
10263	fi~
10264	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10265	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10266	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10267	emximp -o $lib $output_objdir/$libname.def'
10268      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10269      enable_shared_with_static_runtimes=yes
10270      ;;
10271
10272    osf3*)
10273      if test yes = "$GCC"; then
10274	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10275	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'
10276      else
10277	allow_undefined_flag=' -expect_unresolved \*'
10278	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'
10279      fi
10280      archive_cmds_need_lc='no'
10281      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10282      hardcode_libdir_separator=:
10283      ;;
10284
10285    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10286      if test yes = "$GCC"; then
10287	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10288	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'
10289	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10290      else
10291	allow_undefined_flag=' -expect_unresolved \*'
10292	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'
10293	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~
10294          $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'
10295
10296	# Both c and cxx compiler support -rpath directly
10297	hardcode_libdir_flag_spec='-rpath $libdir'
10298      fi
10299      archive_cmds_need_lc='no'
10300      hardcode_libdir_separator=:
10301      ;;
10302
10303    solaris*)
10304      no_undefined_flag=' -z defs'
10305      if test yes = "$GCC"; then
10306	wlarc='$wl'
10307	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10308	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10309          $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'
10310      else
10311	case `$CC -V 2>&1` in
10312	*"Compilers 5.0"*)
10313	  wlarc=''
10314	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10315	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10316            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10317	  ;;
10318	*)
10319	  wlarc='$wl'
10320	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10321	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10322            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10323	  ;;
10324	esac
10325      fi
10326      hardcode_libdir_flag_spec='-R$libdir'
10327      hardcode_shlibpath_var=no
10328      case $host_os in
10329      solaris2.[0-5] | solaris2.[0-5].*) ;;
10330      *)
10331	# The compiler driver will combine and reorder linker options,
10332	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10333	# but is careful enough not to reorder.
10334	# Supported since Solaris 2.6 (maybe 2.5.1?)
10335	if test yes = "$GCC"; then
10336	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10337	else
10338	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10339	fi
10340	;;
10341      esac
10342      link_all_deplibs=yes
10343      ;;
10344
10345    sunos4*)
10346      if test sequent = "$host_vendor"; then
10347	# Use $CC to link under sequent, because it throws in some extra .o
10348	# files that make .init and .fini sections work.
10349	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10350      else
10351	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10352      fi
10353      hardcode_libdir_flag_spec='-L$libdir'
10354      hardcode_direct=yes
10355      hardcode_minus_L=yes
10356      hardcode_shlibpath_var=no
10357      ;;
10358
10359    sysv4)
10360      case $host_vendor in
10361	sni)
10362	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10363	  hardcode_direct=yes # is this really true???
10364	;;
10365	siemens)
10366	  ## LD is ld it makes a PLAMLIB
10367	  ## CC just makes a GrossModule.
10368	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10369	  reload_cmds='$CC -r -o $output$reload_objs'
10370	  hardcode_direct=no
10371        ;;
10372	motorola)
10373	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10374	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10375	;;
10376      esac
10377      runpath_var='LD_RUN_PATH'
10378      hardcode_shlibpath_var=no
10379      ;;
10380
10381    sysv4.3*)
10382      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10383      hardcode_shlibpath_var=no
10384      export_dynamic_flag_spec='-Bexport'
10385      ;;
10386
10387    sysv4*MP*)
10388      if test -d /usr/nec; then
10389	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10390	hardcode_shlibpath_var=no
10391	runpath_var=LD_RUN_PATH
10392	hardcode_runpath_var=yes
10393	ld_shlibs=yes
10394      fi
10395      ;;
10396
10397    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10398      no_undefined_flag='$wl-z,text'
10399      archive_cmds_need_lc=no
10400      hardcode_shlibpath_var=no
10401      runpath_var='LD_RUN_PATH'
10402
10403      if test yes = "$GCC"; then
10404	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10405	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10406      else
10407	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10408	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10409      fi
10410      ;;
10411
10412    sysv5* | sco3.2v5* | sco5v6*)
10413      # Note: We CANNOT use -z defs as we might desire, because we do not
10414      # link with -lc, and that would cause any symbols used from libc to
10415      # always be unresolved, which means just about no library would
10416      # ever link correctly.  If we're not using GNU ld we use -z text
10417      # though, which does catch some bad symbols but isn't as heavy-handed
10418      # as -z defs.
10419      no_undefined_flag='$wl-z,text'
10420      allow_undefined_flag='$wl-z,nodefs'
10421      archive_cmds_need_lc=no
10422      hardcode_shlibpath_var=no
10423      hardcode_libdir_flag_spec='$wl-R,$libdir'
10424      hardcode_libdir_separator=':'
10425      link_all_deplibs=yes
10426      export_dynamic_flag_spec='$wl-Bexport'
10427      runpath_var='LD_RUN_PATH'
10428
10429      if test yes = "$GCC"; then
10430	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10431	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10432      else
10433	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10434	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10435      fi
10436      ;;
10437
10438    uts4*)
10439      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10440      hardcode_libdir_flag_spec='-L$libdir'
10441      hardcode_shlibpath_var=no
10442      ;;
10443
10444    *)
10445      ld_shlibs=no
10446      ;;
10447    esac
10448
10449    if test sni = "$host_vendor"; then
10450      case $host in
10451      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10452	export_dynamic_flag_spec='$wl-Blargedynsym'
10453	;;
10454      esac
10455    fi
10456  fi
10457
10458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10459$as_echo "$ld_shlibs" >&6; }
10460test no = "$ld_shlibs" && can_build_shared=no
10461
10462with_gnu_ld=$with_gnu_ld
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478#
10479# Do we need to explicitly link libc?
10480#
10481case "x$archive_cmds_need_lc" in
10482x|xyes)
10483  # Assume -lc should be added
10484  archive_cmds_need_lc=yes
10485
10486  if test yes,yes = "$GCC,$enable_shared"; then
10487    case $archive_cmds in
10488    *'~'*)
10489      # FIXME: we may have to deal with multi-command sequences.
10490      ;;
10491    '$CC '*)
10492      # Test whether the compiler implicitly links with -lc since on some
10493      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10494      # to ld, don't add -lc before -lgcc.
10495      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10496$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10497if ${lt_cv_archive_cmds_need_lc+:} false; then :
10498  $as_echo_n "(cached) " >&6
10499else
10500  $RM conftest*
10501	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10502
10503	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10504  (eval $ac_compile) 2>&5
10505  ac_status=$?
10506  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10507  test $ac_status = 0; } 2>conftest.err; then
10508	  soname=conftest
10509	  lib=conftest
10510	  libobjs=conftest.$ac_objext
10511	  deplibs=
10512	  wl=$lt_prog_compiler_wl
10513	  pic_flag=$lt_prog_compiler_pic
10514	  compiler_flags=-v
10515	  linker_flags=-v
10516	  verstring=
10517	  output_objdir=.
10518	  libname=conftest
10519	  lt_save_allow_undefined_flag=$allow_undefined_flag
10520	  allow_undefined_flag=
10521	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10522  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10523  ac_status=$?
10524  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10525  test $ac_status = 0; }
10526	  then
10527	    lt_cv_archive_cmds_need_lc=no
10528	  else
10529	    lt_cv_archive_cmds_need_lc=yes
10530	  fi
10531	  allow_undefined_flag=$lt_save_allow_undefined_flag
10532	else
10533	  cat conftest.err 1>&5
10534	fi
10535	$RM conftest*
10536
10537fi
10538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10539$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10540      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10541      ;;
10542    esac
10543  fi
10544  ;;
10545esac
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10699$as_echo_n "checking dynamic linker characteristics... " >&6; }
10700
10701if test yes = "$GCC"; then
10702  case $host_os in
10703    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10704    *) lt_awk_arg='/^libraries:/' ;;
10705  esac
10706  case $host_os in
10707    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10708    *) lt_sed_strip_eq='s|=/|/|g' ;;
10709  esac
10710  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10711  case $lt_search_path_spec in
10712  *\;*)
10713    # if the path contains ";" then we assume it to be the separator
10714    # otherwise default to the standard path separator (i.e. ":") - it is
10715    # assumed that no part of a normal pathname contains ";" but that should
10716    # okay in the real world where ";" in dirpaths is itself problematic.
10717    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10718    ;;
10719  *)
10720    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10721    ;;
10722  esac
10723  # Ok, now we have the path, separated by spaces, we can step through it
10724  # and add multilib dir if necessary...
10725  lt_tmp_lt_search_path_spec=
10726  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10727  # ...but if some path component already ends with the multilib dir we assume
10728  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10729  case "$lt_multi_os_dir; $lt_search_path_spec " in
10730  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10731    lt_multi_os_dir=
10732    ;;
10733  esac
10734  for lt_sys_path in $lt_search_path_spec; do
10735    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10736      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10737    elif test -n "$lt_multi_os_dir"; then
10738      test -d "$lt_sys_path" && \
10739	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10740    fi
10741  done
10742  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10743BEGIN {RS = " "; FS = "/|\n";} {
10744  lt_foo = "";
10745  lt_count = 0;
10746  for (lt_i = NF; lt_i > 0; lt_i--) {
10747    if ($lt_i != "" && $lt_i != ".") {
10748      if ($lt_i == "..") {
10749        lt_count++;
10750      } else {
10751        if (lt_count == 0) {
10752          lt_foo = "/" $lt_i lt_foo;
10753        } else {
10754          lt_count--;
10755        }
10756      }
10757    }
10758  }
10759  if (lt_foo != "") { lt_freq[lt_foo]++; }
10760  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10761}'`
10762  # AWK program above erroneously prepends '/' to C:/dos/paths
10763  # for these hosts.
10764  case $host_os in
10765    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10766      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10767  esac
10768  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10769else
10770  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10771fi
10772library_names_spec=
10773libname_spec='lib$name'
10774soname_spec=
10775shrext_cmds=.so
10776postinstall_cmds=
10777postuninstall_cmds=
10778finish_cmds=
10779finish_eval=
10780shlibpath_var=
10781shlibpath_overrides_runpath=unknown
10782version_type=none
10783dynamic_linker="$host_os ld.so"
10784sys_lib_dlsearch_path_spec="/lib /usr/lib"
10785need_lib_prefix=unknown
10786hardcode_into_libs=no
10787
10788# when you set need_version to no, make sure it does not cause -set_version
10789# flags to be left without arguments
10790need_version=unknown
10791
10792
10793
10794case $host_os in
10795aix3*)
10796  version_type=linux # correct to gnu/linux during the next big refactor
10797  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10798  shlibpath_var=LIBPATH
10799
10800  # AIX 3 has no versioning support, so we append a major version to the name.
10801  soname_spec='$libname$release$shared_ext$major'
10802  ;;
10803
10804aix[4-9]*)
10805  version_type=linux # correct to gnu/linux during the next big refactor
10806  need_lib_prefix=no
10807  need_version=no
10808  hardcode_into_libs=yes
10809  if test ia64 = "$host_cpu"; then
10810    # AIX 5 supports IA64
10811    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10812    shlibpath_var=LD_LIBRARY_PATH
10813  else
10814    # With GCC up to 2.95.x, collect2 would create an import file
10815    # for dependence libraries.  The import file would start with
10816    # the line '#! .'.  This would cause the generated library to
10817    # depend on '.', always an invalid library.  This was fixed in
10818    # development snapshots of GCC prior to 3.0.
10819    case $host_os in
10820      aix4 | aix4.[01] | aix4.[01].*)
10821      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10822	   echo ' yes '
10823	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10824	:
10825      else
10826	can_build_shared=no
10827      fi
10828      ;;
10829    esac
10830    # Using Import Files as archive members, it is possible to support
10831    # filename-based versioning of shared library archives on AIX. While
10832    # this would work for both with and without runtime linking, it will
10833    # prevent static linking of such archives. So we do filename-based
10834    # shared library versioning with .so extension only, which is used
10835    # when both runtime linking and shared linking is enabled.
10836    # Unfortunately, runtime linking may impact performance, so we do
10837    # not want this to be the default eventually. Also, we use the
10838    # versioned .so libs for executables only if there is the -brtl
10839    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10840    # To allow for filename-based versioning support, we need to create
10841    # libNAME.so.V as an archive file, containing:
10842    # *) an Import File, referring to the versioned filename of the
10843    #    archive as well as the shared archive member, telling the
10844    #    bitwidth (32 or 64) of that shared object, and providing the
10845    #    list of exported symbols of that shared object, eventually
10846    #    decorated with the 'weak' keyword
10847    # *) the shared object with the F_LOADONLY flag set, to really avoid
10848    #    it being seen by the linker.
10849    # At run time we better use the real file rather than another symlink,
10850    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10851
10852    case $with_aix_soname,$aix_use_runtimelinking in
10853    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10854    # soname into executable. Probably we can add versioning support to
10855    # collect2, so additional links can be useful in future.
10856    aix,yes) # traditional libtool
10857      dynamic_linker='AIX unversionable lib.so'
10858      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10859      # instead of lib<name>.a to let people know that these are not
10860      # typical AIX shared libraries.
10861      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10862      ;;
10863    aix,no) # traditional AIX only
10864      dynamic_linker='AIX lib.a(lib.so.V)'
10865      # We preserve .a as extension for shared libraries through AIX4.2
10866      # and later when we are not doing run time linking.
10867      library_names_spec='$libname$release.a $libname.a'
10868      soname_spec='$libname$release$shared_ext$major'
10869      ;;
10870    svr4,*) # full svr4 only
10871      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10872      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10873      # We do not specify a path in Import Files, so LIBPATH fires.
10874      shlibpath_overrides_runpath=yes
10875      ;;
10876    *,yes) # both, prefer svr4
10877      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10878      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10879      # unpreferred sharedlib libNAME.a needs extra handling
10880      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"'
10881      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"'
10882      # We do not specify a path in Import Files, so LIBPATH fires.
10883      shlibpath_overrides_runpath=yes
10884      ;;
10885    *,no) # both, prefer aix
10886      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10887      library_names_spec='$libname$release.a $libname.a'
10888      soname_spec='$libname$release$shared_ext$major'
10889      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10890      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)'
10891      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"'
10892      ;;
10893    esac
10894    shlibpath_var=LIBPATH
10895  fi
10896  ;;
10897
10898amigaos*)
10899  case $host_cpu in
10900  powerpc)
10901    # Since July 2007 AmigaOS4 officially supports .so libraries.
10902    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10903    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10904    ;;
10905  m68k)
10906    library_names_spec='$libname.ixlibrary $libname.a'
10907    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10908    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'
10909    ;;
10910  esac
10911  ;;
10912
10913beos*)
10914  library_names_spec='$libname$shared_ext'
10915  dynamic_linker="$host_os ld.so"
10916  shlibpath_var=LIBRARY_PATH
10917  ;;
10918
10919bsdi[45]*)
10920  version_type=linux # correct to gnu/linux during the next big refactor
10921  need_version=no
10922  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10923  soname_spec='$libname$release$shared_ext$major'
10924  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10925  shlibpath_var=LD_LIBRARY_PATH
10926  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10927  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10928  # the default ld.so.conf also contains /usr/contrib/lib and
10929  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10930  # libtool to hard-code these into programs
10931  ;;
10932
10933cygwin* | mingw* | pw32* | cegcc*)
10934  version_type=windows
10935  shrext_cmds=.dll
10936  need_version=no
10937  need_lib_prefix=no
10938
10939  case $GCC,$cc_basename in
10940  yes,*)
10941    # gcc
10942    library_names_spec='$libname.dll.a'
10943    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10944    postinstall_cmds='base_file=`basename \$file`~
10945      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10946      dldir=$destdir/`dirname \$dlpath`~
10947      test -d \$dldir || mkdir -p \$dldir~
10948      $install_prog $dir/$dlname \$dldir/$dlname~
10949      chmod a+x \$dldir/$dlname~
10950      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10951        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10952      fi'
10953    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10954      dlpath=$dir/\$dldll~
10955       $RM \$dlpath'
10956    shlibpath_overrides_runpath=yes
10957
10958    case $host_os in
10959    cygwin*)
10960      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10961      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10962
10963      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10964      ;;
10965    mingw* | cegcc*)
10966      # MinGW DLLs use traditional 'lib' prefix
10967      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10968      ;;
10969    pw32*)
10970      # pw32 DLLs use 'pw' prefix rather than 'lib'
10971      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10972      ;;
10973    esac
10974    dynamic_linker='Win32 ld.exe'
10975    ;;
10976
10977  *,cl*)
10978    # Native MSVC
10979    libname_spec='$name'
10980    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10981    library_names_spec='$libname.dll.lib'
10982
10983    case $build_os in
10984    mingw*)
10985      sys_lib_search_path_spec=
10986      lt_save_ifs=$IFS
10987      IFS=';'
10988      for lt_path in $LIB
10989      do
10990        IFS=$lt_save_ifs
10991        # Let DOS variable expansion print the short 8.3 style file name.
10992        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10993        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10994      done
10995      IFS=$lt_save_ifs
10996      # Convert to MSYS style.
10997      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10998      ;;
10999    cygwin*)
11000      # Convert to unix form, then to dos form, then back to unix form
11001      # but this time dos style (no spaces!) so that the unix form looks
11002      # like /cygdrive/c/PROGRA~1:/cygdr...
11003      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11004      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11005      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11006      ;;
11007    *)
11008      sys_lib_search_path_spec=$LIB
11009      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11010        # It is most probably a Windows format PATH.
11011        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11012      else
11013        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11014      fi
11015      # FIXME: find the short name or the path components, as spaces are
11016      # common. (e.g. "Program Files" -> "PROGRA~1")
11017      ;;
11018    esac
11019
11020    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11021    postinstall_cmds='base_file=`basename \$file`~
11022      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11023      dldir=$destdir/`dirname \$dlpath`~
11024      test -d \$dldir || mkdir -p \$dldir~
11025      $install_prog $dir/$dlname \$dldir/$dlname'
11026    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11027      dlpath=$dir/\$dldll~
11028       $RM \$dlpath'
11029    shlibpath_overrides_runpath=yes
11030    dynamic_linker='Win32 link.exe'
11031    ;;
11032
11033  *)
11034    # Assume MSVC wrapper
11035    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11036    dynamic_linker='Win32 ld.exe'
11037    ;;
11038  esac
11039  # FIXME: first we should search . and the directory the executable is in
11040  shlibpath_var=PATH
11041  ;;
11042
11043darwin* | rhapsody*)
11044  dynamic_linker="$host_os dyld"
11045  version_type=darwin
11046  need_lib_prefix=no
11047  need_version=no
11048  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11049  soname_spec='$libname$release$major$shared_ext'
11050  shlibpath_overrides_runpath=yes
11051  shlibpath_var=DYLD_LIBRARY_PATH
11052  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11053
11054  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11055  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11056  ;;
11057
11058dgux*)
11059  version_type=linux # correct to gnu/linux during the next big refactor
11060  need_lib_prefix=no
11061  need_version=no
11062  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11063  soname_spec='$libname$release$shared_ext$major'
11064  shlibpath_var=LD_LIBRARY_PATH
11065  ;;
11066
11067freebsd* | dragonfly*)
11068  # DragonFly does not have aout.  When/if they implement a new
11069  # versioning mechanism, adjust this.
11070  if test -x /usr/bin/objformat; then
11071    objformat=`/usr/bin/objformat`
11072  else
11073    case $host_os in
11074    freebsd[23].*) objformat=aout ;;
11075    *) objformat=elf ;;
11076    esac
11077  fi
11078  version_type=freebsd-$objformat
11079  case $version_type in
11080    freebsd-elf*)
11081      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11082      soname_spec='$libname$release$shared_ext$major'
11083      need_version=no
11084      need_lib_prefix=no
11085      ;;
11086    freebsd-*)
11087      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11088      need_version=yes
11089      ;;
11090  esac
11091  shlibpath_var=LD_LIBRARY_PATH
11092  case $host_os in
11093  freebsd2.*)
11094    shlibpath_overrides_runpath=yes
11095    ;;
11096  freebsd3.[01]* | freebsdelf3.[01]*)
11097    shlibpath_overrides_runpath=yes
11098    hardcode_into_libs=yes
11099    ;;
11100  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11101  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11102    shlibpath_overrides_runpath=no
11103    hardcode_into_libs=yes
11104    ;;
11105  *) # from 4.6 on, and DragonFly
11106    shlibpath_overrides_runpath=yes
11107    hardcode_into_libs=yes
11108    ;;
11109  esac
11110  ;;
11111
11112haiku*)
11113  version_type=linux # correct to gnu/linux during the next big refactor
11114  need_lib_prefix=no
11115  need_version=no
11116  dynamic_linker="$host_os runtime_loader"
11117  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11118  soname_spec='$libname$release$shared_ext$major'
11119  shlibpath_var=LIBRARY_PATH
11120  shlibpath_overrides_runpath=no
11121  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11122  hardcode_into_libs=yes
11123  ;;
11124
11125hpux9* | hpux10* | hpux11*)
11126  # Give a soname corresponding to the major version so that dld.sl refuses to
11127  # link against other versions.
11128  version_type=sunos
11129  need_lib_prefix=no
11130  need_version=no
11131  case $host_cpu in
11132  ia64*)
11133    shrext_cmds='.so'
11134    hardcode_into_libs=yes
11135    dynamic_linker="$host_os dld.so"
11136    shlibpath_var=LD_LIBRARY_PATH
11137    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11138    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11139    soname_spec='$libname$release$shared_ext$major'
11140    if test 32 = "$HPUX_IA64_MODE"; then
11141      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11142      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11143    else
11144      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11145      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11146    fi
11147    ;;
11148  hppa*64*)
11149    shrext_cmds='.sl'
11150    hardcode_into_libs=yes
11151    dynamic_linker="$host_os dld.sl"
11152    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11153    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11154    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11155    soname_spec='$libname$release$shared_ext$major'
11156    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11157    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11158    ;;
11159  *)
11160    shrext_cmds='.sl'
11161    dynamic_linker="$host_os dld.sl"
11162    shlibpath_var=SHLIB_PATH
11163    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11164    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11165    soname_spec='$libname$release$shared_ext$major'
11166    ;;
11167  esac
11168  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11169  postinstall_cmds='chmod 555 $lib'
11170  # or fails outright, so override atomically:
11171  install_override_mode=555
11172  ;;
11173
11174interix[3-9]*)
11175  version_type=linux # correct to gnu/linux during the next big refactor
11176  need_lib_prefix=no
11177  need_version=no
11178  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11179  soname_spec='$libname$release$shared_ext$major'
11180  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11181  shlibpath_var=LD_LIBRARY_PATH
11182  shlibpath_overrides_runpath=no
11183  hardcode_into_libs=yes
11184  ;;
11185
11186irix5* | irix6* | nonstopux*)
11187  case $host_os in
11188    nonstopux*) version_type=nonstopux ;;
11189    *)
11190	if test yes = "$lt_cv_prog_gnu_ld"; then
11191		version_type=linux # correct to gnu/linux during the next big refactor
11192	else
11193		version_type=irix
11194	fi ;;
11195  esac
11196  need_lib_prefix=no
11197  need_version=no
11198  soname_spec='$libname$release$shared_ext$major'
11199  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11200  case $host_os in
11201  irix5* | nonstopux*)
11202    libsuff= shlibsuff=
11203    ;;
11204  *)
11205    case $LD in # libtool.m4 will add one of these switches to LD
11206    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11207      libsuff= shlibsuff= libmagic=32-bit;;
11208    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11209      libsuff=32 shlibsuff=N32 libmagic=N32;;
11210    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11211      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11212    *) libsuff= shlibsuff= libmagic=never-match;;
11213    esac
11214    ;;
11215  esac
11216  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11217  shlibpath_overrides_runpath=no
11218  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11219  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11220  hardcode_into_libs=yes
11221  ;;
11222
11223# No shared lib support for Linux oldld, aout, or coff.
11224linux*oldld* | linux*aout* | linux*coff*)
11225  dynamic_linker=no
11226  ;;
11227
11228linux*android*)
11229  version_type=none # Android doesn't support versioned libraries.
11230  need_lib_prefix=no
11231  need_version=no
11232  library_names_spec='$libname$release$shared_ext'
11233  soname_spec='$libname$release$shared_ext'
11234  finish_cmds=
11235  shlibpath_var=LD_LIBRARY_PATH
11236  shlibpath_overrides_runpath=yes
11237
11238  # This implies no fast_install, which is unacceptable.
11239  # Some rework will be needed to allow for fast_install
11240  # before this can be enabled.
11241  hardcode_into_libs=yes
11242
11243  dynamic_linker='Android linker'
11244  # Don't embed -rpath directories since the linker doesn't support them.
11245  hardcode_libdir_flag_spec='-L$libdir'
11246  ;;
11247
11248# This must be glibc/ELF.
11249linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11250  version_type=linux # correct to gnu/linux during the next big refactor
11251  need_lib_prefix=no
11252  need_version=no
11253  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11254  soname_spec='$libname$release$shared_ext$major'
11255  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11256  shlibpath_var=LD_LIBRARY_PATH
11257  shlibpath_overrides_runpath=no
11258
11259  # Some binutils ld are patched to set DT_RUNPATH
11260  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11261  $as_echo_n "(cached) " >&6
11262else
11263  lt_cv_shlibpath_overrides_runpath=no
11264    save_LDFLAGS=$LDFLAGS
11265    save_libdir=$libdir
11266    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11267	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11268    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269/* end confdefs.h.  */
11270
11271int
11272main ()
11273{
11274
11275  ;
11276  return 0;
11277}
11278_ACEOF
11279if ac_fn_c_try_link "$LINENO"; then :
11280  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11281  lt_cv_shlibpath_overrides_runpath=yes
11282fi
11283fi
11284rm -f core conftest.err conftest.$ac_objext \
11285    conftest$ac_exeext conftest.$ac_ext
11286    LDFLAGS=$save_LDFLAGS
11287    libdir=$save_libdir
11288
11289fi
11290
11291  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11292
11293  # This implies no fast_install, which is unacceptable.
11294  # Some rework will be needed to allow for fast_install
11295  # before this can be enabled.
11296  hardcode_into_libs=yes
11297
11298  # Ideally, we could use ldconfig to report *all* directores which are
11299  # searched for libraries, however this is still not possible.  Aside from not
11300  # being certain /sbin/ldconfig is available, command
11301  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11302  # even though it is searched at run-time.  Try to do the best guess by
11303  # appending ld.so.conf contents (and includes) to the search path.
11304  if test -f /etc/ld.so.conf; then
11305    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' ' '`
11306    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11307  fi
11308
11309  # We used to test for /lib/ld.so.1 and disable shared libraries on
11310  # powerpc, because MkLinux only supported shared libraries with the
11311  # GNU dynamic linker.  Since this was broken with cross compilers,
11312  # most powerpc-linux boxes support dynamic linking these days and
11313  # people can always --disable-shared, the test was removed, and we
11314  # assume the GNU/Linux dynamic linker is in use.
11315  dynamic_linker='GNU/Linux ld.so'
11316  ;;
11317
11318netbsdelf*-gnu)
11319  version_type=linux
11320  need_lib_prefix=no
11321  need_version=no
11322  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11323  soname_spec='${libname}${release}${shared_ext}$major'
11324  shlibpath_var=LD_LIBRARY_PATH
11325  shlibpath_overrides_runpath=no
11326  hardcode_into_libs=yes
11327  dynamic_linker='NetBSD ld.elf_so'
11328  ;;
11329
11330netbsd*)
11331  version_type=sunos
11332  need_lib_prefix=no
11333  need_version=no
11334  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11335    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11336    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11337    dynamic_linker='NetBSD (a.out) ld.so'
11338  else
11339    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11340    soname_spec='$libname$release$shared_ext$major'
11341    dynamic_linker='NetBSD ld.elf_so'
11342  fi
11343  shlibpath_var=LD_LIBRARY_PATH
11344  shlibpath_overrides_runpath=yes
11345  hardcode_into_libs=yes
11346  ;;
11347
11348newsos6)
11349  version_type=linux # correct to gnu/linux during the next big refactor
11350  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11351  shlibpath_var=LD_LIBRARY_PATH
11352  shlibpath_overrides_runpath=yes
11353  ;;
11354
11355*nto* | *qnx*)
11356  version_type=qnx
11357  need_lib_prefix=no
11358  need_version=no
11359  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11360  soname_spec='$libname$release$shared_ext$major'
11361  shlibpath_var=LD_LIBRARY_PATH
11362  shlibpath_overrides_runpath=no
11363  hardcode_into_libs=yes
11364  dynamic_linker='ldqnx.so'
11365  ;;
11366
11367openbsd* | bitrig*)
11368  version_type=sunos
11369  sys_lib_dlsearch_path_spec=/usr/lib
11370  need_lib_prefix=no
11371  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11372    need_version=no
11373  else
11374    need_version=yes
11375  fi
11376  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11377  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11378  shlibpath_var=LD_LIBRARY_PATH
11379  shlibpath_overrides_runpath=yes
11380  ;;
11381
11382os2*)
11383  libname_spec='$name'
11384  version_type=windows
11385  shrext_cmds=.dll
11386  need_version=no
11387  need_lib_prefix=no
11388  # OS/2 can only load a DLL with a base name of 8 characters or less.
11389  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11390    v=$($ECHO $release$versuffix | tr -d .-);
11391    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11392    $ECHO $n$v`$shared_ext'
11393  library_names_spec='${libname}_dll.$libext'
11394  dynamic_linker='OS/2 ld.exe'
11395  shlibpath_var=BEGINLIBPATH
11396  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11397  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11398  postinstall_cmds='base_file=`basename \$file`~
11399    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11400    dldir=$destdir/`dirname \$dlpath`~
11401    test -d \$dldir || mkdir -p \$dldir~
11402    $install_prog $dir/$dlname \$dldir/$dlname~
11403    chmod a+x \$dldir/$dlname~
11404    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11405      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11406    fi'
11407  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11408    dlpath=$dir/\$dldll~
11409    $RM \$dlpath'
11410  ;;
11411
11412osf3* | osf4* | osf5*)
11413  version_type=osf
11414  need_lib_prefix=no
11415  need_version=no
11416  soname_spec='$libname$release$shared_ext$major'
11417  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11418  shlibpath_var=LD_LIBRARY_PATH
11419  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11420  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11421  ;;
11422
11423rdos*)
11424  dynamic_linker=no
11425  ;;
11426
11427solaris*)
11428  version_type=linux # correct to gnu/linux during the next big refactor
11429  need_lib_prefix=no
11430  need_version=no
11431  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11432  soname_spec='$libname$release$shared_ext$major'
11433  shlibpath_var=LD_LIBRARY_PATH
11434  shlibpath_overrides_runpath=yes
11435  hardcode_into_libs=yes
11436  # ldd complains unless libraries are executable
11437  postinstall_cmds='chmod +x $lib'
11438  ;;
11439
11440sunos4*)
11441  version_type=sunos
11442  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11443  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11444  shlibpath_var=LD_LIBRARY_PATH
11445  shlibpath_overrides_runpath=yes
11446  if test yes = "$with_gnu_ld"; then
11447    need_lib_prefix=no
11448  fi
11449  need_version=yes
11450  ;;
11451
11452sysv4 | sysv4.3*)
11453  version_type=linux # correct to gnu/linux during the next big refactor
11454  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11455  soname_spec='$libname$release$shared_ext$major'
11456  shlibpath_var=LD_LIBRARY_PATH
11457  case $host_vendor in
11458    sni)
11459      shlibpath_overrides_runpath=no
11460      need_lib_prefix=no
11461      runpath_var=LD_RUN_PATH
11462      ;;
11463    siemens)
11464      need_lib_prefix=no
11465      ;;
11466    motorola)
11467      need_lib_prefix=no
11468      need_version=no
11469      shlibpath_overrides_runpath=no
11470      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11471      ;;
11472  esac
11473  ;;
11474
11475sysv4*MP*)
11476  if test -d /usr/nec; then
11477    version_type=linux # correct to gnu/linux during the next big refactor
11478    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11479    soname_spec='$libname$shared_ext.$major'
11480    shlibpath_var=LD_LIBRARY_PATH
11481  fi
11482  ;;
11483
11484sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11485  version_type=sco
11486  need_lib_prefix=no
11487  need_version=no
11488  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11489  soname_spec='$libname$release$shared_ext$major'
11490  shlibpath_var=LD_LIBRARY_PATH
11491  shlibpath_overrides_runpath=yes
11492  hardcode_into_libs=yes
11493  if test yes = "$with_gnu_ld"; then
11494    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11495  else
11496    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11497    case $host_os in
11498      sco3.2v5*)
11499        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11500	;;
11501    esac
11502  fi
11503  sys_lib_dlsearch_path_spec='/usr/lib'
11504  ;;
11505
11506tpf*)
11507  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11508  version_type=linux # correct to gnu/linux during the next big refactor
11509  need_lib_prefix=no
11510  need_version=no
11511  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11512  shlibpath_var=LD_LIBRARY_PATH
11513  shlibpath_overrides_runpath=no
11514  hardcode_into_libs=yes
11515  ;;
11516
11517uts4*)
11518  version_type=linux # correct to gnu/linux during the next big refactor
11519  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11520  soname_spec='$libname$release$shared_ext$major'
11521  shlibpath_var=LD_LIBRARY_PATH
11522  ;;
11523
11524*)
11525  dynamic_linker=no
11526  ;;
11527esac
11528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11529$as_echo "$dynamic_linker" >&6; }
11530test no = "$dynamic_linker" && can_build_shared=no
11531
11532variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11533if test yes = "$GCC"; then
11534  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11535fi
11536
11537if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11538  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11539fi
11540
11541if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11542  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11543fi
11544
11545# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11546configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11547
11548# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11549func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11550
11551# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11552configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11651$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11652hardcode_action=
11653if test -n "$hardcode_libdir_flag_spec" ||
11654   test -n "$runpath_var" ||
11655   test yes = "$hardcode_automatic"; then
11656
11657  # We can hardcode non-existent directories.
11658  if test no != "$hardcode_direct" &&
11659     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11660     # have to relink, otherwise we might link with an installed library
11661     # when we should be linking with a yet-to-be-installed one
11662     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11663     test no != "$hardcode_minus_L"; then
11664    # Linking always hardcodes the temporary library directory.
11665    hardcode_action=relink
11666  else
11667    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11668    hardcode_action=immediate
11669  fi
11670else
11671  # We cannot hardcode anything, or else we can only hardcode existing
11672  # directories.
11673  hardcode_action=unsupported
11674fi
11675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11676$as_echo "$hardcode_action" >&6; }
11677
11678if test relink = "$hardcode_action" ||
11679   test yes = "$inherit_rpath"; then
11680  # Fast installation is not supported
11681  enable_fast_install=no
11682elif test yes = "$shlibpath_overrides_runpath" ||
11683     test no = "$enable_shared"; then
11684  # Fast installation is not necessary
11685  enable_fast_install=needless
11686fi
11687
11688
11689
11690
11691
11692
11693  if test yes != "$enable_dlopen"; then
11694  enable_dlopen=unknown
11695  enable_dlopen_self=unknown
11696  enable_dlopen_self_static=unknown
11697else
11698  lt_cv_dlopen=no
11699  lt_cv_dlopen_libs=
11700
11701  case $host_os in
11702  beos*)
11703    lt_cv_dlopen=load_add_on
11704    lt_cv_dlopen_libs=
11705    lt_cv_dlopen_self=yes
11706    ;;
11707
11708  mingw* | pw32* | cegcc*)
11709    lt_cv_dlopen=LoadLibrary
11710    lt_cv_dlopen_libs=
11711    ;;
11712
11713  cygwin*)
11714    lt_cv_dlopen=dlopen
11715    lt_cv_dlopen_libs=
11716    ;;
11717
11718  darwin*)
11719    # if libdl is installed we need to link against it
11720    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11721$as_echo_n "checking for dlopen in -ldl... " >&6; }
11722if ${ac_cv_lib_dl_dlopen+:} false; then :
11723  $as_echo_n "(cached) " >&6
11724else
11725  ac_check_lib_save_LIBS=$LIBS
11726LIBS="-ldl  $LIBS"
11727cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728/* end confdefs.h.  */
11729
11730/* Override any GCC internal prototype to avoid an error.
11731   Use char because int might match the return type of a GCC
11732   builtin and then its argument prototype would still apply.  */
11733#ifdef __cplusplus
11734extern "C"
11735#endif
11736char dlopen ();
11737int
11738main ()
11739{
11740return dlopen ();
11741  ;
11742  return 0;
11743}
11744_ACEOF
11745if ac_fn_c_try_link "$LINENO"; then :
11746  ac_cv_lib_dl_dlopen=yes
11747else
11748  ac_cv_lib_dl_dlopen=no
11749fi
11750rm -f core conftest.err conftest.$ac_objext \
11751    conftest$ac_exeext conftest.$ac_ext
11752LIBS=$ac_check_lib_save_LIBS
11753fi
11754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11755$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11756if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11757  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11758else
11759
11760    lt_cv_dlopen=dyld
11761    lt_cv_dlopen_libs=
11762    lt_cv_dlopen_self=yes
11763
11764fi
11765
11766    ;;
11767
11768  tpf*)
11769    # Don't try to run any link tests for TPF.  We know it's impossible
11770    # because TPF is a cross-compiler, and we know how we open DSOs.
11771    lt_cv_dlopen=dlopen
11772    lt_cv_dlopen_libs=
11773    lt_cv_dlopen_self=no
11774    ;;
11775
11776  *)
11777    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11778if test "x$ac_cv_func_shl_load" = xyes; then :
11779  lt_cv_dlopen=shl_load
11780else
11781  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11782$as_echo_n "checking for shl_load in -ldld... " >&6; }
11783if ${ac_cv_lib_dld_shl_load+:} false; then :
11784  $as_echo_n "(cached) " >&6
11785else
11786  ac_check_lib_save_LIBS=$LIBS
11787LIBS="-ldld  $LIBS"
11788cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11789/* end confdefs.h.  */
11790
11791/* Override any GCC internal prototype to avoid an error.
11792   Use char because int might match the return type of a GCC
11793   builtin and then its argument prototype would still apply.  */
11794#ifdef __cplusplus
11795extern "C"
11796#endif
11797char shl_load ();
11798int
11799main ()
11800{
11801return shl_load ();
11802  ;
11803  return 0;
11804}
11805_ACEOF
11806if ac_fn_c_try_link "$LINENO"; then :
11807  ac_cv_lib_dld_shl_load=yes
11808else
11809  ac_cv_lib_dld_shl_load=no
11810fi
11811rm -f core conftest.err conftest.$ac_objext \
11812    conftest$ac_exeext conftest.$ac_ext
11813LIBS=$ac_check_lib_save_LIBS
11814fi
11815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11816$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11817if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11818  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11819else
11820  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11821if test "x$ac_cv_func_dlopen" = xyes; then :
11822  lt_cv_dlopen=dlopen
11823else
11824  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11825$as_echo_n "checking for dlopen in -ldl... " >&6; }
11826if ${ac_cv_lib_dl_dlopen+:} false; then :
11827  $as_echo_n "(cached) " >&6
11828else
11829  ac_check_lib_save_LIBS=$LIBS
11830LIBS="-ldl  $LIBS"
11831cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11832/* end confdefs.h.  */
11833
11834/* Override any GCC internal prototype to avoid an error.
11835   Use char because int might match the return type of a GCC
11836   builtin and then its argument prototype would still apply.  */
11837#ifdef __cplusplus
11838extern "C"
11839#endif
11840char dlopen ();
11841int
11842main ()
11843{
11844return dlopen ();
11845  ;
11846  return 0;
11847}
11848_ACEOF
11849if ac_fn_c_try_link "$LINENO"; then :
11850  ac_cv_lib_dl_dlopen=yes
11851else
11852  ac_cv_lib_dl_dlopen=no
11853fi
11854rm -f core conftest.err conftest.$ac_objext \
11855    conftest$ac_exeext conftest.$ac_ext
11856LIBS=$ac_check_lib_save_LIBS
11857fi
11858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11859$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11860if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11861  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11862else
11863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11864$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11865if ${ac_cv_lib_svld_dlopen+:} false; then :
11866  $as_echo_n "(cached) " >&6
11867else
11868  ac_check_lib_save_LIBS=$LIBS
11869LIBS="-lsvld  $LIBS"
11870cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11871/* end confdefs.h.  */
11872
11873/* Override any GCC internal prototype to avoid an error.
11874   Use char because int might match the return type of a GCC
11875   builtin and then its argument prototype would still apply.  */
11876#ifdef __cplusplus
11877extern "C"
11878#endif
11879char dlopen ();
11880int
11881main ()
11882{
11883return dlopen ();
11884  ;
11885  return 0;
11886}
11887_ACEOF
11888if ac_fn_c_try_link "$LINENO"; then :
11889  ac_cv_lib_svld_dlopen=yes
11890else
11891  ac_cv_lib_svld_dlopen=no
11892fi
11893rm -f core conftest.err conftest.$ac_objext \
11894    conftest$ac_exeext conftest.$ac_ext
11895LIBS=$ac_check_lib_save_LIBS
11896fi
11897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11898$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11899if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11900  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11901else
11902  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11903$as_echo_n "checking for dld_link in -ldld... " >&6; }
11904if ${ac_cv_lib_dld_dld_link+:} false; then :
11905  $as_echo_n "(cached) " >&6
11906else
11907  ac_check_lib_save_LIBS=$LIBS
11908LIBS="-ldld  $LIBS"
11909cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910/* end confdefs.h.  */
11911
11912/* Override any GCC internal prototype to avoid an error.
11913   Use char because int might match the return type of a GCC
11914   builtin and then its argument prototype would still apply.  */
11915#ifdef __cplusplus
11916extern "C"
11917#endif
11918char dld_link ();
11919int
11920main ()
11921{
11922return dld_link ();
11923  ;
11924  return 0;
11925}
11926_ACEOF
11927if ac_fn_c_try_link "$LINENO"; then :
11928  ac_cv_lib_dld_dld_link=yes
11929else
11930  ac_cv_lib_dld_dld_link=no
11931fi
11932rm -f core conftest.err conftest.$ac_objext \
11933    conftest$ac_exeext conftest.$ac_ext
11934LIBS=$ac_check_lib_save_LIBS
11935fi
11936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11937$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11938if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11939  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11940fi
11941
11942
11943fi
11944
11945
11946fi
11947
11948
11949fi
11950
11951
11952fi
11953
11954
11955fi
11956
11957    ;;
11958  esac
11959
11960  if test no = "$lt_cv_dlopen"; then
11961    enable_dlopen=no
11962  else
11963    enable_dlopen=yes
11964  fi
11965
11966  case $lt_cv_dlopen in
11967  dlopen)
11968    save_CPPFLAGS=$CPPFLAGS
11969    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11970
11971    save_LDFLAGS=$LDFLAGS
11972    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11973
11974    save_LIBS=$LIBS
11975    LIBS="$lt_cv_dlopen_libs $LIBS"
11976
11977    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11978$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11979if ${lt_cv_dlopen_self+:} false; then :
11980  $as_echo_n "(cached) " >&6
11981else
11982  	  if test yes = "$cross_compiling"; then :
11983  lt_cv_dlopen_self=cross
11984else
11985  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11986  lt_status=$lt_dlunknown
11987  cat > conftest.$ac_ext <<_LT_EOF
11988#line $LINENO "configure"
11989#include "confdefs.h"
11990
11991#if HAVE_DLFCN_H
11992#include <dlfcn.h>
11993#endif
11994
11995#include <stdio.h>
11996
11997#ifdef RTLD_GLOBAL
11998#  define LT_DLGLOBAL		RTLD_GLOBAL
11999#else
12000#  ifdef DL_GLOBAL
12001#    define LT_DLGLOBAL		DL_GLOBAL
12002#  else
12003#    define LT_DLGLOBAL		0
12004#  endif
12005#endif
12006
12007/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12008   find out it does not work in some platform. */
12009#ifndef LT_DLLAZY_OR_NOW
12010#  ifdef RTLD_LAZY
12011#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12012#  else
12013#    ifdef DL_LAZY
12014#      define LT_DLLAZY_OR_NOW		DL_LAZY
12015#    else
12016#      ifdef RTLD_NOW
12017#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12018#      else
12019#        ifdef DL_NOW
12020#          define LT_DLLAZY_OR_NOW	DL_NOW
12021#        else
12022#          define LT_DLLAZY_OR_NOW	0
12023#        endif
12024#      endif
12025#    endif
12026#  endif
12027#endif
12028
12029/* When -fvisibility=hidden is used, assume the code has been annotated
12030   correspondingly for the symbols needed.  */
12031#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12032int fnord () __attribute__((visibility("default")));
12033#endif
12034
12035int fnord () { return 42; }
12036int main ()
12037{
12038  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12039  int status = $lt_dlunknown;
12040
12041  if (self)
12042    {
12043      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12044      else
12045        {
12046	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12047          else puts (dlerror ());
12048	}
12049      /* dlclose (self); */
12050    }
12051  else
12052    puts (dlerror ());
12053
12054  return status;
12055}
12056_LT_EOF
12057  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12058  (eval $ac_link) 2>&5
12059  ac_status=$?
12060  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12061  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12062    (./conftest; exit; ) >&5 2>/dev/null
12063    lt_status=$?
12064    case x$lt_status in
12065      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12066      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12067      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12068    esac
12069  else :
12070    # compilation failed
12071    lt_cv_dlopen_self=no
12072  fi
12073fi
12074rm -fr conftest*
12075
12076
12077fi
12078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12079$as_echo "$lt_cv_dlopen_self" >&6; }
12080
12081    if test yes = "$lt_cv_dlopen_self"; then
12082      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12083      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12084$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12085if ${lt_cv_dlopen_self_static+:} false; then :
12086  $as_echo_n "(cached) " >&6
12087else
12088  	  if test yes = "$cross_compiling"; then :
12089  lt_cv_dlopen_self_static=cross
12090else
12091  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12092  lt_status=$lt_dlunknown
12093  cat > conftest.$ac_ext <<_LT_EOF
12094#line $LINENO "configure"
12095#include "confdefs.h"
12096
12097#if HAVE_DLFCN_H
12098#include <dlfcn.h>
12099#endif
12100
12101#include <stdio.h>
12102
12103#ifdef RTLD_GLOBAL
12104#  define LT_DLGLOBAL		RTLD_GLOBAL
12105#else
12106#  ifdef DL_GLOBAL
12107#    define LT_DLGLOBAL		DL_GLOBAL
12108#  else
12109#    define LT_DLGLOBAL		0
12110#  endif
12111#endif
12112
12113/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12114   find out it does not work in some platform. */
12115#ifndef LT_DLLAZY_OR_NOW
12116#  ifdef RTLD_LAZY
12117#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12118#  else
12119#    ifdef DL_LAZY
12120#      define LT_DLLAZY_OR_NOW		DL_LAZY
12121#    else
12122#      ifdef RTLD_NOW
12123#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12124#      else
12125#        ifdef DL_NOW
12126#          define LT_DLLAZY_OR_NOW	DL_NOW
12127#        else
12128#          define LT_DLLAZY_OR_NOW	0
12129#        endif
12130#      endif
12131#    endif
12132#  endif
12133#endif
12134
12135/* When -fvisibility=hidden is used, assume the code has been annotated
12136   correspondingly for the symbols needed.  */
12137#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12138int fnord () __attribute__((visibility("default")));
12139#endif
12140
12141int fnord () { return 42; }
12142int main ()
12143{
12144  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12145  int status = $lt_dlunknown;
12146
12147  if (self)
12148    {
12149      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12150      else
12151        {
12152	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12153          else puts (dlerror ());
12154	}
12155      /* dlclose (self); */
12156    }
12157  else
12158    puts (dlerror ());
12159
12160  return status;
12161}
12162_LT_EOF
12163  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12164  (eval $ac_link) 2>&5
12165  ac_status=$?
12166  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12167  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12168    (./conftest; exit; ) >&5 2>/dev/null
12169    lt_status=$?
12170    case x$lt_status in
12171      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12172      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12173      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12174    esac
12175  else :
12176    # compilation failed
12177    lt_cv_dlopen_self_static=no
12178  fi
12179fi
12180rm -fr conftest*
12181
12182
12183fi
12184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12185$as_echo "$lt_cv_dlopen_self_static" >&6; }
12186    fi
12187
12188    CPPFLAGS=$save_CPPFLAGS
12189    LDFLAGS=$save_LDFLAGS
12190    LIBS=$save_LIBS
12191    ;;
12192  esac
12193
12194  case $lt_cv_dlopen_self in
12195  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12196  *) enable_dlopen_self=unknown ;;
12197  esac
12198
12199  case $lt_cv_dlopen_self_static in
12200  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12201  *) enable_dlopen_self_static=unknown ;;
12202  esac
12203fi
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221striplib=
12222old_striplib=
12223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12224$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12225if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12226  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12227  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12229$as_echo "yes" >&6; }
12230else
12231# FIXME - insert some real tests, host_os isn't really good enough
12232  case $host_os in
12233  darwin*)
12234    if test -n "$STRIP"; then
12235      striplib="$STRIP -x"
12236      old_striplib="$STRIP -S"
12237      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12238$as_echo "yes" >&6; }
12239    else
12240      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12241$as_echo "no" >&6; }
12242    fi
12243    ;;
12244  *)
12245    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12246$as_echo "no" >&6; }
12247    ;;
12248  esac
12249fi
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262  # Report what library types will actually be built
12263  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12264$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12266$as_echo "$can_build_shared" >&6; }
12267
12268  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12269$as_echo_n "checking whether to build shared libraries... " >&6; }
12270  test no = "$can_build_shared" && enable_shared=no
12271
12272  # On AIX, shared libraries and static libraries use the same namespace, and
12273  # are all built from PIC.
12274  case $host_os in
12275  aix3*)
12276    test yes = "$enable_shared" && enable_static=no
12277    if test -n "$RANLIB"; then
12278      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12279      postinstall_cmds='$RANLIB $lib'
12280    fi
12281    ;;
12282
12283  aix[4-9]*)
12284    if test ia64 != "$host_cpu"; then
12285      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12286      yes,aix,yes) ;;			# shared object as lib.so file only
12287      yes,svr4,*) ;;			# shared object as lib.so archive member only
12288      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12289      esac
12290    fi
12291    ;;
12292  esac
12293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12294$as_echo "$enable_shared" >&6; }
12295
12296  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12297$as_echo_n "checking whether to build static libraries... " >&6; }
12298  # Make sure either enable_shared or enable_static is yes.
12299  test yes = "$enable_shared" || enable_static=yes
12300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12301$as_echo "$enable_static" >&6; }
12302
12303
12304
12305
12306fi
12307ac_ext=c
12308ac_cpp='$CPP $CPPFLAGS'
12309ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12310ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12311ac_compiler_gnu=$ac_cv_c_compiler_gnu
12312
12313CC=$lt_save_CC
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329        ac_config_commands="$ac_config_commands libtool"
12330
12331
12332
12333
12334# Only expand once:
12335
12336
12337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
12338$as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
12339if ${libltdl_cv_shlibext+:} false; then :
12340  $as_echo_n "(cached) " >&6
12341else
12342
12343module=yes
12344eval libltdl_cv_shlibext=$shrext_cmds
12345module=no
12346eval libltdl_cv_shrext=$shrext_cmds
12347
12348fi
12349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
12350$as_echo "$libltdl_cv_shlibext" >&6; }
12351if test -n "$libltdl_cv_shlibext"; then
12352
12353cat >>confdefs.h <<_ACEOF
12354#define LT_MODULE_EXT "$libltdl_cv_shlibext"
12355_ACEOF
12356
12357fi
12358if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12359
12360cat >>confdefs.h <<_ACEOF
12361#define LT_SHARED_EXT "$libltdl_cv_shrext"
12362_ACEOF
12363
12364fi
12365if test -n "$shared_archive_member_spec"; then
12366
12367cat >>confdefs.h <<_ACEOF
12368#define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
12369_ACEOF
12370
12371fi
12372
12373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
12374$as_echo_n "checking what variable specifies run-time module search path... " >&6; }
12375if ${lt_cv_module_path_var+:} false; then :
12376  $as_echo_n "(cached) " >&6
12377else
12378  lt_cv_module_path_var=$shlibpath_var
12379fi
12380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
12381$as_echo "$lt_cv_module_path_var" >&6; }
12382if test -n "$lt_cv_module_path_var"; then
12383
12384cat >>confdefs.h <<_ACEOF
12385#define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
12386_ACEOF
12387
12388fi
12389
12390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12391$as_echo_n "checking for the default library search path... " >&6; }
12392if ${lt_cv_sys_dlsearch_path+:} false; then :
12393  $as_echo_n "(cached) " >&6
12394else
12395  lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec
12396fi
12397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
12398$as_echo "$lt_cv_sys_dlsearch_path" >&6; }
12399if test -n "$lt_cv_sys_dlsearch_path"; then
12400  sys_dlsearch_path=
12401  for dir in $lt_cv_sys_dlsearch_path; do
12402    if test -z "$sys_dlsearch_path"; then
12403      sys_dlsearch_path=$dir
12404    else
12405      sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
12406    fi
12407  done
12408
12409cat >>confdefs.h <<_ACEOF
12410#define LT_DLSEARCH_PATH "$sys_dlsearch_path"
12411_ACEOF
12412
12413fi
12414
12415
12416LT_DLLOADERS=
12417
12418
12419ac_ext=c
12420ac_cpp='$CPP $CPPFLAGS'
12421ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12422ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12423ac_compiler_gnu=$ac_cv_c_compiler_gnu
12424
12425lt_dlload_save_LIBS=$LIBS
12426
12427LIBADD_DLOPEN=
12428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12429$as_echo_n "checking for library containing dlopen... " >&6; }
12430if ${ac_cv_search_dlopen+:} false; then :
12431  $as_echo_n "(cached) " >&6
12432else
12433  ac_func_search_save_LIBS=$LIBS
12434cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12435/* end confdefs.h.  */
12436
12437/* Override any GCC internal prototype to avoid an error.
12438   Use char because int might match the return type of a GCC
12439   builtin and then its argument prototype would still apply.  */
12440#ifdef __cplusplus
12441extern "C"
12442#endif
12443char dlopen ();
12444int
12445main ()
12446{
12447return dlopen ();
12448  ;
12449  return 0;
12450}
12451_ACEOF
12452for ac_lib in '' dl; do
12453  if test -z "$ac_lib"; then
12454    ac_res="none required"
12455  else
12456    ac_res=-l$ac_lib
12457    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12458  fi
12459  if ac_fn_c_try_link "$LINENO"; then :
12460  ac_cv_search_dlopen=$ac_res
12461fi
12462rm -f core conftest.err conftest.$ac_objext \
12463    conftest$ac_exeext
12464  if ${ac_cv_search_dlopen+:} false; then :
12465  break
12466fi
12467done
12468if ${ac_cv_search_dlopen+:} false; then :
12469
12470else
12471  ac_cv_search_dlopen=no
12472fi
12473rm conftest.$ac_ext
12474LIBS=$ac_func_search_save_LIBS
12475fi
12476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12477$as_echo "$ac_cv_search_dlopen" >&6; }
12478ac_res=$ac_cv_search_dlopen
12479if test "$ac_res" != no; then :
12480  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12481
12482$as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12483
12484	if test "$ac_cv_search_dlopen" != "none required"; then
12485	  LIBADD_DLOPEN=-ldl
12486	fi
12487	libltdl_cv_lib_dl_dlopen=yes
12488	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12489else
12490  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491/* end confdefs.h.  */
12492#if HAVE_DLFCN_H
12493#  include <dlfcn.h>
12494#endif
12495
12496int
12497main ()
12498{
12499dlopen(0, 0);
12500  ;
12501  return 0;
12502}
12503_ACEOF
12504if ac_fn_c_try_link "$LINENO"; then :
12505
12506$as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12507
12508	    libltdl_cv_func_dlopen=yes
12509	    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12510else
12511  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12512$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12513if ${ac_cv_lib_svld_dlopen+:} false; then :
12514  $as_echo_n "(cached) " >&6
12515else
12516  ac_check_lib_save_LIBS=$LIBS
12517LIBS="-lsvld  $LIBS"
12518cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12519/* end confdefs.h.  */
12520
12521/* Override any GCC internal prototype to avoid an error.
12522   Use char because int might match the return type of a GCC
12523   builtin and then its argument prototype would still apply.  */
12524#ifdef __cplusplus
12525extern "C"
12526#endif
12527char dlopen ();
12528int
12529main ()
12530{
12531return dlopen ();
12532  ;
12533  return 0;
12534}
12535_ACEOF
12536if ac_fn_c_try_link "$LINENO"; then :
12537  ac_cv_lib_svld_dlopen=yes
12538else
12539  ac_cv_lib_svld_dlopen=no
12540fi
12541rm -f core conftest.err conftest.$ac_objext \
12542    conftest$ac_exeext conftest.$ac_ext
12543LIBS=$ac_check_lib_save_LIBS
12544fi
12545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12546$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12547if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12548
12549$as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12550
12551	        LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
12552		LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12553fi
12554
12555fi
12556rm -f core conftest.err conftest.$ac_objext \
12557    conftest$ac_exeext conftest.$ac_ext
12558fi
12559
12560if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
12561then
12562  lt_save_LIBS=$LIBS
12563  LIBS="$LIBS $LIBADD_DLOPEN"
12564  for ac_func in dlerror
12565do :
12566  ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12567if test "x$ac_cv_func_dlerror" = xyes; then :
12568  cat >>confdefs.h <<_ACEOF
12569#define HAVE_DLERROR 1
12570_ACEOF
12571
12572fi
12573done
12574
12575  LIBS=$lt_save_LIBS
12576fi
12577
12578
12579LIBADD_SHL_LOAD=
12580ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12581if test "x$ac_cv_func_shl_load" = xyes; then :
12582
12583$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12584
12585	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12586else
12587  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12588$as_echo_n "checking for shl_load in -ldld... " >&6; }
12589if ${ac_cv_lib_dld_shl_load+:} false; then :
12590  $as_echo_n "(cached) " >&6
12591else
12592  ac_check_lib_save_LIBS=$LIBS
12593LIBS="-ldld  $LIBS"
12594cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595/* end confdefs.h.  */
12596
12597/* Override any GCC internal prototype to avoid an error.
12598   Use char because int might match the return type of a GCC
12599   builtin and then its argument prototype would still apply.  */
12600#ifdef __cplusplus
12601extern "C"
12602#endif
12603char shl_load ();
12604int
12605main ()
12606{
12607return shl_load ();
12608  ;
12609  return 0;
12610}
12611_ACEOF
12612if ac_fn_c_try_link "$LINENO"; then :
12613  ac_cv_lib_dld_shl_load=yes
12614else
12615  ac_cv_lib_dld_shl_load=no
12616fi
12617rm -f core conftest.err conftest.$ac_objext \
12618    conftest$ac_exeext conftest.$ac_ext
12619LIBS=$ac_check_lib_save_LIBS
12620fi
12621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12622$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12623if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12624
12625$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12626
12627	    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12628	    LIBADD_SHL_LOAD=-ldld
12629fi
12630
12631fi
12632
12633
12634
12635case $host_os in
12636darwin[1567].*)
12637# We only want this for pre-Mac OS X 10.4.
12638  ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12639if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12640
12641$as_echo "#define HAVE_DYLD 1" >>confdefs.h
12642
12643	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
12644fi
12645
12646  ;;
12647beos*)
12648  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12649  ;;
12650cygwin* | mingw* | pw32*)
12651  ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12652"
12653if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12654  ac_have_decl=1
12655else
12656  ac_have_decl=0
12657fi
12658
12659cat >>confdefs.h <<_ACEOF
12660#define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
12661_ACEOF
12662
12663  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
12664  ;;
12665esac
12666
12667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12668$as_echo_n "checking for dld_link in -ldld... " >&6; }
12669if ${ac_cv_lib_dld_dld_link+:} false; then :
12670  $as_echo_n "(cached) " >&6
12671else
12672  ac_check_lib_save_LIBS=$LIBS
12673LIBS="-ldld  $LIBS"
12674cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12675/* end confdefs.h.  */
12676
12677/* Override any GCC internal prototype to avoid an error.
12678   Use char because int might match the return type of a GCC
12679   builtin and then its argument prototype would still apply.  */
12680#ifdef __cplusplus
12681extern "C"
12682#endif
12683char dld_link ();
12684int
12685main ()
12686{
12687return dld_link ();
12688  ;
12689  return 0;
12690}
12691_ACEOF
12692if ac_fn_c_try_link "$LINENO"; then :
12693  ac_cv_lib_dld_dld_link=yes
12694else
12695  ac_cv_lib_dld_dld_link=no
12696fi
12697rm -f core conftest.err conftest.$ac_objext \
12698    conftest$ac_exeext conftest.$ac_ext
12699LIBS=$ac_check_lib_save_LIBS
12700fi
12701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12702$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12703if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12704
12705$as_echo "#define HAVE_DLD 1" >>confdefs.h
12706
12707		LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
12708fi
12709
12710
12711
12712
12713LT_DLPREOPEN=
12714if test -n "$LT_DLLOADERS"
12715then
12716  for lt_loader in $LT_DLLOADERS; do
12717    LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
12718  done
12719
12720$as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
12721
12722fi
12723
12724
12725LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12726
12727
12728LIBS=$lt_dlload_save_LIBS
12729ac_ext=c
12730ac_cpp='$CPP $CPPFLAGS'
12731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12733ac_compiler_gnu=$ac_cv_c_compiler_gnu
12734
12735
12736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12737$as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12738if ${lt_cv_sys_symbol_underscore+:} false; then :
12739  $as_echo_n "(cached) " >&6
12740else
12741  lt_cv_sys_symbol_underscore=no
12742  cat > conftest.$ac_ext <<_LT_EOF
12743void nm_test_func(){}
12744int main(){nm_test_func;return 0;}
12745_LT_EOF
12746  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12747  (eval $ac_compile) 2>&5
12748  ac_status=$?
12749  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12750  test $ac_status = 0; }; then
12751    # Now try to grab the symbols.
12752    ac_nlist=conftest.nm
12753    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
12754  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
12755  ac_status=$?
12756  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12757  test $ac_status = 0; } && test -s "$ac_nlist"; then
12758      # See whether the symbols have a leading underscore.
12759      if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
12760        lt_cv_sys_symbol_underscore=yes
12761      else
12762        if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
12763	  :
12764        else
12765	  echo "configure: cannot find nm_test_func in $ac_nlist" >&5
12766        fi
12767      fi
12768    else
12769      echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
12770    fi
12771  else
12772    echo "configure: failed program was:" >&5
12773    cat conftest.c >&5
12774  fi
12775  rm -rf conftest*
12776
12777fi
12778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
12779$as_echo "$lt_cv_sys_symbol_underscore" >&6; }
12780  sys_symbol_underscore=$lt_cv_sys_symbol_underscore
12781
12782
12783if test yes = "$lt_cv_sys_symbol_underscore"; then
12784  if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
12785    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12786$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12787if ${libltdl_cv_need_uscore+:} false; then :
12788  $as_echo_n "(cached) " >&6
12789else
12790  libltdl_cv_need_uscore=unknown
12791      dlsym_uscore_save_LIBS=$LIBS
12792      LIBS="$LIBS $LIBADD_DLOPEN"
12793      libname=conftmod # stay within 8.3 filename limits!
12794      cat >$libname.$ac_ext <<_LT_EOF
12795#line $LINENO "configure"
12796#include "confdefs.h"
12797/* When -fvisibility=hidden is used, assume the code has been annotated
12798   correspondingly for the symbols needed.  */
12799#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12800int fnord () __attribute__((visibility("default")));
12801#endif
12802int fnord () { return 42; }
12803_LT_EOF
12804
12805      # ltfn_module_cmds module_cmds
12806      # Execute tilde-delimited MODULE_CMDS with environment primed for
12807      # $module_cmds or $archive_cmds type content.
12808      ltfn_module_cmds ()
12809      {( # subshell avoids polluting parent global environment
12810          module_cmds_save_ifs=$IFS; IFS='~'
12811          for cmd in $1; do
12812            IFS=$module_cmds_save_ifs
12813            libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
12814            rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
12815            major=; versuffix=; verstring=; deplibs=
12816            ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
12817            eval $cmd
12818          done
12819          IFS=$module_cmds_save_ifs
12820      )}
12821
12822      # Compile a loadable module using libtool macro expansion results.
12823      $CC $pic_flag -c $libname.$ac_ext
12824      ltfn_module_cmds "${module_cmds:-$archive_cmds}"
12825
12826      # Try to fetch fnord with dlsym().
12827      libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
12828      cat >conftest.$ac_ext <<_LT_EOF
12829#line $LINENO "configure"
12830#include "confdefs.h"
12831#if HAVE_DLFCN_H
12832#include <dlfcn.h>
12833#endif
12834#include <stdio.h>
12835#ifndef RTLD_GLOBAL
12836#  ifdef DL_GLOBAL
12837#    define RTLD_GLOBAL DL_GLOBAL
12838#  else
12839#    define RTLD_GLOBAL 0
12840#  endif
12841#endif
12842#ifndef RTLD_NOW
12843#  ifdef DL_NOW
12844#    define RTLD_NOW DL_NOW
12845#  else
12846#    define RTLD_NOW 0
12847#  endif
12848#endif
12849int main () {
12850  void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
12851  int status = $libltdl_dlunknown;
12852  if (handle) {
12853    if (dlsym (handle, "fnord"))
12854      status = $libltdl_dlnouscore;
12855    else {
12856      if (dlsym (handle, "_fnord"))
12857        status = $libltdl_dluscore;
12858      else
12859	puts (dlerror ());
12860    }
12861    dlclose (handle);
12862  } else
12863    puts (dlerror ());
12864  return status;
12865}
12866_LT_EOF
12867      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12868  (eval $ac_link) 2>&5
12869  ac_status=$?
12870  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12871  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12872        (./conftest; exit; ) >&5 2>/dev/null
12873        libltdl_status=$?
12874        case x$libltdl_status in
12875          x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
12876	  x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
12877	  x*) libltdl_cv_need_uscore=unknown ;;
12878        esac
12879      fi
12880      rm -rf conftest* $libname*
12881      LIBS=$dlsym_uscore_save_LIBS
12882
12883fi
12884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
12885$as_echo "$libltdl_cv_need_uscore" >&6; }
12886  fi
12887fi
12888
12889if test yes = "$libltdl_cv_need_uscore"; then
12890
12891$as_echo "#define NEED_USCORE 1" >>confdefs.h
12892
12893fi
12894
12895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12896$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12897if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12898  $as_echo_n "(cached) " >&6
12899else
12900  # PORTME does your system automatically load deplibs for dlopen?
12901  # or its logical equivalent (e.g. shl_load for HP-UX < 11)
12902  # For now, we just catch OSes we know something about -- in the
12903  # future, we'll try test this programmatically.
12904  lt_cv_sys_dlopen_deplibs=unknown
12905  case $host_os in
12906  aix3*|aix4.1.*|aix4.2.*)
12907    # Unknown whether this is true for these versions of AIX, but
12908    # we want this 'case' here to explicitly catch those versions.
12909    lt_cv_sys_dlopen_deplibs=unknown
12910    ;;
12911  aix[4-9]*)
12912    lt_cv_sys_dlopen_deplibs=yes
12913    ;;
12914  amigaos*)
12915    case $host_cpu in
12916    powerpc)
12917      lt_cv_sys_dlopen_deplibs=no
12918      ;;
12919    esac
12920    ;;
12921  bitrig*)
12922    lt_cv_sys_dlopen_deplibs=yes
12923    ;;
12924  darwin*)
12925    # Assuming the user has installed a libdl from somewhere, this is true
12926    # If you are looking for one http://www.opendarwin.org/projects/dlcompat
12927    lt_cv_sys_dlopen_deplibs=yes
12928    ;;
12929  freebsd* | dragonfly*)
12930    lt_cv_sys_dlopen_deplibs=yes
12931    ;;
12932  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12933    # GNU and its variants, using gnu ld.so (Glibc)
12934    lt_cv_sys_dlopen_deplibs=yes
12935    ;;
12936  hpux10*|hpux11*)
12937    lt_cv_sys_dlopen_deplibs=yes
12938    ;;
12939  interix*)
12940    lt_cv_sys_dlopen_deplibs=yes
12941    ;;
12942  irix[12345]*|irix6.[01]*)
12943    # Catch all versions of IRIX before 6.2, and indicate that we don't
12944    # know how it worked for any of those versions.
12945    lt_cv_sys_dlopen_deplibs=unknown
12946    ;;
12947  irix*)
12948    # The case above catches anything before 6.2, and it's known that
12949    # at 6.2 and later dlopen does load deplibs.
12950    lt_cv_sys_dlopen_deplibs=yes
12951    ;;
12952  netbsd* | netbsdelf*-gnu)
12953    lt_cv_sys_dlopen_deplibs=yes
12954    ;;
12955  openbsd*)
12956    lt_cv_sys_dlopen_deplibs=yes
12957    ;;
12958  osf[1234]*)
12959    # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
12960    # it did *not* use an RPATH in a shared library to find objects the
12961    # library depends on, so we explicitly say 'no'.
12962    lt_cv_sys_dlopen_deplibs=no
12963    ;;
12964  osf5.0|osf5.0a|osf5.1)
12965    # dlopen *does* load deplibs and with the right loader patch applied
12966    # it even uses RPATH in a shared library to search for shared objects
12967    # that the library depends on, but there's no easy way to know if that
12968    # patch is installed.  Since this is the case, all we can really
12969    # say is unknown -- it depends on the patch being installed.  If
12970    # it is, this changes to 'yes'.  Without it, it would be 'no'.
12971    lt_cv_sys_dlopen_deplibs=unknown
12972    ;;
12973  osf*)
12974    # the two cases above should catch all versions of osf <= 5.1.  Read
12975    # the comments above for what we know about them.
12976    # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
12977    # is used to find them so we can finally say 'yes'.
12978    lt_cv_sys_dlopen_deplibs=yes
12979    ;;
12980  qnx*)
12981    lt_cv_sys_dlopen_deplibs=yes
12982    ;;
12983  solaris*)
12984    lt_cv_sys_dlopen_deplibs=yes
12985    ;;
12986  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12987    libltdl_cv_sys_dlopen_deplibs=yes
12988    ;;
12989  esac
12990
12991fi
12992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
12993$as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
12994if test yes != "$lt_cv_sys_dlopen_deplibs"; then
12995
12996$as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
12997
12998fi
12999
13000
13001for ac_header in argz.h
13002do :
13003  ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
13004"
13005if test "x$ac_cv_header_argz_h" = xyes; then :
13006  cat >>confdefs.h <<_ACEOF
13007#define HAVE_ARGZ_H 1
13008_ACEOF
13009
13010fi
13011
13012done
13013
13014
13015ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
13016#  include <argz.h>
13017#endif
13018"
13019if test "x$ac_cv_type_error_t" = xyes; then :
13020
13021cat >>confdefs.h <<_ACEOF
13022#define HAVE_ERROR_T 1
13023_ACEOF
13024
13025
13026else
13027
13028$as_echo "#define error_t int" >>confdefs.h
13029
13030
13031$as_echo "#define __error_t_defined 1" >>confdefs.h
13032
13033fi
13034
13035
13036LT_ARGZ_H=
13037for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
13038	argz_next argz_stringify
13039do :
13040  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13041ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13042if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13043  cat >>confdefs.h <<_ACEOF
13044#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13045_ACEOF
13046
13047else
13048  LT_ARGZ_H=lt__argz.h; case " $LIBOBJS " in
13049  *" lt__argz.$ac_objext "* ) ;;
13050  *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
13051 ;;
13052esac
13053
13054fi
13055done
13056
13057
13058if test -z "$LT_ARGZ_H"; then :
13059  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
13060$as_echo_n "checking if argz actually works... " >&6; }
13061if ${lt_cv_sys_argz_works+:} false; then :
13062  $as_echo_n "(cached) " >&6
13063else
13064  case $host_os in #(
13065	 *cygwin*)
13066	   lt_cv_sys_argz_works=no
13067	   if test no != "$cross_compiling"; then
13068	     lt_cv_sys_argz_works="guessing no"
13069	   else
13070	     lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
13071	     save_IFS=$IFS
13072	     IFS=-.
13073	     set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
13074	     IFS=$save_IFS
13075	     lt_os_major=${2-0}
13076	     lt_os_minor=${3-0}
13077	     lt_os_micro=${4-0}
13078	     if test 1 -lt "$lt_os_major" \
13079		|| { test 1 -eq "$lt_os_major" \
13080		  && { test 5 -lt "$lt_os_minor" \
13081		    || { test 5 -eq "$lt_os_minor" \
13082		      && test 24 -lt "$lt_os_micro"; }; }; }; then
13083	       lt_cv_sys_argz_works=yes
13084	     fi
13085	   fi
13086	   ;; #(
13087	 *) lt_cv_sys_argz_works=yes ;;
13088	 esac
13089fi
13090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
13091$as_echo "$lt_cv_sys_argz_works" >&6; }
13092     if test yes = "$lt_cv_sys_argz_works"; then :
13093
13094$as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
13095
13096else
13097  LT_ARGZ_H=lt__argz.h
13098        case " $LIBOBJS " in
13099  *" lt__argz.$ac_objext "* ) ;;
13100  *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
13101 ;;
13102esac
13103
13104fi
13105fi
13106
13107
13108
13109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
13110$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
13111if ${libltdl_cv_preloaded_symbols+:} false; then :
13112  $as_echo_n "(cached) " >&6
13113else
13114  if test -n "$lt_cv_sys_global_symbol_pipe"; then
13115    libltdl_cv_preloaded_symbols=yes
13116  else
13117    libltdl_cv_preloaded_symbols=no
13118  fi
13119
13120fi
13121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
13122$as_echo "$libltdl_cv_preloaded_symbols" >&6; }
13123if test yes = "$libltdl_cv_preloaded_symbols"; then
13124
13125$as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
13126
13127fi
13128
13129
13130
13131# Check whether --enable-ltdl-install was given.
13132if test "${enable_ltdl_install+set}" = set; then :
13133  enableval=$enable_ltdl_install;
13134fi
13135
13136
13137case ,$enable_ltdl_install,$enable_ltdl_convenience in
13138  *yes*) ;;
13139  *) enable_ltdl_convenience=yes ;;
13140esac
13141
13142 if test no != "${enable_ltdl_install-no}"; then
13143  INSTALL_LTDL_TRUE=
13144  INSTALL_LTDL_FALSE='#'
13145else
13146  INSTALL_LTDL_TRUE='#'
13147  INSTALL_LTDL_FALSE=
13148fi
13149
13150  if test no != "${enable_ltdl_convenience-no}"; then
13151  CONVENIENCE_LTDL_TRUE=
13152  CONVENIENCE_LTDL_FALSE='#'
13153else
13154  CONVENIENCE_LTDL_TRUE='#'
13155  CONVENIENCE_LTDL_FALSE=
13156fi
13157
13158
13159
13160
13161
13162
13163# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
13164# the user used.  This is so that ltdl.h can pick up the parent projects
13165# config.h file, The first file in AC_CONFIG_HEADERS must contain the
13166# definitions required by ltdl.c.
13167# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
13168
13169
13170
13171for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
13172do :
13173  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13174ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13175"
13176if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13177  cat >>confdefs.h <<_ACEOF
13178#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13179_ACEOF
13180
13181fi
13182
13183done
13184
13185
13186for ac_func in closedir opendir readdir
13187do :
13188  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13189ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13190if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13191  cat >>confdefs.h <<_ACEOF
13192#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13193_ACEOF
13194
13195else
13196  case " $LIBOBJS " in
13197  *" lt__dirent.$ac_objext "* ) ;;
13198  *) LIBOBJS="$LIBOBJS lt__dirent.$ac_objext"
13199 ;;
13200esac
13201
13202fi
13203done
13204
13205for ac_func in strlcat strlcpy
13206do :
13207  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13208ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13209if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13210  cat >>confdefs.h <<_ACEOF
13211#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13212_ACEOF
13213
13214else
13215  case " $LIBOBJS " in
13216  *" lt__strl.$ac_objext "* ) ;;
13217  *) LIBOBJS="$LIBOBJS lt__strl.$ac_objext"
13218 ;;
13219esac
13220
13221fi
13222done
13223
13224
13225
13226cat >>confdefs.h <<_ACEOF
13227#define LT_LIBEXT "$libext"
13228_ACEOF
13229
13230
13231name=
13232eval "lt_libprefix=\"$libname_spec\""
13233
13234cat >>confdefs.h <<_ACEOF
13235#define LT_LIBPREFIX "$lt_libprefix"
13236_ACEOF
13237
13238
13239name=ltdl
13240eval "LTDLOPEN=\"$libname_spec\""
13241
13242
13243
13244
13245## -------- ##
13246## Outputs. ##
13247## -------- ##
13248ac_config_files="$ac_config_files Makefile"
13249
13250cat >confcache <<\_ACEOF
13251# This file is a shell script that caches the results of configure
13252# tests run on this system so they can be shared between configure
13253# scripts and configure runs, see configure's option --config-cache.
13254# It is not useful on other systems.  If it contains results you don't
13255# want to keep, you may remove or edit it.
13256#
13257# config.status only pays attention to the cache file if you give it
13258# the --recheck option to rerun configure.
13259#
13260# `ac_cv_env_foo' variables (set or unset) will be overridden when
13261# loading this file, other *unset* `ac_cv_foo' will be assigned the
13262# following values.
13263
13264_ACEOF
13265
13266# The following way of writing the cache mishandles newlines in values,
13267# but we know of no workaround that is simple, portable, and efficient.
13268# So, we kill variables containing newlines.
13269# Ultrix sh set writes to stderr and can't be redirected directly,
13270# and sets the high bit in the cache file unless we assign to the vars.
13271(
13272  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13273    eval ac_val=\$$ac_var
13274    case $ac_val in #(
13275    *${as_nl}*)
13276      case $ac_var in #(
13277      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13278$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13279      esac
13280      case $ac_var in #(
13281      _ | IFS | as_nl) ;; #(
13282      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13283      *) { eval $ac_var=; unset $ac_var;} ;;
13284      esac ;;
13285    esac
13286  done
13287
13288  (set) 2>&1 |
13289    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13290    *${as_nl}ac_space=\ *)
13291      # `set' does not quote correctly, so add quotes: double-quote
13292      # substitution turns \\\\ into \\, and sed turns \\ into \.
13293      sed -n \
13294	"s/'/'\\\\''/g;
13295	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13296      ;; #(
13297    *)
13298      # `set' quotes correctly as required by POSIX, so do not add quotes.
13299      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13300      ;;
13301    esac |
13302    sort
13303) |
13304  sed '
13305     /^ac_cv_env_/b end
13306     t clear
13307     :clear
13308     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13309     t end
13310     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13311     :end' >>confcache
13312if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13313  if test -w "$cache_file"; then
13314    if test "x$cache_file" != "x/dev/null"; then
13315      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13316$as_echo "$as_me: updating cache $cache_file" >&6;}
13317      if test ! -f "$cache_file" || test -h "$cache_file"; then
13318	cat confcache >"$cache_file"
13319      else
13320        case $cache_file in #(
13321        */* | ?:*)
13322	  mv -f confcache "$cache_file"$$ &&
13323	  mv -f "$cache_file"$$ "$cache_file" ;; #(
13324        *)
13325	  mv -f confcache "$cache_file" ;;
13326	esac
13327      fi
13328    fi
13329  else
13330    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13331$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13332  fi
13333fi
13334rm -f confcache
13335
13336test "x$prefix" = xNONE && prefix=$ac_default_prefix
13337# Let make expand exec_prefix.
13338test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13339
13340DEFS=-DHAVE_CONFIG_H
13341
13342ac_libobjs=
13343ac_ltlibobjs=
13344U=
13345for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13346  # 1. Remove the extension, and $U if already installed.
13347  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13348  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13349  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13350  #    will be set to the directory where LIBOBJS objects are built.
13351  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13352  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13353done
13354LIBOBJS=$ac_libobjs
13355
13356LTLIBOBJS=$ac_ltlibobjs
13357
13358
13359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13360$as_echo_n "checking that generated files are newer than configure... " >&6; }
13361   if test -n "$am_sleep_pid"; then
13362     # Hide warnings about reused PIDs.
13363     wait $am_sleep_pid 2>/dev/null
13364   fi
13365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13366$as_echo "done" >&6; }
13367 if test -n "$EXEEXT"; then
13368  am__EXEEXT_TRUE=
13369  am__EXEEXT_FALSE='#'
13370else
13371  am__EXEEXT_TRUE='#'
13372  am__EXEEXT_FALSE=
13373fi
13374
13375if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13376  as_fn_error $? "conditional \"AMDEP\" was never defined.
13377Usually this means the macro was only invoked conditionally." "$LINENO" 5
13378fi
13379if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13380  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13381Usually this means the macro was only invoked conditionally." "$LINENO" 5
13382fi
13383if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
13384  as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
13385Usually this means the macro was only invoked conditionally." "$LINENO" 5
13386fi
13387if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
13388  as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
13389Usually this means the macro was only invoked conditionally." "$LINENO" 5
13390fi
13391LT_CONFIG_H=config.h
13392
13393: "${CONFIG_STATUS=./config.status}"
13394ac_write_fail=0
13395ac_clean_files_save=$ac_clean_files
13396ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13397{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13398$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13399as_write_fail=0
13400cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13401#! $SHELL
13402# Generated by $as_me.
13403# Run this file to recreate the current configuration.
13404# Compiler output produced by configure, useful for debugging
13405# configure, is in config.log if it exists.
13406
13407debug=false
13408ac_cs_recheck=false
13409ac_cs_silent=false
13410
13411SHELL=\${CONFIG_SHELL-$SHELL}
13412export SHELL
13413_ASEOF
13414cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13415## -------------------- ##
13416## M4sh Initialization. ##
13417## -------------------- ##
13418
13419# Be more Bourne compatible
13420DUALCASE=1; export DUALCASE # for MKS sh
13421if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13422  emulate sh
13423  NULLCMD=:
13424  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13425  # is contrary to our usage.  Disable this feature.
13426  alias -g '${1+"$@"}'='"$@"'
13427  setopt NO_GLOB_SUBST
13428else
13429  case `(set -o) 2>/dev/null` in #(
13430  *posix*) :
13431    set -o posix ;; #(
13432  *) :
13433     ;;
13434esac
13435fi
13436
13437
13438as_nl='
13439'
13440export as_nl
13441# Printing a long string crashes Solaris 7 /usr/bin/printf.
13442as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13443as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13444as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13445# Prefer a ksh shell builtin over an external printf program on Solaris,
13446# but without wasting forks for bash or zsh.
13447if test -z "$BASH_VERSION$ZSH_VERSION" \
13448    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13449  as_echo='print -r --'
13450  as_echo_n='print -rn --'
13451elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13452  as_echo='printf %s\n'
13453  as_echo_n='printf %s'
13454else
13455  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13456    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13457    as_echo_n='/usr/ucb/echo -n'
13458  else
13459    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13460    as_echo_n_body='eval
13461      arg=$1;
13462      case $arg in #(
13463      *"$as_nl"*)
13464	expr "X$arg" : "X\\(.*\\)$as_nl";
13465	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13466      esac;
13467      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13468    '
13469    export as_echo_n_body
13470    as_echo_n='sh -c $as_echo_n_body as_echo'
13471  fi
13472  export as_echo_body
13473  as_echo='sh -c $as_echo_body as_echo'
13474fi
13475
13476# The user is always right.
13477if test "${PATH_SEPARATOR+set}" != set; then
13478  PATH_SEPARATOR=:
13479  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13480    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13481      PATH_SEPARATOR=';'
13482  }
13483fi
13484
13485
13486# IFS
13487# We need space, tab and new line, in precisely that order.  Quoting is
13488# there to prevent editors from complaining about space-tab.
13489# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13490# splitting by setting IFS to empty value.)
13491IFS=" ""	$as_nl"
13492
13493# Find who we are.  Look in the path if we contain no directory separator.
13494as_myself=
13495case $0 in #((
13496  *[\\/]* ) as_myself=$0 ;;
13497  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13498for as_dir in $PATH
13499do
13500  IFS=$as_save_IFS
13501  test -z "$as_dir" && as_dir=.
13502    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13503  done
13504IFS=$as_save_IFS
13505
13506     ;;
13507esac
13508# We did not find ourselves, most probably we were run as `sh COMMAND'
13509# in which case we are not to be found in the path.
13510if test "x$as_myself" = x; then
13511  as_myself=$0
13512fi
13513if test ! -f "$as_myself"; then
13514  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13515  exit 1
13516fi
13517
13518# Unset variables that we do not need and which cause bugs (e.g. in
13519# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13520# suppresses any "Segmentation fault" message there.  '((' could
13521# trigger a bug in pdksh 5.2.14.
13522for as_var in BASH_ENV ENV MAIL MAILPATH
13523do eval test x\${$as_var+set} = xset \
13524  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13525done
13526PS1='$ '
13527PS2='> '
13528PS4='+ '
13529
13530# NLS nuisances.
13531LC_ALL=C
13532export LC_ALL
13533LANGUAGE=C
13534export LANGUAGE
13535
13536# CDPATH.
13537(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13538
13539
13540# as_fn_error STATUS ERROR [LINENO LOG_FD]
13541# ----------------------------------------
13542# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13543# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13544# script with STATUS, using 1 if that was 0.
13545as_fn_error ()
13546{
13547  as_status=$1; test $as_status -eq 0 && as_status=1
13548  if test "$4"; then
13549    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13550    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13551  fi
13552  $as_echo "$as_me: error: $2" >&2
13553  as_fn_exit $as_status
13554} # as_fn_error
13555
13556
13557# as_fn_set_status STATUS
13558# -----------------------
13559# Set $? to STATUS, without forking.
13560as_fn_set_status ()
13561{
13562  return $1
13563} # as_fn_set_status
13564
13565# as_fn_exit STATUS
13566# -----------------
13567# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13568as_fn_exit ()
13569{
13570  set +e
13571  as_fn_set_status $1
13572  exit $1
13573} # as_fn_exit
13574
13575# as_fn_unset VAR
13576# ---------------
13577# Portably unset VAR.
13578as_fn_unset ()
13579{
13580  { eval $1=; unset $1;}
13581}
13582as_unset=as_fn_unset
13583# as_fn_append VAR VALUE
13584# ----------------------
13585# Append the text in VALUE to the end of the definition contained in VAR. Take
13586# advantage of any shell optimizations that allow amortized linear growth over
13587# repeated appends, instead of the typical quadratic growth present in naive
13588# implementations.
13589if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13590  eval 'as_fn_append ()
13591  {
13592    eval $1+=\$2
13593  }'
13594else
13595  as_fn_append ()
13596  {
13597    eval $1=\$$1\$2
13598  }
13599fi # as_fn_append
13600
13601# as_fn_arith ARG...
13602# ------------------
13603# Perform arithmetic evaluation on the ARGs, and store the result in the
13604# global $as_val. Take advantage of shells that can avoid forks. The arguments
13605# must be portable across $(()) and expr.
13606if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13607  eval 'as_fn_arith ()
13608  {
13609    as_val=$(( $* ))
13610  }'
13611else
13612  as_fn_arith ()
13613  {
13614    as_val=`expr "$@" || test $? -eq 1`
13615  }
13616fi # as_fn_arith
13617
13618
13619if expr a : '\(a\)' >/dev/null 2>&1 &&
13620   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13621  as_expr=expr
13622else
13623  as_expr=false
13624fi
13625
13626if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13627  as_basename=basename
13628else
13629  as_basename=false
13630fi
13631
13632if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13633  as_dirname=dirname
13634else
13635  as_dirname=false
13636fi
13637
13638as_me=`$as_basename -- "$0" ||
13639$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13640	 X"$0" : 'X\(//\)$' \| \
13641	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13642$as_echo X/"$0" |
13643    sed '/^.*\/\([^/][^/]*\)\/*$/{
13644	    s//\1/
13645	    q
13646	  }
13647	  /^X\/\(\/\/\)$/{
13648	    s//\1/
13649	    q
13650	  }
13651	  /^X\/\(\/\).*/{
13652	    s//\1/
13653	    q
13654	  }
13655	  s/.*/./; q'`
13656
13657# Avoid depending upon Character Ranges.
13658as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13659as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13660as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13661as_cr_digits='0123456789'
13662as_cr_alnum=$as_cr_Letters$as_cr_digits
13663
13664ECHO_C= ECHO_N= ECHO_T=
13665case `echo -n x` in #(((((
13666-n*)
13667  case `echo 'xy\c'` in
13668  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13669  xy)  ECHO_C='\c';;
13670  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13671       ECHO_T='	';;
13672  esac;;
13673*)
13674  ECHO_N='-n';;
13675esac
13676
13677rm -f conf$$ conf$$.exe conf$$.file
13678if test -d conf$$.dir; then
13679  rm -f conf$$.dir/conf$$.file
13680else
13681  rm -f conf$$.dir
13682  mkdir conf$$.dir 2>/dev/null
13683fi
13684if (echo >conf$$.file) 2>/dev/null; then
13685  if ln -s conf$$.file conf$$ 2>/dev/null; then
13686    as_ln_s='ln -s'
13687    # ... but there are two gotchas:
13688    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13689    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13690    # In both cases, we have to default to `cp -pR'.
13691    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13692      as_ln_s='cp -pR'
13693  elif ln conf$$.file conf$$ 2>/dev/null; then
13694    as_ln_s=ln
13695  else
13696    as_ln_s='cp -pR'
13697  fi
13698else
13699  as_ln_s='cp -pR'
13700fi
13701rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13702rmdir conf$$.dir 2>/dev/null
13703
13704
13705# as_fn_mkdir_p
13706# -------------
13707# Create "$as_dir" as a directory, including parents if necessary.
13708as_fn_mkdir_p ()
13709{
13710
13711  case $as_dir in #(
13712  -*) as_dir=./$as_dir;;
13713  esac
13714  test -d "$as_dir" || eval $as_mkdir_p || {
13715    as_dirs=
13716    while :; do
13717      case $as_dir in #(
13718      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13719      *) as_qdir=$as_dir;;
13720      esac
13721      as_dirs="'$as_qdir' $as_dirs"
13722      as_dir=`$as_dirname -- "$as_dir" ||
13723$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13724	 X"$as_dir" : 'X\(//\)[^/]' \| \
13725	 X"$as_dir" : 'X\(//\)$' \| \
13726	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13727$as_echo X"$as_dir" |
13728    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13729	    s//\1/
13730	    q
13731	  }
13732	  /^X\(\/\/\)[^/].*/{
13733	    s//\1/
13734	    q
13735	  }
13736	  /^X\(\/\/\)$/{
13737	    s//\1/
13738	    q
13739	  }
13740	  /^X\(\/\).*/{
13741	    s//\1/
13742	    q
13743	  }
13744	  s/.*/./; q'`
13745      test -d "$as_dir" && break
13746    done
13747    test -z "$as_dirs" || eval "mkdir $as_dirs"
13748  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13749
13750
13751} # as_fn_mkdir_p
13752if mkdir -p . 2>/dev/null; then
13753  as_mkdir_p='mkdir -p "$as_dir"'
13754else
13755  test -d ./-p && rmdir ./-p
13756  as_mkdir_p=false
13757fi
13758
13759
13760# as_fn_executable_p FILE
13761# -----------------------
13762# Test if FILE is an executable regular file.
13763as_fn_executable_p ()
13764{
13765  test -f "$1" && test -x "$1"
13766} # as_fn_executable_p
13767as_test_x='test -x'
13768as_executable_p=as_fn_executable_p
13769
13770# Sed expression to map a string onto a valid CPP name.
13771as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13772
13773# Sed expression to map a string onto a valid variable name.
13774as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13775
13776
13777exec 6>&1
13778## ----------------------------------- ##
13779## Main body of $CONFIG_STATUS script. ##
13780## ----------------------------------- ##
13781_ASEOF
13782test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13783
13784cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13785# Save the log message, to keep $0 and so on meaningful, and to
13786# report actual input values of CONFIG_FILES etc. instead of their
13787# values after options handling.
13788ac_log="
13789This file was extended by libltdl $as_me 2.4.3a, which was
13790generated by GNU Autoconf 2.69.  Invocation command line was
13791
13792  CONFIG_FILES    = $CONFIG_FILES
13793  CONFIG_HEADERS  = $CONFIG_HEADERS
13794  CONFIG_LINKS    = $CONFIG_LINKS
13795  CONFIG_COMMANDS = $CONFIG_COMMANDS
13796  $ $0 $@
13797
13798on `(hostname || uname -n) 2>/dev/null | sed 1q`
13799"
13800
13801_ACEOF
13802
13803case $ac_config_files in *"
13804"*) set x $ac_config_files; shift; ac_config_files=$*;;
13805esac
13806
13807case $ac_config_headers in *"
13808"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13809esac
13810
13811
13812cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13813# Files that config.status was made for.
13814config_files="$ac_config_files"
13815config_headers="$ac_config_headers"
13816config_commands="$ac_config_commands"
13817
13818_ACEOF
13819
13820cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13821ac_cs_usage="\
13822\`$as_me' instantiates files and other configuration actions
13823from templates according to the current configuration.  Unless the files
13824and actions are specified as TAGs, all are instantiated by default.
13825
13826Usage: $0 [OPTION]... [TAG]...
13827
13828  -h, --help       print this help, then exit
13829  -V, --version    print version number and configuration settings, then exit
13830      --config     print configuration, then exit
13831  -q, --quiet, --silent
13832                   do not print progress messages
13833  -d, --debug      don't remove temporary files
13834      --recheck    update $as_me by reconfiguring in the same conditions
13835      --file=FILE[:TEMPLATE]
13836                   instantiate the configuration file FILE
13837      --header=FILE[:TEMPLATE]
13838                   instantiate the configuration header FILE
13839
13840Configuration files:
13841$config_files
13842
13843Configuration headers:
13844$config_headers
13845
13846Configuration commands:
13847$config_commands
13848
13849Report bugs to <bug-libtool@gnu.org>."
13850
13851_ACEOF
13852cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13853ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13854ac_cs_version="\\
13855libltdl config.status 2.4.3a
13856configured by $0, generated by GNU Autoconf 2.69,
13857  with options \\"\$ac_cs_config\\"
13858
13859Copyright (C) 2012 Free Software Foundation, Inc.
13860This config.status script is free software; the Free Software Foundation
13861gives unlimited permission to copy, distribute and modify it."
13862
13863ac_pwd='$ac_pwd'
13864srcdir='$srcdir'
13865INSTALL='$INSTALL'
13866MKDIR_P='$MKDIR_P'
13867AWK='$AWK'
13868test -n "\$AWK" || AWK=awk
13869_ACEOF
13870
13871cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13872# The default lists apply if the user does not specify any file.
13873ac_need_defaults=:
13874while test $# != 0
13875do
13876  case $1 in
13877  --*=?*)
13878    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13879    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13880    ac_shift=:
13881    ;;
13882  --*=)
13883    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13884    ac_optarg=
13885    ac_shift=:
13886    ;;
13887  *)
13888    ac_option=$1
13889    ac_optarg=$2
13890    ac_shift=shift
13891    ;;
13892  esac
13893
13894  case $ac_option in
13895  # Handling of the options.
13896  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13897    ac_cs_recheck=: ;;
13898  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13899    $as_echo "$ac_cs_version"; exit ;;
13900  --config | --confi | --conf | --con | --co | --c )
13901    $as_echo "$ac_cs_config"; exit ;;
13902  --debug | --debu | --deb | --de | --d | -d )
13903    debug=: ;;
13904  --file | --fil | --fi | --f )
13905    $ac_shift
13906    case $ac_optarg in
13907    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13908    '') as_fn_error $? "missing file argument" ;;
13909    esac
13910    as_fn_append CONFIG_FILES " '$ac_optarg'"
13911    ac_need_defaults=false;;
13912  --header | --heade | --head | --hea )
13913    $ac_shift
13914    case $ac_optarg in
13915    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13916    esac
13917    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13918    ac_need_defaults=false;;
13919  --he | --h)
13920    # Conflict between --help and --header
13921    as_fn_error $? "ambiguous option: \`$1'
13922Try \`$0 --help' for more information.";;
13923  --help | --hel | -h )
13924    $as_echo "$ac_cs_usage"; exit ;;
13925  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13926  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13927    ac_cs_silent=: ;;
13928
13929  # This is an error.
13930  -*) as_fn_error $? "unrecognized option: \`$1'
13931Try \`$0 --help' for more information." ;;
13932
13933  *) as_fn_append ac_config_targets " $1"
13934     ac_need_defaults=false ;;
13935
13936  esac
13937  shift
13938done
13939
13940ac_configure_extra_args=
13941
13942if $ac_cs_silent; then
13943  exec 6>/dev/null
13944  ac_configure_extra_args="$ac_configure_extra_args --silent"
13945fi
13946
13947_ACEOF
13948cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13949if \$ac_cs_recheck; then
13950  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13951  shift
13952  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13953  CONFIG_SHELL='$SHELL'
13954  export CONFIG_SHELL
13955  exec "\$@"
13956fi
13957
13958_ACEOF
13959cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13960exec 5>>config.log
13961{
13962  echo
13963  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13964## Running $as_me. ##
13965_ASBOX
13966  $as_echo "$ac_log"
13967} >&5
13968
13969_ACEOF
13970cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13971#
13972# INIT-COMMANDS
13973#
13974AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
13975
13976
13977# The HP-UX ksh and POSIX shell print the target directory to stdout
13978# if CDPATH is set.
13979(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13980
13981sed_quote_subst='$sed_quote_subst'
13982double_quote_subst='$double_quote_subst'
13983delay_variable_subst='$delay_variable_subst'
13984macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13985macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13986AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
13987DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13988OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13989enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13990enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13991pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13992enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13993shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13994SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13995ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13996PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13997host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13998host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13999host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14000build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14001build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14002build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14003SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14004Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14005GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14006EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14007FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14008LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14009NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14010LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14011max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14012ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14013exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14014lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14015lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14016lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14017lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14018lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14019reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14020reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14021deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14022file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14023file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14024want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14025sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14026AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14027AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14028archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14029STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14030RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14031old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14032old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14033old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14034lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14035CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14036CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14037compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14038GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14039lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14040lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14041lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14042lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14043lt_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"`'
14044lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14045nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14046lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14047lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14048objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14049MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14050lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14051lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14052lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14053lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14054lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14055need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14056MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14057DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14058NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14059LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14060OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14061OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14062libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14063shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14064extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14065archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14066enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14067export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14068whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14069compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14070old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14071old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14072archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14073archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14074module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14075module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14076with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14077allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14078no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14079hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14080hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14081hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14082hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14083hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14084hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14085hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14086inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14087link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14088always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14089export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14090exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14091include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14092prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14093postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14094file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14095variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14096need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14097need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14098version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14099runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14100shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14101shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14102libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14103library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14104soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14105install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14106postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14107postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14108finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14109finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14110hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14111sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14112configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14113configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14114hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14115enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14116enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14117enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14118old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14119striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14120
14121LTCC='$LTCC'
14122LTCFLAGS='$LTCFLAGS'
14123compiler='$compiler_DEFAULT'
14124
14125# A function that is used when there is no print builtin or printf.
14126func_fallback_echo ()
14127{
14128  eval 'cat <<_LTECHO_EOF
14129\$1
14130_LTECHO_EOF'
14131}
14132
14133# Quote evaled strings.
14134for var in AS \
14135DLLTOOL \
14136OBJDUMP \
14137SHELL \
14138ECHO \
14139PATH_SEPARATOR \
14140SED \
14141GREP \
14142EGREP \
14143FGREP \
14144LD \
14145NM \
14146LN_S \
14147lt_SP2NL \
14148lt_NL2SP \
14149reload_flag \
14150deplibs_check_method \
14151file_magic_cmd \
14152file_magic_glob \
14153want_nocaseglob \
14154sharedlib_from_linklib_cmd \
14155AR \
14156AR_FLAGS \
14157archiver_list_spec \
14158STRIP \
14159RANLIB \
14160CC \
14161CFLAGS \
14162compiler \
14163lt_cv_sys_global_symbol_pipe \
14164lt_cv_sys_global_symbol_to_cdecl \
14165lt_cv_sys_global_symbol_to_import \
14166lt_cv_sys_global_symbol_to_c_name_address \
14167lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14168lt_cv_nm_interface \
14169nm_file_list_spec \
14170lt_cv_truncate_bin \
14171lt_prog_compiler_no_builtin_flag \
14172lt_prog_compiler_pic \
14173lt_prog_compiler_wl \
14174lt_prog_compiler_static \
14175lt_cv_prog_compiler_c_o \
14176need_locks \
14177MANIFEST_TOOL \
14178DSYMUTIL \
14179NMEDIT \
14180LIPO \
14181OTOOL \
14182OTOOL64 \
14183shrext_cmds \
14184export_dynamic_flag_spec \
14185whole_archive_flag_spec \
14186compiler_needs_object \
14187with_gnu_ld \
14188allow_undefined_flag \
14189no_undefined_flag \
14190hardcode_libdir_flag_spec \
14191hardcode_libdir_separator \
14192exclude_expsyms \
14193include_expsyms \
14194file_list_spec \
14195variables_saved_for_relink \
14196libname_spec \
14197library_names_spec \
14198soname_spec \
14199install_override_mode \
14200finish_eval \
14201old_striplib \
14202striplib; do
14203    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14204    *[\\\\\\\`\\"\\\$]*)
14205      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14206      ;;
14207    *)
14208      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14209      ;;
14210    esac
14211done
14212
14213# Double-quote double-evaled strings.
14214for var in reload_cmds \
14215old_postinstall_cmds \
14216old_postuninstall_cmds \
14217old_archive_cmds \
14218extract_expsyms_cmds \
14219old_archive_from_new_cmds \
14220old_archive_from_expsyms_cmds \
14221archive_cmds \
14222archive_expsym_cmds \
14223module_cmds \
14224module_expsym_cmds \
14225export_symbols_cmds \
14226prelink_cmds \
14227postlink_cmds \
14228postinstall_cmds \
14229postuninstall_cmds \
14230finish_cmds \
14231sys_lib_search_path_spec \
14232configure_time_dlsearch_path \
14233configure_time_lt_sys_library_path; do
14234    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14235    *[\\\\\\\`\\"\\\$]*)
14236      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14237      ;;
14238    *)
14239      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14240      ;;
14241    esac
14242done
14243
14244ac_aux_dir='$ac_aux_dir'
14245
14246# See if we are running on zsh, and set the options that allow our
14247# commands through without removal of \ escapes INIT.
14248if test -n "\${ZSH_VERSION+set}"; then
14249   setopt NO_GLOB_SUBST
14250fi
14251
14252
14253    PACKAGE='$PACKAGE'
14254    VERSION='$VERSION'
14255    RM='$RM'
14256    ofile='$ofile'
14257
14258
14259
14260
14261_ACEOF
14262
14263cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14264
14265# Handling of arguments.
14266for ac_config_target in $ac_config_targets
14267do
14268  case $ac_config_target in
14269    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config-h.in" ;;
14270    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14271    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14272    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14273
14274  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14275  esac
14276done
14277
14278
14279# If the user did not use the arguments to specify the items to instantiate,
14280# then the envvar interface is used.  Set only those that are not.
14281# We use the long form for the default assignment because of an extremely
14282# bizarre bug on SunOS 4.1.3.
14283if $ac_need_defaults; then
14284  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14285  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14286  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14287fi
14288
14289# Have a temporary directory for convenience.  Make it in the build tree
14290# simply because there is no reason against having it here, and in addition,
14291# creating and moving files from /tmp can sometimes cause problems.
14292# Hook for its removal unless debugging.
14293# Note that there is a small window in which the directory will not be cleaned:
14294# after its creation but before its name has been assigned to `$tmp'.
14295$debug ||
14296{
14297  tmp= ac_tmp=
14298  trap 'exit_status=$?
14299  : "${ac_tmp:=$tmp}"
14300  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14301' 0
14302  trap 'as_fn_exit 1' 1 2 13 15
14303}
14304# Create a (secure) tmp directory for tmp files.
14305
14306{
14307  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14308  test -d "$tmp"
14309}  ||
14310{
14311  tmp=./conf$$-$RANDOM
14312  (umask 077 && mkdir "$tmp")
14313} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14314ac_tmp=$tmp
14315
14316# Set up the scripts for CONFIG_FILES section.
14317# No need to generate them if there are no CONFIG_FILES.
14318# This happens for instance with `./config.status config.h'.
14319if test -n "$CONFIG_FILES"; then
14320
14321
14322ac_cr=`echo X | tr X '\015'`
14323# On cygwin, bash can eat \r inside `` if the user requested igncr.
14324# But we know of no other shell where ac_cr would be empty at this
14325# point, so we can use a bashism as a fallback.
14326if test "x$ac_cr" = x; then
14327  eval ac_cr=\$\'\\r\'
14328fi
14329ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14330if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14331  ac_cs_awk_cr='\\r'
14332else
14333  ac_cs_awk_cr=$ac_cr
14334fi
14335
14336echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14337_ACEOF
14338
14339
14340{
14341  echo "cat >conf$$subs.awk <<_ACEOF" &&
14342  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14343  echo "_ACEOF"
14344} >conf$$subs.sh ||
14345  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14346ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14347ac_delim='%!_!# '
14348for ac_last_try in false false false false false :; do
14349  . ./conf$$subs.sh ||
14350    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14351
14352  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14353  if test $ac_delim_n = $ac_delim_num; then
14354    break
14355  elif $ac_last_try; then
14356    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14357  else
14358    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14359  fi
14360done
14361rm -f conf$$subs.sh
14362
14363cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14364cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14365_ACEOF
14366sed -n '
14367h
14368s/^/S["/; s/!.*/"]=/
14369p
14370g
14371s/^[^!]*!//
14372:repl
14373t repl
14374s/'"$ac_delim"'$//
14375t delim
14376:nl
14377h
14378s/\(.\{148\}\)..*/\1/
14379t more1
14380s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14381p
14382n
14383b repl
14384:more1
14385s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14386p
14387g
14388s/.\{148\}//
14389t nl
14390:delim
14391h
14392s/\(.\{148\}\)..*/\1/
14393t more2
14394s/["\\]/\\&/g; s/^/"/; s/$/"/
14395p
14396b
14397:more2
14398s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14399p
14400g
14401s/.\{148\}//
14402t delim
14403' <conf$$subs.awk | sed '
14404/^[^""]/{
14405  N
14406  s/\n//
14407}
14408' >>$CONFIG_STATUS || ac_write_fail=1
14409rm -f conf$$subs.awk
14410cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14411_ACAWK
14412cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14413  for (key in S) S_is_set[key] = 1
14414  FS = ""
14415
14416}
14417{
14418  line = $ 0
14419  nfields = split(line, field, "@")
14420  substed = 0
14421  len = length(field[1])
14422  for (i = 2; i < nfields; i++) {
14423    key = field[i]
14424    keylen = length(key)
14425    if (S_is_set[key]) {
14426      value = S[key]
14427      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14428      len += length(value) + length(field[++i])
14429      substed = 1
14430    } else
14431      len += 1 + keylen
14432  }
14433
14434  print line
14435}
14436
14437_ACAWK
14438_ACEOF
14439cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14440if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14441  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14442else
14443  cat
14444fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14445  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14446_ACEOF
14447
14448# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14449# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14450# trailing colons and then remove the whole line if VPATH becomes empty
14451# (actually we leave an empty line to preserve line numbers).
14452if test "x$srcdir" = x.; then
14453  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
14454h
14455s///
14456s/^/:/
14457s/[	 ]*$/:/
14458s/:\$(srcdir):/:/g
14459s/:\${srcdir}:/:/g
14460s/:@srcdir@:/:/g
14461s/^:*//
14462s/:*$//
14463x
14464s/\(=[	 ]*\).*/\1/
14465G
14466s/\n//
14467s/^[^=]*=[	 ]*$//
14468}'
14469fi
14470
14471cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14472fi # test -n "$CONFIG_FILES"
14473
14474# Set up the scripts for CONFIG_HEADERS section.
14475# No need to generate them if there are no CONFIG_HEADERS.
14476# This happens for instance with `./config.status Makefile'.
14477if test -n "$CONFIG_HEADERS"; then
14478cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14479BEGIN {
14480_ACEOF
14481
14482# Transform confdefs.h into an awk script `defines.awk', embedded as
14483# here-document in config.status, that substitutes the proper values into
14484# config.h.in to produce config.h.
14485
14486# Create a delimiter string that does not exist in confdefs.h, to ease
14487# handling of long lines.
14488ac_delim='%!_!# '
14489for ac_last_try in false false :; do
14490  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14491  if test -z "$ac_tt"; then
14492    break
14493  elif $ac_last_try; then
14494    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14495  else
14496    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14497  fi
14498done
14499
14500# For the awk script, D is an array of macro values keyed by name,
14501# likewise P contains macro parameters if any.  Preserve backslash
14502# newline sequences.
14503
14504ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14505sed -n '
14506s/.\{148\}/&'"$ac_delim"'/g
14507t rset
14508:rset
14509s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14510t def
14511d
14512:def
14513s/\\$//
14514t bsnl
14515s/["\\]/\\&/g
14516s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14517D["\1"]=" \3"/p
14518s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14519d
14520:bsnl
14521s/["\\]/\\&/g
14522s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14523D["\1"]=" \3\\\\\\n"\\/p
14524t cont
14525s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14526t cont
14527d
14528:cont
14529n
14530s/.\{148\}/&'"$ac_delim"'/g
14531t clear
14532:clear
14533s/\\$//
14534t bsnlc
14535s/["\\]/\\&/g; s/^/"/; s/$/"/p
14536d
14537:bsnlc
14538s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14539b cont
14540' <confdefs.h | sed '
14541s/'"$ac_delim"'/"\\\
14542"/g' >>$CONFIG_STATUS || ac_write_fail=1
14543
14544cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14545  for (key in D) D_is_set[key] = 1
14546  FS = ""
14547}
14548/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14549  line = \$ 0
14550  split(line, arg, " ")
14551  if (arg[1] == "#") {
14552    defundef = arg[2]
14553    mac1 = arg[3]
14554  } else {
14555    defundef = substr(arg[1], 2)
14556    mac1 = arg[2]
14557  }
14558  split(mac1, mac2, "(") #)
14559  macro = mac2[1]
14560  prefix = substr(line, 1, index(line, defundef) - 1)
14561  if (D_is_set[macro]) {
14562    # Preserve the white space surrounding the "#".
14563    print prefix "define", macro P[macro] D[macro]
14564    next
14565  } else {
14566    # Replace #undef with comments.  This is necessary, for example,
14567    # in the case of _POSIX_SOURCE, which is predefined and required
14568    # on some systems where configure will not decide to define it.
14569    if (defundef == "undef") {
14570      print "/*", prefix defundef, macro, "*/"
14571      next
14572    }
14573  }
14574}
14575{ print }
14576_ACAWK
14577_ACEOF
14578cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14579  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14580fi # test -n "$CONFIG_HEADERS"
14581
14582
14583eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14584shift
14585for ac_tag
14586do
14587  case $ac_tag in
14588  :[FHLC]) ac_mode=$ac_tag; continue;;
14589  esac
14590  case $ac_mode$ac_tag in
14591  :[FHL]*:*);;
14592  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14593  :[FH]-) ac_tag=-:-;;
14594  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14595  esac
14596  ac_save_IFS=$IFS
14597  IFS=:
14598  set x $ac_tag
14599  IFS=$ac_save_IFS
14600  shift
14601  ac_file=$1
14602  shift
14603
14604  case $ac_mode in
14605  :L) ac_source=$1;;
14606  :[FH])
14607    ac_file_inputs=
14608    for ac_f
14609    do
14610      case $ac_f in
14611      -) ac_f="$ac_tmp/stdin";;
14612      *) # Look for the file first in the build tree, then in the source tree
14613	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14614	 # because $ac_f cannot contain `:'.
14615	 test -f "$ac_f" ||
14616	   case $ac_f in
14617	   [\\/$]*) false;;
14618	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14619	   esac ||
14620	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14621      esac
14622      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14623      as_fn_append ac_file_inputs " '$ac_f'"
14624    done
14625
14626    # Let's still pretend it is `configure' which instantiates (i.e., don't
14627    # use $as_me), people would be surprised to read:
14628    #    /* config.h.  Generated by config.status.  */
14629    configure_input='Generated from '`
14630	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14631	`' by configure.'
14632    if test x"$ac_file" != x-; then
14633      configure_input="$ac_file.  $configure_input"
14634      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14635$as_echo "$as_me: creating $ac_file" >&6;}
14636    fi
14637    # Neutralize special characters interpreted by sed in replacement strings.
14638    case $configure_input in #(
14639    *\&* | *\|* | *\\* )
14640       ac_sed_conf_input=`$as_echo "$configure_input" |
14641       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14642    *) ac_sed_conf_input=$configure_input;;
14643    esac
14644
14645    case $ac_tag in
14646    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14647      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14648    esac
14649    ;;
14650  esac
14651
14652  ac_dir=`$as_dirname -- "$ac_file" ||
14653$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14654	 X"$ac_file" : 'X\(//\)[^/]' \| \
14655	 X"$ac_file" : 'X\(//\)$' \| \
14656	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14657$as_echo X"$ac_file" |
14658    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14659	    s//\1/
14660	    q
14661	  }
14662	  /^X\(\/\/\)[^/].*/{
14663	    s//\1/
14664	    q
14665	  }
14666	  /^X\(\/\/\)$/{
14667	    s//\1/
14668	    q
14669	  }
14670	  /^X\(\/\).*/{
14671	    s//\1/
14672	    q
14673	  }
14674	  s/.*/./; q'`
14675  as_dir="$ac_dir"; as_fn_mkdir_p
14676  ac_builddir=.
14677
14678case "$ac_dir" in
14679.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14680*)
14681  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14682  # A ".." for each directory in $ac_dir_suffix.
14683  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14684  case $ac_top_builddir_sub in
14685  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14686  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14687  esac ;;
14688esac
14689ac_abs_top_builddir=$ac_pwd
14690ac_abs_builddir=$ac_pwd$ac_dir_suffix
14691# for backward compatibility:
14692ac_top_builddir=$ac_top_build_prefix
14693
14694case $srcdir in
14695  .)  # We are building in place.
14696    ac_srcdir=.
14697    ac_top_srcdir=$ac_top_builddir_sub
14698    ac_abs_top_srcdir=$ac_pwd ;;
14699  [\\/]* | ?:[\\/]* )  # Absolute name.
14700    ac_srcdir=$srcdir$ac_dir_suffix;
14701    ac_top_srcdir=$srcdir
14702    ac_abs_top_srcdir=$srcdir ;;
14703  *) # Relative name.
14704    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14705    ac_top_srcdir=$ac_top_build_prefix$srcdir
14706    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14707esac
14708ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14709
14710
14711  case $ac_mode in
14712  :F)
14713  #
14714  # CONFIG_FILE
14715  #
14716
14717  case $INSTALL in
14718  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14719  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14720  esac
14721  ac_MKDIR_P=$MKDIR_P
14722  case $MKDIR_P in
14723  [\\/$]* | ?:[\\/]* ) ;;
14724  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14725  esac
14726_ACEOF
14727
14728cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14729# If the template does not know about datarootdir, expand it.
14730# FIXME: This hack should be removed a few years after 2.60.
14731ac_datarootdir_hack=; ac_datarootdir_seen=
14732ac_sed_dataroot='
14733/datarootdir/ {
14734  p
14735  q
14736}
14737/@datadir@/p
14738/@docdir@/p
14739/@infodir@/p
14740/@localedir@/p
14741/@mandir@/p'
14742case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14743*datarootdir*) ac_datarootdir_seen=yes;;
14744*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14745  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14746$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14747_ACEOF
14748cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14749  ac_datarootdir_hack='
14750  s&@datadir@&$datadir&g
14751  s&@docdir@&$docdir&g
14752  s&@infodir@&$infodir&g
14753  s&@localedir@&$localedir&g
14754  s&@mandir@&$mandir&g
14755  s&\\\${datarootdir}&$datarootdir&g' ;;
14756esac
14757_ACEOF
14758
14759# Neutralize VPATH when `$srcdir' = `.'.
14760# Shell code in configure.ac might set extrasub.
14761# FIXME: do we really want to maintain this feature?
14762cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14763ac_sed_extra="$ac_vpsub
14764$extrasub
14765_ACEOF
14766cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14767:t
14768/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14769s|@configure_input@|$ac_sed_conf_input|;t t
14770s&@top_builddir@&$ac_top_builddir_sub&;t t
14771s&@top_build_prefix@&$ac_top_build_prefix&;t t
14772s&@srcdir@&$ac_srcdir&;t t
14773s&@abs_srcdir@&$ac_abs_srcdir&;t t
14774s&@top_srcdir@&$ac_top_srcdir&;t t
14775s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14776s&@builddir@&$ac_builddir&;t t
14777s&@abs_builddir@&$ac_abs_builddir&;t t
14778s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14779s&@INSTALL@&$ac_INSTALL&;t t
14780s&@MKDIR_P@&$ac_MKDIR_P&;t t
14781$ac_datarootdir_hack
14782"
14783eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14784  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14785
14786test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14787  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14788  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
14789      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14790  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14791which seems to be undefined.  Please make sure it is defined" >&5
14792$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14793which seems to be undefined.  Please make sure it is defined" >&2;}
14794
14795  rm -f "$ac_tmp/stdin"
14796  case $ac_file in
14797  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14798  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14799  esac \
14800  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14801 ;;
14802  :H)
14803  #
14804  # CONFIG_HEADER
14805  #
14806  if test x"$ac_file" != x-; then
14807    {
14808      $as_echo "/* $configure_input  */" \
14809      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14810    } >"$ac_tmp/config.h" \
14811      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14812    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14813      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14814$as_echo "$as_me: $ac_file is unchanged" >&6;}
14815    else
14816      rm -f "$ac_file"
14817      mv "$ac_tmp/config.h" "$ac_file" \
14818	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14819    fi
14820  else
14821    $as_echo "/* $configure_input  */" \
14822      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14823      || as_fn_error $? "could not create -" "$LINENO" 5
14824  fi
14825# Compute "$ac_file"'s index in $config_headers.
14826_am_arg="$ac_file"
14827_am_stamp_count=1
14828for _am_header in $config_headers :; do
14829  case $_am_header in
14830    $_am_arg | $_am_arg:* )
14831      break ;;
14832    * )
14833      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14834  esac
14835done
14836echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14837$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14838	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14839	 X"$_am_arg" : 'X\(//\)$' \| \
14840	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14841$as_echo X"$_am_arg" |
14842    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14843	    s//\1/
14844	    q
14845	  }
14846	  /^X\(\/\/\)[^/].*/{
14847	    s//\1/
14848	    q
14849	  }
14850	  /^X\(\/\/\)$/{
14851	    s//\1/
14852	    q
14853	  }
14854	  /^X\(\/\).*/{
14855	    s//\1/
14856	    q
14857	  }
14858	  s/.*/./; q'`/stamp-h$_am_stamp_count
14859 ;;
14860
14861  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14862$as_echo "$as_me: executing $ac_file commands" >&6;}
14863 ;;
14864  esac
14865
14866
14867  case $ac_file$ac_mode in
14868    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14869  # Older Autoconf quotes --file arguments for eval, but not when files
14870  # are listed without --file.  Let's play safe and only enable the eval
14871  # if we detect the quoting.
14872  # TODO: see whether this extra hack can be removed once we start
14873  # requiring Autoconf 2.70 or later.
14874  case $CONFIG_FILES in #(
14875  *\'*) :
14876    eval set x "$CONFIG_FILES" ;; #(
14877  *) :
14878    set x $CONFIG_FILES ;; #(
14879  *) :
14880     ;;
14881esac
14882  shift
14883  # Used to flag and report bootstrapping failures.
14884  am_rc=0
14885  for am_mf
14886  do
14887    # Strip MF so we end up with the name of the file.
14888    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
14889    # Check whether this is an Automake generated Makefile which includes
14890    # dependency-tracking related rules and includes.
14891    # Grep'ing the whole file directly is not great: AIX grep has a line
14892    # limit of 2048, but all sed's we know have understand at least 4000.
14893    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
14894      || continue
14895    am_dirpart=`$as_dirname -- "$am_mf" ||
14896$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14897	 X"$am_mf" : 'X\(//\)[^/]' \| \
14898	 X"$am_mf" : 'X\(//\)$' \| \
14899	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14900$as_echo X"$am_mf" |
14901    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14902	    s//\1/
14903	    q
14904	  }
14905	  /^X\(\/\/\)[^/].*/{
14906	    s//\1/
14907	    q
14908	  }
14909	  /^X\(\/\/\)$/{
14910	    s//\1/
14911	    q
14912	  }
14913	  /^X\(\/\).*/{
14914	    s//\1/
14915	    q
14916	  }
14917	  s/.*/./; q'`
14918    am_filepart=`$as_basename -- "$am_mf" ||
14919$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
14920	 X"$am_mf" : 'X\(//\)$' \| \
14921	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14922$as_echo X/"$am_mf" |
14923    sed '/^.*\/\([^/][^/]*\)\/*$/{
14924	    s//\1/
14925	    q
14926	  }
14927	  /^X\/\(\/\/\)$/{
14928	    s//\1/
14929	    q
14930	  }
14931	  /^X\/\(\/\).*/{
14932	    s//\1/
14933	    q
14934	  }
14935	  s/.*/./; q'`
14936    { echo "$as_me:$LINENO: cd "$am_dirpart" \
14937      && sed -e '/# am--include-marker/d' "$am_filepart" \
14938        | $MAKE -f - am--depfiles" >&5
14939   (cd "$am_dirpart" \
14940      && sed -e '/# am--include-marker/d' "$am_filepart" \
14941        | $MAKE -f - am--depfiles) >&5 2>&5
14942   ac_status=$?
14943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944   (exit $ac_status); } || am_rc=$?
14945  done
14946  if test $am_rc -ne 0; then
14947    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14948$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14949as_fn_error $? "Something went wrong bootstrapping makefile fragments
14950    for automatic dependency tracking.  If GNU make was not used, consider
14951    re-running the configure script with MAKE=\"gmake\" (or whatever is
14952    necessary).  You can also try re-running configure with the
14953    '--disable-dependency-tracking' option to at least be able to build
14954    the package (albeit without support for automatic dependency tracking).
14955See \`config.log' for more details" "$LINENO" 5; }
14956  fi
14957  { am_dirpart=; unset am_dirpart;}
14958  { am_filepart=; unset am_filepart;}
14959  { am_mf=; unset am_mf;}
14960  { am_rc=; unset am_rc;}
14961  rm -f conftest-deps.mk
14962}
14963 ;;
14964    "libtool":C)
14965
14966    # See if we are running on zsh, and set the options that allow our
14967    # commands through without removal of \ escapes.
14968    if test -n "${ZSH_VERSION+set}"; then
14969      setopt NO_GLOB_SUBST
14970    fi
14971
14972    cfgfile=${ofile}T
14973    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14974    $RM "$cfgfile"
14975
14976    cat <<_LT_EOF >> "$cfgfile"
14977#! $SHELL
14978# Generated automatically by $as_me ($PACKAGE) $VERSION
14979# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14980
14981# Provide generalized library-building support services.
14982# Written by Gordon Matzigkeit, 1996
14983
14984# Copyright (C) 2014 Free Software Foundation, Inc.
14985# This is free software; see the source for copying conditions.  There is NO
14986# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14987
14988# GNU Libtool is free software; you can redistribute it and/or modify
14989# it under the terms of the GNU General Public License as published by
14990# the Free Software Foundation; either version 2 of of the License, or
14991# (at your option) any later version.
14992#
14993# As a special exception to the GNU General Public License, if you
14994# distribute this file as part of a program or library that is built
14995# using GNU Libtool, you may include this file under the  same
14996# distribution terms that you use for the rest of that program.
14997#
14998# GNU Libtool is distributed in the hope that it will be useful, but
14999# WITHOUT ANY WARRANTY; without even the implied warranty of
15000# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15001# GNU General Public License for more details.
15002#
15003# You should have received a copy of the GNU General Public License
15004# along with this program.  If not, see <http://www.gnu.org/licenses/>.
15005
15006
15007# The names of the tagged configurations supported by this script.
15008available_tags=''
15009
15010# Configured defaults for sys_lib_dlsearch_path munging.
15011: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15012
15013# ### BEGIN LIBTOOL CONFIG
15014
15015# Which release of libtool.m4 was used?
15016macro_version=$macro_version
15017macro_revision=$macro_revision
15018
15019# Assembler program.
15020AS=$lt_AS
15021
15022# DLL creation program.
15023DLLTOOL=$lt_DLLTOOL
15024
15025# Object dumper program.
15026OBJDUMP=$lt_OBJDUMP
15027
15028# Whether or not to build shared libraries.
15029build_libtool_libs=$enable_shared
15030
15031# Whether or not to build static libraries.
15032build_old_libs=$enable_static
15033
15034# What type of objects to build.
15035pic_mode=$pic_mode
15036
15037# Whether or not to optimize for fast installation.
15038fast_install=$enable_fast_install
15039
15040# Shared archive member basename,for filename based shared library versioning on AIX.
15041shared_archive_member_spec=$shared_archive_member_spec
15042
15043# Shell to use when invoking shell scripts.
15044SHELL=$lt_SHELL
15045
15046# An echo program that protects backslashes.
15047ECHO=$lt_ECHO
15048
15049# The PATH separator for the build system.
15050PATH_SEPARATOR=$lt_PATH_SEPARATOR
15051
15052# The host system.
15053host_alias=$host_alias
15054host=$host
15055host_os=$host_os
15056
15057# The build system.
15058build_alias=$build_alias
15059build=$build
15060build_os=$build_os
15061
15062# A sed program that does not truncate output.
15063SED=$lt_SED
15064
15065# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15066Xsed="\$SED -e 1s/^X//"
15067
15068# A grep program that handles long lines.
15069GREP=$lt_GREP
15070
15071# An ERE matcher.
15072EGREP=$lt_EGREP
15073
15074# A literal string matcher.
15075FGREP=$lt_FGREP
15076
15077# A BSD- or MS-compatible name lister.
15078NM=$lt_NM
15079
15080# Whether we need soft or hard links.
15081LN_S=$lt_LN_S
15082
15083# What is the maximum length of a command?
15084max_cmd_len=$max_cmd_len
15085
15086# Object file suffix (normally "o").
15087objext=$ac_objext
15088
15089# Executable file suffix (normally "").
15090exeext=$exeext
15091
15092# whether the shell understands "unset".
15093lt_unset=$lt_unset
15094
15095# turn spaces into newlines.
15096SP2NL=$lt_lt_SP2NL
15097
15098# turn newlines into spaces.
15099NL2SP=$lt_lt_NL2SP
15100
15101# convert \$build file names to \$host format.
15102to_host_file_cmd=$lt_cv_to_host_file_cmd
15103
15104# convert \$build files to toolchain format.
15105to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15106
15107# Method to check whether dependent libraries are shared objects.
15108deplibs_check_method=$lt_deplibs_check_method
15109
15110# Command to use when deplibs_check_method = "file_magic".
15111file_magic_cmd=$lt_file_magic_cmd
15112
15113# How to find potential files when deplibs_check_method = "file_magic".
15114file_magic_glob=$lt_file_magic_glob
15115
15116# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15117want_nocaseglob=$lt_want_nocaseglob
15118
15119# Command to associate shared and link libraries.
15120sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15121
15122# The archiver.
15123AR=$lt_AR
15124
15125# Flags to create an archive.
15126AR_FLAGS=$lt_AR_FLAGS
15127
15128# How to feed a file listing to the archiver.
15129archiver_list_spec=$lt_archiver_list_spec
15130
15131# A symbol stripping program.
15132STRIP=$lt_STRIP
15133
15134# Commands used to install an old-style archive.
15135RANLIB=$lt_RANLIB
15136old_postinstall_cmds=$lt_old_postinstall_cmds
15137old_postuninstall_cmds=$lt_old_postuninstall_cmds
15138
15139# Whether to use a lock for old archive extraction.
15140lock_old_archive_extraction=$lock_old_archive_extraction
15141
15142# A C compiler.
15143LTCC=$lt_CC
15144
15145# LTCC compiler flags.
15146LTCFLAGS=$lt_CFLAGS
15147
15148# Take the output of nm and produce a listing of raw symbols and C names.
15149global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15150
15151# Transform the output of nm in a proper C declaration.
15152global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15153
15154# Transform the output of nm into a list of symbols to manually relocate.
15155global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15156
15157# Transform the output of nm in a C name address pair.
15158global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15159
15160# Transform the output of nm in a C name address pair when lib prefix is needed.
15161global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15162
15163# The name lister interface.
15164nm_interface=$lt_lt_cv_nm_interface
15165
15166# Specify filename containing input files for \$NM.
15167nm_file_list_spec=$lt_nm_file_list_spec
15168
15169# The root where to search for dependent libraries,and where our libraries should be installed.
15170lt_sysroot=$lt_sysroot
15171
15172# Command to truncate a binary pipe.
15173lt_truncate_bin=$lt_lt_cv_truncate_bin
15174
15175# The name of the directory that contains temporary libtool files.
15176objdir=$objdir
15177
15178# Used to examine libraries when file_magic_cmd begins with "file".
15179MAGIC_CMD=$MAGIC_CMD
15180
15181# Must we lock files when doing compilation?
15182need_locks=$lt_need_locks
15183
15184# Manifest tool.
15185MANIFEST_TOOL=$lt_MANIFEST_TOOL
15186
15187# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15188DSYMUTIL=$lt_DSYMUTIL
15189
15190# Tool to change global to local symbols on Mac OS X.
15191NMEDIT=$lt_NMEDIT
15192
15193# Tool to manipulate fat objects and archives on Mac OS X.
15194LIPO=$lt_LIPO
15195
15196# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15197OTOOL=$lt_OTOOL
15198
15199# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15200OTOOL64=$lt_OTOOL64
15201
15202# Old archive suffix (normally "a").
15203libext=$libext
15204
15205# Shared library suffix (normally ".so").
15206shrext_cmds=$lt_shrext_cmds
15207
15208# The commands to extract the exported symbol list from a shared archive.
15209extract_expsyms_cmds=$lt_extract_expsyms_cmds
15210
15211# Variables whose values should be saved in libtool wrapper scripts and
15212# restored at link time.
15213variables_saved_for_relink=$lt_variables_saved_for_relink
15214
15215# Do we need the "lib" prefix for modules?
15216need_lib_prefix=$need_lib_prefix
15217
15218# Do we need a version for libraries?
15219need_version=$need_version
15220
15221# Library versioning type.
15222version_type=$version_type
15223
15224# Shared library runtime path variable.
15225runpath_var=$runpath_var
15226
15227# Shared library path variable.
15228shlibpath_var=$shlibpath_var
15229
15230# Is shlibpath searched before the hard-coded library search path?
15231shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15232
15233# Format of library name prefix.
15234libname_spec=$lt_libname_spec
15235
15236# List of archive names.  First name is the real one, the rest are links.
15237# The last name is the one that the linker finds with -lNAME
15238library_names_spec=$lt_library_names_spec
15239
15240# The coded name of the library, if different from the real name.
15241soname_spec=$lt_soname_spec
15242
15243# Permission mode override for installation of shared libraries.
15244install_override_mode=$lt_install_override_mode
15245
15246# Command to use after installation of a shared archive.
15247postinstall_cmds=$lt_postinstall_cmds
15248
15249# Command to use after uninstallation of a shared archive.
15250postuninstall_cmds=$lt_postuninstall_cmds
15251
15252# Commands used to finish a libtool library installation in a directory.
15253finish_cmds=$lt_finish_cmds
15254
15255# As "finish_cmds", except a single script fragment to be evaled but
15256# not shown.
15257finish_eval=$lt_finish_eval
15258
15259# Whether we should hardcode library paths into libraries.
15260hardcode_into_libs=$hardcode_into_libs
15261
15262# Compile-time system search path for libraries.
15263sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15264
15265# Detected run-time system search path for libraries.
15266sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15267
15268# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15269configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15270
15271# Whether dlopen is supported.
15272dlopen_support=$enable_dlopen
15273
15274# Whether dlopen of programs is supported.
15275dlopen_self=$enable_dlopen_self
15276
15277# Whether dlopen of statically linked programs is supported.
15278dlopen_self_static=$enable_dlopen_self_static
15279
15280# Commands to strip libraries.
15281old_striplib=$lt_old_striplib
15282striplib=$lt_striplib
15283
15284
15285# The linker used to build libraries.
15286LD=$lt_LD
15287
15288# How to create reloadable object files.
15289reload_flag=$lt_reload_flag
15290reload_cmds=$lt_reload_cmds
15291
15292# Commands used to build an old-style archive.
15293old_archive_cmds=$lt_old_archive_cmds
15294
15295# A language specific compiler.
15296CC=$lt_compiler
15297
15298# Is the compiler the GNU compiler?
15299with_gcc=$GCC
15300
15301# Compiler flag to turn off builtin functions.
15302no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15303
15304# Additional compiler flags for building library objects.
15305pic_flag=$lt_lt_prog_compiler_pic
15306
15307# How to pass a linker flag through the compiler.
15308wl=$lt_lt_prog_compiler_wl
15309
15310# Compiler flag to prevent dynamic linking.
15311link_static_flag=$lt_lt_prog_compiler_static
15312
15313# Does compiler simultaneously support -c and -o options?
15314compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15315
15316# Whether or not to add -lc for building shared libraries.
15317build_libtool_need_lc=$archive_cmds_need_lc
15318
15319# Whether or not to disallow shared libs when runtime libs are static.
15320allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15321
15322# Compiler flag to allow reflexive dlopens.
15323export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15324
15325# Compiler flag to generate shared objects directly from archives.
15326whole_archive_flag_spec=$lt_whole_archive_flag_spec
15327
15328# Whether the compiler copes with passing no objects directly.
15329compiler_needs_object=$lt_compiler_needs_object
15330
15331# Create an old-style archive from a shared archive.
15332old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15333
15334# Create a temporary old-style archive to link instead of a shared archive.
15335old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15336
15337# Commands used to build a shared archive.
15338archive_cmds=$lt_archive_cmds
15339archive_expsym_cmds=$lt_archive_expsym_cmds
15340
15341# Commands used to build a loadable module if different from building
15342# a shared archive.
15343module_cmds=$lt_module_cmds
15344module_expsym_cmds=$lt_module_expsym_cmds
15345
15346# Whether we are building with GNU ld or not.
15347with_gnu_ld=$lt_with_gnu_ld
15348
15349# Flag that allows shared libraries with undefined symbols to be built.
15350allow_undefined_flag=$lt_allow_undefined_flag
15351
15352# Flag that enforces no undefined symbols.
15353no_undefined_flag=$lt_no_undefined_flag
15354
15355# Flag to hardcode \$libdir into a binary during linking.
15356# This must work even if \$libdir does not exist
15357hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15358
15359# Whether we need a single "-rpath" flag with a separated argument.
15360hardcode_libdir_separator=$lt_hardcode_libdir_separator
15361
15362# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15363# DIR into the resulting binary.
15364hardcode_direct=$hardcode_direct
15365
15366# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15367# DIR into the resulting binary and the resulting library dependency is
15368# "absolute",i.e impossible to change by setting \$shlibpath_var if the
15369# library is relocated.
15370hardcode_direct_absolute=$hardcode_direct_absolute
15371
15372# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15373# into the resulting binary.
15374hardcode_minus_L=$hardcode_minus_L
15375
15376# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15377# into the resulting binary.
15378hardcode_shlibpath_var=$hardcode_shlibpath_var
15379
15380# Set to "yes" if building a shared library automatically hardcodes DIR
15381# into the library and all subsequent libraries and executables linked
15382# against it.
15383hardcode_automatic=$hardcode_automatic
15384
15385# Set to yes if linker adds runtime paths of dependent libraries
15386# to runtime path list.
15387inherit_rpath=$inherit_rpath
15388
15389# Whether libtool must link a program against all its dependency libraries.
15390link_all_deplibs=$link_all_deplibs
15391
15392# Set to "yes" if exported symbols are required.
15393always_export_symbols=$always_export_symbols
15394
15395# The commands to list exported symbols.
15396export_symbols_cmds=$lt_export_symbols_cmds
15397
15398# Symbols that should not be listed in the preloaded symbols.
15399exclude_expsyms=$lt_exclude_expsyms
15400
15401# Symbols that must always be exported.
15402include_expsyms=$lt_include_expsyms
15403
15404# Commands necessary for linking programs (against libraries) with templates.
15405prelink_cmds=$lt_prelink_cmds
15406
15407# Commands necessary for finishing linking programs.
15408postlink_cmds=$lt_postlink_cmds
15409
15410# Specify filename containing input files.
15411file_list_spec=$lt_file_list_spec
15412
15413# How to hardcode a shared library path into an executable.
15414hardcode_action=$hardcode_action
15415
15416# ### END LIBTOOL CONFIG
15417
15418_LT_EOF
15419
15420    cat <<'_LT_EOF' >> "$cfgfile"
15421
15422# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15423
15424# func_munge_path_list VARIABLE PATH
15425# -----------------------------------
15426# VARIABLE is name of variable containing _space_ separated list of
15427# directories to be munged by the contents of PATH, which is string
15428# having a format:
15429# "DIR[:DIR]:"
15430#       string "DIR[ DIR]" will be prepended to VARIABLE
15431# ":DIR[:DIR]"
15432#       string "DIR[ DIR]" will be appended to VARIABLE
15433# "DIRP[:DIRP]::[DIRA:]DIRA"
15434#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15435#       "DIRA[ DIRA]" will be appended to VARIABLE
15436# "DIR[:DIR]"
15437#       VARIABLE will be replaced by "DIR[ DIR]"
15438func_munge_path_list ()
15439{
15440    case x$2 in
15441    x)
15442        ;;
15443    *:)
15444        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15445        ;;
15446    x:*)
15447        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15448        ;;
15449    *::*)
15450        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15451        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15452        ;;
15453    *)
15454        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15455        ;;
15456    esac
15457}
15458
15459
15460# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
15461func_cc_basename ()
15462{
15463    for cc_temp in $*""; do
15464      case $cc_temp in
15465        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15466        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15467        \-*) ;;
15468        *) break;;
15469      esac
15470    done
15471    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15472}
15473
15474
15475# ### END FUNCTIONS SHARED WITH CONFIGURE
15476
15477_LT_EOF
15478
15479  case $host_os in
15480  aix3*)
15481    cat <<\_LT_EOF >> "$cfgfile"
15482# AIX sometimes has problems with the GCC collect2 program.  For some
15483# reason, if we set the COLLECT_NAMES environment variable, the problems
15484# vanish in a puff of smoke.
15485if test set != "${COLLECT_NAMES+set}"; then
15486  COLLECT_NAMES=
15487  export COLLECT_NAMES
15488fi
15489_LT_EOF
15490    ;;
15491  esac
15492
15493
15494ltmain=$ac_aux_dir/ltmain.sh
15495
15496
15497  # We use sed instead of cat because bash on DJGPP gets confused if
15498  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15499  # text mode, it properly converts lines to CR/LF.  This bash problem
15500  # is reportedly fixed, but why not run on old versions too?
15501  sed '$q' "$ltmain" >> "$cfgfile" \
15502     || (rm -f "$cfgfile"; exit 1)
15503
15504   mv -f "$cfgfile" "$ofile" ||
15505    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15506  chmod +x "$ofile"
15507
15508 ;;
15509
15510  esac
15511done # for ac_tag
15512
15513
15514as_fn_exit 0
15515_ACEOF
15516ac_clean_files=$ac_clean_files_save
15517
15518test $ac_write_fail = 0 ||
15519  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15520
15521
15522# configure is writing to config.log, and then calls config.status.
15523# config.status does its own redirection, appending to config.log.
15524# Unfortunately, on DOS this fails, as config.log is still kept open
15525# by configure, so config.status won't be able to write to it; its
15526# output is simply discarded.  So we exec the FD to /dev/null,
15527# effectively closing config.log, so it can be properly (re)opened and
15528# appended to by config.status.  When coming back to configure, we
15529# need to make the FD available again.
15530if test "$no_create" != yes; then
15531  ac_cs_success=:
15532  ac_config_status_args=
15533  test "$silent" = yes &&
15534    ac_config_status_args="$ac_config_status_args --quiet"
15535  exec 5>/dev/null
15536  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15537  exec 5>>config.log
15538  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15539  # would make configure fail if this is the last instruction.
15540  $ac_cs_success || as_fn_exit 1
15541fi
15542if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15543  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15544$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15545fi
15546
15547