1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for package-unused version-unused.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1
200
201  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    PATH=/empty FPATH=/empty; export PATH FPATH
206    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208  if (eval "$as_required") 2>/dev/null; then :
209  as_have_required=yes
210else
211  as_have_required=no
212fi
213  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220  IFS=$as_save_IFS
221  test -z "$as_dir" && as_dir=.
222  as_found=:
223  case $as_dir in #(
224	 /*)
225	   for as_base in sh bash ksh sh5; do
226	     # Try only shells that exist, to save several forks.
227	     as_shell=$as_dir/$as_base
228	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230  CONFIG_SHELL=$as_shell as_have_required=yes
231		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  break 2
233fi
234fi
235	   done;;
236       esac
237  as_found=false
238done
239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241  CONFIG_SHELL=$SHELL as_have_required=yes
242fi; }
243IFS=$as_save_IFS
244
245
246      if test "x$CONFIG_SHELL" != x; then :
247  export CONFIG_SHELL
248             # We cannot yet assume a decent shell, so we have to provide a
249# neutralization value for shells without unset; and this also
250# works around shells that cannot unset nonexistent variables.
251# Preserve -v and -x to the replacement shell.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256  *v*x* | *x*v* ) as_opts=-vx ;;
257  *v* ) as_opts=-v ;;
258  *x* ) as_opts=-x ;;
259  * ) as_opts= ;;
260esac
261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262# Admittedly, this is quite paranoid, since all the known shells bail
263# out after a failed `exec'.
264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265exit 255
266fi
267
268    if test x$as_have_required = xno; then :
269  $as_echo "$0: This script requires a shell more modern than all"
270  $as_echo "$0: the shells that I found on your system."
271  if test x${ZSH_VERSION+set} = xset ; then
272    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274  else
275    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276$0: including any error possibly output before this
277$0: message. Then install a modern shell, or manually run
278$0: the script under such a shell if you do have one."
279  fi
280  exit 1
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298  { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_fn_set_status ()
306{
307  return $1
308} # as_fn_set_status
309
310# as_fn_exit STATUS
311# -----------------
312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313as_fn_exit ()
314{
315  set +e
316  as_fn_set_status $1
317  exit $1
318} # as_fn_exit
319
320# as_fn_mkdir_p
321# -------------
322# Create "$as_dir" as a directory, including parents if necessary.
323as_fn_mkdir_p ()
324{
325
326  case $as_dir in #(
327  -*) as_dir=./$as_dir;;
328  esac
329  test -d "$as_dir" || eval $as_mkdir_p || {
330    as_dirs=
331    while :; do
332      case $as_dir in #(
333      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334      *) as_qdir=$as_dir;;
335      esac
336      as_dirs="'$as_qdir' $as_dirs"
337      as_dir=`$as_dirname -- "$as_dir" ||
338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339	 X"$as_dir" : 'X\(//\)[^/]' \| \
340	 X"$as_dir" : 'X\(//\)$' \| \
341	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342$as_echo X"$as_dir" |
343    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\/\)[^/].*/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)$/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\).*/{
356	    s//\1/
357	    q
358	  }
359	  s/.*/./; q'`
360      test -d "$as_dir" && break
361    done
362    test -z "$as_dirs" || eval "mkdir $as_dirs"
363  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
373  test -f "$1" && test -x "$1"
374} # as_fn_executable_p
375# as_fn_append VAR VALUE
376# ----------------------
377# Append the text in VALUE to the end of the definition contained in VAR. Take
378# advantage of any shell optimizations that allow amortized linear growth over
379# repeated appends, instead of the typical quadratic growth present in naive
380# implementations.
381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382  eval 'as_fn_append ()
383  {
384    eval $1+=\$2
385  }'
386else
387  as_fn_append ()
388  {
389    eval $1=\$$1\$2
390  }
391fi # as_fn_append
392
393# as_fn_arith ARG...
394# ------------------
395# Perform arithmetic evaluation on the ARGs, and store the result in the
396# global $as_val. Take advantage of shells that can avoid forks. The arguments
397# must be portable across $(()) and expr.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399  eval 'as_fn_arith ()
400  {
401    as_val=$(( $* ))
402  }'
403else
404  as_fn_arith ()
405  {
406    as_val=`expr "$@" || test $? -eq 1`
407  }
408fi # as_fn_arith
409
410
411# as_fn_error STATUS ERROR [LINENO LOG_FD]
412# ----------------------------------------
413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415# script with STATUS, using 1 if that was 0.
416as_fn_error ()
417{
418  as_status=$1; test $as_status -eq 0 && as_status=1
419  if test "$4"; then
420    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422  fi
423  $as_echo "$as_me: error: $2" >&2
424  as_fn_exit $as_status
425} # as_fn_error
426
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429  as_expr=expr
430else
431  as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435  as_basename=basename
436else
437  as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441  as_dirname=dirname
442else
443  as_dirname=false
444fi
445
446as_me=`$as_basename -- "$0" ||
447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448	 X"$0" : 'X\(//\)$' \| \
449	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450$as_echo X/"$0" |
451    sed '/^.*\/\([^/][^/]*\)\/*$/{
452	    s//\1/
453	    q
454	  }
455	  /^X\/\(\/\/\)$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\).*/{
460	    s//\1/
461	    q
462	  }
463	  s/.*/./; q'`
464
465# Avoid depending upon Character Ranges.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473  as_lineno_1=$LINENO as_lineno_1a=$LINENO
474  as_lineno_2=$LINENO as_lineno_2a=$LINENO
475  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478  sed -n '
479    p
480    /[$]LINENO/=
481  ' <$as_myself |
482    sed '
483      s/[$]LINENO.*/&-/
484      t lineno
485      b
486      :lineno
487      N
488      :loop
489      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490      t loop
491      s/-\n.*//
492    ' >$as_me.lineno &&
493  chmod +x "$as_me.lineno" ||
494    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497  # already done that, so ensure we don't try to do so again and fall
498  # in an infinite loop.  This has already happened in practice.
499  _as_can_reexec=no; export _as_can_reexec
500  # Don't try to exec as it changes $[0], causing all sort of problems
501  # (the dirname of $[0] is not the place where we might find the
502  # original and so on.  Autoconf is especially sensitive to this).
503  . "./$as_me.lineno"
504  # Exit status is that of the last command.
505  exit
506}
507
508ECHO_C= ECHO_N= ECHO_T=
509case `echo -n x` in #(((((
510-n*)
511  case `echo 'xy\c'` in
512  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
513  xy)  ECHO_C='\c';;
514  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515       ECHO_T='	';;
516  esac;;
517*)
518  ECHO_N='-n';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523  rm -f conf$$.dir/conf$$.file
524else
525  rm -f conf$$.dir
526  mkdir conf$$.dir 2>/dev/null
527fi
528if (echo >conf$$.file) 2>/dev/null; then
529  if ln -s conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s='ln -s'
531    # ... but there are two gotchas:
532    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534    # In both cases, we have to default to `cp -pR'.
535    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536      as_ln_s='cp -pR'
537  elif ln conf$$.file conf$$ 2>/dev/null; then
538    as_ln_s=ln
539  else
540    as_ln_s='cp -pR'
541  fi
542else
543  as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549  as_mkdir_p='mkdir -p "$as_dir"'
550else
551  test -d ./-p && rmdir ./-p
552  as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561# Sed expression to map a string onto a valid variable name.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567test -n "$DJDIR" || exec 7<&0 </dev/null
568exec 6>&1
569
570# Name of the host.
571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572# so uname gets run too.
573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575#
576# Initializations.
577#
578ac_default_prefix=/usr/local
579ac_clean_files=
580ac_config_libobj_dir=.
581LIBOBJS=
582cross_compiling=no
583subdirs=
584MFLAGS=
585MAKEFLAGS=
586
587# Identity of this package.
588PACKAGE_NAME='package-unused'
589PACKAGE_TARNAME='libbacktrace'
590PACKAGE_VERSION='version-unused'
591PACKAGE_STRING='package-unused version-unused'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL=''
594
595ac_unique_file="backtrace.h"
596# Factoring default headers for most tests.
597ac_includes_default="\
598#include <stdio.h>
599#ifdef HAVE_SYS_TYPES_H
600# include <sys/types.h>
601#endif
602#ifdef HAVE_SYS_STAT_H
603# include <sys/stat.h>
604#endif
605#ifdef STDC_HEADERS
606# include <stdlib.h>
607# include <stddef.h>
608#else
609# ifdef HAVE_STDLIB_H
610#  include <stdlib.h>
611# endif
612#endif
613#ifdef HAVE_STRING_H
614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615#  include <memory.h>
616# endif
617# include <string.h>
618#endif
619#ifdef HAVE_STRINGS_H
620# include <strings.h>
621#endif
622#ifdef HAVE_INTTYPES_H
623# include <inttypes.h>
624#endif
625#ifdef HAVE_STDINT_H
626# include <stdint.h>
627#endif
628#ifdef HAVE_UNISTD_H
629# include <unistd.h>
630#endif"
631
632ac_subst_vars='am__EXEEXT_FALSE
633am__EXEEXT_TRUE
634LTLIBOBJS
635LIBOBJS
636NATIVE_FALSE
637NATIVE_TRUE
638HAVE_LIBLZMA_FALSE
639HAVE_LIBLZMA_TRUE
640HAVE_MINIDEBUG_FALSE
641HAVE_MINIDEBUG_TRUE
642HAVE_COMM_FALSE
643HAVE_COMM_TRUE
644COMM
645HAVE_XZ_FALSE
646HAVE_XZ_TRUE
647XZ
648USE_DSYMUTIL_FALSE
649USE_DSYMUTIL_TRUE
650HAVE_OBJCOPY_DEBUGLINK_FALSE
651HAVE_OBJCOPY_DEBUGLINK_TRUE
652READELF
653OBJCOPY
654HAVE_COMPRESSED_DEBUG_FALSE
655HAVE_COMPRESSED_DEBUG_TRUE
656HAVE_ZLIB_FALSE
657HAVE_ZLIB_TRUE
658HAVE_DWARF5_FALSE
659HAVE_DWARF5_TRUE
660HAVE_PTHREAD_FALSE
661HAVE_PTHREAD_TRUE
662PTHREAD_CFLAGS
663CLOCK_GETTIME_LINK
664BACKTRACE_USES_MALLOC
665ALLOC_FILE
666VIEW_FILE
667BACKTRACE_SUPPORTS_DATA
668BACKTRACE_SUPPORTED
669HAVE_ELF_FALSE
670HAVE_ELF_TRUE
671FORMAT_FILE
672BACKTRACE_SUPPORTS_THREADS
673PIC_FLAG
674WARN_FLAGS
675EXTRA_FLAGS
676BACKTRACE_FILE
677OTOOL64
678OTOOL
679LIPO
680NMEDIT
681DSYMUTIL
682AR
683OBJDUMP
684LN_S
685NM
686ac_ct_DUMPBIN
687DUMPBIN
688LD
689FGREP
690SED
691LIBTOOL
692HAVE_DWZ_FALSE
693HAVE_DWZ_TRUE
694DWZ
695RANLIB
696MAINT
697MAINTAINER_MODE_FALSE
698MAINTAINER_MODE_TRUE
699AM_BACKSLASH
700AM_DEFAULT_VERBOSITY
701AM_DEFAULT_V
702AM_V
703am__untar
704am__tar
705AMTAR
706am__leading_dot
707SET_MAKE
708AWK
709mkdir_p
710MKDIR_P
711INSTALL_STRIP_PROGRAM
712STRIP
713install_sh
714MAKEINFO
715AUTOHEADER
716AUTOMAKE
717AUTOCONF
718ACLOCAL
719VERSION
720PACKAGE
721CYGPATH_W
722am__isrc
723INSTALL_DATA
724INSTALL_SCRIPT
725INSTALL_PROGRAM
726libtool_VERSION
727EGREP
728GREP
729CPP
730OBJEXT
731EXEEXT
732ac_ct_CC
733CPPFLAGS
734LDFLAGS
735CFLAGS
736CC
737target_os
738target_vendor
739target_cpu
740target
741host_os
742host_vendor
743host_cpu
744host
745build_os
746build_vendor
747build_cpu
748build
749multi_basedir
750target_alias
751host_alias
752build_alias
753LIBS
754ECHO_T
755ECHO_N
756ECHO_C
757DEFS
758mandir
759localedir
760libdir
761psdir
762pdfdir
763dvidir
764htmldir
765infodir
766docdir
767oldincludedir
768includedir
769localstatedir
770sharedstatedir
771sysconfdir
772datadir
773datarootdir
774libexecdir
775sbindir
776bindir
777program_transform_name
778prefix
779exec_prefix
780PACKAGE_URL
781PACKAGE_BUGREPORT
782PACKAGE_STRING
783PACKAGE_VERSION
784PACKAGE_TARNAME
785PACKAGE_NAME
786PATH_SEPARATOR
787SHELL'
788ac_subst_files=''
789ac_user_opts='
790enable_option_checking
791enable_multilib
792enable_shared
793enable_silent_rules
794enable_maintainer_mode
795with_target_subdir
796enable_static
797with_pic
798enable_fast_install
799with_gnu_ld
800enable_libtool_lock
801enable_largefile
802with_system_libunwind
803enable_host_shared
804'
805      ac_precious_vars='build_alias
806host_alias
807target_alias
808CC
809CFLAGS
810LDFLAGS
811LIBS
812CPPFLAGS
813CPP
814OBJCOPY
815DSYMUTIL
816NM'
817
818
819# Initialize some variables set by options.
820ac_init_help=
821ac_init_version=false
822ac_unrecognized_opts=
823ac_unrecognized_sep=
824# The variables have the same names as the options, with
825# dashes changed to underlines.
826cache_file=/dev/null
827exec_prefix=NONE
828no_create=
829no_recursion=
830prefix=NONE
831program_prefix=NONE
832program_suffix=NONE
833program_transform_name=s,x,x,
834silent=
835site=
836srcdir=
837verbose=
838x_includes=NONE
839x_libraries=NONE
840
841# Installation directory options.
842# These are left unexpanded so users can "make install exec_prefix=/foo"
843# and all the variables that are supposed to be based on exec_prefix
844# by default will actually change.
845# Use braces instead of parens because sh, perl, etc. also accept them.
846# (The list follows the same order as the GNU Coding Standards.)
847bindir='${exec_prefix}/bin'
848sbindir='${exec_prefix}/sbin'
849libexecdir='${exec_prefix}/libexec'
850datarootdir='${prefix}/share'
851datadir='${datarootdir}'
852sysconfdir='${prefix}/etc'
853sharedstatedir='${prefix}/com'
854localstatedir='${prefix}/var'
855includedir='${prefix}/include'
856oldincludedir='/usr/include'
857docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
858infodir='${datarootdir}/info'
859htmldir='${docdir}'
860dvidir='${docdir}'
861pdfdir='${docdir}'
862psdir='${docdir}'
863libdir='${exec_prefix}/lib'
864localedir='${datarootdir}/locale'
865mandir='${datarootdir}/man'
866
867ac_prev=
868ac_dashdash=
869for ac_option
870do
871  # If the previous option needs an argument, assign it.
872  if test -n "$ac_prev"; then
873    eval $ac_prev=\$ac_option
874    ac_prev=
875    continue
876  fi
877
878  case $ac_option in
879  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
880  *=)   ac_optarg= ;;
881  *)    ac_optarg=yes ;;
882  esac
883
884  # Accept the important Cygnus configure options, so we can diagnose typos.
885
886  case $ac_dashdash$ac_option in
887  --)
888    ac_dashdash=yes ;;
889
890  -bindir | --bindir | --bindi | --bind | --bin | --bi)
891    ac_prev=bindir ;;
892  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
893    bindir=$ac_optarg ;;
894
895  -build | --build | --buil | --bui | --bu)
896    ac_prev=build_alias ;;
897  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
898    build_alias=$ac_optarg ;;
899
900  -cache-file | --cache-file | --cache-fil | --cache-fi \
901  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
902    ac_prev=cache_file ;;
903  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
904  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
905    cache_file=$ac_optarg ;;
906
907  --config-cache | -C)
908    cache_file=config.cache ;;
909
910  -datadir | --datadir | --datadi | --datad)
911    ac_prev=datadir ;;
912  -datadir=* | --datadir=* | --datadi=* | --datad=*)
913    datadir=$ac_optarg ;;
914
915  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
916  | --dataroo | --dataro | --datar)
917    ac_prev=datarootdir ;;
918  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
919  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
920    datarootdir=$ac_optarg ;;
921
922  -disable-* | --disable-*)
923    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
924    # Reject names that are not valid shell variable names.
925    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
926      as_fn_error $? "invalid feature name: $ac_useropt"
927    ac_useropt_orig=$ac_useropt
928    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929    case $ac_user_opts in
930      *"
931"enable_$ac_useropt"
932"*) ;;
933      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
934	 ac_unrecognized_sep=', ';;
935    esac
936    eval enable_$ac_useropt=no ;;
937
938  -docdir | --docdir | --docdi | --doc | --do)
939    ac_prev=docdir ;;
940  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
941    docdir=$ac_optarg ;;
942
943  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
944    ac_prev=dvidir ;;
945  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
946    dvidir=$ac_optarg ;;
947
948  -enable-* | --enable-*)
949    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
950    # Reject names that are not valid shell variable names.
951    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
952      as_fn_error $? "invalid feature name: $ac_useropt"
953    ac_useropt_orig=$ac_useropt
954    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955    case $ac_user_opts in
956      *"
957"enable_$ac_useropt"
958"*) ;;
959      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
960	 ac_unrecognized_sep=', ';;
961    esac
962    eval enable_$ac_useropt=\$ac_optarg ;;
963
964  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
965  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
966  | --exec | --exe | --ex)
967    ac_prev=exec_prefix ;;
968  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
969  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
970  | --exec=* | --exe=* | --ex=*)
971    exec_prefix=$ac_optarg ;;
972
973  -gas | --gas | --ga | --g)
974    # Obsolete; use --with-gas.
975    with_gas=yes ;;
976
977  -help | --help | --hel | --he | -h)
978    ac_init_help=long ;;
979  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
980    ac_init_help=recursive ;;
981  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
982    ac_init_help=short ;;
983
984  -host | --host | --hos | --ho)
985    ac_prev=host_alias ;;
986  -host=* | --host=* | --hos=* | --ho=*)
987    host_alias=$ac_optarg ;;
988
989  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
990    ac_prev=htmldir ;;
991  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
992  | --ht=*)
993    htmldir=$ac_optarg ;;
994
995  -includedir | --includedir | --includedi | --included | --include \
996  | --includ | --inclu | --incl | --inc)
997    ac_prev=includedir ;;
998  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
999  | --includ=* | --inclu=* | --incl=* | --inc=*)
1000    includedir=$ac_optarg ;;
1001
1002  -infodir | --infodir | --infodi | --infod | --info | --inf)
1003    ac_prev=infodir ;;
1004  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1005    infodir=$ac_optarg ;;
1006
1007  -libdir | --libdir | --libdi | --libd)
1008    ac_prev=libdir ;;
1009  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1010    libdir=$ac_optarg ;;
1011
1012  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1013  | --libexe | --libex | --libe)
1014    ac_prev=libexecdir ;;
1015  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1016  | --libexe=* | --libex=* | --libe=*)
1017    libexecdir=$ac_optarg ;;
1018
1019  -localedir | --localedir | --localedi | --localed | --locale)
1020    ac_prev=localedir ;;
1021  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1022    localedir=$ac_optarg ;;
1023
1024  -localstatedir | --localstatedir | --localstatedi | --localstated \
1025  | --localstate | --localstat | --localsta | --localst | --locals)
1026    ac_prev=localstatedir ;;
1027  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1028  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1029    localstatedir=$ac_optarg ;;
1030
1031  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1032    ac_prev=mandir ;;
1033  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1034    mandir=$ac_optarg ;;
1035
1036  -nfp | --nfp | --nf)
1037    # Obsolete; use --without-fp.
1038    with_fp=no ;;
1039
1040  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1041  | --no-cr | --no-c | -n)
1042    no_create=yes ;;
1043
1044  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1045  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1046    no_recursion=yes ;;
1047
1048  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1049  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1050  | --oldin | --oldi | --old | --ol | --o)
1051    ac_prev=oldincludedir ;;
1052  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1053  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1054  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1055    oldincludedir=$ac_optarg ;;
1056
1057  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1058    ac_prev=prefix ;;
1059  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1060    prefix=$ac_optarg ;;
1061
1062  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1063  | --program-pre | --program-pr | --program-p)
1064    ac_prev=program_prefix ;;
1065  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1066  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1067    program_prefix=$ac_optarg ;;
1068
1069  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1070  | --program-suf | --program-su | --program-s)
1071    ac_prev=program_suffix ;;
1072  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1073  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1074    program_suffix=$ac_optarg ;;
1075
1076  -program-transform-name | --program-transform-name \
1077  | --program-transform-nam | --program-transform-na \
1078  | --program-transform-n | --program-transform- \
1079  | --program-transform | --program-transfor \
1080  | --program-transfo | --program-transf \
1081  | --program-trans | --program-tran \
1082  | --progr-tra | --program-tr | --program-t)
1083    ac_prev=program_transform_name ;;
1084  -program-transform-name=* | --program-transform-name=* \
1085  | --program-transform-nam=* | --program-transform-na=* \
1086  | --program-transform-n=* | --program-transform-=* \
1087  | --program-transform=* | --program-transfor=* \
1088  | --program-transfo=* | --program-transf=* \
1089  | --program-trans=* | --program-tran=* \
1090  | --progr-tra=* | --program-tr=* | --program-t=*)
1091    program_transform_name=$ac_optarg ;;
1092
1093  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1094    ac_prev=pdfdir ;;
1095  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1096    pdfdir=$ac_optarg ;;
1097
1098  -psdir | --psdir | --psdi | --psd | --ps)
1099    ac_prev=psdir ;;
1100  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1101    psdir=$ac_optarg ;;
1102
1103  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1104  | -silent | --silent | --silen | --sile | --sil)
1105    silent=yes ;;
1106
1107  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1108    ac_prev=sbindir ;;
1109  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1110  | --sbi=* | --sb=*)
1111    sbindir=$ac_optarg ;;
1112
1113  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1114  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1115  | --sharedst | --shareds | --shared | --share | --shar \
1116  | --sha | --sh)
1117    ac_prev=sharedstatedir ;;
1118  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1119  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1120  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1121  | --sha=* | --sh=*)
1122    sharedstatedir=$ac_optarg ;;
1123
1124  -site | --site | --sit)
1125    ac_prev=site ;;
1126  -site=* | --site=* | --sit=*)
1127    site=$ac_optarg ;;
1128
1129  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1130    ac_prev=srcdir ;;
1131  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1132    srcdir=$ac_optarg ;;
1133
1134  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1135  | --syscon | --sysco | --sysc | --sys | --sy)
1136    ac_prev=sysconfdir ;;
1137  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1138  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1139    sysconfdir=$ac_optarg ;;
1140
1141  -target | --target | --targe | --targ | --tar | --ta | --t)
1142    ac_prev=target_alias ;;
1143  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1144    target_alias=$ac_optarg ;;
1145
1146  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1147    verbose=yes ;;
1148
1149  -version | --version | --versio | --versi | --vers | -V)
1150    ac_init_version=: ;;
1151
1152  -with-* | --with-*)
1153    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1154    # Reject names that are not valid shell variable names.
1155    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1156      as_fn_error $? "invalid package name: $ac_useropt"
1157    ac_useropt_orig=$ac_useropt
1158    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159    case $ac_user_opts in
1160      *"
1161"with_$ac_useropt"
1162"*) ;;
1163      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1164	 ac_unrecognized_sep=', ';;
1165    esac
1166    eval with_$ac_useropt=\$ac_optarg ;;
1167
1168  -without-* | --without-*)
1169    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1170    # Reject names that are not valid shell variable names.
1171    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1172      as_fn_error $? "invalid package name: $ac_useropt"
1173    ac_useropt_orig=$ac_useropt
1174    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175    case $ac_user_opts in
1176      *"
1177"with_$ac_useropt"
1178"*) ;;
1179      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1180	 ac_unrecognized_sep=', ';;
1181    esac
1182    eval with_$ac_useropt=no ;;
1183
1184  --x)
1185    # Obsolete; use --with-x.
1186    with_x=yes ;;
1187
1188  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1189  | --x-incl | --x-inc | --x-in | --x-i)
1190    ac_prev=x_includes ;;
1191  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1192  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1193    x_includes=$ac_optarg ;;
1194
1195  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1196  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1197    ac_prev=x_libraries ;;
1198  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1199  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1200    x_libraries=$ac_optarg ;;
1201
1202  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1203Try \`$0 --help' for more information"
1204    ;;
1205
1206  *=*)
1207    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1208    # Reject names that are not valid shell variable names.
1209    case $ac_envvar in #(
1210      '' | [0-9]* | *[!_$as_cr_alnum]* )
1211      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1212    esac
1213    eval $ac_envvar=\$ac_optarg
1214    export $ac_envvar ;;
1215
1216  *)
1217    # FIXME: should be removed in autoconf 3.0.
1218    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1219    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1220      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1221    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1222    ;;
1223
1224  esac
1225done
1226
1227if test -n "$ac_prev"; then
1228  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1229  as_fn_error $? "missing argument to $ac_option"
1230fi
1231
1232if test -n "$ac_unrecognized_opts"; then
1233  case $enable_option_checking in
1234    no) ;;
1235    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1236    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1237  esac
1238fi
1239
1240# Check all directory arguments for consistency.
1241for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1242		datadir sysconfdir sharedstatedir localstatedir includedir \
1243		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1244		libdir localedir mandir
1245do
1246  eval ac_val=\$$ac_var
1247  # Remove trailing slashes.
1248  case $ac_val in
1249    */ )
1250      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1251      eval $ac_var=\$ac_val;;
1252  esac
1253  # Be sure to have absolute directory names.
1254  case $ac_val in
1255    [\\/$]* | ?:[\\/]* )  continue;;
1256    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1257  esac
1258  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1259done
1260
1261# There might be people who depend on the old broken behavior: `$host'
1262# used to hold the argument of --host etc.
1263# FIXME: To remove some day.
1264build=$build_alias
1265host=$host_alias
1266target=$target_alias
1267
1268# FIXME: To remove some day.
1269if test "x$host_alias" != x; then
1270  if test "x$build_alias" = x; then
1271    cross_compiling=maybe
1272  elif test "x$build_alias" != "x$host_alias"; then
1273    cross_compiling=yes
1274  fi
1275fi
1276
1277ac_tool_prefix=
1278test -n "$host_alias" && ac_tool_prefix=$host_alias-
1279
1280test "$silent" = yes && exec 6>/dev/null
1281
1282
1283ac_pwd=`pwd` && test -n "$ac_pwd" &&
1284ac_ls_di=`ls -di .` &&
1285ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1286  as_fn_error $? "working directory cannot be determined"
1287test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1288  as_fn_error $? "pwd does not report name of working directory"
1289
1290
1291# Find the source files, if location was not specified.
1292if test -z "$srcdir"; then
1293  ac_srcdir_defaulted=yes
1294  # Try the directory containing this script, then the parent directory.
1295  ac_confdir=`$as_dirname -- "$as_myself" ||
1296$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1297	 X"$as_myself" : 'X\(//\)[^/]' \| \
1298	 X"$as_myself" : 'X\(//\)$' \| \
1299	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1300$as_echo X"$as_myself" |
1301    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302	    s//\1/
1303	    q
1304	  }
1305	  /^X\(\/\/\)[^/].*/{
1306	    s//\1/
1307	    q
1308	  }
1309	  /^X\(\/\/\)$/{
1310	    s//\1/
1311	    q
1312	  }
1313	  /^X\(\/\).*/{
1314	    s//\1/
1315	    q
1316	  }
1317	  s/.*/./; q'`
1318  srcdir=$ac_confdir
1319  if test ! -r "$srcdir/$ac_unique_file"; then
1320    srcdir=..
1321  fi
1322else
1323  ac_srcdir_defaulted=no
1324fi
1325if test ! -r "$srcdir/$ac_unique_file"; then
1326  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1327  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1328fi
1329ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1330ac_abs_confdir=`(
1331	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1332	pwd)`
1333# When building in place, set srcdir=.
1334if test "$ac_abs_confdir" = "$ac_pwd"; then
1335  srcdir=.
1336fi
1337# Remove unnecessary trailing slashes from srcdir.
1338# Double slashes in file names in object file debugging info
1339# mess up M-x gdb in Emacs.
1340case $srcdir in
1341*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1342esac
1343for ac_var in $ac_precious_vars; do
1344  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1345  eval ac_env_${ac_var}_value=\$${ac_var}
1346  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1347  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1348done
1349
1350#
1351# Report the --help message.
1352#
1353if test "$ac_init_help" = "long"; then
1354  # Omit some internal or obsolete options to make the list less imposing.
1355  # This message is too long to be a string in the A/UX 3.1 sh.
1356  cat <<_ACEOF
1357\`configure' configures package-unused version-unused to adapt to many kinds of systems.
1358
1359Usage: $0 [OPTION]... [VAR=VALUE]...
1360
1361To assign environment variables (e.g., CC, CFLAGS...), specify them as
1362VAR=VALUE.  See below for descriptions of some of the useful variables.
1363
1364Defaults for the options are specified in brackets.
1365
1366Configuration:
1367  -h, --help              display this help and exit
1368      --help=short        display options specific to this package
1369      --help=recursive    display the short help of all the included packages
1370  -V, --version           display version information and exit
1371  -q, --quiet, --silent   do not print \`checking ...' messages
1372      --cache-file=FILE   cache test results in FILE [disabled]
1373  -C, --config-cache      alias for \`--cache-file=config.cache'
1374  -n, --no-create         do not create output files
1375      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1376
1377Installation directories:
1378  --prefix=PREFIX         install architecture-independent files in PREFIX
1379                          [$ac_default_prefix]
1380  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1381                          [PREFIX]
1382
1383By default, \`make install' will install all the files in
1384\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1385an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1386for instance \`--prefix=\$HOME'.
1387
1388For better control, use the options below.
1389
1390Fine tuning of the installation directories:
1391  --bindir=DIR            user executables [EPREFIX/bin]
1392  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1393  --libexecdir=DIR        program executables [EPREFIX/libexec]
1394  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1395  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1396  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1397  --libdir=DIR            object code libraries [EPREFIX/lib]
1398  --includedir=DIR        C header files [PREFIX/include]
1399  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1400  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1401  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1402  --infodir=DIR           info documentation [DATAROOTDIR/info]
1403  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1404  --mandir=DIR            man documentation [DATAROOTDIR/man]
1405  --docdir=DIR            documentation root [DATAROOTDIR/doc/libbacktrace]
1406  --htmldir=DIR           html documentation [DOCDIR]
1407  --dvidir=DIR            dvi documentation [DOCDIR]
1408  --pdfdir=DIR            pdf documentation [DOCDIR]
1409  --psdir=DIR             ps documentation [DOCDIR]
1410_ACEOF
1411
1412  cat <<\_ACEOF
1413
1414Program names:
1415  --program-prefix=PREFIX            prepend PREFIX to installed program names
1416  --program-suffix=SUFFIX            append SUFFIX to installed program names
1417  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1418
1419System types:
1420  --build=BUILD     configure for building on BUILD [guessed]
1421  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1422  --target=TARGET   configure for building compilers for TARGET [HOST]
1423_ACEOF
1424fi
1425
1426if test -n "$ac_init_help"; then
1427  case $ac_init_help in
1428     short | recursive ) echo "Configuration of package-unused version-unused:";;
1429   esac
1430  cat <<\_ACEOF
1431
1432Optional Features:
1433  --disable-option-checking  ignore unrecognized --enable/--with options
1434  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1435  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1436  --enable-multilib       build many library versions (default)
1437  --enable-shared[=PKGS]  build shared libraries [default=no]
1438  --enable-silent-rules   less verbose build output (undo: "make V=1")
1439  --disable-silent-rules  verbose build output (undo: "make V=0")
1440  --enable-maintainer-mode
1441                          enable make rules and dependencies not useful (and
1442                          sometimes confusing) to the casual installer
1443  --enable-static[=PKGS]  build static libraries [default=yes]
1444  --enable-fast-install[=PKGS]
1445                          optimize for fast installation [default=yes]
1446  --disable-libtool-lock  avoid locking (might break parallel builds)
1447  --disable-largefile     omit support for large files
1448  --enable-host-shared    build host code as shared libraries
1449
1450Optional Packages:
1451  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1452  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1453  --with-target-subdir=SUBDIR      Configuring in a subdirectory for target
1454  --with-pic              try to use only PIC/non-PIC objects [default=use
1455                          both]
1456  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1457  --with-system-libunwind use installed libunwind
1458
1459Some influential environment variables:
1460  CC          C compiler command
1461  CFLAGS      C compiler flags
1462  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1463              nonstandard directory <lib dir>
1464  LIBS        libraries to pass to the linker, e.g. -l<library>
1465  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1466              you have headers in a nonstandard directory <include dir>
1467  CPP         C preprocessor
1468  OBJCOPY     location of objcopy
1469  DSYMUTIL    location of dsymutil
1470  NM          location of nm
1471
1472Use these variables to override the choices made by `configure' or to help
1473it to find libraries and programs with nonstandard names/locations.
1474
1475Report bugs to the package provider.
1476_ACEOF
1477ac_status=$?
1478fi
1479
1480if test "$ac_init_help" = "recursive"; then
1481  # If there are subdirs, report their specific --help.
1482  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1483    test -d "$ac_dir" ||
1484      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1485      continue
1486    ac_builddir=.
1487
1488case "$ac_dir" in
1489.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1490*)
1491  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1492  # A ".." for each directory in $ac_dir_suffix.
1493  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1494  case $ac_top_builddir_sub in
1495  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1496  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1497  esac ;;
1498esac
1499ac_abs_top_builddir=$ac_pwd
1500ac_abs_builddir=$ac_pwd$ac_dir_suffix
1501# for backward compatibility:
1502ac_top_builddir=$ac_top_build_prefix
1503
1504case $srcdir in
1505  .)  # We are building in place.
1506    ac_srcdir=.
1507    ac_top_srcdir=$ac_top_builddir_sub
1508    ac_abs_top_srcdir=$ac_pwd ;;
1509  [\\/]* | ?:[\\/]* )  # Absolute name.
1510    ac_srcdir=$srcdir$ac_dir_suffix;
1511    ac_top_srcdir=$srcdir
1512    ac_abs_top_srcdir=$srcdir ;;
1513  *) # Relative name.
1514    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1515    ac_top_srcdir=$ac_top_build_prefix$srcdir
1516    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1517esac
1518ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1519
1520    cd "$ac_dir" || { ac_status=$?; continue; }
1521    # Check for guested configure.
1522    if test -f "$ac_srcdir/configure.gnu"; then
1523      echo &&
1524      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1525    elif test -f "$ac_srcdir/configure"; then
1526      echo &&
1527      $SHELL "$ac_srcdir/configure" --help=recursive
1528    else
1529      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1530    fi || ac_status=$?
1531    cd "$ac_pwd" || { ac_status=$?; break; }
1532  done
1533fi
1534
1535test -n "$ac_init_help" && exit $ac_status
1536if $ac_init_version; then
1537  cat <<\_ACEOF
1538package-unused configure version-unused
1539generated by GNU Autoconf 2.69
1540
1541Copyright (C) 2012 Free Software Foundation, Inc.
1542This configure script is free software; the Free Software Foundation
1543gives unlimited permission to copy, distribute and modify it.
1544_ACEOF
1545  exit
1546fi
1547
1548## ------------------------ ##
1549## Autoconf initialization. ##
1550## ------------------------ ##
1551
1552# ac_fn_c_try_compile LINENO
1553# --------------------------
1554# Try to compile conftest.$ac_ext, and return whether this succeeded.
1555ac_fn_c_try_compile ()
1556{
1557  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558  rm -f conftest.$ac_objext
1559  if { { ac_try="$ac_compile"
1560case "(($ac_try" in
1561  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1562  *) ac_try_echo=$ac_try;;
1563esac
1564eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565$as_echo "$ac_try_echo"; } >&5
1566  (eval "$ac_compile") 2>conftest.err
1567  ac_status=$?
1568  if test -s conftest.err; then
1569    grep -v '^ *+' conftest.err >conftest.er1
1570    cat conftest.er1 >&5
1571    mv -f conftest.er1 conftest.err
1572  fi
1573  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574  test $ac_status = 0; } && {
1575	 test -z "$ac_c_werror_flag" ||
1576	 test ! -s conftest.err
1577       } && test -s conftest.$ac_objext; then :
1578  ac_retval=0
1579else
1580  $as_echo "$as_me: failed program was:" >&5
1581sed 's/^/| /' conftest.$ac_ext >&5
1582
1583	ac_retval=1
1584fi
1585  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586  as_fn_set_status $ac_retval
1587
1588} # ac_fn_c_try_compile
1589
1590# ac_fn_c_try_cpp LINENO
1591# ----------------------
1592# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1593ac_fn_c_try_cpp ()
1594{
1595  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596  if { { ac_try="$ac_cpp conftest.$ac_ext"
1597case "(($ac_try" in
1598  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599  *) ac_try_echo=$ac_try;;
1600esac
1601eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602$as_echo "$ac_try_echo"; } >&5
1603  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1604  ac_status=$?
1605  if test -s conftest.err; then
1606    grep -v '^ *+' conftest.err >conftest.er1
1607    cat conftest.er1 >&5
1608    mv -f conftest.er1 conftest.err
1609  fi
1610  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611  test $ac_status = 0; } > conftest.i && {
1612	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1613	 test ! -s conftest.err
1614       }; then :
1615  ac_retval=0
1616else
1617  $as_echo "$as_me: failed program was:" >&5
1618sed 's/^/| /' conftest.$ac_ext >&5
1619
1620    ac_retval=1
1621fi
1622  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623  as_fn_set_status $ac_retval
1624
1625} # ac_fn_c_try_cpp
1626
1627# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1628# -------------------------------------------------------
1629# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1630# the include files in INCLUDES and setting the cache variable VAR
1631# accordingly.
1632ac_fn_c_check_header_mongrel ()
1633{
1634  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635  if eval \${$3+:} false; then :
1636  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637$as_echo_n "checking for $2... " >&6; }
1638if eval \${$3+:} false; then :
1639  $as_echo_n "(cached) " >&6
1640fi
1641eval ac_res=\$$3
1642	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1643$as_echo "$ac_res" >&6; }
1644else
1645  # Is the header compilable?
1646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1647$as_echo_n "checking $2 usability... " >&6; }
1648cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1649/* end confdefs.h.  */
1650$4
1651#include <$2>
1652_ACEOF
1653if ac_fn_c_try_compile "$LINENO"; then :
1654  ac_header_compiler=yes
1655else
1656  ac_header_compiler=no
1657fi
1658rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1660$as_echo "$ac_header_compiler" >&6; }
1661
1662# Is the header present?
1663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1664$as_echo_n "checking $2 presence... " >&6; }
1665cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1666/* end confdefs.h.  */
1667#include <$2>
1668_ACEOF
1669if ac_fn_c_try_cpp "$LINENO"; then :
1670  ac_header_preproc=yes
1671else
1672  ac_header_preproc=no
1673fi
1674rm -f conftest.err conftest.i conftest.$ac_ext
1675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1676$as_echo "$ac_header_preproc" >&6; }
1677
1678# So?  What about this header?
1679case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1680  yes:no: )
1681    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1682$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1683    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1684$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1685    ;;
1686  no:yes:* )
1687    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1688$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1689    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1690$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1691    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1692$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1693    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1694$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1695    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1696$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1697    ;;
1698esac
1699  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1700$as_echo_n "checking for $2... " >&6; }
1701if eval \${$3+:} false; then :
1702  $as_echo_n "(cached) " >&6
1703else
1704  eval "$3=\$ac_header_compiler"
1705fi
1706eval ac_res=\$$3
1707	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1708$as_echo "$ac_res" >&6; }
1709fi
1710  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711
1712} # ac_fn_c_check_header_mongrel
1713
1714# ac_fn_c_try_run LINENO
1715# ----------------------
1716# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1717# that executables *can* be run.
1718ac_fn_c_try_run ()
1719{
1720  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721  if { { ac_try="$ac_link"
1722case "(($ac_try" in
1723  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724  *) ac_try_echo=$ac_try;;
1725esac
1726eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727$as_echo "$ac_try_echo"; } >&5
1728  (eval "$ac_link") 2>&5
1729  ac_status=$?
1730  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1732  { { case "(($ac_try" in
1733  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734  *) ac_try_echo=$ac_try;;
1735esac
1736eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737$as_echo "$ac_try_echo"; } >&5
1738  (eval "$ac_try") 2>&5
1739  ac_status=$?
1740  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741  test $ac_status = 0; }; }; then :
1742  ac_retval=0
1743else
1744  $as_echo "$as_me: program exited with status $ac_status" >&5
1745       $as_echo "$as_me: failed program was:" >&5
1746sed 's/^/| /' conftest.$ac_ext >&5
1747
1748       ac_retval=$ac_status
1749fi
1750  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1751  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752  as_fn_set_status $ac_retval
1753
1754} # ac_fn_c_try_run
1755
1756# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1757# -------------------------------------------------------
1758# Tests whether HEADER exists and can be compiled using the include files in
1759# INCLUDES, setting the cache variable VAR accordingly.
1760ac_fn_c_check_header_compile ()
1761{
1762  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1764$as_echo_n "checking for $2... " >&6; }
1765if eval \${$3+:} false; then :
1766  $as_echo_n "(cached) " >&6
1767else
1768  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1769/* end confdefs.h.  */
1770$4
1771#include <$2>
1772_ACEOF
1773if ac_fn_c_try_compile "$LINENO"; then :
1774  eval "$3=yes"
1775else
1776  eval "$3=no"
1777fi
1778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1779fi
1780eval ac_res=\$$3
1781	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782$as_echo "$ac_res" >&6; }
1783  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784
1785} # ac_fn_c_check_header_compile
1786
1787# ac_fn_c_try_link LINENO
1788# -----------------------
1789# Try to link conftest.$ac_ext, and return whether this succeeded.
1790ac_fn_c_try_link ()
1791{
1792  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793  rm -f conftest.$ac_objext conftest$ac_exeext
1794  if { { ac_try="$ac_link"
1795case "(($ac_try" in
1796  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797  *) ac_try_echo=$ac_try;;
1798esac
1799eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800$as_echo "$ac_try_echo"; } >&5
1801  (eval "$ac_link") 2>conftest.err
1802  ac_status=$?
1803  if test -s conftest.err; then
1804    grep -v '^ *+' conftest.err >conftest.er1
1805    cat conftest.er1 >&5
1806    mv -f conftest.er1 conftest.err
1807  fi
1808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809  test $ac_status = 0; } && {
1810	 test -z "$ac_c_werror_flag" ||
1811	 test ! -s conftest.err
1812       } && test -s conftest$ac_exeext && {
1813	 test "$cross_compiling" = yes ||
1814	 test -x conftest$ac_exeext
1815       }; then :
1816  ac_retval=0
1817else
1818  $as_echo "$as_me: failed program was:" >&5
1819sed 's/^/| /' conftest.$ac_ext >&5
1820
1821	ac_retval=1
1822fi
1823  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1824  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1825  # interfere with the next link command; also delete a directory that is
1826  # left behind by Apple's compiler.  We do this before executing the actions.
1827  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829  as_fn_set_status $ac_retval
1830
1831} # ac_fn_c_try_link
1832
1833# ac_fn_c_check_func LINENO FUNC VAR
1834# ----------------------------------
1835# Tests whether FUNC exists, setting the cache variable VAR accordingly
1836ac_fn_c_check_func ()
1837{
1838  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840$as_echo_n "checking for $2... " >&6; }
1841if eval \${$3+:} false; then :
1842  $as_echo_n "(cached) " >&6
1843else
1844  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845/* end confdefs.h.  */
1846/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1847   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1848#define $2 innocuous_$2
1849
1850/* System header to define __stub macros and hopefully few prototypes,
1851    which can conflict with char $2 (); below.
1852    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1853    <limits.h> exists even on freestanding compilers.  */
1854
1855#ifdef __STDC__
1856# include <limits.h>
1857#else
1858# include <assert.h>
1859#endif
1860
1861#undef $2
1862
1863/* Override any GCC internal prototype to avoid an error.
1864   Use char because int might match the return type of a GCC
1865   builtin and then its argument prototype would still apply.  */
1866#ifdef __cplusplus
1867extern "C"
1868#endif
1869char $2 ();
1870/* The GNU C library defines this for functions which it implements
1871    to always fail with ENOSYS.  Some functions are actually named
1872    something starting with __ and the normal name is an alias.  */
1873#if defined __stub_$2 || defined __stub___$2
1874choke me
1875#endif
1876
1877int
1878main ()
1879{
1880return $2 ();
1881  ;
1882  return 0;
1883}
1884_ACEOF
1885if ac_fn_c_try_link "$LINENO"; then :
1886  eval "$3=yes"
1887else
1888  eval "$3=no"
1889fi
1890rm -f core conftest.err conftest.$ac_objext \
1891    conftest$ac_exeext 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_func
1899
1900# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1901# ---------------------------------------------
1902# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1903# accordingly.
1904ac_fn_c_check_decl ()
1905{
1906  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1907  as_decl_name=`echo $2|sed 's/ *(.*//'`
1908  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1909  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1910$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1911if eval \${$3+:} false; then :
1912  $as_echo_n "(cached) " >&6
1913else
1914  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1915/* end confdefs.h.  */
1916$4
1917int
1918main ()
1919{
1920#ifndef $as_decl_name
1921#ifdef __cplusplus
1922  (void) $as_decl_use;
1923#else
1924  (void) $as_decl_name;
1925#endif
1926#endif
1927
1928  ;
1929  return 0;
1930}
1931_ACEOF
1932if ac_fn_c_try_compile "$LINENO"; then :
1933  eval "$3=yes"
1934else
1935  eval "$3=no"
1936fi
1937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1938fi
1939eval ac_res=\$$3
1940	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941$as_echo "$ac_res" >&6; }
1942  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943
1944} # ac_fn_c_check_decl
1945cat >config.log <<_ACEOF
1946This file contains any messages produced by compilers while
1947running configure, to aid debugging if configure makes a mistake.
1948
1949It was created by package-unused $as_me version-unused, which was
1950generated by GNU Autoconf 2.69.  Invocation command line was
1951
1952  $ $0 $@
1953
1954_ACEOF
1955exec 5>>config.log
1956{
1957cat <<_ASUNAME
1958## --------- ##
1959## Platform. ##
1960## --------- ##
1961
1962hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1963uname -m = `(uname -m) 2>/dev/null || echo unknown`
1964uname -r = `(uname -r) 2>/dev/null || echo unknown`
1965uname -s = `(uname -s) 2>/dev/null || echo unknown`
1966uname -v = `(uname -v) 2>/dev/null || echo unknown`
1967
1968/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1969/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1970
1971/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1972/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1973/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1974/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1975/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1976/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1977/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1978
1979_ASUNAME
1980
1981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982for as_dir in $PATH
1983do
1984  IFS=$as_save_IFS
1985  test -z "$as_dir" && as_dir=.
1986    $as_echo "PATH: $as_dir"
1987  done
1988IFS=$as_save_IFS
1989
1990} >&5
1991
1992cat >&5 <<_ACEOF
1993
1994
1995## ----------- ##
1996## Core tests. ##
1997## ----------- ##
1998
1999_ACEOF
2000
2001
2002# Keep a trace of the command line.
2003# Strip out --no-create and --no-recursion so they do not pile up.
2004# Strip out --silent because we don't want to record it for future runs.
2005# Also quote any args containing shell meta-characters.
2006# Make two passes to allow for proper duplicate-argument suppression.
2007ac_configure_args=
2008ac_configure_args0=
2009ac_configure_args1=
2010ac_must_keep_next=false
2011for ac_pass in 1 2
2012do
2013  for ac_arg
2014  do
2015    case $ac_arg in
2016    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2017    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2018    | -silent | --silent | --silen | --sile | --sil)
2019      continue ;;
2020    *\'*)
2021      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2022    esac
2023    case $ac_pass in
2024    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2025    2)
2026      as_fn_append ac_configure_args1 " '$ac_arg'"
2027      if test $ac_must_keep_next = true; then
2028	ac_must_keep_next=false # Got value, back to normal.
2029      else
2030	case $ac_arg in
2031	  *=* | --config-cache | -C | -disable-* | --disable-* \
2032	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2033	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2034	  | -with-* | --with-* | -without-* | --without-* | --x)
2035	    case "$ac_configure_args0 " in
2036	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2037	    esac
2038	    ;;
2039	  -* ) ac_must_keep_next=true ;;
2040	esac
2041      fi
2042      as_fn_append ac_configure_args " '$ac_arg'"
2043      ;;
2044    esac
2045  done
2046done
2047{ ac_configure_args0=; unset ac_configure_args0;}
2048{ ac_configure_args1=; unset ac_configure_args1;}
2049
2050# When interrupted or exit'd, cleanup temporary files, and complete
2051# config.log.  We remove comments because anyway the quotes in there
2052# would cause problems or look ugly.
2053# WARNING: Use '\'' to represent an apostrophe within the trap.
2054# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2055trap 'exit_status=$?
2056  # Save into config.log some information that might help in debugging.
2057  {
2058    echo
2059
2060    $as_echo "## ---------------- ##
2061## Cache variables. ##
2062## ---------------- ##"
2063    echo
2064    # The following way of writing the cache mishandles newlines in values,
2065(
2066  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2067    eval ac_val=\$$ac_var
2068    case $ac_val in #(
2069    *${as_nl}*)
2070      case $ac_var in #(
2071      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2072$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2073      esac
2074      case $ac_var in #(
2075      _ | IFS | as_nl) ;; #(
2076      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2077      *) { eval $ac_var=; unset $ac_var;} ;;
2078      esac ;;
2079    esac
2080  done
2081  (set) 2>&1 |
2082    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2083    *${as_nl}ac_space=\ *)
2084      sed -n \
2085	"s/'\''/'\''\\\\'\'''\''/g;
2086	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2087      ;; #(
2088    *)
2089      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2090      ;;
2091    esac |
2092    sort
2093)
2094    echo
2095
2096    $as_echo "## ----------------- ##
2097## Output variables. ##
2098## ----------------- ##"
2099    echo
2100    for ac_var in $ac_subst_vars
2101    do
2102      eval ac_val=\$$ac_var
2103      case $ac_val in
2104      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2105      esac
2106      $as_echo "$ac_var='\''$ac_val'\''"
2107    done | sort
2108    echo
2109
2110    if test -n "$ac_subst_files"; then
2111      $as_echo "## ------------------- ##
2112## File substitutions. ##
2113## ------------------- ##"
2114      echo
2115      for ac_var in $ac_subst_files
2116      do
2117	eval ac_val=\$$ac_var
2118	case $ac_val in
2119	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2120	esac
2121	$as_echo "$ac_var='\''$ac_val'\''"
2122      done | sort
2123      echo
2124    fi
2125
2126    if test -s confdefs.h; then
2127      $as_echo "## ----------- ##
2128## confdefs.h. ##
2129## ----------- ##"
2130      echo
2131      cat confdefs.h
2132      echo
2133    fi
2134    test "$ac_signal" != 0 &&
2135      $as_echo "$as_me: caught signal $ac_signal"
2136    $as_echo "$as_me: exit $exit_status"
2137  } >&5
2138  rm -f core *.core core.conftest.* &&
2139    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2140    exit $exit_status
2141' 0
2142for ac_signal in 1 2 13 15; do
2143  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2144done
2145ac_signal=0
2146
2147# confdefs.h avoids OS command line length limits that DEFS can exceed.
2148rm -f -r conftest* confdefs.h
2149
2150$as_echo "/* confdefs.h */" > confdefs.h
2151
2152# Predefined preprocessor variables.
2153
2154cat >>confdefs.h <<_ACEOF
2155#define PACKAGE_NAME "$PACKAGE_NAME"
2156_ACEOF
2157
2158cat >>confdefs.h <<_ACEOF
2159#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2160_ACEOF
2161
2162cat >>confdefs.h <<_ACEOF
2163#define PACKAGE_VERSION "$PACKAGE_VERSION"
2164_ACEOF
2165
2166cat >>confdefs.h <<_ACEOF
2167#define PACKAGE_STRING "$PACKAGE_STRING"
2168_ACEOF
2169
2170cat >>confdefs.h <<_ACEOF
2171#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2172_ACEOF
2173
2174cat >>confdefs.h <<_ACEOF
2175#define PACKAGE_URL "$PACKAGE_URL"
2176_ACEOF
2177
2178
2179# Let the site file select an alternate cache file if it wants to.
2180# Prefer an explicitly selected file to automatically selected ones.
2181ac_site_file1=NONE
2182ac_site_file2=NONE
2183if test -n "$CONFIG_SITE"; then
2184  # We do not want a PATH search for config.site.
2185  case $CONFIG_SITE in #((
2186    -*)  ac_site_file1=./$CONFIG_SITE;;
2187    */*) ac_site_file1=$CONFIG_SITE;;
2188    *)   ac_site_file1=./$CONFIG_SITE;;
2189  esac
2190elif test "x$prefix" != xNONE; then
2191  ac_site_file1=$prefix/share/config.site
2192  ac_site_file2=$prefix/etc/config.site
2193else
2194  ac_site_file1=$ac_default_prefix/share/config.site
2195  ac_site_file2=$ac_default_prefix/etc/config.site
2196fi
2197for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2198do
2199  test "x$ac_site_file" = xNONE && continue
2200  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2201    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2202$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2203    sed 's/^/| /' "$ac_site_file" >&5
2204    . "$ac_site_file" \
2205      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2206$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2207as_fn_error $? "failed to load site script $ac_site_file
2208See \`config.log' for more details" "$LINENO" 5; }
2209  fi
2210done
2211
2212if test -r "$cache_file"; then
2213  # Some versions of bash will fail to source /dev/null (special files
2214  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2215  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2216    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2217$as_echo "$as_me: loading cache $cache_file" >&6;}
2218    case $cache_file in
2219      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2220      *)                      . "./$cache_file";;
2221    esac
2222  fi
2223else
2224  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2225$as_echo "$as_me: creating cache $cache_file" >&6;}
2226  >$cache_file
2227fi
2228
2229# Check that the precious variables saved in the cache have kept the same
2230# value.
2231ac_cache_corrupted=false
2232for ac_var in $ac_precious_vars; do
2233  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2234  eval ac_new_set=\$ac_env_${ac_var}_set
2235  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2236  eval ac_new_val=\$ac_env_${ac_var}_value
2237  case $ac_old_set,$ac_new_set in
2238    set,)
2239      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2240$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2241      ac_cache_corrupted=: ;;
2242    ,set)
2243      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2244$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2245      ac_cache_corrupted=: ;;
2246    ,);;
2247    *)
2248      if test "x$ac_old_val" != "x$ac_new_val"; then
2249	# differences in whitespace do not lead to failure.
2250	ac_old_val_w=`echo x $ac_old_val`
2251	ac_new_val_w=`echo x $ac_new_val`
2252	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2253	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2254$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2255	  ac_cache_corrupted=:
2256	else
2257	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2258$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2259	  eval $ac_var=\$ac_old_val
2260	fi
2261	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2262$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2263	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2264$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2265      fi;;
2266  esac
2267  # Pass precious variables to config.status.
2268  if test "$ac_new_set" = set; then
2269    case $ac_new_val in
2270    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2271    *) ac_arg=$ac_var=$ac_new_val ;;
2272    esac
2273    case " $ac_configure_args " in
2274      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2275      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2276    esac
2277  fi
2278done
2279if $ac_cache_corrupted; then
2280  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2281$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2282  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2283$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2284  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2285fi
2286## -------------------- ##
2287## Main body of script. ##
2288## -------------------- ##
2289
2290ac_ext=c
2291ac_cpp='$CPP $CPPFLAGS'
2292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2294ac_compiler_gnu=$ac_cv_c_compiler_gnu
2295
2296
2297
2298
2299
2300
2301ac_config_headers="$ac_config_headers config.h"
2302
2303
2304
2305# with_target_subdir is used when configured as part of a GCC tree.
2306if test -n "${with_target_subdir}"; then
2307  # Default to --enable-multilib
2308# Check whether --enable-multilib was given.
2309if test "${enable_multilib+set}" = set; then :
2310  enableval=$enable_multilib; case "$enableval" in
2311  yes) multilib=yes ;;
2312  no)  multilib=no ;;
2313  *)   as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2314 esac
2315else
2316  multilib=yes
2317fi
2318
2319
2320# We may get other options which we leave undocumented:
2321# --with-target-subdir, --with-multisrctop, --with-multisubdir
2322# See config-ml.in if you want the gory details.
2323
2324if test "$srcdir" = "."; then
2325  if test "$with_target_subdir" != "."; then
2326    multi_basedir="$srcdir/$with_multisrctop../.."
2327  else
2328    multi_basedir="$srcdir/$with_multisrctop.."
2329  fi
2330else
2331  multi_basedir="$srcdir/.."
2332fi
2333
2334
2335# Even if the default multilib is not a cross compilation,
2336# it may be that some of the other multilibs are.
2337if test $cross_compiling = no && test $multilib = yes \
2338   && test "x${with_multisubdir}" != x ; then
2339   cross_compiling=maybe
2340fi
2341
2342ac_config_commands="$ac_config_commands default-1"
2343
2344fi
2345
2346ac_aux_dir=
2347for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2348  if test -f "$ac_dir/install-sh"; then
2349    ac_aux_dir=$ac_dir
2350    ac_install_sh="$ac_aux_dir/install-sh -c"
2351    break
2352  elif test -f "$ac_dir/install.sh"; then
2353    ac_aux_dir=$ac_dir
2354    ac_install_sh="$ac_aux_dir/install.sh -c"
2355    break
2356  elif test -f "$ac_dir/shtool"; then
2357    ac_aux_dir=$ac_dir
2358    ac_install_sh="$ac_aux_dir/shtool install -c"
2359    break
2360  fi
2361done
2362if test -z "$ac_aux_dir"; then
2363  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2364fi
2365
2366# These three variables are undocumented and unsupported,
2367# and are intended to be withdrawn in a future Autoconf release.
2368# They can cause serious problems if a builder's source tree is in a directory
2369# whose full name contains unusual characters.
2370ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2371ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2372ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2373
2374
2375# Make sure we can run config.sub.
2376$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2377  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2378
2379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2380$as_echo_n "checking build system type... " >&6; }
2381if ${ac_cv_build+:} false; then :
2382  $as_echo_n "(cached) " >&6
2383else
2384  ac_build_alias=$build_alias
2385test "x$ac_build_alias" = x &&
2386  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2387test "x$ac_build_alias" = x &&
2388  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2389ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2390  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2391
2392fi
2393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2394$as_echo "$ac_cv_build" >&6; }
2395case $ac_cv_build in
2396*-*-*) ;;
2397*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2398esac
2399build=$ac_cv_build
2400ac_save_IFS=$IFS; IFS='-'
2401set x $ac_cv_build
2402shift
2403build_cpu=$1
2404build_vendor=$2
2405shift; shift
2406# Remember, the first character of IFS is used to create $*,
2407# except with old shells:
2408build_os=$*
2409IFS=$ac_save_IFS
2410case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2411
2412
2413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2414$as_echo_n "checking host system type... " >&6; }
2415if ${ac_cv_host+:} false; then :
2416  $as_echo_n "(cached) " >&6
2417else
2418  if test "x$host_alias" = x; then
2419  ac_cv_host=$ac_cv_build
2420else
2421  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2422    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2423fi
2424
2425fi
2426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2427$as_echo "$ac_cv_host" >&6; }
2428case $ac_cv_host in
2429*-*-*) ;;
2430*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2431esac
2432host=$ac_cv_host
2433ac_save_IFS=$IFS; IFS='-'
2434set x $ac_cv_host
2435shift
2436host_cpu=$1
2437host_vendor=$2
2438shift; shift
2439# Remember, the first character of IFS is used to create $*,
2440# except with old shells:
2441host_os=$*
2442IFS=$ac_save_IFS
2443case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2444
2445
2446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2447$as_echo_n "checking target system type... " >&6; }
2448if ${ac_cv_target+:} false; then :
2449  $as_echo_n "(cached) " >&6
2450else
2451  if test "x$target_alias" = x; then
2452  ac_cv_target=$ac_cv_host
2453else
2454  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2455    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2456fi
2457
2458fi
2459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2460$as_echo "$ac_cv_target" >&6; }
2461case $ac_cv_target in
2462*-*-*) ;;
2463*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2464esac
2465target=$ac_cv_target
2466ac_save_IFS=$IFS; IFS='-'
2467set x $ac_cv_target
2468shift
2469target_cpu=$1
2470target_vendor=$2
2471shift; shift
2472# Remember, the first character of IFS is used to create $*,
2473# except with old shells:
2474target_os=$*
2475IFS=$ac_save_IFS
2476case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2477
2478
2479# The aliases save the names the user supplied, while $host etc.
2480# will get canonicalized.
2481test -n "$target_alias" &&
2482  test "$program_prefix$program_suffix$program_transform_name" = \
2483    NONENONEs,x,x, &&
2484  program_prefix=${target_alias}-
2485
2486target_alias=${target_alias-$host_alias}
2487
2488# Expand $ac_aux_dir to an absolute path.
2489am_aux_dir=`cd "$ac_aux_dir" && pwd`
2490
2491ac_ext=c
2492ac_cpp='$CPP $CPPFLAGS'
2493ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2494ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2495ac_compiler_gnu=$ac_cv_c_compiler_gnu
2496if test -n "$ac_tool_prefix"; then
2497  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2498set dummy ${ac_tool_prefix}gcc; 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_CC+:} false; then :
2502  $as_echo_n "(cached) " >&6
2503else
2504  if test -n "$CC"; then
2505  ac_cv_prog_CC="$CC" # 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_CC="${ac_tool_prefix}gcc"
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
2524CC=$ac_cv_prog_CC
2525if test -n "$CC"; then
2526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2527$as_echo "$CC" >&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_CC"; then
2536  ac_ct_CC=$CC
2537  # Extract the first word of "gcc", so it can be a program name with args.
2538set dummy gcc; 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_CC+:} false; then :
2542  $as_echo_n "(cached) " >&6
2543else
2544  if test -n "$ac_ct_CC"; then
2545  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_CC="gcc"
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_CC=$ac_cv_prog_ac_ct_CC
2565if test -n "$ac_ct_CC"; then
2566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2567$as_echo "$ac_ct_CC" >&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_CC" = x; then
2574    CC=""
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    CC=$ac_ct_CC
2583  fi
2584else
2585  CC="$ac_cv_prog_CC"
2586fi
2587
2588if test -z "$CC"; then
2589          if test -n "$ac_tool_prefix"; then
2590    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2591set dummy ${ac_tool_prefix}cc; ac_word=$2
2592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593$as_echo_n "checking for $ac_word... " >&6; }
2594if ${ac_cv_prog_CC+:} false; then :
2595  $as_echo_n "(cached) " >&6
2596else
2597  if test -n "$CC"; then
2598  ac_cv_prog_CC="$CC" # Let the user override the test.
2599else
2600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601for as_dir in $PATH
2602do
2603  IFS=$as_save_IFS
2604  test -z "$as_dir" && as_dir=.
2605    for ac_exec_ext in '' $ac_executable_extensions; do
2606  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2607    ac_cv_prog_CC="${ac_tool_prefix}cc"
2608    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2609    break 2
2610  fi
2611done
2612  done
2613IFS=$as_save_IFS
2614
2615fi
2616fi
2617CC=$ac_cv_prog_CC
2618if test -n "$CC"; then
2619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2620$as_echo "$CC" >&6; }
2621else
2622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2623$as_echo "no" >&6; }
2624fi
2625
2626
2627  fi
2628fi
2629if test -z "$CC"; then
2630  # Extract the first word of "cc", so it can be a program name with args.
2631set dummy cc; ac_word=$2
2632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2633$as_echo_n "checking for $ac_word... " >&6; }
2634if ${ac_cv_prog_CC+:} false; then :
2635  $as_echo_n "(cached) " >&6
2636else
2637  if test -n "$CC"; then
2638  ac_cv_prog_CC="$CC" # Let the user override the test.
2639else
2640  ac_prog_rejected=no
2641as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2642for as_dir in $PATH
2643do
2644  IFS=$as_save_IFS
2645  test -z "$as_dir" && as_dir=.
2646    for ac_exec_ext in '' $ac_executable_extensions; do
2647  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2648    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2649       ac_prog_rejected=yes
2650       continue
2651     fi
2652    ac_cv_prog_CC="cc"
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
2660if test $ac_prog_rejected = yes; then
2661  # We found a bogon in the path, so make sure we never use it.
2662  set dummy $ac_cv_prog_CC
2663  shift
2664  if test $# != 0; then
2665    # We chose a different compiler from the bogus one.
2666    # However, it has the same basename, so the bogon will be chosen
2667    # first if we set CC to just the basename; use the full file name.
2668    shift
2669    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2670  fi
2671fi
2672fi
2673fi
2674CC=$ac_cv_prog_CC
2675if test -n "$CC"; then
2676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2677$as_echo "$CC" >&6; }
2678else
2679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2680$as_echo "no" >&6; }
2681fi
2682
2683
2684fi
2685if test -z "$CC"; then
2686  if test -n "$ac_tool_prefix"; then
2687  for ac_prog in cl.exe
2688  do
2689    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2690set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2692$as_echo_n "checking for $ac_word... " >&6; }
2693if ${ac_cv_prog_CC+:} false; then :
2694  $as_echo_n "(cached) " >&6
2695else
2696  if test -n "$CC"; then
2697  ac_cv_prog_CC="$CC" # Let the user override the test.
2698else
2699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700for as_dir in $PATH
2701do
2702  IFS=$as_save_IFS
2703  test -z "$as_dir" && as_dir=.
2704    for ac_exec_ext in '' $ac_executable_extensions; do
2705  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2706    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2707    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2708    break 2
2709  fi
2710done
2711  done
2712IFS=$as_save_IFS
2713
2714fi
2715fi
2716CC=$ac_cv_prog_CC
2717if test -n "$CC"; then
2718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2719$as_echo "$CC" >&6; }
2720else
2721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722$as_echo "no" >&6; }
2723fi
2724
2725
2726    test -n "$CC" && break
2727  done
2728fi
2729if test -z "$CC"; then
2730  ac_ct_CC=$CC
2731  for ac_prog in cl.exe
2732do
2733  # Extract the first word of "$ac_prog", so it can be a program name with args.
2734set dummy $ac_prog; ac_word=$2
2735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2736$as_echo_n "checking for $ac_word... " >&6; }
2737if ${ac_cv_prog_ac_ct_CC+:} false; then :
2738  $as_echo_n "(cached) " >&6
2739else
2740  if test -n "$ac_ct_CC"; then
2741  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2742else
2743as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744for as_dir in $PATH
2745do
2746  IFS=$as_save_IFS
2747  test -z "$as_dir" && as_dir=.
2748    for ac_exec_ext in '' $ac_executable_extensions; do
2749  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2750    ac_cv_prog_ac_ct_CC="$ac_prog"
2751    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752    break 2
2753  fi
2754done
2755  done
2756IFS=$as_save_IFS
2757
2758fi
2759fi
2760ac_ct_CC=$ac_cv_prog_ac_ct_CC
2761if test -n "$ac_ct_CC"; then
2762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2763$as_echo "$ac_ct_CC" >&6; }
2764else
2765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2766$as_echo "no" >&6; }
2767fi
2768
2769
2770  test -n "$ac_ct_CC" && break
2771done
2772
2773  if test "x$ac_ct_CC" = x; then
2774    CC=""
2775  else
2776    case $cross_compiling:$ac_tool_warned in
2777yes:)
2778{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2779$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2780ac_tool_warned=yes ;;
2781esac
2782    CC=$ac_ct_CC
2783  fi
2784fi
2785
2786fi
2787
2788
2789test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2790$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2791as_fn_error $? "no acceptable C compiler found in \$PATH
2792See \`config.log' for more details" "$LINENO" 5; }
2793
2794# Provide some information about the compiler.
2795$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2796set X $ac_compile
2797ac_compiler=$2
2798for ac_option in --version -v -V -qversion; do
2799  { { ac_try="$ac_compiler $ac_option >&5"
2800case "(($ac_try" in
2801  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802  *) ac_try_echo=$ac_try;;
2803esac
2804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2805$as_echo "$ac_try_echo"; } >&5
2806  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2807  ac_status=$?
2808  if test -s conftest.err; then
2809    sed '10a\
2810... rest of stderr output deleted ...
2811         10q' conftest.err >conftest.er1
2812    cat conftest.er1 >&5
2813  fi
2814  rm -f conftest.er1 conftest.err
2815  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2816  test $ac_status = 0; }
2817done
2818
2819cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2820/* end confdefs.h.  */
2821
2822int
2823main ()
2824{
2825
2826  ;
2827  return 0;
2828}
2829_ACEOF
2830ac_clean_files_save=$ac_clean_files
2831ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2832# Try to create an executable without -o first, disregard a.out.
2833# It will help us diagnose broken compilers, and finding out an intuition
2834# of exeext.
2835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2836$as_echo_n "checking whether the C compiler works... " >&6; }
2837ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2838
2839# The possible output files:
2840ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2841
2842ac_rmfiles=
2843for ac_file in $ac_files
2844do
2845  case $ac_file in
2846    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2847    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2848  esac
2849done
2850rm -f $ac_rmfiles
2851
2852if { { ac_try="$ac_link_default"
2853case "(($ac_try" in
2854  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2855  *) ac_try_echo=$ac_try;;
2856esac
2857eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2858$as_echo "$ac_try_echo"; } >&5
2859  (eval "$ac_link_default") 2>&5
2860  ac_status=$?
2861  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2862  test $ac_status = 0; }; then :
2863  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2864# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2865# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2866# so that the user can short-circuit this test for compilers unknown to
2867# Autoconf.
2868for ac_file in $ac_files ''
2869do
2870  test -f "$ac_file" || continue
2871  case $ac_file in
2872    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2873	;;
2874    [ab].out )
2875	# We found the default executable, but exeext='' is most
2876	# certainly right.
2877	break;;
2878    *.* )
2879	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2880	then :; else
2881	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2882	fi
2883	# We set ac_cv_exeext here because the later test for it is not
2884	# safe: cross compilers may not add the suffix if given an `-o'
2885	# argument, so we may need to know it at that point already.
2886	# Even if this section looks crufty: it has the advantage of
2887	# actually working.
2888	break;;
2889    * )
2890	break;;
2891  esac
2892done
2893test "$ac_cv_exeext" = no && ac_cv_exeext=
2894
2895else
2896  ac_file=''
2897fi
2898if test -z "$ac_file"; then :
2899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900$as_echo "no" >&6; }
2901$as_echo "$as_me: failed program was:" >&5
2902sed 's/^/| /' conftest.$ac_ext >&5
2903
2904{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2905$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2906as_fn_error 77 "C compiler cannot create executables
2907See \`config.log' for more details" "$LINENO" 5; }
2908else
2909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2910$as_echo "yes" >&6; }
2911fi
2912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2913$as_echo_n "checking for C compiler default output file name... " >&6; }
2914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2915$as_echo "$ac_file" >&6; }
2916ac_exeext=$ac_cv_exeext
2917
2918rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2919ac_clean_files=$ac_clean_files_save
2920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2921$as_echo_n "checking for suffix of executables... " >&6; }
2922if { { ac_try="$ac_link"
2923case "(($ac_try" in
2924  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2925  *) ac_try_echo=$ac_try;;
2926esac
2927eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2928$as_echo "$ac_try_echo"; } >&5
2929  (eval "$ac_link") 2>&5
2930  ac_status=$?
2931  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2932  test $ac_status = 0; }; then :
2933  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2934# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2935# work properly (i.e., refer to `conftest.exe'), while it won't with
2936# `rm'.
2937for ac_file in conftest.exe conftest conftest.*; do
2938  test -f "$ac_file" || continue
2939  case $ac_file in
2940    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2941    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2942	  break;;
2943    * ) break;;
2944  esac
2945done
2946else
2947  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2948$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2949as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2950See \`config.log' for more details" "$LINENO" 5; }
2951fi
2952rm -f conftest conftest$ac_cv_exeext
2953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2954$as_echo "$ac_cv_exeext" >&6; }
2955
2956rm -f conftest.$ac_ext
2957EXEEXT=$ac_cv_exeext
2958ac_exeext=$EXEEXT
2959cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960/* end confdefs.h.  */
2961#include <stdio.h>
2962int
2963main ()
2964{
2965FILE *f = fopen ("conftest.out", "w");
2966 return ferror (f) || fclose (f) != 0;
2967
2968  ;
2969  return 0;
2970}
2971_ACEOF
2972ac_clean_files="$ac_clean_files conftest.out"
2973# Check that the compiler produces executables we can run.  If not, either
2974# the compiler is broken, or we cross compile.
2975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2976$as_echo_n "checking whether we are cross compiling... " >&6; }
2977if test "$cross_compiling" != yes; then
2978  { { ac_try="$ac_link"
2979case "(($ac_try" in
2980  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981  *) ac_try_echo=$ac_try;;
2982esac
2983eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2984$as_echo "$ac_try_echo"; } >&5
2985  (eval "$ac_link") 2>&5
2986  ac_status=$?
2987  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2988  test $ac_status = 0; }
2989  if { ac_try='./conftest$ac_cv_exeext'
2990  { { case "(($ac_try" in
2991  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992  *) ac_try_echo=$ac_try;;
2993esac
2994eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2995$as_echo "$ac_try_echo"; } >&5
2996  (eval "$ac_try") 2>&5
2997  ac_status=$?
2998  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2999  test $ac_status = 0; }; }; then
3000    cross_compiling=no
3001  else
3002    if test "$cross_compiling" = maybe; then
3003	cross_compiling=yes
3004    else
3005	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3006$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3007as_fn_error $? "cannot run C compiled programs.
3008If you meant to cross compile, use \`--host'.
3009See \`config.log' for more details" "$LINENO" 5; }
3010    fi
3011  fi
3012fi
3013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3014$as_echo "$cross_compiling" >&6; }
3015
3016rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3017ac_clean_files=$ac_clean_files_save
3018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3019$as_echo_n "checking for suffix of object files... " >&6; }
3020if ${ac_cv_objext+:} false; then :
3021  $as_echo_n "(cached) " >&6
3022else
3023  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024/* end confdefs.h.  */
3025
3026int
3027main ()
3028{
3029
3030  ;
3031  return 0;
3032}
3033_ACEOF
3034rm -f conftest.o conftest.obj
3035if { { ac_try="$ac_compile"
3036case "(($ac_try" in
3037  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3038  *) ac_try_echo=$ac_try;;
3039esac
3040eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3041$as_echo "$ac_try_echo"; } >&5
3042  (eval "$ac_compile") 2>&5
3043  ac_status=$?
3044  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3045  test $ac_status = 0; }; then :
3046  for ac_file in conftest.o conftest.obj conftest.*; do
3047  test -f "$ac_file" || continue;
3048  case $ac_file in
3049    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3050    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3051       break;;
3052  esac
3053done
3054else
3055  $as_echo "$as_me: failed program was:" >&5
3056sed 's/^/| /' conftest.$ac_ext >&5
3057
3058{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3059$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3060as_fn_error $? "cannot compute suffix of object files: cannot compile
3061See \`config.log' for more details" "$LINENO" 5; }
3062fi
3063rm -f conftest.$ac_cv_objext conftest.$ac_ext
3064fi
3065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3066$as_echo "$ac_cv_objext" >&6; }
3067OBJEXT=$ac_cv_objext
3068ac_objext=$OBJEXT
3069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3070$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3071if ${ac_cv_c_compiler_gnu+:} false; then :
3072  $as_echo_n "(cached) " >&6
3073else
3074  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075/* end confdefs.h.  */
3076
3077int
3078main ()
3079{
3080#ifndef __GNUC__
3081       choke me
3082#endif
3083
3084  ;
3085  return 0;
3086}
3087_ACEOF
3088if ac_fn_c_try_compile "$LINENO"; then :
3089  ac_compiler_gnu=yes
3090else
3091  ac_compiler_gnu=no
3092fi
3093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3094ac_cv_c_compiler_gnu=$ac_compiler_gnu
3095
3096fi
3097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3098$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3099if test $ac_compiler_gnu = yes; then
3100  GCC=yes
3101else
3102  GCC=
3103fi
3104ac_test_CFLAGS=${CFLAGS+set}
3105ac_save_CFLAGS=$CFLAGS
3106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3107$as_echo_n "checking whether $CC accepts -g... " >&6; }
3108if ${ac_cv_prog_cc_g+:} false; then :
3109  $as_echo_n "(cached) " >&6
3110else
3111  ac_save_c_werror_flag=$ac_c_werror_flag
3112   ac_c_werror_flag=yes
3113   ac_cv_prog_cc_g=no
3114   CFLAGS="-g"
3115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116/* end confdefs.h.  */
3117
3118int
3119main ()
3120{
3121
3122  ;
3123  return 0;
3124}
3125_ACEOF
3126if ac_fn_c_try_compile "$LINENO"; then :
3127  ac_cv_prog_cc_g=yes
3128else
3129  CFLAGS=""
3130      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131/* end confdefs.h.  */
3132
3133int
3134main ()
3135{
3136
3137  ;
3138  return 0;
3139}
3140_ACEOF
3141if ac_fn_c_try_compile "$LINENO"; then :
3142
3143else
3144  ac_c_werror_flag=$ac_save_c_werror_flag
3145	 CFLAGS="-g"
3146	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147/* end confdefs.h.  */
3148
3149int
3150main ()
3151{
3152
3153  ;
3154  return 0;
3155}
3156_ACEOF
3157if ac_fn_c_try_compile "$LINENO"; then :
3158  ac_cv_prog_cc_g=yes
3159fi
3160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3161fi
3162rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163fi
3164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3165   ac_c_werror_flag=$ac_save_c_werror_flag
3166fi
3167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3168$as_echo "$ac_cv_prog_cc_g" >&6; }
3169if test "$ac_test_CFLAGS" = set; then
3170  CFLAGS=$ac_save_CFLAGS
3171elif test $ac_cv_prog_cc_g = yes; then
3172  if test "$GCC" = yes; then
3173    CFLAGS="-g -O2"
3174  else
3175    CFLAGS="-g"
3176  fi
3177else
3178  if test "$GCC" = yes; then
3179    CFLAGS="-O2"
3180  else
3181    CFLAGS=
3182  fi
3183fi
3184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3185$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3186if ${ac_cv_prog_cc_c89+:} false; then :
3187  $as_echo_n "(cached) " >&6
3188else
3189  ac_cv_prog_cc_c89=no
3190ac_save_CC=$CC
3191cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192/* end confdefs.h.  */
3193#include <stdarg.h>
3194#include <stdio.h>
3195struct stat;
3196/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3197struct buf { int x; };
3198FILE * (*rcsopen) (struct buf *, struct stat *, int);
3199static char *e (p, i)
3200     char **p;
3201     int i;
3202{
3203  return p[i];
3204}
3205static char *f (char * (*g) (char **, int), char **p, ...)
3206{
3207  char *s;
3208  va_list v;
3209  va_start (v,p);
3210  s = g (p, va_arg (v,int));
3211  va_end (v);
3212  return s;
3213}
3214
3215/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3216   function prototypes and stuff, but not '\xHH' hex character constants.
3217   These don't provoke an error unfortunately, instead are silently treated
3218   as 'x'.  The following induces an error, until -std is added to get
3219   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3220   array size at least.  It's necessary to write '\x00'==0 to get something
3221   that's true only with -std.  */
3222int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3223
3224/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3225   inside strings and character constants.  */
3226#define FOO(x) 'x'
3227int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3228
3229int test (int i, double x);
3230struct s1 {int (*f) (int a);};
3231struct s2 {int (*f) (double a);};
3232int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3233int argc;
3234char **argv;
3235int
3236main ()
3237{
3238return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3239  ;
3240  return 0;
3241}
3242_ACEOF
3243for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3244	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3245do
3246  CC="$ac_save_CC $ac_arg"
3247  if ac_fn_c_try_compile "$LINENO"; then :
3248  ac_cv_prog_cc_c89=$ac_arg
3249fi
3250rm -f core conftest.err conftest.$ac_objext
3251  test "x$ac_cv_prog_cc_c89" != "xno" && break
3252done
3253rm -f conftest.$ac_ext
3254CC=$ac_save_CC
3255
3256fi
3257# AC_CACHE_VAL
3258case "x$ac_cv_prog_cc_c89" in
3259  x)
3260    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3261$as_echo "none needed" >&6; } ;;
3262  xno)
3263    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3264$as_echo "unsupported" >&6; } ;;
3265  *)
3266    CC="$CC $ac_cv_prog_cc_c89"
3267    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3268$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3269esac
3270if test "x$ac_cv_prog_cc_c89" != xno; then :
3271
3272fi
3273
3274ac_ext=c
3275ac_cpp='$CPP $CPPFLAGS'
3276ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3277ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3278ac_compiler_gnu=$ac_cv_c_compiler_gnu
3279
3280ac_ext=c
3281ac_cpp='$CPP $CPPFLAGS'
3282ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3283ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3284ac_compiler_gnu=$ac_cv_c_compiler_gnu
3285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3286$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3287if ${am_cv_prog_cc_c_o+:} false; then :
3288  $as_echo_n "(cached) " >&6
3289else
3290  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291/* end confdefs.h.  */
3292
3293int
3294main ()
3295{
3296
3297  ;
3298  return 0;
3299}
3300_ACEOF
3301  # Make sure it works both with $CC and with simple cc.
3302  # Following AC_PROG_CC_C_O, we do the test twice because some
3303  # compilers refuse to overwrite an existing .o file with -o,
3304  # though they will create one.
3305  am_cv_prog_cc_c_o=yes
3306  for am_i in 1 2; do
3307    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3308   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3309   ac_status=$?
3310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311   (exit $ac_status); } \
3312         && test -f conftest2.$ac_objext; then
3313      : OK
3314    else
3315      am_cv_prog_cc_c_o=no
3316      break
3317    fi
3318  done
3319  rm -f core conftest*
3320  unset am_i
3321fi
3322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3323$as_echo "$am_cv_prog_cc_c_o" >&6; }
3324if test "$am_cv_prog_cc_c_o" != yes; then
3325   # Losing compiler, so override with the script.
3326   # FIXME: It is wrong to rewrite CC.
3327   # But if we don't then we get into trouble of one sort or another.
3328   # A longer-term fix would be to have automake use am__CC in this case,
3329   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3330   CC="$am_aux_dir/compile $CC"
3331fi
3332ac_ext=c
3333ac_cpp='$CPP $CPPFLAGS'
3334ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3335ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3336ac_compiler_gnu=$ac_cv_c_compiler_gnu
3337
3338
3339
3340ac_ext=c
3341ac_cpp='$CPP $CPPFLAGS'
3342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3344ac_compiler_gnu=$ac_cv_c_compiler_gnu
3345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3346$as_echo_n "checking how to run the C preprocessor... " >&6; }
3347# On Suns, sometimes $CPP names a directory.
3348if test -n "$CPP" && test -d "$CPP"; then
3349  CPP=
3350fi
3351if test -z "$CPP"; then
3352  if ${ac_cv_prog_CPP+:} false; then :
3353  $as_echo_n "(cached) " >&6
3354else
3355      # Double quotes because CPP needs to be expanded
3356    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3357    do
3358      ac_preproc_ok=false
3359for ac_c_preproc_warn_flag in '' yes
3360do
3361  # Use a header file that comes with gcc, so configuring glibc
3362  # with a fresh cross-compiler works.
3363  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3364  # <limits.h> exists even on freestanding compilers.
3365  # On the NeXT, cc -E runs the code through the compiler's parser,
3366  # not just through cpp. "Syntax error" is here to catch this case.
3367  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3368/* end confdefs.h.  */
3369#ifdef __STDC__
3370# include <limits.h>
3371#else
3372# include <assert.h>
3373#endif
3374		     Syntax error
3375_ACEOF
3376if ac_fn_c_try_cpp "$LINENO"; then :
3377
3378else
3379  # Broken: fails on valid input.
3380continue
3381fi
3382rm -f conftest.err conftest.i conftest.$ac_ext
3383
3384  # OK, works on sane cases.  Now check whether nonexistent headers
3385  # can be detected and how.
3386  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387/* end confdefs.h.  */
3388#include <ac_nonexistent.h>
3389_ACEOF
3390if ac_fn_c_try_cpp "$LINENO"; then :
3391  # Broken: success on invalid input.
3392continue
3393else
3394  # Passes both tests.
3395ac_preproc_ok=:
3396break
3397fi
3398rm -f conftest.err conftest.i conftest.$ac_ext
3399
3400done
3401# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3402rm -f conftest.i conftest.err conftest.$ac_ext
3403if $ac_preproc_ok; then :
3404  break
3405fi
3406
3407    done
3408    ac_cv_prog_CPP=$CPP
3409
3410fi
3411  CPP=$ac_cv_prog_CPP
3412else
3413  ac_cv_prog_CPP=$CPP
3414fi
3415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3416$as_echo "$CPP" >&6; }
3417ac_preproc_ok=false
3418for ac_c_preproc_warn_flag in '' yes
3419do
3420  # Use a header file that comes with gcc, so configuring glibc
3421  # with a fresh cross-compiler works.
3422  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3423  # <limits.h> exists even on freestanding compilers.
3424  # On the NeXT, cc -E runs the code through the compiler's parser,
3425  # not just through cpp. "Syntax error" is here to catch this case.
3426  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427/* end confdefs.h.  */
3428#ifdef __STDC__
3429# include <limits.h>
3430#else
3431# include <assert.h>
3432#endif
3433		     Syntax error
3434_ACEOF
3435if ac_fn_c_try_cpp "$LINENO"; then :
3436
3437else
3438  # Broken: fails on valid input.
3439continue
3440fi
3441rm -f conftest.err conftest.i conftest.$ac_ext
3442
3443  # OK, works on sane cases.  Now check whether nonexistent headers
3444  # can be detected and how.
3445  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446/* end confdefs.h.  */
3447#include <ac_nonexistent.h>
3448_ACEOF
3449if ac_fn_c_try_cpp "$LINENO"; then :
3450  # Broken: success on invalid input.
3451continue
3452else
3453  # Passes both tests.
3454ac_preproc_ok=:
3455break
3456fi
3457rm -f conftest.err conftest.i conftest.$ac_ext
3458
3459done
3460# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3461rm -f conftest.i conftest.err conftest.$ac_ext
3462if $ac_preproc_ok; then :
3463
3464else
3465  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3466$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3467as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3468See \`config.log' for more details" "$LINENO" 5; }
3469fi
3470
3471ac_ext=c
3472ac_cpp='$CPP $CPPFLAGS'
3473ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3475ac_compiler_gnu=$ac_cv_c_compiler_gnu
3476
3477
3478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3479$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3480if ${ac_cv_path_GREP+:} false; then :
3481  $as_echo_n "(cached) " >&6
3482else
3483  if test -z "$GREP"; then
3484  ac_path_GREP_found=false
3485  # Loop through the user's path and test for each of PROGNAME-LIST
3486  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3487for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3488do
3489  IFS=$as_save_IFS
3490  test -z "$as_dir" && as_dir=.
3491    for ac_prog in grep ggrep; do
3492    for ac_exec_ext in '' $ac_executable_extensions; do
3493      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3494      as_fn_executable_p "$ac_path_GREP" || continue
3495# Check for GNU ac_path_GREP and select it if it is found.
3496  # Check for GNU $ac_path_GREP
3497case `"$ac_path_GREP" --version 2>&1` in
3498*GNU*)
3499  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3500*)
3501  ac_count=0
3502  $as_echo_n 0123456789 >"conftest.in"
3503  while :
3504  do
3505    cat "conftest.in" "conftest.in" >"conftest.tmp"
3506    mv "conftest.tmp" "conftest.in"
3507    cp "conftest.in" "conftest.nl"
3508    $as_echo 'GREP' >> "conftest.nl"
3509    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3510    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3511    as_fn_arith $ac_count + 1 && ac_count=$as_val
3512    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3513      # Best one so far, save it but keep looking for a better one
3514      ac_cv_path_GREP="$ac_path_GREP"
3515      ac_path_GREP_max=$ac_count
3516    fi
3517    # 10*(2^10) chars as input seems more than enough
3518    test $ac_count -gt 10 && break
3519  done
3520  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3521esac
3522
3523      $ac_path_GREP_found && break 3
3524    done
3525  done
3526  done
3527IFS=$as_save_IFS
3528  if test -z "$ac_cv_path_GREP"; then
3529    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3530  fi
3531else
3532  ac_cv_path_GREP=$GREP
3533fi
3534
3535fi
3536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3537$as_echo "$ac_cv_path_GREP" >&6; }
3538 GREP="$ac_cv_path_GREP"
3539
3540
3541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3542$as_echo_n "checking for egrep... " >&6; }
3543if ${ac_cv_path_EGREP+:} false; then :
3544  $as_echo_n "(cached) " >&6
3545else
3546  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3547   then ac_cv_path_EGREP="$GREP -E"
3548   else
3549     if test -z "$EGREP"; then
3550  ac_path_EGREP_found=false
3551  # Loop through the user's path and test for each of PROGNAME-LIST
3552  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3554do
3555  IFS=$as_save_IFS
3556  test -z "$as_dir" && as_dir=.
3557    for ac_prog in egrep; do
3558    for ac_exec_ext in '' $ac_executable_extensions; do
3559      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3560      as_fn_executable_p "$ac_path_EGREP" || continue
3561# Check for GNU ac_path_EGREP and select it if it is found.
3562  # Check for GNU $ac_path_EGREP
3563case `"$ac_path_EGREP" --version 2>&1` in
3564*GNU*)
3565  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3566*)
3567  ac_count=0
3568  $as_echo_n 0123456789 >"conftest.in"
3569  while :
3570  do
3571    cat "conftest.in" "conftest.in" >"conftest.tmp"
3572    mv "conftest.tmp" "conftest.in"
3573    cp "conftest.in" "conftest.nl"
3574    $as_echo 'EGREP' >> "conftest.nl"
3575    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3576    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3577    as_fn_arith $ac_count + 1 && ac_count=$as_val
3578    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3579      # Best one so far, save it but keep looking for a better one
3580      ac_cv_path_EGREP="$ac_path_EGREP"
3581      ac_path_EGREP_max=$ac_count
3582    fi
3583    # 10*(2^10) chars as input seems more than enough
3584    test $ac_count -gt 10 && break
3585  done
3586  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3587esac
3588
3589      $ac_path_EGREP_found && break 3
3590    done
3591  done
3592  done
3593IFS=$as_save_IFS
3594  if test -z "$ac_cv_path_EGREP"; then
3595    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3596  fi
3597else
3598  ac_cv_path_EGREP=$EGREP
3599fi
3600
3601   fi
3602fi
3603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3604$as_echo "$ac_cv_path_EGREP" >&6; }
3605 EGREP="$ac_cv_path_EGREP"
3606
3607
3608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3609$as_echo_n "checking for ANSI C header files... " >&6; }
3610if ${ac_cv_header_stdc+:} false; then :
3611  $as_echo_n "(cached) " >&6
3612else
3613  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614/* end confdefs.h.  */
3615#include <stdlib.h>
3616#include <stdarg.h>
3617#include <string.h>
3618#include <float.h>
3619
3620int
3621main ()
3622{
3623
3624  ;
3625  return 0;
3626}
3627_ACEOF
3628if ac_fn_c_try_compile "$LINENO"; then :
3629  ac_cv_header_stdc=yes
3630else
3631  ac_cv_header_stdc=no
3632fi
3633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3634
3635if test $ac_cv_header_stdc = yes; then
3636  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3637  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638/* end confdefs.h.  */
3639#include <string.h>
3640
3641_ACEOF
3642if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3643  $EGREP "memchr" >/dev/null 2>&1; then :
3644
3645else
3646  ac_cv_header_stdc=no
3647fi
3648rm -f conftest*
3649
3650fi
3651
3652if test $ac_cv_header_stdc = yes; then
3653  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3654  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655/* end confdefs.h.  */
3656#include <stdlib.h>
3657
3658_ACEOF
3659if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3660  $EGREP "free" >/dev/null 2>&1; then :
3661
3662else
3663  ac_cv_header_stdc=no
3664fi
3665rm -f conftest*
3666
3667fi
3668
3669if test $ac_cv_header_stdc = yes; then
3670  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3671  if test "$cross_compiling" = yes; then :
3672  :
3673else
3674  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675/* end confdefs.h.  */
3676#include <ctype.h>
3677#include <stdlib.h>
3678#if ((' ' & 0x0FF) == 0x020)
3679# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3680# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3681#else
3682# define ISLOWER(c) \
3683		   (('a' <= (c) && (c) <= 'i') \
3684		     || ('j' <= (c) && (c) <= 'r') \
3685		     || ('s' <= (c) && (c) <= 'z'))
3686# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3687#endif
3688
3689#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3690int
3691main ()
3692{
3693  int i;
3694  for (i = 0; i < 256; i++)
3695    if (XOR (islower (i), ISLOWER (i))
3696	|| toupper (i) != TOUPPER (i))
3697      return 2;
3698  return 0;
3699}
3700_ACEOF
3701if ac_fn_c_try_run "$LINENO"; then :
3702
3703else
3704  ac_cv_header_stdc=no
3705fi
3706rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3707  conftest.$ac_objext conftest.beam conftest.$ac_ext
3708fi
3709
3710fi
3711fi
3712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3713$as_echo "$ac_cv_header_stdc" >&6; }
3714if test $ac_cv_header_stdc = yes; then
3715
3716$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3717
3718fi
3719
3720# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3721for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3722		  inttypes.h stdint.h unistd.h
3723do :
3724  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3725ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3726"
3727if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3728  cat >>confdefs.h <<_ACEOF
3729#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3730_ACEOF
3731
3732fi
3733
3734done
3735
3736
3737
3738  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3739if test "x$ac_cv_header_minix_config_h" = xyes; then :
3740  MINIX=yes
3741else
3742  MINIX=
3743fi
3744
3745
3746  if test "$MINIX" = yes; then
3747
3748$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3749
3750
3751$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3752
3753
3754$as_echo "#define _MINIX 1" >>confdefs.h
3755
3756  fi
3757
3758
3759  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3760$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3761if ${ac_cv_safe_to_define___extensions__+:} false; then :
3762  $as_echo_n "(cached) " >&6
3763else
3764  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765/* end confdefs.h.  */
3766
3767#         define __EXTENSIONS__ 1
3768          $ac_includes_default
3769int
3770main ()
3771{
3772
3773  ;
3774  return 0;
3775}
3776_ACEOF
3777if ac_fn_c_try_compile "$LINENO"; then :
3778  ac_cv_safe_to_define___extensions__=yes
3779else
3780  ac_cv_safe_to_define___extensions__=no
3781fi
3782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783fi
3784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3785$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3786  test $ac_cv_safe_to_define___extensions__ = yes &&
3787    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3788
3789  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3790
3791  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3792
3793  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3794
3795  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3796
3797
3798
3799# Default to not building a shared library.
3800# Check whether --enable-shared was given.
3801if test "${enable_shared+set}" = set; then :
3802  enableval=$enable_shared; p=${PACKAGE-default}
3803    case $enableval in
3804    yes) enable_shared=yes ;;
3805    no) enable_shared=no ;;
3806    *)
3807      enable_shared=no
3808      # Look at the argument we got.  We use all the common list separators.
3809      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3810      for pkg in $enableval; do
3811	IFS="$lt_save_ifs"
3812	if test "X$pkg" = "X$p"; then
3813	  enable_shared=yes
3814	fi
3815      done
3816      IFS="$lt_save_ifs"
3817      ;;
3818    esac
3819else
3820  enable_shared=no
3821fi
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832libtool_VERSION=1:0:0
3833
3834
3835# 1.11.1: Require that version of automake.
3836# foreign: Don't require README, INSTALL, NEWS, etc.
3837# no-define: Don't define PACKAGE and VERSION.
3838# no-dependencies: Don't generate automatic dependencies.
3839#    (because it breaks when using bootstrap-lean, since some of the
3840#    headers are gone at "make install" time).
3841# -Wall: Issue all automake warnings.
3842# -Wno-portability: Don't warn about constructs supported by GNU make.
3843#    (because GCC requires GNU make anyhow).
3844am__api_version='1.15'
3845
3846# Find a good install program.  We prefer a C program (faster),
3847# so one script is as good as another.  But avoid the broken or
3848# incompatible versions:
3849# SysV /etc/install, /usr/sbin/install
3850# SunOS /usr/etc/install
3851# IRIX /sbin/install
3852# AIX /bin/install
3853# AmigaOS /C/install, which installs bootblocks on floppy discs
3854# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3855# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3856# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3857# OS/2's system install, which has a completely different semantic
3858# ./install, which can be erroneously created by make from ./install.sh.
3859# Reject install programs that cannot install multiple files.
3860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3861$as_echo_n "checking for a BSD-compatible install... " >&6; }
3862if test -z "$INSTALL"; then
3863if ${ac_cv_path_install+:} false; then :
3864  $as_echo_n "(cached) " >&6
3865else
3866  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3867for as_dir in $PATH
3868do
3869  IFS=$as_save_IFS
3870  test -z "$as_dir" && as_dir=.
3871    # Account for people who put trailing slashes in PATH elements.
3872case $as_dir/ in #((
3873  ./ | .// | /[cC]/* | \
3874  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3875  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3876  /usr/ucb/* ) ;;
3877  *)
3878    # OSF1 and SCO ODT 3.0 have their own names for install.
3879    # Don't use installbsd from OSF since it installs stuff as root
3880    # by default.
3881    for ac_prog in ginstall scoinst install; do
3882      for ac_exec_ext in '' $ac_executable_extensions; do
3883	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3884	  if test $ac_prog = install &&
3885	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3886	    # AIX install.  It has an incompatible calling convention.
3887	    :
3888	  elif test $ac_prog = install &&
3889	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3890	    # program-specific install script used by HP pwplus--don't use.
3891	    :
3892	  else
3893	    rm -rf conftest.one conftest.two conftest.dir
3894	    echo one > conftest.one
3895	    echo two > conftest.two
3896	    mkdir conftest.dir
3897	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3898	      test -s conftest.one && test -s conftest.two &&
3899	      test -s conftest.dir/conftest.one &&
3900	      test -s conftest.dir/conftest.two
3901	    then
3902	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3903	      break 3
3904	    fi
3905	  fi
3906	fi
3907      done
3908    done
3909    ;;
3910esac
3911
3912  done
3913IFS=$as_save_IFS
3914
3915rm -rf conftest.one conftest.two conftest.dir
3916
3917fi
3918  if test "${ac_cv_path_install+set}" = set; then
3919    INSTALL=$ac_cv_path_install
3920  else
3921    # As a last resort, use the slow shell script.  Don't cache a
3922    # value for INSTALL within a source directory, because that will
3923    # break other packages using the cache if that directory is
3924    # removed, or if the value is a relative name.
3925    INSTALL=$ac_install_sh
3926  fi
3927fi
3928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3929$as_echo "$INSTALL" >&6; }
3930
3931# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3932# It thinks the first close brace ends the variable substitution.
3933test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3934
3935test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3936
3937test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3938
3939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3940$as_echo_n "checking whether build environment is sane... " >&6; }
3941# Reject unsafe characters in $srcdir or the absolute working directory
3942# name.  Accept space and tab only in the latter.
3943am_lf='
3944'
3945case `pwd` in
3946  *[\\\"\#\$\&\'\`$am_lf]*)
3947    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3948esac
3949case $srcdir in
3950  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3951    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3952esac
3953
3954# Do 'set' in a subshell so we don't clobber the current shell's
3955# arguments.  Must try -L first in case configure is actually a
3956# symlink; some systems play weird games with the mod time of symlinks
3957# (eg FreeBSD returns the mod time of the symlink's containing
3958# directory).
3959if (
3960   am_has_slept=no
3961   for am_try in 1 2; do
3962     echo "timestamp, slept: $am_has_slept" > conftest.file
3963     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3964     if test "$*" = "X"; then
3965	# -L didn't work.
3966	set X `ls -t "$srcdir/configure" conftest.file`
3967     fi
3968     if test "$*" != "X $srcdir/configure conftest.file" \
3969	&& test "$*" != "X conftest.file $srcdir/configure"; then
3970
3971	# If neither matched, then we have a broken ls.  This can happen
3972	# if, for instance, CONFIG_SHELL is bash and it inherits a
3973	# broken ls alias from the environment.  This has actually
3974	# happened.  Such a system could not be considered "sane".
3975	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3976  alias in your environment" "$LINENO" 5
3977     fi
3978     if test "$2" = conftest.file || test $am_try -eq 2; then
3979       break
3980     fi
3981     # Just in case.
3982     sleep 1
3983     am_has_slept=yes
3984   done
3985   test "$2" = conftest.file
3986   )
3987then
3988   # Ok.
3989   :
3990else
3991   as_fn_error $? "newly created file is older than distributed files!
3992Check your system clock" "$LINENO" 5
3993fi
3994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3995$as_echo "yes" >&6; }
3996# If we didn't sleep, we still need to ensure time stamps of config.status and
3997# generated files are strictly newer.
3998am_sleep_pid=
3999if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4000  ( sleep 1 ) &
4001  am_sleep_pid=$!
4002fi
4003
4004rm -f conftest.file
4005
4006test "$program_prefix" != NONE &&
4007  program_transform_name="s&^&$program_prefix&;$program_transform_name"
4008# Use a double $ so make ignores it.
4009test "$program_suffix" != NONE &&
4010  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4011# Double any \ or $.
4012# By default was `s,x,x', remove it if useless.
4013ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4014program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4015
4016if test x"${MISSING+set}" != xset; then
4017  case $am_aux_dir in
4018  *\ * | *\	*)
4019    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4020  *)
4021    MISSING="\${SHELL} $am_aux_dir/missing" ;;
4022  esac
4023fi
4024# Use eval to expand $SHELL
4025if eval "$MISSING --is-lightweight"; then
4026  am_missing_run="$MISSING "
4027else
4028  am_missing_run=
4029  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4030$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4031fi
4032
4033if test x"${install_sh+set}" != xset; then
4034  case $am_aux_dir in
4035  *\ * | *\	*)
4036    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4037  *)
4038    install_sh="\${SHELL} $am_aux_dir/install-sh"
4039  esac
4040fi
4041
4042# Installed binaries are usually stripped using 'strip' when the user
4043# run "make install-strip".  However 'strip' might not be the right
4044# tool to use in cross-compilation environments, therefore Automake
4045# will honor the 'STRIP' environment variable to overrule this program.
4046if test "$cross_compiling" != no; then
4047  if test -n "$ac_tool_prefix"; then
4048  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4049set dummy ${ac_tool_prefix}strip; ac_word=$2
4050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4051$as_echo_n "checking for $ac_word... " >&6; }
4052if ${ac_cv_prog_STRIP+:} false; then :
4053  $as_echo_n "(cached) " >&6
4054else
4055  if test -n "$STRIP"; then
4056  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4057else
4058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059for as_dir in $PATH
4060do
4061  IFS=$as_save_IFS
4062  test -z "$as_dir" && as_dir=.
4063    for ac_exec_ext in '' $ac_executable_extensions; do
4064  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4065    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4066    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4067    break 2
4068  fi
4069done
4070  done
4071IFS=$as_save_IFS
4072
4073fi
4074fi
4075STRIP=$ac_cv_prog_STRIP
4076if test -n "$STRIP"; then
4077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4078$as_echo "$STRIP" >&6; }
4079else
4080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4081$as_echo "no" >&6; }
4082fi
4083
4084
4085fi
4086if test -z "$ac_cv_prog_STRIP"; then
4087  ac_ct_STRIP=$STRIP
4088  # Extract the first word of "strip", so it can be a program name with args.
4089set dummy strip; ac_word=$2
4090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4091$as_echo_n "checking for $ac_word... " >&6; }
4092if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4093  $as_echo_n "(cached) " >&6
4094else
4095  if test -n "$ac_ct_STRIP"; then
4096  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4097else
4098as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4099for as_dir in $PATH
4100do
4101  IFS=$as_save_IFS
4102  test -z "$as_dir" && as_dir=.
4103    for ac_exec_ext in '' $ac_executable_extensions; do
4104  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4105    ac_cv_prog_ac_ct_STRIP="strip"
4106    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4107    break 2
4108  fi
4109done
4110  done
4111IFS=$as_save_IFS
4112
4113fi
4114fi
4115ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4116if test -n "$ac_ct_STRIP"; then
4117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4118$as_echo "$ac_ct_STRIP" >&6; }
4119else
4120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4121$as_echo "no" >&6; }
4122fi
4123
4124  if test "x$ac_ct_STRIP" = x; then
4125    STRIP=":"
4126  else
4127    case $cross_compiling:$ac_tool_warned in
4128yes:)
4129{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4130$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4131ac_tool_warned=yes ;;
4132esac
4133    STRIP=$ac_ct_STRIP
4134  fi
4135else
4136  STRIP="$ac_cv_prog_STRIP"
4137fi
4138
4139fi
4140INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4141
4142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4143$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4144if test -z "$MKDIR_P"; then
4145  if ${ac_cv_path_mkdir+:} false; then :
4146  $as_echo_n "(cached) " >&6
4147else
4148  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4149for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4150do
4151  IFS=$as_save_IFS
4152  test -z "$as_dir" && as_dir=.
4153    for ac_prog in mkdir gmkdir; do
4154	 for ac_exec_ext in '' $ac_executable_extensions; do
4155	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4156	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4157	     'mkdir (GNU coreutils) '* | \
4158	     'mkdir (coreutils) '* | \
4159	     'mkdir (fileutils) '4.1*)
4160	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4161	       break 3;;
4162	   esac
4163	 done
4164       done
4165  done
4166IFS=$as_save_IFS
4167
4168fi
4169
4170  test -d ./--version && rmdir ./--version
4171  if test "${ac_cv_path_mkdir+set}" = set; then
4172    MKDIR_P="$ac_cv_path_mkdir -p"
4173  else
4174    # As a last resort, use the slow shell script.  Don't cache a
4175    # value for MKDIR_P within a source directory, because that will
4176    # break other packages using the cache if that directory is
4177    # removed, or if the value is a relative name.
4178    MKDIR_P="$ac_install_sh -d"
4179  fi
4180fi
4181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4182$as_echo "$MKDIR_P" >&6; }
4183
4184for ac_prog in gawk mawk nawk awk
4185do
4186  # Extract the first word of "$ac_prog", so it can be a program name with args.
4187set dummy $ac_prog; ac_word=$2
4188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4189$as_echo_n "checking for $ac_word... " >&6; }
4190if ${ac_cv_prog_AWK+:} false; then :
4191  $as_echo_n "(cached) " >&6
4192else
4193  if test -n "$AWK"; then
4194  ac_cv_prog_AWK="$AWK" # Let the user override the test.
4195else
4196as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4197for as_dir in $PATH
4198do
4199  IFS=$as_save_IFS
4200  test -z "$as_dir" && as_dir=.
4201    for ac_exec_ext in '' $ac_executable_extensions; do
4202  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4203    ac_cv_prog_AWK="$ac_prog"
4204    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4205    break 2
4206  fi
4207done
4208  done
4209IFS=$as_save_IFS
4210
4211fi
4212fi
4213AWK=$ac_cv_prog_AWK
4214if test -n "$AWK"; then
4215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4216$as_echo "$AWK" >&6; }
4217else
4218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4219$as_echo "no" >&6; }
4220fi
4221
4222
4223  test -n "$AWK" && break
4224done
4225
4226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4227$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4228set x ${MAKE-make}
4229ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4230if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4231  $as_echo_n "(cached) " >&6
4232else
4233  cat >conftest.make <<\_ACEOF
4234SHELL = /bin/sh
4235all:
4236	@echo '@@@%%%=$(MAKE)=@@@%%%'
4237_ACEOF
4238# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4239case `${MAKE-make} -f conftest.make 2>/dev/null` in
4240  *@@@%%%=?*=@@@%%%*)
4241    eval ac_cv_prog_make_${ac_make}_set=yes;;
4242  *)
4243    eval ac_cv_prog_make_${ac_make}_set=no;;
4244esac
4245rm -f conftest.make
4246fi
4247if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4249$as_echo "yes" >&6; }
4250  SET_MAKE=
4251else
4252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253$as_echo "no" >&6; }
4254  SET_MAKE="MAKE=${MAKE-make}"
4255fi
4256
4257rm -rf .tst 2>/dev/null
4258mkdir .tst 2>/dev/null
4259if test -d .tst; then
4260  am__leading_dot=.
4261else
4262  am__leading_dot=_
4263fi
4264rmdir .tst 2>/dev/null
4265
4266# Check whether --enable-silent-rules was given.
4267if test "${enable_silent_rules+set}" = set; then :
4268  enableval=$enable_silent_rules;
4269fi
4270
4271case $enable_silent_rules in # (((
4272  yes) AM_DEFAULT_VERBOSITY=0;;
4273   no) AM_DEFAULT_VERBOSITY=1;;
4274    *) AM_DEFAULT_VERBOSITY=1;;
4275esac
4276am_make=${MAKE-make}
4277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4278$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4279if ${am_cv_make_support_nested_variables+:} false; then :
4280  $as_echo_n "(cached) " >&6
4281else
4282  if $as_echo 'TRUE=$(BAR$(V))
4283BAR0=false
4284BAR1=true
4285V=1
4286am__doit:
4287	@$(TRUE)
4288.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4289  am_cv_make_support_nested_variables=yes
4290else
4291  am_cv_make_support_nested_variables=no
4292fi
4293fi
4294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4295$as_echo "$am_cv_make_support_nested_variables" >&6; }
4296if test $am_cv_make_support_nested_variables = yes; then
4297    AM_V='$(V)'
4298  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4299else
4300  AM_V=$AM_DEFAULT_VERBOSITY
4301  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4302fi
4303AM_BACKSLASH='\'
4304
4305if test "`cd $srcdir && pwd`" != "`pwd`"; then
4306  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4307  # is not polluted with repeated "-I."
4308  am__isrc=' -I$(srcdir)'
4309  # test to see if srcdir already configured
4310  if test -f $srcdir/config.status; then
4311    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4312  fi
4313fi
4314
4315# test whether we have cygpath
4316if test -z "$CYGPATH_W"; then
4317  if (cygpath --version) >/dev/null 2>/dev/null; then
4318    CYGPATH_W='cygpath -w'
4319  else
4320    CYGPATH_W=echo
4321  fi
4322fi
4323
4324
4325# Define the identity of the package.
4326 PACKAGE='libbacktrace'
4327 VERSION='version-unused'
4328
4329
4330# Some tools Automake needs.
4331
4332ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4333
4334
4335AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4336
4337
4338AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4339
4340
4341AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4342
4343
4344MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4345
4346# For better backward compatibility.  To be removed once Automake 1.9.x
4347# dies out for good.  For more background, see:
4348# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4349# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4350mkdir_p='$(MKDIR_P)'
4351
4352# We need awk for the "check" target (and possibly the TAP driver).  The
4353# system "awk" is bad on some platforms.
4354# Always define AMTAR for backward compatibility.  Yes, it's still used
4355# in the wild :-(  We should find a proper way to deprecate it ...
4356AMTAR='$${TAR-tar}'
4357
4358
4359# We'll loop over all known methods to create a tar archive until one works.
4360_am_tools='gnutar  pax cpio none'
4361
4362am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4363
4364
4365
4366
4367
4368
4369# POSIX will say in a future version that running "rm -f" with no argument
4370# is OK; and we want to be able to make that assumption in our Makefile
4371# recipes.  So use an aggressive probe to check that the usage we want is
4372# actually supported "in the wild" to an acceptable degree.
4373# See automake bug#10828.
4374# To make any issue more visible, cause the running configure to be aborted
4375# by default if the 'rm' program in use doesn't match our expectations; the
4376# user can still override this though.
4377if rm -f && rm -fr && rm -rf; then : OK; else
4378  cat >&2 <<'END'
4379Oops!
4380
4381Your 'rm' program seems unable to run without file operands specified
4382on the command line, even when the '-f' option is present.  This is contrary
4383to the behaviour of most rm programs out there, and not conforming with
4384the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4385
4386Please tell bug-automake@gnu.org about your system, including the value
4387of your $PATH and any error possibly output before this message.  This
4388can help us improve future automake versions.
4389
4390END
4391  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4392    echo 'Configuration will proceed anyway, since you have set the' >&2
4393    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4394    echo >&2
4395  else
4396    cat >&2 <<'END'
4397Aborting the configuration process, to ensure you take notice of the issue.
4398
4399You can download and install GNU coreutils to get an 'rm' implementation
4400that behaves properly: <http://www.gnu.org/software/coreutils/>.
4401
4402If you want to complete the configuration process using your problematic
4403'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4404to "yes", and re-run configure.
4405
4406END
4407    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4408  fi
4409fi
4410
4411
4412
4413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4414$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4415    # Check whether --enable-maintainer-mode was given.
4416if test "${enable_maintainer_mode+set}" = set; then :
4417  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4418else
4419  USE_MAINTAINER_MODE=no
4420fi
4421
4422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4423$as_echo "$USE_MAINTAINER_MODE" >&6; }
4424   if test $USE_MAINTAINER_MODE = yes; then
4425  MAINTAINER_MODE_TRUE=
4426  MAINTAINER_MODE_FALSE='#'
4427else
4428  MAINTAINER_MODE_TRUE='#'
4429  MAINTAINER_MODE_FALSE=
4430fi
4431
4432  MAINT=$MAINTAINER_MODE_TRUE
4433
4434
4435
4436
4437# Check whether --with-target-subdir was given.
4438if test "${with_target_subdir+set}" = set; then :
4439  withval=$with_target_subdir;
4440fi
4441
4442
4443# We must force CC to /not/ be precious variables; otherwise
4444# the wrong, non-multilib-adjusted value will be used in multilibs.
4445# As a side effect, we have to subst CFLAGS ourselves.
4446
4447
4448ac_ext=c
4449ac_cpp='$CPP $CPPFLAGS'
4450ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4451ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4452ac_compiler_gnu=$ac_cv_c_compiler_gnu
4453if test -n "$ac_tool_prefix"; then
4454  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4455set dummy ${ac_tool_prefix}gcc; ac_word=$2
4456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457$as_echo_n "checking for $ac_word... " >&6; }
4458if ${ac_cv_prog_CC+:} false; then :
4459  $as_echo_n "(cached) " >&6
4460else
4461  if test -n "$CC"; then
4462  ac_cv_prog_CC="$CC" # Let the user override the test.
4463else
4464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4465for as_dir in $PATH
4466do
4467  IFS=$as_save_IFS
4468  test -z "$as_dir" && as_dir=.
4469    for ac_exec_ext in '' $ac_executable_extensions; do
4470  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4471    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4472    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4473    break 2
4474  fi
4475done
4476  done
4477IFS=$as_save_IFS
4478
4479fi
4480fi
4481CC=$ac_cv_prog_CC
4482if test -n "$CC"; then
4483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4484$as_echo "$CC" >&6; }
4485else
4486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4487$as_echo "no" >&6; }
4488fi
4489
4490
4491fi
4492if test -z "$ac_cv_prog_CC"; then
4493  ac_ct_CC=$CC
4494  # Extract the first word of "gcc", so it can be a program name with args.
4495set dummy gcc; ac_word=$2
4496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4497$as_echo_n "checking for $ac_word... " >&6; }
4498if ${ac_cv_prog_ac_ct_CC+:} false; then :
4499  $as_echo_n "(cached) " >&6
4500else
4501  if test -n "$ac_ct_CC"; then
4502  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4503else
4504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4505for as_dir in $PATH
4506do
4507  IFS=$as_save_IFS
4508  test -z "$as_dir" && as_dir=.
4509    for ac_exec_ext in '' $ac_executable_extensions; do
4510  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4511    ac_cv_prog_ac_ct_CC="gcc"
4512    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4513    break 2
4514  fi
4515done
4516  done
4517IFS=$as_save_IFS
4518
4519fi
4520fi
4521ac_ct_CC=$ac_cv_prog_ac_ct_CC
4522if test -n "$ac_ct_CC"; then
4523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4524$as_echo "$ac_ct_CC" >&6; }
4525else
4526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527$as_echo "no" >&6; }
4528fi
4529
4530  if test "x$ac_ct_CC" = x; then
4531    CC=""
4532  else
4533    case $cross_compiling:$ac_tool_warned in
4534yes:)
4535{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4536$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4537ac_tool_warned=yes ;;
4538esac
4539    CC=$ac_ct_CC
4540  fi
4541else
4542  CC="$ac_cv_prog_CC"
4543fi
4544
4545if test -z "$CC"; then
4546          if test -n "$ac_tool_prefix"; then
4547    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4548set dummy ${ac_tool_prefix}cc; ac_word=$2
4549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4550$as_echo_n "checking for $ac_word... " >&6; }
4551if ${ac_cv_prog_CC+:} false; then :
4552  $as_echo_n "(cached) " >&6
4553else
4554  if test -n "$CC"; then
4555  ac_cv_prog_CC="$CC" # Let the user override the test.
4556else
4557as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558for as_dir in $PATH
4559do
4560  IFS=$as_save_IFS
4561  test -z "$as_dir" && as_dir=.
4562    for ac_exec_ext in '' $ac_executable_extensions; do
4563  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4564    ac_cv_prog_CC="${ac_tool_prefix}cc"
4565    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4566    break 2
4567  fi
4568done
4569  done
4570IFS=$as_save_IFS
4571
4572fi
4573fi
4574CC=$ac_cv_prog_CC
4575if test -n "$CC"; then
4576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4577$as_echo "$CC" >&6; }
4578else
4579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580$as_echo "no" >&6; }
4581fi
4582
4583
4584  fi
4585fi
4586if test -z "$CC"; then
4587  # Extract the first word of "cc", so it can be a program name with args.
4588set dummy cc; ac_word=$2
4589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4590$as_echo_n "checking for $ac_word... " >&6; }
4591if ${ac_cv_prog_CC+:} false; then :
4592  $as_echo_n "(cached) " >&6
4593else
4594  if test -n "$CC"; then
4595  ac_cv_prog_CC="$CC" # Let the user override the test.
4596else
4597  ac_prog_rejected=no
4598as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599for as_dir in $PATH
4600do
4601  IFS=$as_save_IFS
4602  test -z "$as_dir" && as_dir=.
4603    for ac_exec_ext in '' $ac_executable_extensions; do
4604  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4605    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4606       ac_prog_rejected=yes
4607       continue
4608     fi
4609    ac_cv_prog_CC="cc"
4610    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611    break 2
4612  fi
4613done
4614  done
4615IFS=$as_save_IFS
4616
4617if test $ac_prog_rejected = yes; then
4618  # We found a bogon in the path, so make sure we never use it.
4619  set dummy $ac_cv_prog_CC
4620  shift
4621  if test $# != 0; then
4622    # We chose a different compiler from the bogus one.
4623    # However, it has the same basename, so the bogon will be chosen
4624    # first if we set CC to just the basename; use the full file name.
4625    shift
4626    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4627  fi
4628fi
4629fi
4630fi
4631CC=$ac_cv_prog_CC
4632if test -n "$CC"; then
4633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4634$as_echo "$CC" >&6; }
4635else
4636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637$as_echo "no" >&6; }
4638fi
4639
4640
4641fi
4642if test -z "$CC"; then
4643  if test -n "$ac_tool_prefix"; then
4644  for ac_prog in cl.exe
4645  do
4646    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4647set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649$as_echo_n "checking for $ac_word... " >&6; }
4650if ${ac_cv_prog_CC+:} false; then :
4651  $as_echo_n "(cached) " >&6
4652else
4653  if test -n "$CC"; then
4654  ac_cv_prog_CC="$CC" # Let the user override the test.
4655else
4656as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657for as_dir in $PATH
4658do
4659  IFS=$as_save_IFS
4660  test -z "$as_dir" && as_dir=.
4661    for ac_exec_ext in '' $ac_executable_extensions; do
4662  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4664    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665    break 2
4666  fi
4667done
4668  done
4669IFS=$as_save_IFS
4670
4671fi
4672fi
4673CC=$ac_cv_prog_CC
4674if test -n "$CC"; then
4675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4676$as_echo "$CC" >&6; }
4677else
4678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679$as_echo "no" >&6; }
4680fi
4681
4682
4683    test -n "$CC" && break
4684  done
4685fi
4686if test -z "$CC"; then
4687  ac_ct_CC=$CC
4688  for ac_prog in cl.exe
4689do
4690  # Extract the first word of "$ac_prog", so it can be a program name with args.
4691set dummy $ac_prog; ac_word=$2
4692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4693$as_echo_n "checking for $ac_word... " >&6; }
4694if ${ac_cv_prog_ac_ct_CC+:} false; then :
4695  $as_echo_n "(cached) " >&6
4696else
4697  if test -n "$ac_ct_CC"; then
4698  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4699else
4700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701for as_dir in $PATH
4702do
4703  IFS=$as_save_IFS
4704  test -z "$as_dir" && as_dir=.
4705    for ac_exec_ext in '' $ac_executable_extensions; do
4706  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4707    ac_cv_prog_ac_ct_CC="$ac_prog"
4708    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4709    break 2
4710  fi
4711done
4712  done
4713IFS=$as_save_IFS
4714
4715fi
4716fi
4717ac_ct_CC=$ac_cv_prog_ac_ct_CC
4718if test -n "$ac_ct_CC"; then
4719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4720$as_echo "$ac_ct_CC" >&6; }
4721else
4722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723$as_echo "no" >&6; }
4724fi
4725
4726
4727  test -n "$ac_ct_CC" && break
4728done
4729
4730  if test "x$ac_ct_CC" = x; then
4731    CC=""
4732  else
4733    case $cross_compiling:$ac_tool_warned in
4734yes:)
4735{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4736$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4737ac_tool_warned=yes ;;
4738esac
4739    CC=$ac_ct_CC
4740  fi
4741fi
4742
4743fi
4744
4745
4746test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4747$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4748as_fn_error $? "no acceptable C compiler found in \$PATH
4749See \`config.log' for more details" "$LINENO" 5; }
4750
4751# Provide some information about the compiler.
4752$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4753set X $ac_compile
4754ac_compiler=$2
4755for ac_option in --version -v -V -qversion; do
4756  { { ac_try="$ac_compiler $ac_option >&5"
4757case "(($ac_try" in
4758  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759  *) ac_try_echo=$ac_try;;
4760esac
4761eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4762$as_echo "$ac_try_echo"; } >&5
4763  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4764  ac_status=$?
4765  if test -s conftest.err; then
4766    sed '10a\
4767... rest of stderr output deleted ...
4768         10q' conftest.err >conftest.er1
4769    cat conftest.er1 >&5
4770  fi
4771  rm -f conftest.er1 conftest.err
4772  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4773  test $ac_status = 0; }
4774done
4775
4776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4777$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4778if ${ac_cv_c_compiler_gnu+:} false; then :
4779  $as_echo_n "(cached) " >&6
4780else
4781  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4782/* end confdefs.h.  */
4783
4784int
4785main ()
4786{
4787#ifndef __GNUC__
4788       choke me
4789#endif
4790
4791  ;
4792  return 0;
4793}
4794_ACEOF
4795if ac_fn_c_try_compile "$LINENO"; then :
4796  ac_compiler_gnu=yes
4797else
4798  ac_compiler_gnu=no
4799fi
4800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4801ac_cv_c_compiler_gnu=$ac_compiler_gnu
4802
4803fi
4804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4805$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4806if test $ac_compiler_gnu = yes; then
4807  GCC=yes
4808else
4809  GCC=
4810fi
4811ac_test_CFLAGS=${CFLAGS+set}
4812ac_save_CFLAGS=$CFLAGS
4813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4814$as_echo_n "checking whether $CC accepts -g... " >&6; }
4815if ${ac_cv_prog_cc_g+:} false; then :
4816  $as_echo_n "(cached) " >&6
4817else
4818  ac_save_c_werror_flag=$ac_c_werror_flag
4819   ac_c_werror_flag=yes
4820   ac_cv_prog_cc_g=no
4821   CFLAGS="-g"
4822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823/* end confdefs.h.  */
4824
4825int
4826main ()
4827{
4828
4829  ;
4830  return 0;
4831}
4832_ACEOF
4833if ac_fn_c_try_compile "$LINENO"; then :
4834  ac_cv_prog_cc_g=yes
4835else
4836  CFLAGS=""
4837      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4838/* end confdefs.h.  */
4839
4840int
4841main ()
4842{
4843
4844  ;
4845  return 0;
4846}
4847_ACEOF
4848if ac_fn_c_try_compile "$LINENO"; then :
4849
4850else
4851  ac_c_werror_flag=$ac_save_c_werror_flag
4852	 CFLAGS="-g"
4853	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4854/* end confdefs.h.  */
4855
4856int
4857main ()
4858{
4859
4860  ;
4861  return 0;
4862}
4863_ACEOF
4864if ac_fn_c_try_compile "$LINENO"; then :
4865  ac_cv_prog_cc_g=yes
4866fi
4867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868fi
4869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4870fi
4871rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4872   ac_c_werror_flag=$ac_save_c_werror_flag
4873fi
4874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4875$as_echo "$ac_cv_prog_cc_g" >&6; }
4876if test "$ac_test_CFLAGS" = set; then
4877  CFLAGS=$ac_save_CFLAGS
4878elif test $ac_cv_prog_cc_g = yes; then
4879  if test "$GCC" = yes; then
4880    CFLAGS="-g -O2"
4881  else
4882    CFLAGS="-g"
4883  fi
4884else
4885  if test "$GCC" = yes; then
4886    CFLAGS="-O2"
4887  else
4888    CFLAGS=
4889  fi
4890fi
4891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4892$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4893if ${ac_cv_prog_cc_c89+:} false; then :
4894  $as_echo_n "(cached) " >&6
4895else
4896  ac_cv_prog_cc_c89=no
4897ac_save_CC=$CC
4898cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4899/* end confdefs.h.  */
4900#include <stdarg.h>
4901#include <stdio.h>
4902struct stat;
4903/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4904struct buf { int x; };
4905FILE * (*rcsopen) (struct buf *, struct stat *, int);
4906static char *e (p, i)
4907     char **p;
4908     int i;
4909{
4910  return p[i];
4911}
4912static char *f (char * (*g) (char **, int), char **p, ...)
4913{
4914  char *s;
4915  va_list v;
4916  va_start (v,p);
4917  s = g (p, va_arg (v,int));
4918  va_end (v);
4919  return s;
4920}
4921
4922/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4923   function prototypes and stuff, but not '\xHH' hex character constants.
4924   These don't provoke an error unfortunately, instead are silently treated
4925   as 'x'.  The following induces an error, until -std is added to get
4926   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4927   array size at least.  It's necessary to write '\x00'==0 to get something
4928   that's true only with -std.  */
4929int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4930
4931/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4932   inside strings and character constants.  */
4933#define FOO(x) 'x'
4934int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4935
4936int test (int i, double x);
4937struct s1 {int (*f) (int a);};
4938struct s2 {int (*f) (double a);};
4939int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4940int argc;
4941char **argv;
4942int
4943main ()
4944{
4945return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4946  ;
4947  return 0;
4948}
4949_ACEOF
4950for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4951	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4952do
4953  CC="$ac_save_CC $ac_arg"
4954  if ac_fn_c_try_compile "$LINENO"; then :
4955  ac_cv_prog_cc_c89=$ac_arg
4956fi
4957rm -f core conftest.err conftest.$ac_objext
4958  test "x$ac_cv_prog_cc_c89" != "xno" && break
4959done
4960rm -f conftest.$ac_ext
4961CC=$ac_save_CC
4962
4963fi
4964# AC_CACHE_VAL
4965case "x$ac_cv_prog_cc_c89" in
4966  x)
4967    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4968$as_echo "none needed" >&6; } ;;
4969  xno)
4970    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4971$as_echo "unsupported" >&6; } ;;
4972  *)
4973    CC="$CC $ac_cv_prog_cc_c89"
4974    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4975$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4976esac
4977if test "x$ac_cv_prog_cc_c89" != xno; then :
4978
4979fi
4980
4981ac_ext=c
4982ac_cpp='$CPP $CPPFLAGS'
4983ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4984ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4985ac_compiler_gnu=$ac_cv_c_compiler_gnu
4986
4987ac_ext=c
4988ac_cpp='$CPP $CPPFLAGS'
4989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4991ac_compiler_gnu=$ac_cv_c_compiler_gnu
4992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4993$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4994if ${am_cv_prog_cc_c_o+:} false; then :
4995  $as_echo_n "(cached) " >&6
4996else
4997  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998/* end confdefs.h.  */
4999
5000int
5001main ()
5002{
5003
5004  ;
5005  return 0;
5006}
5007_ACEOF
5008  # Make sure it works both with $CC and with simple cc.
5009  # Following AC_PROG_CC_C_O, we do the test twice because some
5010  # compilers refuse to overwrite an existing .o file with -o,
5011  # though they will create one.
5012  am_cv_prog_cc_c_o=yes
5013  for am_i in 1 2; do
5014    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5015   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5016   ac_status=$?
5017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018   (exit $ac_status); } \
5019         && test -f conftest2.$ac_objext; then
5020      : OK
5021    else
5022      am_cv_prog_cc_c_o=no
5023      break
5024    fi
5025  done
5026  rm -f core conftest*
5027  unset am_i
5028fi
5029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5030$as_echo "$am_cv_prog_cc_c_o" >&6; }
5031if test "$am_cv_prog_cc_c_o" != yes; then
5032   # Losing compiler, so override with the script.
5033   # FIXME: It is wrong to rewrite CC.
5034   # But if we don't then we get into trouble of one sort or another.
5035   # A longer-term fix would be to have automake use am__CC in this case,
5036   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5037   CC="$am_aux_dir/compile $CC"
5038fi
5039ac_ext=c
5040ac_cpp='$CPP $CPPFLAGS'
5041ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5042ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5043ac_compiler_gnu=$ac_cv_c_compiler_gnu
5044
5045
5046
5047
5048
5049
5050if test -n "$ac_tool_prefix"; then
5051  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5052set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054$as_echo_n "checking for $ac_word... " >&6; }
5055if ${ac_cv_prog_RANLIB+:} false; then :
5056  $as_echo_n "(cached) " >&6
5057else
5058  if test -n "$RANLIB"; then
5059  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5060else
5061as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062for as_dir in $PATH
5063do
5064  IFS=$as_save_IFS
5065  test -z "$as_dir" && as_dir=.
5066    for ac_exec_ext in '' $ac_executable_extensions; do
5067  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5068    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5069    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070    break 2
5071  fi
5072done
5073  done
5074IFS=$as_save_IFS
5075
5076fi
5077fi
5078RANLIB=$ac_cv_prog_RANLIB
5079if test -n "$RANLIB"; then
5080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5081$as_echo "$RANLIB" >&6; }
5082else
5083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084$as_echo "no" >&6; }
5085fi
5086
5087
5088fi
5089if test -z "$ac_cv_prog_RANLIB"; then
5090  ac_ct_RANLIB=$RANLIB
5091  # Extract the first word of "ranlib", so it can be a program name with args.
5092set dummy ranlib; ac_word=$2
5093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094$as_echo_n "checking for $ac_word... " >&6; }
5095if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5096  $as_echo_n "(cached) " >&6
5097else
5098  if test -n "$ac_ct_RANLIB"; then
5099  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5100else
5101as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5102for as_dir in $PATH
5103do
5104  IFS=$as_save_IFS
5105  test -z "$as_dir" && as_dir=.
5106    for ac_exec_ext in '' $ac_executable_extensions; do
5107  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5108    ac_cv_prog_ac_ct_RANLIB="ranlib"
5109    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5110    break 2
5111  fi
5112done
5113  done
5114IFS=$as_save_IFS
5115
5116fi
5117fi
5118ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5119if test -n "$ac_ct_RANLIB"; then
5120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5121$as_echo "$ac_ct_RANLIB" >&6; }
5122else
5123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124$as_echo "no" >&6; }
5125fi
5126
5127  if test "x$ac_ct_RANLIB" = x; then
5128    RANLIB=":"
5129  else
5130    case $cross_compiling:$ac_tool_warned in
5131yes:)
5132{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5133$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5134ac_tool_warned=yes ;;
5135esac
5136    RANLIB=$ac_ct_RANLIB
5137  fi
5138else
5139  RANLIB="$ac_cv_prog_RANLIB"
5140fi
5141
5142
5143for ac_prog in gawk mawk nawk awk
5144do
5145  # Extract the first word of "$ac_prog", so it can be a program name with args.
5146set dummy $ac_prog; ac_word=$2
5147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148$as_echo_n "checking for $ac_word... " >&6; }
5149if ${ac_cv_prog_AWK+:} false; then :
5150  $as_echo_n "(cached) " >&6
5151else
5152  if test -n "$AWK"; then
5153  ac_cv_prog_AWK="$AWK" # Let the user override the test.
5154else
5155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156for as_dir in $PATH
5157do
5158  IFS=$as_save_IFS
5159  test -z "$as_dir" && as_dir=.
5160    for ac_exec_ext in '' $ac_executable_extensions; do
5161  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162    ac_cv_prog_AWK="$ac_prog"
5163    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164    break 2
5165  fi
5166done
5167  done
5168IFS=$as_save_IFS
5169
5170fi
5171fi
5172AWK=$ac_cv_prog_AWK
5173if test -n "$AWK"; then
5174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5175$as_echo "$AWK" >&6; }
5176else
5177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178$as_echo "no" >&6; }
5179fi
5180
5181
5182  test -n "$AWK" && break
5183done
5184
5185case "$AWK" in
5186"") as_fn_error $? "can't build without awk" "$LINENO" 5 ;;
5187esac
5188
5189# Extract the first word of "dwz", so it can be a program name with args.
5190set dummy dwz; ac_word=$2
5191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192$as_echo_n "checking for $ac_word... " >&6; }
5193if ${ac_cv_prog_DWZ+:} false; then :
5194  $as_echo_n "(cached) " >&6
5195else
5196  if test -n "$DWZ"; then
5197  ac_cv_prog_DWZ="$DWZ" # Let the user override the test.
5198else
5199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200for as_dir in $PATH
5201do
5202  IFS=$as_save_IFS
5203  test -z "$as_dir" && as_dir=.
5204    for ac_exec_ext in '' $ac_executable_extensions; do
5205  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206    ac_cv_prog_DWZ="dwz"
5207    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5208    break 2
5209  fi
5210done
5211  done
5212IFS=$as_save_IFS
5213
5214fi
5215fi
5216DWZ=$ac_cv_prog_DWZ
5217if test -n "$DWZ"; then
5218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DWZ" >&5
5219$as_echo "$DWZ" >&6; }
5220else
5221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222$as_echo "no" >&6; }
5223fi
5224
5225
5226 if test "$DWZ" != ""; then
5227  HAVE_DWZ_TRUE=
5228  HAVE_DWZ_FALSE='#'
5229else
5230  HAVE_DWZ_TRUE='#'
5231  HAVE_DWZ_FALSE=
5232fi
5233
5234
5235case `pwd` in
5236  *\ * | *\	*)
5237    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5238$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5239esac
5240
5241
5242
5243macro_version='2.2.7a'
5244macro_revision='1.3134'
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258ltmain="$ac_aux_dir/ltmain.sh"
5259
5260# Backslashify metacharacters that are still active within
5261# double-quoted strings.
5262sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5263
5264# Same as above, but do not quote variable references.
5265double_quote_subst='s/\(["`\\]\)/\\\1/g'
5266
5267# Sed substitution to delay expansion of an escaped shell variable in a
5268# double_quote_subst'ed string.
5269delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5270
5271# Sed substitution to delay expansion of an escaped single quote.
5272delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5273
5274# Sed substitution to avoid accidental globbing in evaled expressions
5275no_glob_subst='s/\*/\\\*/g'
5276
5277ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5278ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5279ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5280
5281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5282$as_echo_n "checking how to print strings... " >&6; }
5283# Test print first, because it will be a builtin if present.
5284if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5285   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5286  ECHO='print -r --'
5287elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5288  ECHO='printf %s\n'
5289else
5290  # Use this function as a fallback that always works.
5291  func_fallback_echo ()
5292  {
5293    eval 'cat <<_LTECHO_EOF
5294$1
5295_LTECHO_EOF'
5296  }
5297  ECHO='func_fallback_echo'
5298fi
5299
5300# func_echo_all arg...
5301# Invoke $ECHO with all args, space-separated.
5302func_echo_all ()
5303{
5304    $ECHO ""
5305}
5306
5307case "$ECHO" in
5308  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5309$as_echo "printf" >&6; } ;;
5310  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5311$as_echo "print -r" >&6; } ;;
5312  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5313$as_echo "cat" >&6; } ;;
5314esac
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5330$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5331if ${ac_cv_path_SED+:} false; then :
5332  $as_echo_n "(cached) " >&6
5333else
5334            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5335     for ac_i in 1 2 3 4 5 6 7; do
5336       ac_script="$ac_script$as_nl$ac_script"
5337     done
5338     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5339     { ac_script=; unset ac_script;}
5340     if test -z "$SED"; then
5341  ac_path_SED_found=false
5342  # Loop through the user's path and test for each of PROGNAME-LIST
5343  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5344for as_dir in $PATH
5345do
5346  IFS=$as_save_IFS
5347  test -z "$as_dir" && as_dir=.
5348    for ac_prog in sed gsed; do
5349    for ac_exec_ext in '' $ac_executable_extensions; do
5350      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5351      as_fn_executable_p "$ac_path_SED" || continue
5352# Check for GNU ac_path_SED and select it if it is found.
5353  # Check for GNU $ac_path_SED
5354case `"$ac_path_SED" --version 2>&1` in
5355*GNU*)
5356  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5357*)
5358  ac_count=0
5359  $as_echo_n 0123456789 >"conftest.in"
5360  while :
5361  do
5362    cat "conftest.in" "conftest.in" >"conftest.tmp"
5363    mv "conftest.tmp" "conftest.in"
5364    cp "conftest.in" "conftest.nl"
5365    $as_echo '' >> "conftest.nl"
5366    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5367    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5368    as_fn_arith $ac_count + 1 && ac_count=$as_val
5369    if test $ac_count -gt ${ac_path_SED_max-0}; then
5370      # Best one so far, save it but keep looking for a better one
5371      ac_cv_path_SED="$ac_path_SED"
5372      ac_path_SED_max=$ac_count
5373    fi
5374    # 10*(2^10) chars as input seems more than enough
5375    test $ac_count -gt 10 && break
5376  done
5377  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5378esac
5379
5380      $ac_path_SED_found && break 3
5381    done
5382  done
5383  done
5384IFS=$as_save_IFS
5385  if test -z "$ac_cv_path_SED"; then
5386    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5387  fi
5388else
5389  ac_cv_path_SED=$SED
5390fi
5391
5392fi
5393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5394$as_echo "$ac_cv_path_SED" >&6; }
5395 SED="$ac_cv_path_SED"
5396  rm -f conftest.sed
5397
5398test -z "$SED" && SED=sed
5399Xsed="$SED -e 1s/^X//"
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5412$as_echo_n "checking for fgrep... " >&6; }
5413if ${ac_cv_path_FGREP+:} false; then :
5414  $as_echo_n "(cached) " >&6
5415else
5416  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5417   then ac_cv_path_FGREP="$GREP -F"
5418   else
5419     if test -z "$FGREP"; then
5420  ac_path_FGREP_found=false
5421  # Loop through the user's path and test for each of PROGNAME-LIST
5422  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5424do
5425  IFS=$as_save_IFS
5426  test -z "$as_dir" && as_dir=.
5427    for ac_prog in fgrep; do
5428    for ac_exec_ext in '' $ac_executable_extensions; do
5429      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5430      as_fn_executable_p "$ac_path_FGREP" || continue
5431# Check for GNU ac_path_FGREP and select it if it is found.
5432  # Check for GNU $ac_path_FGREP
5433case `"$ac_path_FGREP" --version 2>&1` in
5434*GNU*)
5435  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5436*)
5437  ac_count=0
5438  $as_echo_n 0123456789 >"conftest.in"
5439  while :
5440  do
5441    cat "conftest.in" "conftest.in" >"conftest.tmp"
5442    mv "conftest.tmp" "conftest.in"
5443    cp "conftest.in" "conftest.nl"
5444    $as_echo 'FGREP' >> "conftest.nl"
5445    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5446    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5447    as_fn_arith $ac_count + 1 && ac_count=$as_val
5448    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5449      # Best one so far, save it but keep looking for a better one
5450      ac_cv_path_FGREP="$ac_path_FGREP"
5451      ac_path_FGREP_max=$ac_count
5452    fi
5453    # 10*(2^10) chars as input seems more than enough
5454    test $ac_count -gt 10 && break
5455  done
5456  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5457esac
5458
5459      $ac_path_FGREP_found && break 3
5460    done
5461  done
5462  done
5463IFS=$as_save_IFS
5464  if test -z "$ac_cv_path_FGREP"; then
5465    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5466  fi
5467else
5468  ac_cv_path_FGREP=$FGREP
5469fi
5470
5471   fi
5472fi
5473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5474$as_echo "$ac_cv_path_FGREP" >&6; }
5475 FGREP="$ac_cv_path_FGREP"
5476
5477
5478test -z "$GREP" && GREP=grep
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498# Check whether --with-gnu-ld was given.
5499if test "${with_gnu_ld+set}" = set; then :
5500  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5501else
5502  with_gnu_ld=no
5503fi
5504
5505ac_prog=ld
5506if test "$GCC" = yes; then
5507  # Check if gcc -print-prog-name=ld gives a path.
5508  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5509$as_echo_n "checking for ld used by $CC... " >&6; }
5510  case $host in
5511  *-*-mingw*)
5512    # gcc leaves a trailing carriage return which upsets mingw
5513    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5514  *)
5515    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5516  esac
5517  case $ac_prog in
5518    # Accept absolute paths.
5519    [\\/]* | ?:[\\/]*)
5520      re_direlt='/[^/][^/]*/\.\./'
5521      # Canonicalize the pathname of ld
5522      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5523      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5524	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5525      done
5526      test -z "$LD" && LD="$ac_prog"
5527      ;;
5528  "")
5529    # If it fails, then pretend we aren't using GCC.
5530    ac_prog=ld
5531    ;;
5532  *)
5533    # If it is relative, then search for the first ld in PATH.
5534    with_gnu_ld=unknown
5535    ;;
5536  esac
5537elif test "$with_gnu_ld" = yes; then
5538  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5539$as_echo_n "checking for GNU ld... " >&6; }
5540else
5541  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5542$as_echo_n "checking for non-GNU ld... " >&6; }
5543fi
5544if ${lt_cv_path_LD+:} false; then :
5545  $as_echo_n "(cached) " >&6
5546else
5547  if test -z "$LD"; then
5548  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5549  for ac_dir in $PATH; do
5550    IFS="$lt_save_ifs"
5551    test -z "$ac_dir" && ac_dir=.
5552    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5553      lt_cv_path_LD="$ac_dir/$ac_prog"
5554      # Check to see if the program is GNU ld.  I'd rather use --version,
5555      # but apparently some variants of GNU ld only accept -v.
5556      # Break only if it was the GNU/non-GNU ld that we prefer.
5557      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5558      *GNU* | *'with BFD'*)
5559	test "$with_gnu_ld" != no && break
5560	;;
5561      *)
5562	test "$with_gnu_ld" != yes && break
5563	;;
5564      esac
5565    fi
5566  done
5567  IFS="$lt_save_ifs"
5568else
5569  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5570fi
5571fi
5572
5573LD="$lt_cv_path_LD"
5574if test -n "$LD"; then
5575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5576$as_echo "$LD" >&6; }
5577else
5578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579$as_echo "no" >&6; }
5580fi
5581test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5583$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5584if ${lt_cv_prog_gnu_ld+:} false; then :
5585  $as_echo_n "(cached) " >&6
5586else
5587  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5588case `$LD -v 2>&1 </dev/null` in
5589*GNU* | *'with BFD'*)
5590  lt_cv_prog_gnu_ld=yes
5591  ;;
5592*)
5593  lt_cv_prog_gnu_ld=no
5594  ;;
5595esac
5596fi
5597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5598$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5599with_gnu_ld=$lt_cv_prog_gnu_ld
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5610$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5611if ${lt_cv_path_NM+:} false; then :
5612  $as_echo_n "(cached) " >&6
5613else
5614  if test -n "$NM"; then
5615  # Let the user override the test.
5616  lt_cv_path_NM="$NM"
5617else
5618  lt_nm_to_check="${ac_tool_prefix}nm"
5619  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5620    lt_nm_to_check="$lt_nm_to_check nm"
5621  fi
5622  for lt_tmp_nm in $lt_nm_to_check; do
5623    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5624    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5625      IFS="$lt_save_ifs"
5626      test -z "$ac_dir" && ac_dir=.
5627      tmp_nm="$ac_dir/$lt_tmp_nm"
5628      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5629	# Check to see if the nm accepts a BSD-compat flag.
5630	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5631	#   nm: unknown option "B" ignored
5632	# Tru64's nm complains that /dev/null is an invalid object file
5633	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5634	*/dev/null* | *'Invalid file or object type'*)
5635	  lt_cv_path_NM="$tmp_nm -B"
5636	  break
5637	  ;;
5638	*)
5639	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5640	  */dev/null*)
5641	    lt_cv_path_NM="$tmp_nm -p"
5642	    break
5643	    ;;
5644	  *)
5645	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5646	    continue # so that we can try to find one that supports BSD flags
5647	    ;;
5648	  esac
5649	  ;;
5650	esac
5651      fi
5652    done
5653    IFS="$lt_save_ifs"
5654  done
5655  : ${lt_cv_path_NM=no}
5656fi
5657fi
5658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5659$as_echo "$lt_cv_path_NM" >&6; }
5660if test "$lt_cv_path_NM" != "no"; then
5661  NM="$lt_cv_path_NM"
5662else
5663  # Didn't find any BSD compatible name lister, look for dumpbin.
5664  if test -n "$DUMPBIN"; then :
5665    # Let the user override the test.
5666  else
5667    if test -n "$ac_tool_prefix"; then
5668  for ac_prog in dumpbin "link -dump"
5669  do
5670    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5671set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673$as_echo_n "checking for $ac_word... " >&6; }
5674if ${ac_cv_prog_DUMPBIN+:} false; then :
5675  $as_echo_n "(cached) " >&6
5676else
5677  if test -n "$DUMPBIN"; then
5678  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5679else
5680as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681for as_dir in $PATH
5682do
5683  IFS=$as_save_IFS
5684  test -z "$as_dir" && as_dir=.
5685    for ac_exec_ext in '' $ac_executable_extensions; do
5686  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5687    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5688    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689    break 2
5690  fi
5691done
5692  done
5693IFS=$as_save_IFS
5694
5695fi
5696fi
5697DUMPBIN=$ac_cv_prog_DUMPBIN
5698if test -n "$DUMPBIN"; then
5699  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5700$as_echo "$DUMPBIN" >&6; }
5701else
5702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703$as_echo "no" >&6; }
5704fi
5705
5706
5707    test -n "$DUMPBIN" && break
5708  done
5709fi
5710if test -z "$DUMPBIN"; then
5711  ac_ct_DUMPBIN=$DUMPBIN
5712  for ac_prog in dumpbin "link -dump"
5713do
5714  # Extract the first word of "$ac_prog", so it can be a program name with args.
5715set dummy $ac_prog; ac_word=$2
5716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717$as_echo_n "checking for $ac_word... " >&6; }
5718if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5719  $as_echo_n "(cached) " >&6
5720else
5721  if test -n "$ac_ct_DUMPBIN"; then
5722  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5723else
5724as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725for as_dir in $PATH
5726do
5727  IFS=$as_save_IFS
5728  test -z "$as_dir" && as_dir=.
5729    for ac_exec_ext in '' $ac_executable_extensions; do
5730  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5732    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733    break 2
5734  fi
5735done
5736  done
5737IFS=$as_save_IFS
5738
5739fi
5740fi
5741ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5742if test -n "$ac_ct_DUMPBIN"; then
5743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5744$as_echo "$ac_ct_DUMPBIN" >&6; }
5745else
5746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747$as_echo "no" >&6; }
5748fi
5749
5750
5751  test -n "$ac_ct_DUMPBIN" && break
5752done
5753
5754  if test "x$ac_ct_DUMPBIN" = x; then
5755    DUMPBIN=":"
5756  else
5757    case $cross_compiling:$ac_tool_warned in
5758yes:)
5759{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5760$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5761ac_tool_warned=yes ;;
5762esac
5763    DUMPBIN=$ac_ct_DUMPBIN
5764  fi
5765fi
5766
5767    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5768    *COFF*)
5769      DUMPBIN="$DUMPBIN -symbols"
5770      ;;
5771    *)
5772      DUMPBIN=:
5773      ;;
5774    esac
5775  fi
5776
5777  if test "$DUMPBIN" != ":"; then
5778    NM="$DUMPBIN"
5779  fi
5780fi
5781test -z "$NM" && NM=nm
5782
5783
5784
5785
5786
5787
5788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5789$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5790if ${lt_cv_nm_interface+:} false; then :
5791  $as_echo_n "(cached) " >&6
5792else
5793  lt_cv_nm_interface="BSD nm"
5794  echo "int some_variable = 0;" > conftest.$ac_ext
5795  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5796  (eval "$ac_compile" 2>conftest.err)
5797  cat conftest.err >&5
5798  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5799  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5800  cat conftest.err >&5
5801  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5802  cat conftest.out >&5
5803  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5804    lt_cv_nm_interface="MS dumpbin"
5805  fi
5806  rm -f conftest*
5807fi
5808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5809$as_echo "$lt_cv_nm_interface" >&6; }
5810
5811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5812$as_echo_n "checking whether ln -s works... " >&6; }
5813LN_S=$as_ln_s
5814if test "$LN_S" = "ln -s"; then
5815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5816$as_echo "yes" >&6; }
5817else
5818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5819$as_echo "no, using $LN_S" >&6; }
5820fi
5821
5822# find the maximum length of command line arguments
5823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5824$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5825if ${lt_cv_sys_max_cmd_len+:} false; then :
5826  $as_echo_n "(cached) " >&6
5827else
5828    i=0
5829  teststring="ABCD"
5830
5831  case $build_os in
5832  msdosdjgpp*)
5833    # On DJGPP, this test can blow up pretty badly due to problems in libc
5834    # (any single argument exceeding 2000 bytes causes a buffer overrun
5835    # during glob expansion).  Even if it were fixed, the result of this
5836    # check would be larger than it should be.
5837    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5838    ;;
5839
5840  gnu*)
5841    # Under GNU Hurd, this test is not required because there is
5842    # no limit to the length of command line arguments.
5843    # Libtool will interpret -1 as no limit whatsoever
5844    lt_cv_sys_max_cmd_len=-1;
5845    ;;
5846
5847  cygwin* | mingw* | cegcc*)
5848    # On Win9x/ME, this test blows up -- it succeeds, but takes
5849    # about 5 minutes as the teststring grows exponentially.
5850    # Worse, since 9x/ME are not pre-emptively multitasking,
5851    # you end up with a "frozen" computer, even though with patience
5852    # the test eventually succeeds (with a max line length of 256k).
5853    # Instead, let's just punt: use the minimum linelength reported by
5854    # all of the supported platforms: 8192 (on NT/2K/XP).
5855    lt_cv_sys_max_cmd_len=8192;
5856    ;;
5857
5858  mint*)
5859    # On MiNT this can take a long time and run out of memory.
5860    lt_cv_sys_max_cmd_len=8192;
5861    ;;
5862
5863  amigaos*)
5864    # On AmigaOS with pdksh, this test takes hours, literally.
5865    # So we just punt and use a minimum line length of 8192.
5866    lt_cv_sys_max_cmd_len=8192;
5867    ;;
5868
5869  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5870    # This has been around since 386BSD, at least.  Likely further.
5871    if test -x /sbin/sysctl; then
5872      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5873    elif test -x /usr/sbin/sysctl; then
5874      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5875    else
5876      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5877    fi
5878    # And add a safety zone
5879    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5880    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5881    ;;
5882
5883  interix*)
5884    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5885    lt_cv_sys_max_cmd_len=196608
5886    ;;
5887
5888  osf*)
5889    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5890    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5891    # nice to cause kernel panics so lets avoid the loop below.
5892    # First set a reasonable default.
5893    lt_cv_sys_max_cmd_len=16384
5894    #
5895    if test -x /sbin/sysconfig; then
5896      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5897        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5898      esac
5899    fi
5900    ;;
5901  sco3.2v5*)
5902    lt_cv_sys_max_cmd_len=102400
5903    ;;
5904  sysv5* | sco5v6* | sysv4.2uw2*)
5905    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5906    if test -n "$kargmax"; then
5907      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5908    else
5909      lt_cv_sys_max_cmd_len=32768
5910    fi
5911    ;;
5912  *)
5913    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5914    if test -n "$lt_cv_sys_max_cmd_len"; then
5915      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5916      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5917    else
5918      # Make teststring a little bigger before we do anything with it.
5919      # a 1K string should be a reasonable start.
5920      for i in 1 2 3 4 5 6 7 8 ; do
5921        teststring=$teststring$teststring
5922      done
5923      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5924      # If test is not a shell built-in, we'll probably end up computing a
5925      # maximum length that is only half of the actual maximum length, but
5926      # we can't tell.
5927      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5928	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5929	      test $i != 17 # 1/2 MB should be enough
5930      do
5931        i=`expr $i + 1`
5932        teststring=$teststring$teststring
5933      done
5934      # Only check the string length outside the loop.
5935      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5936      teststring=
5937      # Add a significant safety factor because C++ compilers can tack on
5938      # massive amounts of additional arguments before passing them to the
5939      # linker.  It appears as though 1/2 is a usable value.
5940      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5941    fi
5942    ;;
5943  esac
5944
5945fi
5946
5947if test -n $lt_cv_sys_max_cmd_len ; then
5948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5949$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5950else
5951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5952$as_echo "none" >&6; }
5953fi
5954max_cmd_len=$lt_cv_sys_max_cmd_len
5955
5956
5957
5958
5959
5960
5961: ${CP="cp -f"}
5962: ${MV="mv -f"}
5963: ${RM="rm -f"}
5964
5965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5966$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5967# Try some XSI features
5968xsi_shell=no
5969( _lt_dummy="a/b/c"
5970  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5971      = c,a/b,, \
5972    && eval 'test $(( 1 + 1 )) -eq 2 \
5973    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5974  && xsi_shell=yes
5975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5976$as_echo "$xsi_shell" >&6; }
5977
5978
5979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5980$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5981lt_shell_append=no
5982( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5983    >/dev/null 2>&1 \
5984  && lt_shell_append=yes
5985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5986$as_echo "$lt_shell_append" >&6; }
5987
5988
5989if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5990  lt_unset=unset
5991else
5992  lt_unset=false
5993fi
5994
5995
5996
5997
5998
5999# test EBCDIC or ASCII
6000case `echo X|tr X '\101'` in
6001 A) # ASCII based system
6002    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6003  lt_SP2NL='tr \040 \012'
6004  lt_NL2SP='tr \015\012 \040\040'
6005  ;;
6006 *) # EBCDIC based system
6007  lt_SP2NL='tr \100 \n'
6008  lt_NL2SP='tr \r\n \100\100'
6009  ;;
6010esac
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6021$as_echo_n "checking for $LD option to reload object files... " >&6; }
6022if ${lt_cv_ld_reload_flag+:} false; then :
6023  $as_echo_n "(cached) " >&6
6024else
6025  lt_cv_ld_reload_flag='-r'
6026fi
6027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6028$as_echo "$lt_cv_ld_reload_flag" >&6; }
6029reload_flag=$lt_cv_ld_reload_flag
6030case $reload_flag in
6031"" | " "*) ;;
6032*) reload_flag=" $reload_flag" ;;
6033esac
6034reload_cmds='$LD$reload_flag -o $output$reload_objs'
6035case $host_os in
6036  darwin*)
6037    if test "$GCC" = yes; then
6038      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6039    else
6040      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6041    fi
6042    ;;
6043esac
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053if test -n "$ac_tool_prefix"; then
6054  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6055set dummy ${ac_tool_prefix}objdump; ac_word=$2
6056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057$as_echo_n "checking for $ac_word... " >&6; }
6058if ${ac_cv_prog_OBJDUMP+:} false; then :
6059  $as_echo_n "(cached) " >&6
6060else
6061  if test -n "$OBJDUMP"; then
6062  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6063else
6064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065for as_dir in $PATH
6066do
6067  IFS=$as_save_IFS
6068  test -z "$as_dir" && as_dir=.
6069    for ac_exec_ext in '' $ac_executable_extensions; do
6070  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6071    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6072    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073    break 2
6074  fi
6075done
6076  done
6077IFS=$as_save_IFS
6078
6079fi
6080fi
6081OBJDUMP=$ac_cv_prog_OBJDUMP
6082if test -n "$OBJDUMP"; then
6083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6084$as_echo "$OBJDUMP" >&6; }
6085else
6086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087$as_echo "no" >&6; }
6088fi
6089
6090
6091fi
6092if test -z "$ac_cv_prog_OBJDUMP"; then
6093  ac_ct_OBJDUMP=$OBJDUMP
6094  # Extract the first word of "objdump", so it can be a program name with args.
6095set dummy objdump; ac_word=$2
6096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6097$as_echo_n "checking for $ac_word... " >&6; }
6098if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6099  $as_echo_n "(cached) " >&6
6100else
6101  if test -n "$ac_ct_OBJDUMP"; then
6102  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6103else
6104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105for as_dir in $PATH
6106do
6107  IFS=$as_save_IFS
6108  test -z "$as_dir" && as_dir=.
6109    for ac_exec_ext in '' $ac_executable_extensions; do
6110  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6111    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6112    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6113    break 2
6114  fi
6115done
6116  done
6117IFS=$as_save_IFS
6118
6119fi
6120fi
6121ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6122if test -n "$ac_ct_OBJDUMP"; then
6123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6124$as_echo "$ac_ct_OBJDUMP" >&6; }
6125else
6126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6127$as_echo "no" >&6; }
6128fi
6129
6130  if test "x$ac_ct_OBJDUMP" = x; then
6131    OBJDUMP="false"
6132  else
6133    case $cross_compiling:$ac_tool_warned in
6134yes:)
6135{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6136$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6137ac_tool_warned=yes ;;
6138esac
6139    OBJDUMP=$ac_ct_OBJDUMP
6140  fi
6141else
6142  OBJDUMP="$ac_cv_prog_OBJDUMP"
6143fi
6144
6145test -z "$OBJDUMP" && OBJDUMP=objdump
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6156$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6157if ${lt_cv_deplibs_check_method+:} false; then :
6158  $as_echo_n "(cached) " >&6
6159else
6160  lt_cv_file_magic_cmd='$MAGIC_CMD'
6161lt_cv_file_magic_test_file=
6162lt_cv_deplibs_check_method='unknown'
6163# Need to set the preceding variable on all platforms that support
6164# interlibrary dependencies.
6165# 'none' -- dependencies not supported.
6166# `unknown' -- same as none, but documents that we really don't know.
6167# 'pass_all' -- all dependencies passed with no checks.
6168# 'test_compile' -- check by making test program.
6169# 'file_magic [[regex]]' -- check by looking for files in library path
6170# which responds to the $file_magic_cmd with a given extended regex.
6171# If you have `file' or equivalent on your system and you're not sure
6172# whether `pass_all' will *always* work, you probably want this one.
6173
6174case $host_os in
6175aix[4-9]*)
6176  lt_cv_deplibs_check_method=pass_all
6177  ;;
6178
6179beos*)
6180  lt_cv_deplibs_check_method=pass_all
6181  ;;
6182
6183bsdi[45]*)
6184  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6185  lt_cv_file_magic_cmd='/usr/bin/file -L'
6186  lt_cv_file_magic_test_file=/shlib/libc.so
6187  ;;
6188
6189cygwin*)
6190  # func_win32_libid is a shell function defined in ltmain.sh
6191  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6192  lt_cv_file_magic_cmd='func_win32_libid'
6193  ;;
6194
6195mingw* | pw32*)
6196  # Base MSYS/MinGW do not provide the 'file' command needed by
6197  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6198  # unless we find 'file', for example because we are cross-compiling.
6199  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6200  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6201    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6202    lt_cv_file_magic_cmd='func_win32_libid'
6203  else
6204    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6205    lt_cv_file_magic_cmd='$OBJDUMP -f'
6206  fi
6207  ;;
6208
6209cegcc*)
6210  # use the weaker test based on 'objdump'. See mingw*.
6211  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6212  lt_cv_file_magic_cmd='$OBJDUMP -f'
6213  ;;
6214
6215darwin* | rhapsody*)
6216  lt_cv_deplibs_check_method=pass_all
6217  ;;
6218
6219freebsd* | dragonfly*)
6220  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6221    case $host_cpu in
6222    i*86 )
6223      # Not sure whether the presence of OpenBSD here was a mistake.
6224      # Let's accept both of them until this is cleared up.
6225      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6226      lt_cv_file_magic_cmd=/usr/bin/file
6227      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6228      ;;
6229    esac
6230  else
6231    lt_cv_deplibs_check_method=pass_all
6232  fi
6233  ;;
6234
6235gnu*)
6236  lt_cv_deplibs_check_method=pass_all
6237  ;;
6238
6239haiku*)
6240  lt_cv_deplibs_check_method=pass_all
6241  ;;
6242
6243hpux10.20* | hpux11*)
6244  lt_cv_file_magic_cmd=/usr/bin/file
6245  case $host_cpu in
6246  ia64*)
6247    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6248    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6249    ;;
6250  hppa*64*)
6251    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]'
6252    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6253    ;;
6254  *)
6255    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6256    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6257    ;;
6258  esac
6259  ;;
6260
6261interix[3-9]*)
6262  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6263  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6264  ;;
6265
6266irix5* | irix6* | nonstopux*)
6267  case $LD in
6268  *-32|*"-32 ") libmagic=32-bit;;
6269  *-n32|*"-n32 ") libmagic=N32;;
6270  *-64|*"-64 ") libmagic=64-bit;;
6271  *) libmagic=never-match;;
6272  esac
6273  lt_cv_deplibs_check_method=pass_all
6274  ;;
6275
6276# This must be Linux ELF.
6277linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6278  lt_cv_deplibs_check_method=pass_all
6279  ;;
6280
6281netbsd*)
6282  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6283    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6284  else
6285    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6286  fi
6287  ;;
6288
6289newos6*)
6290  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6291  lt_cv_file_magic_cmd=/usr/bin/file
6292  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6293  ;;
6294
6295*nto* | *qnx*)
6296  lt_cv_deplibs_check_method=pass_all
6297  ;;
6298
6299openbsd*)
6300  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6301    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6302  else
6303    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6304  fi
6305  ;;
6306
6307osf3* | osf4* | osf5*)
6308  lt_cv_deplibs_check_method=pass_all
6309  ;;
6310
6311rdos*)
6312  lt_cv_deplibs_check_method=pass_all
6313  ;;
6314
6315solaris*)
6316  lt_cv_deplibs_check_method=pass_all
6317  ;;
6318
6319sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6320  lt_cv_deplibs_check_method=pass_all
6321  ;;
6322
6323sysv4 | sysv4.3*)
6324  case $host_vendor in
6325  motorola)
6326    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]'
6327    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6328    ;;
6329  ncr)
6330    lt_cv_deplibs_check_method=pass_all
6331    ;;
6332  sequent)
6333    lt_cv_file_magic_cmd='/bin/file'
6334    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6335    ;;
6336  sni)
6337    lt_cv_file_magic_cmd='/bin/file'
6338    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6339    lt_cv_file_magic_test_file=/lib/libc.so
6340    ;;
6341  siemens)
6342    lt_cv_deplibs_check_method=pass_all
6343    ;;
6344  pc)
6345    lt_cv_deplibs_check_method=pass_all
6346    ;;
6347  esac
6348  ;;
6349
6350tpf*)
6351  lt_cv_deplibs_check_method=pass_all
6352  ;;
6353esac
6354
6355fi
6356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6357$as_echo "$lt_cv_deplibs_check_method" >&6; }
6358file_magic_cmd=$lt_cv_file_magic_cmd
6359deplibs_check_method=$lt_cv_deplibs_check_method
6360test -z "$deplibs_check_method" && deplibs_check_method=unknown
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373if test -n "$ac_tool_prefix"; then
6374  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6375set dummy ${ac_tool_prefix}ar; ac_word=$2
6376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6377$as_echo_n "checking for $ac_word... " >&6; }
6378if ${ac_cv_prog_AR+:} false; then :
6379  $as_echo_n "(cached) " >&6
6380else
6381  if test -n "$AR"; then
6382  ac_cv_prog_AR="$AR" # Let the user override the test.
6383else
6384as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6385for as_dir in $PATH
6386do
6387  IFS=$as_save_IFS
6388  test -z "$as_dir" && as_dir=.
6389    for ac_exec_ext in '' $ac_executable_extensions; do
6390  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6391    ac_cv_prog_AR="${ac_tool_prefix}ar"
6392    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6393    break 2
6394  fi
6395done
6396  done
6397IFS=$as_save_IFS
6398
6399fi
6400fi
6401AR=$ac_cv_prog_AR
6402if test -n "$AR"; then
6403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6404$as_echo "$AR" >&6; }
6405else
6406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6407$as_echo "no" >&6; }
6408fi
6409
6410
6411fi
6412if test -z "$ac_cv_prog_AR"; then
6413  ac_ct_AR=$AR
6414  # Extract the first word of "ar", so it can be a program name with args.
6415set dummy ar; ac_word=$2
6416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6417$as_echo_n "checking for $ac_word... " >&6; }
6418if ${ac_cv_prog_ac_ct_AR+:} false; then :
6419  $as_echo_n "(cached) " >&6
6420else
6421  if test -n "$ac_ct_AR"; then
6422  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6423else
6424as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6425for as_dir in $PATH
6426do
6427  IFS=$as_save_IFS
6428  test -z "$as_dir" && as_dir=.
6429    for ac_exec_ext in '' $ac_executable_extensions; do
6430  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6431    ac_cv_prog_ac_ct_AR="ar"
6432    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6433    break 2
6434  fi
6435done
6436  done
6437IFS=$as_save_IFS
6438
6439fi
6440fi
6441ac_ct_AR=$ac_cv_prog_ac_ct_AR
6442if test -n "$ac_ct_AR"; then
6443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6444$as_echo "$ac_ct_AR" >&6; }
6445else
6446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6447$as_echo "no" >&6; }
6448fi
6449
6450  if test "x$ac_ct_AR" = x; then
6451    AR="false"
6452  else
6453    case $cross_compiling:$ac_tool_warned in
6454yes:)
6455{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6456$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6457ac_tool_warned=yes ;;
6458esac
6459    AR=$ac_ct_AR
6460  fi
6461else
6462  AR="$ac_cv_prog_AR"
6463fi
6464
6465test -z "$AR" && AR=ar
6466test -z "$AR_FLAGS" && AR_FLAGS=cru
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478if test -n "$ac_tool_prefix"; then
6479  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6480set dummy ${ac_tool_prefix}strip; ac_word=$2
6481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6482$as_echo_n "checking for $ac_word... " >&6; }
6483if ${ac_cv_prog_STRIP+:} false; then :
6484  $as_echo_n "(cached) " >&6
6485else
6486  if test -n "$STRIP"; then
6487  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6488else
6489as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490for as_dir in $PATH
6491do
6492  IFS=$as_save_IFS
6493  test -z "$as_dir" && as_dir=.
6494    for ac_exec_ext in '' $ac_executable_extensions; do
6495  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6496    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6497    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498    break 2
6499  fi
6500done
6501  done
6502IFS=$as_save_IFS
6503
6504fi
6505fi
6506STRIP=$ac_cv_prog_STRIP
6507if test -n "$STRIP"; then
6508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6509$as_echo "$STRIP" >&6; }
6510else
6511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512$as_echo "no" >&6; }
6513fi
6514
6515
6516fi
6517if test -z "$ac_cv_prog_STRIP"; then
6518  ac_ct_STRIP=$STRIP
6519  # Extract the first word of "strip", so it can be a program name with args.
6520set dummy strip; ac_word=$2
6521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6522$as_echo_n "checking for $ac_word... " >&6; }
6523if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6524  $as_echo_n "(cached) " >&6
6525else
6526  if test -n "$ac_ct_STRIP"; then
6527  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6528else
6529as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6530for as_dir in $PATH
6531do
6532  IFS=$as_save_IFS
6533  test -z "$as_dir" && as_dir=.
6534    for ac_exec_ext in '' $ac_executable_extensions; do
6535  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6536    ac_cv_prog_ac_ct_STRIP="strip"
6537    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6538    break 2
6539  fi
6540done
6541  done
6542IFS=$as_save_IFS
6543
6544fi
6545fi
6546ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6547if test -n "$ac_ct_STRIP"; then
6548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6549$as_echo "$ac_ct_STRIP" >&6; }
6550else
6551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6552$as_echo "no" >&6; }
6553fi
6554
6555  if test "x$ac_ct_STRIP" = x; then
6556    STRIP=":"
6557  else
6558    case $cross_compiling:$ac_tool_warned in
6559yes:)
6560{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6561$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6562ac_tool_warned=yes ;;
6563esac
6564    STRIP=$ac_ct_STRIP
6565  fi
6566else
6567  STRIP="$ac_cv_prog_STRIP"
6568fi
6569
6570test -z "$STRIP" && STRIP=:
6571
6572
6573
6574
6575
6576
6577if test -n "$ac_tool_prefix"; then
6578  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6579set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6581$as_echo_n "checking for $ac_word... " >&6; }
6582if ${ac_cv_prog_RANLIB+:} false; then :
6583  $as_echo_n "(cached) " >&6
6584else
6585  if test -n "$RANLIB"; then
6586  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6587else
6588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589for as_dir in $PATH
6590do
6591  IFS=$as_save_IFS
6592  test -z "$as_dir" && as_dir=.
6593    for ac_exec_ext in '' $ac_executable_extensions; do
6594  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6595    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6596    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6597    break 2
6598  fi
6599done
6600  done
6601IFS=$as_save_IFS
6602
6603fi
6604fi
6605RANLIB=$ac_cv_prog_RANLIB
6606if test -n "$RANLIB"; then
6607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6608$as_echo "$RANLIB" >&6; }
6609else
6610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611$as_echo "no" >&6; }
6612fi
6613
6614
6615fi
6616if test -z "$ac_cv_prog_RANLIB"; then
6617  ac_ct_RANLIB=$RANLIB
6618  # Extract the first word of "ranlib", so it can be a program name with args.
6619set dummy ranlib; ac_word=$2
6620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621$as_echo_n "checking for $ac_word... " >&6; }
6622if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6623  $as_echo_n "(cached) " >&6
6624else
6625  if test -n "$ac_ct_RANLIB"; then
6626  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6627else
6628as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629for as_dir in $PATH
6630do
6631  IFS=$as_save_IFS
6632  test -z "$as_dir" && as_dir=.
6633    for ac_exec_ext in '' $ac_executable_extensions; do
6634  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6635    ac_cv_prog_ac_ct_RANLIB="ranlib"
6636    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637    break 2
6638  fi
6639done
6640  done
6641IFS=$as_save_IFS
6642
6643fi
6644fi
6645ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6646if test -n "$ac_ct_RANLIB"; then
6647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6648$as_echo "$ac_ct_RANLIB" >&6; }
6649else
6650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651$as_echo "no" >&6; }
6652fi
6653
6654  if test "x$ac_ct_RANLIB" = x; then
6655    RANLIB=":"
6656  else
6657    case $cross_compiling:$ac_tool_warned in
6658yes:)
6659{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6660$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6661ac_tool_warned=yes ;;
6662esac
6663    RANLIB=$ac_ct_RANLIB
6664  fi
6665else
6666  RANLIB="$ac_cv_prog_RANLIB"
6667fi
6668
6669test -z "$RANLIB" && RANLIB=:
6670
6671
6672
6673
6674
6675
6676# Determine commands to create old-style static archives.
6677old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6678old_postinstall_cmds='chmod 644 $oldlib'
6679old_postuninstall_cmds=
6680
6681if test -n "$RANLIB"; then
6682  case $host_os in
6683  openbsd*)
6684    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6685    ;;
6686  *)
6687    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6688    ;;
6689  esac
6690  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6691fi
6692
6693case $host_os in
6694  darwin*)
6695    lock_old_archive_extraction=yes ;;
6696  *)
6697    lock_old_archive_extraction=no ;;
6698esac
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738# If no C compiler was specified, use CC.
6739LTCC=${LTCC-"$CC"}
6740
6741# If no C compiler flags were specified, use CFLAGS.
6742LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6743
6744# Allow CC to be a program name with arguments.
6745compiler=$CC
6746
6747
6748# Check for command to grab the raw symbol name followed by C symbol from nm.
6749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6750$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6751if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6752  $as_echo_n "(cached) " >&6
6753else
6754
6755# These are sane defaults that work on at least a few old systems.
6756# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6757
6758# Character class describing NM global symbol codes.
6759symcode='[BCDEGRST]'
6760
6761# Regexp to match symbols that can be accessed directly from C.
6762sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6763
6764# Define system-specific variables.
6765case $host_os in
6766aix*)
6767  symcode='[BCDT]'
6768  ;;
6769cygwin* | mingw* | pw32* | cegcc*)
6770  symcode='[ABCDGISTW]'
6771  ;;
6772hpux*)
6773  if test "$host_cpu" = ia64; then
6774    symcode='[ABCDEGRST]'
6775  fi
6776  ;;
6777irix* | nonstopux*)
6778  symcode='[BCDEGRST]'
6779  ;;
6780osf*)
6781  symcode='[BCDEGQRST]'
6782  ;;
6783solaris*)
6784  symcode='[BDRT]'
6785  ;;
6786sco3.2v5*)
6787  symcode='[DT]'
6788  ;;
6789sysv4.2uw2*)
6790  symcode='[DT]'
6791  ;;
6792sysv5* | sco5v6* | unixware* | OpenUNIX*)
6793  symcode='[ABDT]'
6794  ;;
6795sysv4)
6796  symcode='[DFNSTU]'
6797  ;;
6798esac
6799
6800# If we're using GNU nm, then use its standard symbol codes.
6801case `$NM -V 2>&1` in
6802*GNU* | *'with BFD'*)
6803  symcode='[ABCDGIRSTW]' ;;
6804esac
6805
6806# Transform an extracted symbol line into a proper C declaration.
6807# Some systems (esp. on ia64) link data and code symbols differently,
6808# so use this general approach.
6809lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6810
6811# Transform an extracted symbol line into symbol name and symbol address
6812lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6813lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6814
6815# Handle CRLF in mingw tool chain
6816opt_cr=
6817case $build_os in
6818mingw*)
6819  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6820  ;;
6821esac
6822
6823# Try without a prefix underscore, then with it.
6824for ac_symprfx in "" "_"; do
6825
6826  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6827  symxfrm="\\1 $ac_symprfx\\2 \\2"
6828
6829  # Write the raw and C identifiers.
6830  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6831    # Fake it for dumpbin and say T for any non-static function
6832    # and D for any global variable.
6833    # Also find C++ and __fastcall symbols from MSVC++,
6834    # which start with @ or ?.
6835    lt_cv_sys_global_symbol_pipe="$AWK '"\
6836"     {last_section=section; section=\$ 3};"\
6837"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6838"     \$ 0!~/External *\|/{next};"\
6839"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6840"     {if(hide[section]) next};"\
6841"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6842"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6843"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6844"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6845"     ' prfx=^$ac_symprfx"
6846  else
6847    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6848  fi
6849
6850  # Check to see that the pipe works correctly.
6851  pipe_works=no
6852
6853  rm -f conftest*
6854  cat > conftest.$ac_ext <<_LT_EOF
6855#ifdef __cplusplus
6856extern "C" {
6857#endif
6858char nm_test_var;
6859void nm_test_func(void);
6860void nm_test_func(void){}
6861#ifdef __cplusplus
6862}
6863#endif
6864int main(){nm_test_var='a';nm_test_func();return(0);}
6865_LT_EOF
6866
6867  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6868  (eval $ac_compile) 2>&5
6869  ac_status=$?
6870  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6871  test $ac_status = 0; }; then
6872    # Now try to grab the symbols.
6873    nlist=conftest.nm
6874    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6875  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6876  ac_status=$?
6877  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6878  test $ac_status = 0; } && test -s "$nlist"; then
6879      # Try sorting and uniquifying the output.
6880      if sort "$nlist" | uniq > "$nlist"T; then
6881	mv -f "$nlist"T "$nlist"
6882      else
6883	rm -f "$nlist"T
6884      fi
6885
6886      # Make sure that we snagged all the symbols we need.
6887      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6888	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6889	  cat <<_LT_EOF > conftest.$ac_ext
6890#ifdef __cplusplus
6891extern "C" {
6892#endif
6893
6894_LT_EOF
6895	  # Now generate the symbol file.
6896	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6897
6898	  cat <<_LT_EOF >> conftest.$ac_ext
6899
6900/* The mapping between symbol names and symbols.  */
6901const struct {
6902  const char *name;
6903  void       *address;
6904}
6905lt__PROGRAM__LTX_preloaded_symbols[] =
6906{
6907  { "@PROGRAM@", (void *) 0 },
6908_LT_EOF
6909	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6910	  cat <<\_LT_EOF >> conftest.$ac_ext
6911  {0, (void *) 0}
6912};
6913
6914/* This works around a problem in FreeBSD linker */
6915#ifdef FREEBSD_WORKAROUND
6916static const void *lt_preloaded_setup() {
6917  return lt__PROGRAM__LTX_preloaded_symbols;
6918}
6919#endif
6920
6921#ifdef __cplusplus
6922}
6923#endif
6924_LT_EOF
6925	  # Now try linking the two files.
6926	  mv conftest.$ac_objext conftstm.$ac_objext
6927	  lt_save_LIBS="$LIBS"
6928	  lt_save_CFLAGS="$CFLAGS"
6929	  LIBS="conftstm.$ac_objext"
6930	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6931	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6932  (eval $ac_link) 2>&5
6933  ac_status=$?
6934  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6935  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6936	    pipe_works=yes
6937	  fi
6938	  LIBS="$lt_save_LIBS"
6939	  CFLAGS="$lt_save_CFLAGS"
6940	else
6941	  echo "cannot find nm_test_func in $nlist" >&5
6942	fi
6943      else
6944	echo "cannot find nm_test_var in $nlist" >&5
6945      fi
6946    else
6947      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6948    fi
6949  else
6950    echo "$progname: failed program was:" >&5
6951    cat conftest.$ac_ext >&5
6952  fi
6953  rm -rf conftest* conftst*
6954
6955  # Do not use the global_symbol_pipe unless it works.
6956  if test "$pipe_works" = yes; then
6957    break
6958  else
6959    lt_cv_sys_global_symbol_pipe=
6960  fi
6961done
6962
6963fi
6964
6965if test -z "$lt_cv_sys_global_symbol_pipe"; then
6966  lt_cv_sys_global_symbol_to_cdecl=
6967fi
6968if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6970$as_echo "failed" >&6; }
6971else
6972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6973$as_echo "ok" >&6; }
6974fi
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997# Check whether --enable-libtool-lock was given.
6998if test "${enable_libtool_lock+set}" = set; then :
6999  enableval=$enable_libtool_lock;
7000fi
7001
7002test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7003
7004# Some flags need to be propagated to the compiler or linker for good
7005# libtool support.
7006case $host in
7007ia64-*-hpux*)
7008  # Find out which ABI we are using.
7009  echo 'int i;' > conftest.$ac_ext
7010  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7011  (eval $ac_compile) 2>&5
7012  ac_status=$?
7013  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7014  test $ac_status = 0; }; then
7015    case `/usr/bin/file conftest.$ac_objext` in
7016      *ELF-32*)
7017	HPUX_IA64_MODE="32"
7018	;;
7019      *ELF-64*)
7020	HPUX_IA64_MODE="64"
7021	;;
7022    esac
7023  fi
7024  rm -rf conftest*
7025  ;;
7026*-*-irix6*)
7027  # Find out which ABI we are using.
7028  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7029  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7030  (eval $ac_compile) 2>&5
7031  ac_status=$?
7032  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7033  test $ac_status = 0; }; then
7034    if test "$lt_cv_prog_gnu_ld" = yes; then
7035      case `/usr/bin/file conftest.$ac_objext` in
7036	*32-bit*)
7037	  LD="${LD-ld} -melf32bsmip"
7038	  ;;
7039	*N32*)
7040	  LD="${LD-ld} -melf32bmipn32"
7041	  ;;
7042	*64-bit*)
7043	  LD="${LD-ld} -melf64bmip"
7044	;;
7045      esac
7046    else
7047      case `/usr/bin/file conftest.$ac_objext` in
7048	*32-bit*)
7049	  LD="${LD-ld} -32"
7050	  ;;
7051	*N32*)
7052	  LD="${LD-ld} -n32"
7053	  ;;
7054	*64-bit*)
7055	  LD="${LD-ld} -64"
7056	  ;;
7057      esac
7058    fi
7059  fi
7060  rm -rf conftest*
7061  ;;
7062
7063x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7064s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7065  # Find out which ABI we are using.
7066  echo 'int i;' > conftest.$ac_ext
7067  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7068  (eval $ac_compile) 2>&5
7069  ac_status=$?
7070  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7071  test $ac_status = 0; }; then
7072    case `/usr/bin/file conftest.o` in
7073      *32-bit*)
7074	case $host in
7075	  x86_64-*kfreebsd*-gnu)
7076	    LD="${LD-ld} -m elf_i386_fbsd"
7077	    ;;
7078	  x86_64-*linux*)
7079	    case `/usr/bin/file conftest.o` in
7080	      *x86-64*)
7081		LD="${LD-ld} -m elf32_x86_64"
7082		;;
7083	      *)
7084		LD="${LD-ld} -m elf_i386"
7085		;;
7086	    esac
7087	    ;;
7088	  powerpc64le-*linux*)
7089	    LD="${LD-ld} -m elf32lppclinux"
7090	    ;;
7091	  powerpc64-*linux*)
7092	    LD="${LD-ld} -m elf32ppclinux"
7093	    ;;
7094	  s390x-*linux*)
7095	    LD="${LD-ld} -m elf_s390"
7096	    ;;
7097	  sparc64-*linux*)
7098	    LD="${LD-ld} -m elf32_sparc"
7099	    ;;
7100	esac
7101	;;
7102      *64-bit*)
7103	case $host in
7104	  x86_64-*kfreebsd*-gnu)
7105	    LD="${LD-ld} -m elf_x86_64_fbsd"
7106	    ;;
7107	  x86_64-*linux*)
7108	    LD="${LD-ld} -m elf_x86_64"
7109	    ;;
7110	  powerpcle-*linux*)
7111	    LD="${LD-ld} -m elf64lppc"
7112	    ;;
7113	  powerpc-*linux*)
7114	    LD="${LD-ld} -m elf64ppc"
7115	    ;;
7116	  s390*-*linux*|s390*-*tpf*)
7117	    LD="${LD-ld} -m elf64_s390"
7118	    ;;
7119	  sparc*-*linux*)
7120	    LD="${LD-ld} -m elf64_sparc"
7121	    ;;
7122	esac
7123	;;
7124    esac
7125  fi
7126  rm -rf conftest*
7127  ;;
7128
7129*-*-sco3.2v5*)
7130  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7131  SAVE_CFLAGS="$CFLAGS"
7132  CFLAGS="$CFLAGS -belf"
7133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7134$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7135if ${lt_cv_cc_needs_belf+:} false; then :
7136  $as_echo_n "(cached) " >&6
7137else
7138  ac_ext=c
7139ac_cpp='$CPP $CPPFLAGS'
7140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7142ac_compiler_gnu=$ac_cv_c_compiler_gnu
7143
7144     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7145/* end confdefs.h.  */
7146
7147int
7148main ()
7149{
7150
7151  ;
7152  return 0;
7153}
7154_ACEOF
7155if ac_fn_c_try_link "$LINENO"; then :
7156  lt_cv_cc_needs_belf=yes
7157else
7158  lt_cv_cc_needs_belf=no
7159fi
7160rm -f core conftest.err conftest.$ac_objext \
7161    conftest$ac_exeext conftest.$ac_ext
7162     ac_ext=c
7163ac_cpp='$CPP $CPPFLAGS'
7164ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7165ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7166ac_compiler_gnu=$ac_cv_c_compiler_gnu
7167
7168fi
7169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7170$as_echo "$lt_cv_cc_needs_belf" >&6; }
7171  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7172    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7173    CFLAGS="$SAVE_CFLAGS"
7174  fi
7175  ;;
7176sparc*-*solaris*)
7177  # Find out which ABI we are using.
7178  echo 'int i;' > conftest.$ac_ext
7179  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7180  (eval $ac_compile) 2>&5
7181  ac_status=$?
7182  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7183  test $ac_status = 0; }; then
7184    case `/usr/bin/file conftest.o` in
7185    *64-bit*)
7186      case $lt_cv_prog_gnu_ld in
7187      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7188      *)
7189	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7190	  LD="${LD-ld} -64"
7191	fi
7192	;;
7193      esac
7194      ;;
7195    esac
7196  fi
7197  rm -rf conftest*
7198  ;;
7199esac
7200
7201need_locks="$enable_libtool_lock"
7202
7203
7204  case $host_os in
7205    rhapsody* | darwin*)
7206    if test -n "$ac_tool_prefix"; then
7207  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7208set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210$as_echo_n "checking for $ac_word... " >&6; }
7211if ${ac_cv_prog_DSYMUTIL+:} false; then :
7212  $as_echo_n "(cached) " >&6
7213else
7214  if test -n "$DSYMUTIL"; then
7215  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7216else
7217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7218for as_dir in $PATH
7219do
7220  IFS=$as_save_IFS
7221  test -z "$as_dir" && as_dir=.
7222    for ac_exec_ext in '' $ac_executable_extensions; do
7223  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7224    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7225    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7226    break 2
7227  fi
7228done
7229  done
7230IFS=$as_save_IFS
7231
7232fi
7233fi
7234DSYMUTIL=$ac_cv_prog_DSYMUTIL
7235if test -n "$DSYMUTIL"; then
7236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7237$as_echo "$DSYMUTIL" >&6; }
7238else
7239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240$as_echo "no" >&6; }
7241fi
7242
7243
7244fi
7245if test -z "$ac_cv_prog_DSYMUTIL"; then
7246  ac_ct_DSYMUTIL=$DSYMUTIL
7247  # Extract the first word of "dsymutil", so it can be a program name with args.
7248set dummy dsymutil; ac_word=$2
7249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250$as_echo_n "checking for $ac_word... " >&6; }
7251if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7252  $as_echo_n "(cached) " >&6
7253else
7254  if test -n "$ac_ct_DSYMUTIL"; then
7255  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7256else
7257as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258for as_dir in $PATH
7259do
7260  IFS=$as_save_IFS
7261  test -z "$as_dir" && as_dir=.
7262    for ac_exec_ext in '' $ac_executable_extensions; do
7263  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7264    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7265    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7266    break 2
7267  fi
7268done
7269  done
7270IFS=$as_save_IFS
7271
7272fi
7273fi
7274ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7275if test -n "$ac_ct_DSYMUTIL"; then
7276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7277$as_echo "$ac_ct_DSYMUTIL" >&6; }
7278else
7279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280$as_echo "no" >&6; }
7281fi
7282
7283  if test "x$ac_ct_DSYMUTIL" = x; then
7284    DSYMUTIL=":"
7285  else
7286    case $cross_compiling:$ac_tool_warned in
7287yes:)
7288{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7289$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7290ac_tool_warned=yes ;;
7291esac
7292    DSYMUTIL=$ac_ct_DSYMUTIL
7293  fi
7294else
7295  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7296fi
7297
7298    if test -n "$ac_tool_prefix"; then
7299  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7300set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7302$as_echo_n "checking for $ac_word... " >&6; }
7303if ${ac_cv_prog_NMEDIT+:} false; then :
7304  $as_echo_n "(cached) " >&6
7305else
7306  if test -n "$NMEDIT"; then
7307  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7308else
7309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7310for as_dir in $PATH
7311do
7312  IFS=$as_save_IFS
7313  test -z "$as_dir" && as_dir=.
7314    for ac_exec_ext in '' $ac_executable_extensions; do
7315  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7316    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7317    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7318    break 2
7319  fi
7320done
7321  done
7322IFS=$as_save_IFS
7323
7324fi
7325fi
7326NMEDIT=$ac_cv_prog_NMEDIT
7327if test -n "$NMEDIT"; then
7328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7329$as_echo "$NMEDIT" >&6; }
7330else
7331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7332$as_echo "no" >&6; }
7333fi
7334
7335
7336fi
7337if test -z "$ac_cv_prog_NMEDIT"; then
7338  ac_ct_NMEDIT=$NMEDIT
7339  # Extract the first word of "nmedit", so it can be a program name with args.
7340set dummy nmedit; ac_word=$2
7341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342$as_echo_n "checking for $ac_word... " >&6; }
7343if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7344  $as_echo_n "(cached) " >&6
7345else
7346  if test -n "$ac_ct_NMEDIT"; then
7347  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7348else
7349as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350for as_dir in $PATH
7351do
7352  IFS=$as_save_IFS
7353  test -z "$as_dir" && as_dir=.
7354    for ac_exec_ext in '' $ac_executable_extensions; do
7355  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7356    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7357    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358    break 2
7359  fi
7360done
7361  done
7362IFS=$as_save_IFS
7363
7364fi
7365fi
7366ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7367if test -n "$ac_ct_NMEDIT"; then
7368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7369$as_echo "$ac_ct_NMEDIT" >&6; }
7370else
7371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372$as_echo "no" >&6; }
7373fi
7374
7375  if test "x$ac_ct_NMEDIT" = x; then
7376    NMEDIT=":"
7377  else
7378    case $cross_compiling:$ac_tool_warned in
7379yes:)
7380{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7381$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7382ac_tool_warned=yes ;;
7383esac
7384    NMEDIT=$ac_ct_NMEDIT
7385  fi
7386else
7387  NMEDIT="$ac_cv_prog_NMEDIT"
7388fi
7389
7390    if test -n "$ac_tool_prefix"; then
7391  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7392set dummy ${ac_tool_prefix}lipo; ac_word=$2
7393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7394$as_echo_n "checking for $ac_word... " >&6; }
7395if ${ac_cv_prog_LIPO+:} false; then :
7396  $as_echo_n "(cached) " >&6
7397else
7398  if test -n "$LIPO"; then
7399  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7400else
7401as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7402for as_dir in $PATH
7403do
7404  IFS=$as_save_IFS
7405  test -z "$as_dir" && as_dir=.
7406    for ac_exec_ext in '' $ac_executable_extensions; do
7407  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7408    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7409    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7410    break 2
7411  fi
7412done
7413  done
7414IFS=$as_save_IFS
7415
7416fi
7417fi
7418LIPO=$ac_cv_prog_LIPO
7419if test -n "$LIPO"; then
7420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7421$as_echo "$LIPO" >&6; }
7422else
7423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7424$as_echo "no" >&6; }
7425fi
7426
7427
7428fi
7429if test -z "$ac_cv_prog_LIPO"; then
7430  ac_ct_LIPO=$LIPO
7431  # Extract the first word of "lipo", so it can be a program name with args.
7432set dummy lipo; ac_word=$2
7433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7434$as_echo_n "checking for $ac_word... " >&6; }
7435if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7436  $as_echo_n "(cached) " >&6
7437else
7438  if test -n "$ac_ct_LIPO"; then
7439  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7440else
7441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442for as_dir in $PATH
7443do
7444  IFS=$as_save_IFS
7445  test -z "$as_dir" && as_dir=.
7446    for ac_exec_ext in '' $ac_executable_extensions; do
7447  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7448    ac_cv_prog_ac_ct_LIPO="lipo"
7449    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450    break 2
7451  fi
7452done
7453  done
7454IFS=$as_save_IFS
7455
7456fi
7457fi
7458ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7459if test -n "$ac_ct_LIPO"; then
7460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7461$as_echo "$ac_ct_LIPO" >&6; }
7462else
7463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7464$as_echo "no" >&6; }
7465fi
7466
7467  if test "x$ac_ct_LIPO" = x; then
7468    LIPO=":"
7469  else
7470    case $cross_compiling:$ac_tool_warned in
7471yes:)
7472{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7473$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7474ac_tool_warned=yes ;;
7475esac
7476    LIPO=$ac_ct_LIPO
7477  fi
7478else
7479  LIPO="$ac_cv_prog_LIPO"
7480fi
7481
7482    if test -n "$ac_tool_prefix"; then
7483  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7484set dummy ${ac_tool_prefix}otool; ac_word=$2
7485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7486$as_echo_n "checking for $ac_word... " >&6; }
7487if ${ac_cv_prog_OTOOL+:} false; then :
7488  $as_echo_n "(cached) " >&6
7489else
7490  if test -n "$OTOOL"; then
7491  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7492else
7493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7494for as_dir in $PATH
7495do
7496  IFS=$as_save_IFS
7497  test -z "$as_dir" && as_dir=.
7498    for ac_exec_ext in '' $ac_executable_extensions; do
7499  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7500    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7501    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7502    break 2
7503  fi
7504done
7505  done
7506IFS=$as_save_IFS
7507
7508fi
7509fi
7510OTOOL=$ac_cv_prog_OTOOL
7511if test -n "$OTOOL"; then
7512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7513$as_echo "$OTOOL" >&6; }
7514else
7515  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7516$as_echo "no" >&6; }
7517fi
7518
7519
7520fi
7521if test -z "$ac_cv_prog_OTOOL"; then
7522  ac_ct_OTOOL=$OTOOL
7523  # Extract the first word of "otool", so it can be a program name with args.
7524set dummy otool; ac_word=$2
7525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7526$as_echo_n "checking for $ac_word... " >&6; }
7527if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7528  $as_echo_n "(cached) " >&6
7529else
7530  if test -n "$ac_ct_OTOOL"; then
7531  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7532else
7533as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7534for as_dir in $PATH
7535do
7536  IFS=$as_save_IFS
7537  test -z "$as_dir" && as_dir=.
7538    for ac_exec_ext in '' $ac_executable_extensions; do
7539  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7540    ac_cv_prog_ac_ct_OTOOL="otool"
7541    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7542    break 2
7543  fi
7544done
7545  done
7546IFS=$as_save_IFS
7547
7548fi
7549fi
7550ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7551if test -n "$ac_ct_OTOOL"; then
7552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7553$as_echo "$ac_ct_OTOOL" >&6; }
7554else
7555  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7556$as_echo "no" >&6; }
7557fi
7558
7559  if test "x$ac_ct_OTOOL" = x; then
7560    OTOOL=":"
7561  else
7562    case $cross_compiling:$ac_tool_warned in
7563yes:)
7564{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7565$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7566ac_tool_warned=yes ;;
7567esac
7568    OTOOL=$ac_ct_OTOOL
7569  fi
7570else
7571  OTOOL="$ac_cv_prog_OTOOL"
7572fi
7573
7574    if test -n "$ac_tool_prefix"; then
7575  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7576set dummy ${ac_tool_prefix}otool64; ac_word=$2
7577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7578$as_echo_n "checking for $ac_word... " >&6; }
7579if ${ac_cv_prog_OTOOL64+:} false; then :
7580  $as_echo_n "(cached) " >&6
7581else
7582  if test -n "$OTOOL64"; then
7583  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7584else
7585as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7586for as_dir in $PATH
7587do
7588  IFS=$as_save_IFS
7589  test -z "$as_dir" && as_dir=.
7590    for ac_exec_ext in '' $ac_executable_extensions; do
7591  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7592    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7593    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7594    break 2
7595  fi
7596done
7597  done
7598IFS=$as_save_IFS
7599
7600fi
7601fi
7602OTOOL64=$ac_cv_prog_OTOOL64
7603if test -n "$OTOOL64"; then
7604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7605$as_echo "$OTOOL64" >&6; }
7606else
7607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7608$as_echo "no" >&6; }
7609fi
7610
7611
7612fi
7613if test -z "$ac_cv_prog_OTOOL64"; then
7614  ac_ct_OTOOL64=$OTOOL64
7615  # Extract the first word of "otool64", so it can be a program name with args.
7616set dummy otool64; ac_word=$2
7617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7618$as_echo_n "checking for $ac_word... " >&6; }
7619if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7620  $as_echo_n "(cached) " >&6
7621else
7622  if test -n "$ac_ct_OTOOL64"; then
7623  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7624else
7625as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626for as_dir in $PATH
7627do
7628  IFS=$as_save_IFS
7629  test -z "$as_dir" && as_dir=.
7630    for ac_exec_ext in '' $ac_executable_extensions; do
7631  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7632    ac_cv_prog_ac_ct_OTOOL64="otool64"
7633    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7634    break 2
7635  fi
7636done
7637  done
7638IFS=$as_save_IFS
7639
7640fi
7641fi
7642ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7643if test -n "$ac_ct_OTOOL64"; then
7644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7645$as_echo "$ac_ct_OTOOL64" >&6; }
7646else
7647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648$as_echo "no" >&6; }
7649fi
7650
7651  if test "x$ac_ct_OTOOL64" = x; then
7652    OTOOL64=":"
7653  else
7654    case $cross_compiling:$ac_tool_warned in
7655yes:)
7656{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7657$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7658ac_tool_warned=yes ;;
7659esac
7660    OTOOL64=$ac_ct_OTOOL64
7661  fi
7662else
7663  OTOOL64="$ac_cv_prog_OTOOL64"
7664fi
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7693$as_echo_n "checking for -single_module linker flag... " >&6; }
7694if ${lt_cv_apple_cc_single_mod+:} false; then :
7695  $as_echo_n "(cached) " >&6
7696else
7697  lt_cv_apple_cc_single_mod=no
7698      if test -z "${LT_MULTI_MODULE}"; then
7699	# By default we will add the -single_module flag. You can override
7700	# by either setting the environment variable LT_MULTI_MODULE
7701	# non-empty at configure time, or by adding -multi_module to the
7702	# link flags.
7703	rm -rf libconftest.dylib*
7704	echo "int foo(void){return 1;}" > conftest.c
7705	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7706-dynamiclib -Wl,-single_module conftest.c" >&5
7707	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7708	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7709        _lt_result=$?
7710	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7711	  lt_cv_apple_cc_single_mod=yes
7712	else
7713	  cat conftest.err >&5
7714	fi
7715	rm -rf libconftest.dylib*
7716	rm -f conftest.*
7717      fi
7718fi
7719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7720$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7721    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7722$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7723if ${lt_cv_ld_exported_symbols_list+:} false; then :
7724  $as_echo_n "(cached) " >&6
7725else
7726  lt_cv_ld_exported_symbols_list=no
7727      save_LDFLAGS=$LDFLAGS
7728      echo "_main" > conftest.sym
7729      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7730      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7731/* end confdefs.h.  */
7732
7733int
7734main ()
7735{
7736
7737  ;
7738  return 0;
7739}
7740_ACEOF
7741if ac_fn_c_try_link "$LINENO"; then :
7742  lt_cv_ld_exported_symbols_list=yes
7743else
7744  lt_cv_ld_exported_symbols_list=no
7745fi
7746rm -f core conftest.err conftest.$ac_objext \
7747    conftest$ac_exeext conftest.$ac_ext
7748	LDFLAGS="$save_LDFLAGS"
7749
7750fi
7751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7752$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7753    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7754$as_echo_n "checking for -force_load linker flag... " >&6; }
7755if ${lt_cv_ld_force_load+:} false; then :
7756  $as_echo_n "(cached) " >&6
7757else
7758  lt_cv_ld_force_load=no
7759      cat > conftest.c << _LT_EOF
7760int forced_loaded() { return 2;}
7761_LT_EOF
7762      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7763      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7764      echo "$AR cru libconftest.a conftest.o" >&5
7765      $AR cru libconftest.a conftest.o 2>&5
7766      cat > conftest.c << _LT_EOF
7767int main() { return 0;}
7768_LT_EOF
7769      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7770      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7771      _lt_result=$?
7772      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7773	lt_cv_ld_force_load=yes
7774      else
7775	cat conftest.err >&5
7776      fi
7777        rm -f conftest.err libconftest.a conftest conftest.c
7778        rm -rf conftest.dSYM
7779
7780fi
7781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7782$as_echo "$lt_cv_ld_force_load" >&6; }
7783    case $host_os in
7784    rhapsody* | darwin1.[012])
7785      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7786    darwin1.*)
7787      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7788    darwin*) # darwin 5.x on
7789      # if running on 10.5 or later, the deployment target defaults
7790      # to the OS version, if on x86, and 10.4, the deployment
7791      # target defaults to 10.4. Don't you love it?
7792      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7793	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7794	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7795	10.[012][,.]*)
7796	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7797	10.*)
7798	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7799      esac
7800    ;;
7801  esac
7802    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7803      _lt_dar_single_mod='$single_module'
7804    fi
7805    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7806      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7807    else
7808      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7809    fi
7810    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7811      _lt_dsymutil='~$DSYMUTIL $lib || :'
7812    else
7813      _lt_dsymutil=
7814    fi
7815    ;;
7816  esac
7817
7818for ac_header in dlfcn.h
7819do :
7820  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7821"
7822if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7823  cat >>confdefs.h <<_ACEOF
7824#define HAVE_DLFCN_H 1
7825_ACEOF
7826
7827fi
7828
7829done
7830
7831
7832
7833
7834
7835# Set options
7836
7837
7838
7839        enable_dlopen=no
7840
7841
7842  enable_win32_dll=no
7843
7844
7845
7846  # Check whether --enable-static was given.
7847if test "${enable_static+set}" = set; then :
7848  enableval=$enable_static; p=${PACKAGE-default}
7849    case $enableval in
7850    yes) enable_static=yes ;;
7851    no) enable_static=no ;;
7852    *)
7853     enable_static=no
7854      # Look at the argument we got.  We use all the common list separators.
7855      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7856      for pkg in $enableval; do
7857	IFS="$lt_save_ifs"
7858	if test "X$pkg" = "X$p"; then
7859	  enable_static=yes
7860	fi
7861      done
7862      IFS="$lt_save_ifs"
7863      ;;
7864    esac
7865else
7866  enable_static=yes
7867fi
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878# Check whether --with-pic was given.
7879if test "${with_pic+set}" = set; then :
7880  withval=$with_pic; pic_mode="$withval"
7881else
7882  pic_mode=default
7883fi
7884
7885
7886test -z "$pic_mode" && pic_mode=default
7887
7888
7889
7890
7891
7892
7893
7894  # Check whether --enable-fast-install was given.
7895if test "${enable_fast_install+set}" = set; then :
7896  enableval=$enable_fast_install; p=${PACKAGE-default}
7897    case $enableval in
7898    yes) enable_fast_install=yes ;;
7899    no) enable_fast_install=no ;;
7900    *)
7901      enable_fast_install=no
7902      # Look at the argument we got.  We use all the common list separators.
7903      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7904      for pkg in $enableval; do
7905	IFS="$lt_save_ifs"
7906	if test "X$pkg" = "X$p"; then
7907	  enable_fast_install=yes
7908	fi
7909      done
7910      IFS="$lt_save_ifs"
7911      ;;
7912    esac
7913else
7914  enable_fast_install=yes
7915fi
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927# This can be used to rebuild libtool when needed
7928LIBTOOL_DEPS="$ltmain"
7929
7930# Always use our own libtool.
7931LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958test -z "$LN_S" && LN_S="ln -s"
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973if test -n "${ZSH_VERSION+set}" ; then
7974   setopt NO_GLOB_SUBST
7975fi
7976
7977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7978$as_echo_n "checking for objdir... " >&6; }
7979if ${lt_cv_objdir+:} false; then :
7980  $as_echo_n "(cached) " >&6
7981else
7982  rm -f .libs 2>/dev/null
7983mkdir .libs 2>/dev/null
7984if test -d .libs; then
7985  lt_cv_objdir=.libs
7986else
7987  # MS-DOS does not allow filenames that begin with a dot.
7988  lt_cv_objdir=_libs
7989fi
7990rmdir .libs 2>/dev/null
7991fi
7992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7993$as_echo "$lt_cv_objdir" >&6; }
7994objdir=$lt_cv_objdir
7995
7996
7997
7998
7999
8000cat >>confdefs.h <<_ACEOF
8001#define LT_OBJDIR "$lt_cv_objdir/"
8002_ACEOF
8003
8004
8005
8006
8007case $host_os in
8008aix3*)
8009  # AIX sometimes has problems with the GCC collect2 program.  For some
8010  # reason, if we set the COLLECT_NAMES environment variable, the problems
8011  # vanish in a puff of smoke.
8012  if test "X${COLLECT_NAMES+set}" != Xset; then
8013    COLLECT_NAMES=
8014    export COLLECT_NAMES
8015  fi
8016  ;;
8017esac
8018
8019# Global variables:
8020ofile=libtool
8021can_build_shared=yes
8022
8023# All known linkers require a `.a' archive for static linking (except MSVC,
8024# which needs '.lib').
8025libext=a
8026
8027with_gnu_ld="$lt_cv_prog_gnu_ld"
8028
8029old_CC="$CC"
8030old_CFLAGS="$CFLAGS"
8031
8032# Set sane defaults for various variables
8033test -z "$CC" && CC=cc
8034test -z "$LTCC" && LTCC=$CC
8035test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8036test -z "$LD" && LD=ld
8037test -z "$ac_objext" && ac_objext=o
8038
8039for cc_temp in $compiler""; do
8040  case $cc_temp in
8041    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8042    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8043    \-*) ;;
8044    *) break;;
8045  esac
8046done
8047cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8048
8049
8050# Only perform the check for file, if the check method requires it
8051test -z "$MAGIC_CMD" && MAGIC_CMD=file
8052case $deplibs_check_method in
8053file_magic*)
8054  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8055    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8056$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8057if ${lt_cv_path_MAGIC_CMD+:} false; then :
8058  $as_echo_n "(cached) " >&6
8059else
8060  case $MAGIC_CMD in
8061[\\/*] |  ?:[\\/]*)
8062  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8063  ;;
8064*)
8065  lt_save_MAGIC_CMD="$MAGIC_CMD"
8066  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8067  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8068  for ac_dir in $ac_dummy; do
8069    IFS="$lt_save_ifs"
8070    test -z "$ac_dir" && ac_dir=.
8071    if test -f $ac_dir/${ac_tool_prefix}file; then
8072      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8073      if test -n "$file_magic_test_file"; then
8074	case $deplibs_check_method in
8075	"file_magic "*)
8076	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8077	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8078	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8079	    $EGREP "$file_magic_regex" > /dev/null; then
8080	    :
8081	  else
8082	    cat <<_LT_EOF 1>&2
8083
8084*** Warning: the command libtool uses to detect shared libraries,
8085*** $file_magic_cmd, produces output that libtool cannot recognize.
8086*** The result is that libtool may fail to recognize shared libraries
8087*** as such.  This will affect the creation of libtool libraries that
8088*** depend on shared libraries, but programs linked with such libtool
8089*** libraries will work regardless of this problem.  Nevertheless, you
8090*** may want to report the problem to your system manager and/or to
8091*** bug-libtool@gnu.org
8092
8093_LT_EOF
8094	  fi ;;
8095	esac
8096      fi
8097      break
8098    fi
8099  done
8100  IFS="$lt_save_ifs"
8101  MAGIC_CMD="$lt_save_MAGIC_CMD"
8102  ;;
8103esac
8104fi
8105
8106MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8107if test -n "$MAGIC_CMD"; then
8108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8109$as_echo "$MAGIC_CMD" >&6; }
8110else
8111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8112$as_echo "no" >&6; }
8113fi
8114
8115
8116
8117
8118
8119if test -z "$lt_cv_path_MAGIC_CMD"; then
8120  if test -n "$ac_tool_prefix"; then
8121    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8122$as_echo_n "checking for file... " >&6; }
8123if ${lt_cv_path_MAGIC_CMD+:} false; then :
8124  $as_echo_n "(cached) " >&6
8125else
8126  case $MAGIC_CMD in
8127[\\/*] |  ?:[\\/]*)
8128  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8129  ;;
8130*)
8131  lt_save_MAGIC_CMD="$MAGIC_CMD"
8132  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8133  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8134  for ac_dir in $ac_dummy; do
8135    IFS="$lt_save_ifs"
8136    test -z "$ac_dir" && ac_dir=.
8137    if test -f $ac_dir/file; then
8138      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8139      if test -n "$file_magic_test_file"; then
8140	case $deplibs_check_method in
8141	"file_magic "*)
8142	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8143	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8144	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8145	    $EGREP "$file_magic_regex" > /dev/null; then
8146	    :
8147	  else
8148	    cat <<_LT_EOF 1>&2
8149
8150*** Warning: the command libtool uses to detect shared libraries,
8151*** $file_magic_cmd, produces output that libtool cannot recognize.
8152*** The result is that libtool may fail to recognize shared libraries
8153*** as such.  This will affect the creation of libtool libraries that
8154*** depend on shared libraries, but programs linked with such libtool
8155*** libraries will work regardless of this problem.  Nevertheless, you
8156*** may want to report the problem to your system manager and/or to
8157*** bug-libtool@gnu.org
8158
8159_LT_EOF
8160	  fi ;;
8161	esac
8162      fi
8163      break
8164    fi
8165  done
8166  IFS="$lt_save_ifs"
8167  MAGIC_CMD="$lt_save_MAGIC_CMD"
8168  ;;
8169esac
8170fi
8171
8172MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8173if test -n "$MAGIC_CMD"; then
8174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8175$as_echo "$MAGIC_CMD" >&6; }
8176else
8177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8178$as_echo "no" >&6; }
8179fi
8180
8181
8182  else
8183    MAGIC_CMD=:
8184  fi
8185fi
8186
8187  fi
8188  ;;
8189esac
8190
8191# Use C for the default configuration in the libtool script
8192
8193lt_save_CC="$CC"
8194ac_ext=c
8195ac_cpp='$CPP $CPPFLAGS'
8196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8198ac_compiler_gnu=$ac_cv_c_compiler_gnu
8199
8200
8201# Source file extension for C test sources.
8202ac_ext=c
8203
8204# Object file extension for compiled C test sources.
8205objext=o
8206objext=$objext
8207
8208# Code to be used in simple compile tests
8209lt_simple_compile_test_code="int some_variable = 0;"
8210
8211# Code to be used in simple link tests
8212lt_simple_link_test_code='int main(){return(0);}'
8213
8214
8215
8216
8217
8218
8219
8220# If no C compiler was specified, use CC.
8221LTCC=${LTCC-"$CC"}
8222
8223# If no C compiler flags were specified, use CFLAGS.
8224LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8225
8226# Allow CC to be a program name with arguments.
8227compiler=$CC
8228
8229# Save the default compiler, since it gets overwritten when the other
8230# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8231compiler_DEFAULT=$CC
8232
8233# save warnings/boilerplate of simple test code
8234ac_outfile=conftest.$ac_objext
8235echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8236eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8237_lt_compiler_boilerplate=`cat conftest.err`
8238$RM conftest*
8239
8240ac_outfile=conftest.$ac_objext
8241echo "$lt_simple_link_test_code" >conftest.$ac_ext
8242eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8243_lt_linker_boilerplate=`cat conftest.err`
8244$RM -r conftest*
8245
8246
8247## CAVEAT EMPTOR:
8248## There is no encapsulation within the following macros, do not change
8249## the running order or otherwise move them around unless you know exactly
8250## what you are doing...
8251if test -n "$compiler"; then
8252
8253lt_prog_compiler_no_builtin_flag=
8254
8255if test "$GCC" = yes; then
8256  case $cc_basename in
8257  nvcc*)
8258    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8259  *)
8260    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8261  esac
8262
8263  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8264$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8265if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8266  $as_echo_n "(cached) " >&6
8267else
8268  lt_cv_prog_compiler_rtti_exceptions=no
8269   ac_outfile=conftest.$ac_objext
8270   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8271   lt_compiler_flag="-fno-rtti -fno-exceptions"
8272   # Insert the option either (1) after the last *FLAGS variable, or
8273   # (2) before a word containing "conftest.", or (3) at the end.
8274   # Note that $ac_compile itself does not contain backslashes and begins
8275   # with a dollar sign (not a hyphen), so the echo should work correctly.
8276   # The option is referenced via a variable to avoid confusing sed.
8277   lt_compile=`echo "$ac_compile" | $SED \
8278   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8279   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8280   -e 's:$: $lt_compiler_flag:'`
8281   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8282   (eval "$lt_compile" 2>conftest.err)
8283   ac_status=$?
8284   cat conftest.err >&5
8285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286   if (exit $ac_status) && test -s "$ac_outfile"; then
8287     # The compiler can only warn and ignore the option if not recognized
8288     # So say no if there are warnings other than the usual output.
8289     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8290     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8291     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8292       lt_cv_prog_compiler_rtti_exceptions=yes
8293     fi
8294   fi
8295   $RM conftest*
8296
8297fi
8298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8299$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8300
8301if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8302    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8303else
8304    :
8305fi
8306
8307fi
8308
8309
8310
8311
8312
8313
8314  lt_prog_compiler_wl=
8315lt_prog_compiler_pic=
8316lt_prog_compiler_static=
8317
8318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8319$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8320
8321  if test "$GCC" = yes; then
8322    lt_prog_compiler_wl='-Wl,'
8323    lt_prog_compiler_static='-static'
8324
8325    case $host_os in
8326      aix*)
8327      # All AIX code is PIC.
8328      if test "$host_cpu" = ia64; then
8329	# AIX 5 now supports IA64 processor
8330	lt_prog_compiler_static='-Bstatic'
8331      fi
8332      lt_prog_compiler_pic='-fPIC'
8333      ;;
8334
8335    amigaos*)
8336      case $host_cpu in
8337      powerpc)
8338            # see comment about AmigaOS4 .so support
8339            lt_prog_compiler_pic='-fPIC'
8340        ;;
8341      m68k)
8342            # FIXME: we need at least 68020 code to build shared libraries, but
8343            # adding the `-m68020' flag to GCC prevents building anything better,
8344            # like `-m68040'.
8345            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8346        ;;
8347      esac
8348      ;;
8349
8350    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8351      # PIC is the default for these OSes.
8352      ;;
8353
8354    mingw* | cygwin* | pw32* | os2* | cegcc*)
8355      # This hack is so that the source file can tell whether it is being
8356      # built for inclusion in a dll (and should export symbols for example).
8357      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8358      # (--disable-auto-import) libraries
8359      lt_prog_compiler_pic='-DDLL_EXPORT'
8360      ;;
8361
8362    darwin* | rhapsody*)
8363      # PIC is the default on this platform
8364      # Common symbols not allowed in MH_DYLIB files
8365      lt_prog_compiler_pic='-fno-common'
8366      ;;
8367
8368    haiku*)
8369      # PIC is the default for Haiku.
8370      # The "-static" flag exists, but is broken.
8371      lt_prog_compiler_static=
8372      ;;
8373
8374    hpux*)
8375      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8376      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8377      # sets the default TLS model and affects inlining.
8378      case $host_cpu in
8379      hppa*64*)
8380	# +Z the default
8381	;;
8382      *)
8383	lt_prog_compiler_pic='-fPIC'
8384	;;
8385      esac
8386      ;;
8387
8388    interix[3-9]*)
8389      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8390      # Instead, we relocate shared libraries at runtime.
8391      ;;
8392
8393    msdosdjgpp*)
8394      # Just because we use GCC doesn't mean we suddenly get shared libraries
8395      # on systems that don't support them.
8396      lt_prog_compiler_can_build_shared=no
8397      enable_shared=no
8398      ;;
8399
8400    *nto* | *qnx*)
8401      # QNX uses GNU C++, but need to define -shared option too, otherwise
8402      # it will coredump.
8403      lt_prog_compiler_pic='-fPIC -shared'
8404      ;;
8405
8406    sysv4*MP*)
8407      if test -d /usr/nec; then
8408	lt_prog_compiler_pic=-Kconform_pic
8409      fi
8410      ;;
8411
8412    *)
8413      lt_prog_compiler_pic='-fPIC'
8414      ;;
8415    esac
8416
8417    case $cc_basename in
8418    nvcc*) # Cuda Compiler Driver 2.2
8419      lt_prog_compiler_wl='-Xlinker '
8420      lt_prog_compiler_pic='-Xcompiler -fPIC'
8421      ;;
8422    esac
8423  else
8424    # PORTME Check for flag to pass linker flags through the system compiler.
8425    case $host_os in
8426    aix*)
8427      lt_prog_compiler_wl='-Wl,'
8428      if test "$host_cpu" = ia64; then
8429	# AIX 5 now supports IA64 processor
8430	lt_prog_compiler_static='-Bstatic'
8431      else
8432	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8433      fi
8434      ;;
8435
8436    mingw* | cygwin* | pw32* | os2* | cegcc*)
8437      # This hack is so that the source file can tell whether it is being
8438      # built for inclusion in a dll (and should export symbols for example).
8439      lt_prog_compiler_pic='-DDLL_EXPORT'
8440      ;;
8441
8442    hpux9* | hpux10* | hpux11*)
8443      lt_prog_compiler_wl='-Wl,'
8444      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8445      # not for PA HP-UX.
8446      case $host_cpu in
8447      hppa*64*|ia64*)
8448	# +Z the default
8449	;;
8450      *)
8451	lt_prog_compiler_pic='+Z'
8452	;;
8453      esac
8454      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8455      lt_prog_compiler_static='${wl}-a ${wl}archive'
8456      ;;
8457
8458    irix5* | irix6* | nonstopux*)
8459      lt_prog_compiler_wl='-Wl,'
8460      # PIC (with -KPIC) is the default.
8461      lt_prog_compiler_static='-non_shared'
8462      ;;
8463
8464    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8465      case $cc_basename in
8466      # old Intel for x86_64 which still supported -KPIC.
8467      ecc*)
8468	lt_prog_compiler_wl='-Wl,'
8469	lt_prog_compiler_pic='-KPIC'
8470	lt_prog_compiler_static='-static'
8471        ;;
8472      # icc used to be incompatible with GCC.
8473      # ICC 10 doesn't accept -KPIC any more.
8474      icc* | ifort*)
8475	lt_prog_compiler_wl='-Wl,'
8476	lt_prog_compiler_pic='-fPIC'
8477	lt_prog_compiler_static='-static'
8478        ;;
8479      # Lahey Fortran 8.1.
8480      lf95*)
8481	lt_prog_compiler_wl='-Wl,'
8482	lt_prog_compiler_pic='--shared'
8483	lt_prog_compiler_static='--static'
8484	;;
8485      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8486        # Portland Group compilers (*not* the Pentium gcc compiler,
8487	# which looks to be a dead project)
8488	lt_prog_compiler_wl='-Wl,'
8489	lt_prog_compiler_pic='-fpic'
8490	lt_prog_compiler_static='-Bstatic'
8491        ;;
8492      ccc*)
8493        lt_prog_compiler_wl='-Wl,'
8494        # All Alpha code is PIC.
8495        lt_prog_compiler_static='-non_shared'
8496        ;;
8497      xl* | bgxl* | bgf* | mpixl*)
8498	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8499	lt_prog_compiler_wl='-Wl,'
8500	lt_prog_compiler_pic='-qpic'
8501	lt_prog_compiler_static='-qstaticlink'
8502	;;
8503      *)
8504	case `$CC -V 2>&1 | sed 5q` in
8505	*Sun\ F* | *Sun*Fortran*)
8506	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8507	  lt_prog_compiler_pic='-KPIC'
8508	  lt_prog_compiler_static='-Bstatic'
8509	  lt_prog_compiler_wl=''
8510	  ;;
8511	*Sun\ C*)
8512	  # Sun C 5.9
8513	  lt_prog_compiler_pic='-KPIC'
8514	  lt_prog_compiler_static='-Bstatic'
8515	  lt_prog_compiler_wl='-Wl,'
8516	  ;;
8517	esac
8518	;;
8519      esac
8520      ;;
8521
8522    newsos6)
8523      lt_prog_compiler_pic='-KPIC'
8524      lt_prog_compiler_static='-Bstatic'
8525      ;;
8526
8527    *nto* | *qnx*)
8528      # QNX uses GNU C++, but need to define -shared option too, otherwise
8529      # it will coredump.
8530      lt_prog_compiler_pic='-fPIC -shared'
8531      ;;
8532
8533    osf3* | osf4* | osf5*)
8534      lt_prog_compiler_wl='-Wl,'
8535      # All OSF/1 code is PIC.
8536      lt_prog_compiler_static='-non_shared'
8537      ;;
8538
8539    rdos*)
8540      lt_prog_compiler_static='-non_shared'
8541      ;;
8542
8543    solaris*)
8544      lt_prog_compiler_pic='-KPIC'
8545      lt_prog_compiler_static='-Bstatic'
8546      case $cc_basename in
8547      f77* | f90* | f95*)
8548	lt_prog_compiler_wl='-Qoption ld ';;
8549      *)
8550	lt_prog_compiler_wl='-Wl,';;
8551      esac
8552      ;;
8553
8554    sunos4*)
8555      lt_prog_compiler_wl='-Qoption ld '
8556      lt_prog_compiler_pic='-PIC'
8557      lt_prog_compiler_static='-Bstatic'
8558      ;;
8559
8560    sysv4 | sysv4.2uw2* | sysv4.3*)
8561      lt_prog_compiler_wl='-Wl,'
8562      lt_prog_compiler_pic='-KPIC'
8563      lt_prog_compiler_static='-Bstatic'
8564      ;;
8565
8566    sysv4*MP*)
8567      if test -d /usr/nec ;then
8568	lt_prog_compiler_pic='-Kconform_pic'
8569	lt_prog_compiler_static='-Bstatic'
8570      fi
8571      ;;
8572
8573    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8574      lt_prog_compiler_wl='-Wl,'
8575      lt_prog_compiler_pic='-KPIC'
8576      lt_prog_compiler_static='-Bstatic'
8577      ;;
8578
8579    unicos*)
8580      lt_prog_compiler_wl='-Wl,'
8581      lt_prog_compiler_can_build_shared=no
8582      ;;
8583
8584    uts4*)
8585      lt_prog_compiler_pic='-pic'
8586      lt_prog_compiler_static='-Bstatic'
8587      ;;
8588
8589    *)
8590      lt_prog_compiler_can_build_shared=no
8591      ;;
8592    esac
8593  fi
8594
8595case $host_os in
8596  # For platforms which do not support PIC, -DPIC is meaningless:
8597  *djgpp*)
8598    lt_prog_compiler_pic=
8599    ;;
8600  *)
8601    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8602    ;;
8603esac
8604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8605$as_echo "$lt_prog_compiler_pic" >&6; }
8606
8607
8608
8609
8610
8611
8612#
8613# Check to make sure the PIC flag actually works.
8614#
8615if test -n "$lt_prog_compiler_pic"; then
8616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8617$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8618if ${lt_cv_prog_compiler_pic_works+:} false; then :
8619  $as_echo_n "(cached) " >&6
8620else
8621  lt_cv_prog_compiler_pic_works=no
8622   ac_outfile=conftest.$ac_objext
8623   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8624   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8625   # Insert the option either (1) after the last *FLAGS variable, or
8626   # (2) before a word containing "conftest.", or (3) at the end.
8627   # Note that $ac_compile itself does not contain backslashes and begins
8628   # with a dollar sign (not a hyphen), so the echo should work correctly.
8629   # The option is referenced via a variable to avoid confusing sed.
8630   lt_compile=`echo "$ac_compile" | $SED \
8631   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8632   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8633   -e 's:$: $lt_compiler_flag:'`
8634   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8635   (eval "$lt_compile" 2>conftest.err)
8636   ac_status=$?
8637   cat conftest.err >&5
8638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639   if (exit $ac_status) && test -s "$ac_outfile"; then
8640     # The compiler can only warn and ignore the option if not recognized
8641     # So say no if there are warnings other than the usual output.
8642     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8643     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8644     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8645       lt_cv_prog_compiler_pic_works=yes
8646     fi
8647   fi
8648   $RM conftest*
8649
8650fi
8651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8652$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8653
8654if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8655    case $lt_prog_compiler_pic in
8656     "" | " "*) ;;
8657     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8658     esac
8659else
8660    lt_prog_compiler_pic=
8661     lt_prog_compiler_can_build_shared=no
8662fi
8663
8664fi
8665
8666
8667
8668
8669
8670
8671#
8672# Check to make sure the static flag actually works.
8673#
8674wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8676$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8677if ${lt_cv_prog_compiler_static_works+:} false; then :
8678  $as_echo_n "(cached) " >&6
8679else
8680  lt_cv_prog_compiler_static_works=no
8681   save_LDFLAGS="$LDFLAGS"
8682   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8683   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8684   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8685     # The linker can only warn and ignore the option if not recognized
8686     # So say no if there are warnings
8687     if test -s conftest.err; then
8688       # Append any errors to the config.log.
8689       cat conftest.err 1>&5
8690       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8691       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8692       if diff conftest.exp conftest.er2 >/dev/null; then
8693         lt_cv_prog_compiler_static_works=yes
8694       fi
8695     else
8696       lt_cv_prog_compiler_static_works=yes
8697     fi
8698   fi
8699   $RM -r conftest*
8700   LDFLAGS="$save_LDFLAGS"
8701
8702fi
8703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8704$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8705
8706if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8707    :
8708else
8709    lt_prog_compiler_static=
8710fi
8711
8712
8713
8714
8715
8716
8717
8718  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8719$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8720if ${lt_cv_prog_compiler_c_o+:} false; then :
8721  $as_echo_n "(cached) " >&6
8722else
8723  lt_cv_prog_compiler_c_o=no
8724   $RM -r conftest 2>/dev/null
8725   mkdir conftest
8726   cd conftest
8727   mkdir out
8728   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8729
8730   lt_compiler_flag="-o out/conftest2.$ac_objext"
8731   # Insert the option either (1) after the last *FLAGS variable, or
8732   # (2) before a word containing "conftest.", or (3) at the end.
8733   # Note that $ac_compile itself does not contain backslashes and begins
8734   # with a dollar sign (not a hyphen), so the echo should work correctly.
8735   lt_compile=`echo "$ac_compile" | $SED \
8736   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8737   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8738   -e 's:$: $lt_compiler_flag:'`
8739   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8740   (eval "$lt_compile" 2>out/conftest.err)
8741   ac_status=$?
8742   cat out/conftest.err >&5
8743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8745   then
8746     # The compiler can only warn and ignore the option if not recognized
8747     # So say no if there are warnings
8748     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8749     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8750     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8751       lt_cv_prog_compiler_c_o=yes
8752     fi
8753   fi
8754   chmod u+w . 2>&5
8755   $RM conftest*
8756   # SGI C++ compiler will create directory out/ii_files/ for
8757   # template instantiation
8758   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8759   $RM out/* && rmdir out
8760   cd ..
8761   $RM -r conftest
8762   $RM conftest*
8763
8764fi
8765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8766$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8767
8768
8769
8770
8771
8772
8773  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8774$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8775if ${lt_cv_prog_compiler_c_o+:} false; then :
8776  $as_echo_n "(cached) " >&6
8777else
8778  lt_cv_prog_compiler_c_o=no
8779   $RM -r conftest 2>/dev/null
8780   mkdir conftest
8781   cd conftest
8782   mkdir out
8783   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8784
8785   lt_compiler_flag="-o out/conftest2.$ac_objext"
8786   # Insert the option either (1) after the last *FLAGS variable, or
8787   # (2) before a word containing "conftest.", or (3) at the end.
8788   # Note that $ac_compile itself does not contain backslashes and begins
8789   # with a dollar sign (not a hyphen), so the echo should work correctly.
8790   lt_compile=`echo "$ac_compile" | $SED \
8791   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8792   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8793   -e 's:$: $lt_compiler_flag:'`
8794   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8795   (eval "$lt_compile" 2>out/conftest.err)
8796   ac_status=$?
8797   cat out/conftest.err >&5
8798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8800   then
8801     # The compiler can only warn and ignore the option if not recognized
8802     # So say no if there are warnings
8803     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8804     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8805     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8806       lt_cv_prog_compiler_c_o=yes
8807     fi
8808   fi
8809   chmod u+w . 2>&5
8810   $RM conftest*
8811   # SGI C++ compiler will create directory out/ii_files/ for
8812   # template instantiation
8813   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8814   $RM out/* && rmdir out
8815   cd ..
8816   $RM -r conftest
8817   $RM conftest*
8818
8819fi
8820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8821$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8822
8823
8824
8825
8826hard_links="nottested"
8827if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8828  # do not overwrite the value of need_locks provided by the user
8829  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8830$as_echo_n "checking if we can lock with hard links... " >&6; }
8831  hard_links=yes
8832  $RM conftest*
8833  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8834  touch conftest.a
8835  ln conftest.a conftest.b 2>&5 || hard_links=no
8836  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8838$as_echo "$hard_links" >&6; }
8839  if test "$hard_links" = no; then
8840    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8841$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8842    need_locks=warn
8843  fi
8844else
8845  need_locks=no
8846fi
8847
8848
8849
8850
8851
8852
8853  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8854$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8855
8856  runpath_var=
8857  allow_undefined_flag=
8858  always_export_symbols=no
8859  archive_cmds=
8860  archive_expsym_cmds=
8861  compiler_needs_object=no
8862  enable_shared_with_static_runtimes=no
8863  export_dynamic_flag_spec=
8864  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8865  hardcode_automatic=no
8866  hardcode_direct=no
8867  hardcode_direct_absolute=no
8868  hardcode_libdir_flag_spec=
8869  hardcode_libdir_flag_spec_ld=
8870  hardcode_libdir_separator=
8871  hardcode_minus_L=no
8872  hardcode_shlibpath_var=unsupported
8873  inherit_rpath=no
8874  link_all_deplibs=unknown
8875  module_cmds=
8876  module_expsym_cmds=
8877  old_archive_from_new_cmds=
8878  old_archive_from_expsyms_cmds=
8879  thread_safe_flag_spec=
8880  whole_archive_flag_spec=
8881  # include_expsyms should be a list of space-separated symbols to be *always*
8882  # included in the symbol list
8883  include_expsyms=
8884  # exclude_expsyms can be an extended regexp of symbols to exclude
8885  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8886  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8887  # as well as any symbol that contains `d'.
8888  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8889  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8890  # platforms (ab)use it in PIC code, but their linkers get confused if
8891  # the symbol is explicitly referenced.  Since portable code cannot
8892  # rely on this symbol name, it's probably fine to never include it in
8893  # preloaded symbol tables.
8894  # Exclude shared library initialization/finalization symbols.
8895  extract_expsyms_cmds=
8896
8897  case $host_os in
8898  cygwin* | mingw* | pw32* | cegcc*)
8899    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8900    # When not using gcc, we currently assume that we are using
8901    # Microsoft Visual C++.
8902    if test "$GCC" != yes; then
8903      with_gnu_ld=no
8904    fi
8905    ;;
8906  interix*)
8907    # we just hope/assume this is gcc and not c89 (= MSVC++)
8908    with_gnu_ld=yes
8909    ;;
8910  openbsd*)
8911    with_gnu_ld=no
8912    ;;
8913  esac
8914
8915  ld_shlibs=yes
8916
8917  # On some targets, GNU ld is compatible enough with the native linker
8918  # that we're better off using the native interface for both.
8919  lt_use_gnu_ld_interface=no
8920  if test "$with_gnu_ld" = yes; then
8921    case $host_os in
8922      aix*)
8923	# The AIX port of GNU ld has always aspired to compatibility
8924	# with the native linker.  However, as the warning in the GNU ld
8925	# block says, versions before 2.19.5* couldn't really create working
8926	# shared libraries, regardless of the interface used.
8927	case `$LD -v 2>&1` in
8928	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8929	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8930	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8931	  *)
8932	    lt_use_gnu_ld_interface=yes
8933	    ;;
8934	esac
8935	;;
8936      *)
8937	lt_use_gnu_ld_interface=yes
8938	;;
8939    esac
8940  fi
8941
8942  if test "$lt_use_gnu_ld_interface" = yes; then
8943    # If archive_cmds runs LD, not CC, wlarc should be empty
8944    wlarc='${wl}'
8945
8946    # Set some defaults for GNU ld with shared library support. These
8947    # are reset later if shared libraries are not supported. Putting them
8948    # here allows them to be overridden if necessary.
8949    runpath_var=LD_RUN_PATH
8950    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8951    export_dynamic_flag_spec='${wl}--export-dynamic'
8952    # ancient GNU ld didn't support --whole-archive et. al.
8953    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8954      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8955    else
8956      whole_archive_flag_spec=
8957    fi
8958    supports_anon_versioning=no
8959    case `$LD -v 2>&1` in
8960      *GNU\ gold*) supports_anon_versioning=yes ;;
8961      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8962      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8963      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8964      *\ 2.11.*) ;; # other 2.11 versions
8965      *) supports_anon_versioning=yes ;;
8966    esac
8967
8968    # See if GNU ld supports shared libraries.
8969    case $host_os in
8970    aix[3-9]*)
8971      # On AIX/PPC, the GNU linker is very broken
8972      if test "$host_cpu" != ia64; then
8973	ld_shlibs=no
8974	cat <<_LT_EOF 1>&2
8975
8976*** Warning: the GNU linker, at least up to release 2.19, is reported
8977*** to be unable to reliably create shared libraries on AIX.
8978*** Therefore, libtool is disabling shared libraries support.  If you
8979*** really care for shared libraries, you may want to install binutils
8980*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8981*** You will then need to restart the configuration process.
8982
8983_LT_EOF
8984      fi
8985      ;;
8986
8987    amigaos*)
8988      case $host_cpu in
8989      powerpc)
8990            # see comment about AmigaOS4 .so support
8991            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8992            archive_expsym_cmds=''
8993        ;;
8994      m68k)
8995            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)'
8996            hardcode_libdir_flag_spec='-L$libdir'
8997            hardcode_minus_L=yes
8998        ;;
8999      esac
9000      ;;
9001
9002    beos*)
9003      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9004	allow_undefined_flag=unsupported
9005	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9006	# support --undefined.  This deserves some investigation.  FIXME
9007	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9008      else
9009	ld_shlibs=no
9010      fi
9011      ;;
9012
9013    cygwin* | mingw* | pw32* | cegcc*)
9014      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9015      # as there is no search path for DLLs.
9016      hardcode_libdir_flag_spec='-L$libdir'
9017      export_dynamic_flag_spec='${wl}--export-all-symbols'
9018      allow_undefined_flag=unsupported
9019      always_export_symbols=no
9020      enable_shared_with_static_runtimes=yes
9021      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9022
9023      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9024        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9025	# If the export-symbols file already is a .def file (1st line
9026	# is EXPORTS), use it as is; otherwise, prepend...
9027	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9028	  cp $export_symbols $output_objdir/$soname.def;
9029	else
9030	  echo EXPORTS > $output_objdir/$soname.def;
9031	  cat $export_symbols >> $output_objdir/$soname.def;
9032	fi~
9033	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9034      else
9035	ld_shlibs=no
9036      fi
9037      ;;
9038
9039    haiku*)
9040      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9041      link_all_deplibs=yes
9042      ;;
9043
9044    interix[3-9]*)
9045      hardcode_direct=no
9046      hardcode_shlibpath_var=no
9047      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9048      export_dynamic_flag_spec='${wl}-E'
9049      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9050      # Instead, shared libraries are loaded at an image base (0x10000000 by
9051      # default) and relocated if they conflict, which is a slow very memory
9052      # consuming and fragmenting process.  To avoid this, we pick a random,
9053      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9054      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9055      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9056      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'
9057      ;;
9058
9059    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9060      tmp_diet=no
9061      if test "$host_os" = linux-dietlibc; then
9062	case $cc_basename in
9063	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9064	esac
9065      fi
9066      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9067	 && test "$tmp_diet" = no
9068      then
9069	tmp_addflag=' $pic_flag'
9070	tmp_sharedflag='-shared'
9071	case $cc_basename,$host_cpu in
9072        pgcc*)				# Portland Group C compiler
9073	  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'
9074	  tmp_addflag=' $pic_flag'
9075	  ;;
9076	pgf77* | pgf90* | pgf95* | pgfortran*)
9077					# Portland Group f77 and f90 compilers
9078	  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'
9079	  tmp_addflag=' $pic_flag -Mnomain' ;;
9080	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9081	  tmp_addflag=' -i_dynamic' ;;
9082	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9083	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9084	ifc* | ifort*)			# Intel Fortran compiler
9085	  tmp_addflag=' -nofor_main' ;;
9086	lf95*)				# Lahey Fortran 8.1
9087	  whole_archive_flag_spec=
9088	  tmp_sharedflag='--shared' ;;
9089	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9090	  tmp_sharedflag='-qmkshrobj'
9091	  tmp_addflag= ;;
9092	nvcc*)	# Cuda Compiler Driver 2.2
9093	  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'
9094	  compiler_needs_object=yes
9095	  ;;
9096	esac
9097	case `$CC -V 2>&1 | sed 5q` in
9098	*Sun\ C*)			# Sun C 5.9
9099	  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'
9100	  compiler_needs_object=yes
9101	  tmp_sharedflag='-G' ;;
9102	*Sun\ F*)			# Sun Fortran 8.3
9103	  tmp_sharedflag='-G' ;;
9104	esac
9105	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9106
9107        if test "x$supports_anon_versioning" = xyes; then
9108          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9109	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9110	    echo "local: *; };" >> $output_objdir/$libname.ver~
9111	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9112        fi
9113
9114	case $cc_basename in
9115	xlf* | bgf* | bgxlf* | mpixlf*)
9116	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9117	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9118	  hardcode_libdir_flag_spec=
9119	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9120	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9121	  if test "x$supports_anon_versioning" = xyes; then
9122	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9123	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9124	      echo "local: *; };" >> $output_objdir/$libname.ver~
9125	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9126	  fi
9127	  ;;
9128	esac
9129      else
9130        ld_shlibs=no
9131      fi
9132      ;;
9133
9134    netbsd*)
9135      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9136	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9137	wlarc=
9138      else
9139	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9140	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9141      fi
9142      ;;
9143
9144    solaris*)
9145      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9146	ld_shlibs=no
9147	cat <<_LT_EOF 1>&2
9148
9149*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9150*** create shared libraries on Solaris systems.  Therefore, libtool
9151*** is disabling shared libraries support.  We urge you to upgrade GNU
9152*** binutils to release 2.9.1 or newer.  Another option is to modify
9153*** your PATH or compiler configuration so that the native linker is
9154*** used, and then restart.
9155
9156_LT_EOF
9157      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9158	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9159	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9160      else
9161	ld_shlibs=no
9162      fi
9163      ;;
9164
9165    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9166      case `$LD -v 2>&1` in
9167        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9168	ld_shlibs=no
9169	cat <<_LT_EOF 1>&2
9170
9171*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9172*** reliably create shared libraries on SCO systems.  Therefore, libtool
9173*** is disabling shared libraries support.  We urge you to upgrade GNU
9174*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9175*** your PATH or compiler configuration so that the native linker is
9176*** used, and then restart.
9177
9178_LT_EOF
9179	;;
9180	*)
9181	  # For security reasons, it is highly recommended that you always
9182	  # use absolute paths for naming shared libraries, and exclude the
9183	  # DT_RUNPATH tag from executables and libraries.  But doing so
9184	  # requires that you compile everything twice, which is a pain.
9185	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9186	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9187	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9188	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9189	  else
9190	    ld_shlibs=no
9191	  fi
9192	;;
9193      esac
9194      ;;
9195
9196    sunos4*)
9197      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9198      wlarc=
9199      hardcode_direct=yes
9200      hardcode_shlibpath_var=no
9201      ;;
9202
9203    *)
9204      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9205	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9206	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9207      else
9208	ld_shlibs=no
9209      fi
9210      ;;
9211    esac
9212
9213    if test "$ld_shlibs" = no; then
9214      runpath_var=
9215      hardcode_libdir_flag_spec=
9216      export_dynamic_flag_spec=
9217      whole_archive_flag_spec=
9218    fi
9219  else
9220    # PORTME fill in a description of your system's linker (not GNU ld)
9221    case $host_os in
9222    aix3*)
9223      allow_undefined_flag=unsupported
9224      always_export_symbols=yes
9225      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'
9226      # Note: this linker hardcodes the directories in LIBPATH if there
9227      # are no directories specified by -L.
9228      hardcode_minus_L=yes
9229      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9230	# Neither direct hardcoding nor static linking is supported with a
9231	# broken collect2.
9232	hardcode_direct=unsupported
9233      fi
9234      ;;
9235
9236    aix[4-9]*)
9237      if test "$host_cpu" = ia64; then
9238	# On IA64, the linker does run time linking by default, so we don't
9239	# have to do anything special.
9240	aix_use_runtimelinking=no
9241	exp_sym_flag='-Bexport'
9242	no_entry_flag=""
9243      else
9244	# If we're using GNU nm, then we don't want the "-C" option.
9245	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9246	# Also, AIX nm treats weak defined symbols like other global
9247	# defined symbols, whereas GNU nm marks them as "W".
9248	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9249	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9250	else
9251	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9252	fi
9253	aix_use_runtimelinking=no
9254
9255	# Test if we are trying to use run time linking or normal
9256	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9257	# need to do runtime linking.
9258	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9259	  for ld_flag in $LDFLAGS; do
9260	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9261	    aix_use_runtimelinking=yes
9262	    break
9263	  fi
9264	  done
9265	  ;;
9266	esac
9267
9268	exp_sym_flag='-bexport'
9269	no_entry_flag='-bnoentry'
9270      fi
9271
9272      # When large executables or shared objects are built, AIX ld can
9273      # have problems creating the table of contents.  If linking a library
9274      # or program results in "error TOC overflow" add -mminimal-toc to
9275      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9276      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9277
9278      archive_cmds=''
9279      hardcode_direct=yes
9280      hardcode_direct_absolute=yes
9281      hardcode_libdir_separator=':'
9282      link_all_deplibs=yes
9283      file_list_spec='${wl}-f,'
9284
9285      if test "$GCC" = yes; then
9286	case $host_os in aix4.[012]|aix4.[012].*)
9287	# We only want to do this on AIX 4.2 and lower, the check
9288	# below for broken collect2 doesn't work under 4.3+
9289	  collect2name=`${CC} -print-prog-name=collect2`
9290	  if test -f "$collect2name" &&
9291	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9292	  then
9293	  # We have reworked collect2
9294	  :
9295	  else
9296	  # We have old collect2
9297	  hardcode_direct=unsupported
9298	  # It fails to find uninstalled libraries when the uninstalled
9299	  # path is not listed in the libpath.  Setting hardcode_minus_L
9300	  # to unsupported forces relinking
9301	  hardcode_minus_L=yes
9302	  hardcode_libdir_flag_spec='-L$libdir'
9303	  hardcode_libdir_separator=
9304	  fi
9305	  ;;
9306	esac
9307	shared_flag='-shared'
9308	if test "$aix_use_runtimelinking" = yes; then
9309	  shared_flag="$shared_flag "'${wl}-G'
9310	fi
9311      else
9312	# not using gcc
9313	if test "$host_cpu" = ia64; then
9314	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9315	# chokes on -Wl,-G. The following line is correct:
9316	  shared_flag='-G'
9317	else
9318	  if test "$aix_use_runtimelinking" = yes; then
9319	    shared_flag='${wl}-G'
9320	  else
9321	    shared_flag='${wl}-bM:SRE'
9322	  fi
9323	fi
9324      fi
9325
9326      export_dynamic_flag_spec='${wl}-bexpall'
9327      # It seems that -bexpall does not export symbols beginning with
9328      # underscore (_), so it is better to generate a list of symbols to export.
9329      always_export_symbols=yes
9330      if test "$aix_use_runtimelinking" = yes; then
9331	# Warning - without using the other runtime loading flags (-brtl),
9332	# -berok will link without error, but may produce a broken library.
9333	allow_undefined_flag='-berok'
9334        # Determine the default libpath from the value encoded in an
9335        # empty executable.
9336        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9337/* end confdefs.h.  */
9338
9339int
9340main ()
9341{
9342
9343  ;
9344  return 0;
9345}
9346_ACEOF
9347if ac_fn_c_try_link "$LINENO"; then :
9348
9349lt_aix_libpath_sed='
9350    /Import File Strings/,/^$/ {
9351	/^0/ {
9352	    s/^0  *\(.*\)$/\1/
9353	    p
9354	}
9355    }'
9356aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9357# Check for a 64-bit object if we didn't find anything.
9358if test -z "$aix_libpath"; then
9359  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9360fi
9361fi
9362rm -f core conftest.err conftest.$ac_objext \
9363    conftest$ac_exeext conftest.$ac_ext
9364if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9365
9366        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9367        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9368      else
9369	if test "$host_cpu" = ia64; then
9370	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9371	  allow_undefined_flag="-z nodefs"
9372	  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"
9373	else
9374	 # Determine the default libpath from the value encoded in an
9375	 # empty executable.
9376	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9377/* end confdefs.h.  */
9378
9379int
9380main ()
9381{
9382
9383  ;
9384  return 0;
9385}
9386_ACEOF
9387if ac_fn_c_try_link "$LINENO"; then :
9388
9389lt_aix_libpath_sed='
9390    /Import File Strings/,/^$/ {
9391	/^0/ {
9392	    s/^0  *\(.*\)$/\1/
9393	    p
9394	}
9395    }'
9396aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9397# Check for a 64-bit object if we didn't find anything.
9398if test -z "$aix_libpath"; then
9399  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9400fi
9401fi
9402rm -f core conftest.err conftest.$ac_objext \
9403    conftest$ac_exeext conftest.$ac_ext
9404if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9405
9406	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9407	  # Warning - without using the other run time loading flags,
9408	  # -berok will link without error, but may produce a broken library.
9409	  no_undefined_flag=' ${wl}-bernotok'
9410	  allow_undefined_flag=' ${wl}-berok'
9411	  if test "$with_gnu_ld" = yes; then
9412	    # We only use this code for GNU lds that support --whole-archive.
9413	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9414	  else
9415	    # Exported symbols can be pulled into shared objects from archives
9416	    whole_archive_flag_spec='$convenience'
9417	  fi
9418	  archive_cmds_need_lc=yes
9419	  # This is similar to how AIX traditionally builds its shared libraries.
9420	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9421	fi
9422      fi
9423      ;;
9424
9425    amigaos*)
9426      case $host_cpu in
9427      powerpc)
9428            # see comment about AmigaOS4 .so support
9429            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9430            archive_expsym_cmds=''
9431        ;;
9432      m68k)
9433            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)'
9434            hardcode_libdir_flag_spec='-L$libdir'
9435            hardcode_minus_L=yes
9436        ;;
9437      esac
9438      ;;
9439
9440    bsdi[45]*)
9441      export_dynamic_flag_spec=-rdynamic
9442      ;;
9443
9444    cygwin* | mingw* | pw32* | cegcc*)
9445      # When not using gcc, we currently assume that we are using
9446      # Microsoft Visual C++.
9447      # hardcode_libdir_flag_spec is actually meaningless, as there is
9448      # no search path for DLLs.
9449      hardcode_libdir_flag_spec=' '
9450      allow_undefined_flag=unsupported
9451      # Tell ltmain to make .lib files, not .a files.
9452      libext=lib
9453      # Tell ltmain to make .dll files, not .so files.
9454      shrext_cmds=".dll"
9455      # FIXME: Setting linknames here is a bad hack.
9456      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9457      # The linker will automatically build a .lib file if we build a DLL.
9458      old_archive_from_new_cmds='true'
9459      # FIXME: Should let the user specify the lib program.
9460      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9461      fix_srcfile_path='`cygpath -w "$srcfile"`'
9462      enable_shared_with_static_runtimes=yes
9463      ;;
9464
9465    darwin* | rhapsody*)
9466
9467
9468  archive_cmds_need_lc=no
9469  hardcode_direct=no
9470  hardcode_automatic=yes
9471  hardcode_shlibpath_var=unsupported
9472  if test "$lt_cv_ld_force_load" = "yes"; then
9473    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\"`'
9474  else
9475    whole_archive_flag_spec=''
9476  fi
9477  link_all_deplibs=yes
9478  allow_undefined_flag="$_lt_dar_allow_undefined"
9479  case $cc_basename in
9480     ifort*) _lt_dar_can_shared=yes ;;
9481     *) _lt_dar_can_shared=$GCC ;;
9482  esac
9483  if test "$_lt_dar_can_shared" = "yes"; then
9484    output_verbose_link_cmd=func_echo_all
9485    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9486    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9487    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}"
9488    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}"
9489
9490  else
9491  ld_shlibs=no
9492  fi
9493
9494      ;;
9495
9496    dgux*)
9497      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9498      hardcode_libdir_flag_spec='-L$libdir'
9499      hardcode_shlibpath_var=no
9500      ;;
9501
9502    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9503    # support.  Future versions do this automatically, but an explicit c++rt0.o
9504    # does not break anything, and helps significantly (at the cost of a little
9505    # extra space).
9506    freebsd2.2*)
9507      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9508      hardcode_libdir_flag_spec='-R$libdir'
9509      hardcode_direct=yes
9510      hardcode_shlibpath_var=no
9511      ;;
9512
9513    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9514    freebsd2.*)
9515      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9516      hardcode_direct=yes
9517      hardcode_minus_L=yes
9518      hardcode_shlibpath_var=no
9519      ;;
9520
9521    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9522    freebsd* | dragonfly*)
9523      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9524      hardcode_libdir_flag_spec='-R$libdir'
9525      hardcode_direct=yes
9526      hardcode_shlibpath_var=no
9527      ;;
9528
9529    hpux9*)
9530      if test "$GCC" = yes; then
9531	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9532      else
9533	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9534      fi
9535      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9536      hardcode_libdir_separator=:
9537      hardcode_direct=yes
9538
9539      # hardcode_minus_L: Not really in the search PATH,
9540      # but as the default location of the library.
9541      hardcode_minus_L=yes
9542      export_dynamic_flag_spec='${wl}-E'
9543      ;;
9544
9545    hpux10*)
9546      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9547	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9548      else
9549	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9550      fi
9551      if test "$with_gnu_ld" = no; then
9552	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9553	hardcode_libdir_flag_spec_ld='+b $libdir'
9554	hardcode_libdir_separator=:
9555	hardcode_direct=yes
9556	hardcode_direct_absolute=yes
9557	export_dynamic_flag_spec='${wl}-E'
9558	# hardcode_minus_L: Not really in the search PATH,
9559	# but as the default location of the library.
9560	hardcode_minus_L=yes
9561      fi
9562      ;;
9563
9564    hpux11*)
9565      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9566	case $host_cpu in
9567	hppa*64*)
9568	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9569	  ;;
9570	ia64*)
9571	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9572	  ;;
9573	*)
9574	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9575	  ;;
9576	esac
9577      else
9578	case $host_cpu in
9579	hppa*64*)
9580	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9581	  ;;
9582	ia64*)
9583	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9584	  ;;
9585	*)
9586
9587	  # Older versions of the 11.00 compiler do not understand -b yet
9588	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9589	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9590$as_echo_n "checking if $CC understands -b... " >&6; }
9591if ${lt_cv_prog_compiler__b+:} false; then :
9592  $as_echo_n "(cached) " >&6
9593else
9594  lt_cv_prog_compiler__b=no
9595   save_LDFLAGS="$LDFLAGS"
9596   LDFLAGS="$LDFLAGS -b"
9597   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9598   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9599     # The linker can only warn and ignore the option if not recognized
9600     # So say no if there are warnings
9601     if test -s conftest.err; then
9602       # Append any errors to the config.log.
9603       cat conftest.err 1>&5
9604       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9605       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9606       if diff conftest.exp conftest.er2 >/dev/null; then
9607         lt_cv_prog_compiler__b=yes
9608       fi
9609     else
9610       lt_cv_prog_compiler__b=yes
9611     fi
9612   fi
9613   $RM -r conftest*
9614   LDFLAGS="$save_LDFLAGS"
9615
9616fi
9617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9618$as_echo "$lt_cv_prog_compiler__b" >&6; }
9619
9620if test x"$lt_cv_prog_compiler__b" = xyes; then
9621    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9622else
9623    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9624fi
9625
9626	  ;;
9627	esac
9628      fi
9629      if test "$with_gnu_ld" = no; then
9630	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9631	hardcode_libdir_separator=:
9632
9633	case $host_cpu in
9634	hppa*64*|ia64*)
9635	  hardcode_direct=no
9636	  hardcode_shlibpath_var=no
9637	  ;;
9638	*)
9639	  hardcode_direct=yes
9640	  hardcode_direct_absolute=yes
9641	  export_dynamic_flag_spec='${wl}-E'
9642
9643	  # hardcode_minus_L: Not really in the search PATH,
9644	  # but as the default location of the library.
9645	  hardcode_minus_L=yes
9646	  ;;
9647	esac
9648      fi
9649      ;;
9650
9651    irix5* | irix6* | nonstopux*)
9652      if test "$GCC" = yes; then
9653	archive_cmds='$CC -shared $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'
9654	# Try to use the -exported_symbol ld option, if it does not
9655	# work, assume that -exports_file does not work either and
9656	# implicitly export all symbols.
9657        save_LDFLAGS="$LDFLAGS"
9658        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9659        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9660/* end confdefs.h.  */
9661int foo(void) {}
9662_ACEOF
9663if ac_fn_c_try_link "$LINENO"; then :
9664  archive_expsym_cmds='$CC -shared $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'
9665
9666fi
9667rm -f core conftest.err conftest.$ac_objext \
9668    conftest$ac_exeext conftest.$ac_ext
9669        LDFLAGS="$save_LDFLAGS"
9670      else
9671	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'
9672	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'
9673      fi
9674      archive_cmds_need_lc='no'
9675      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9676      hardcode_libdir_separator=:
9677      inherit_rpath=yes
9678      link_all_deplibs=yes
9679      ;;
9680
9681    netbsd*)
9682      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9683	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9684      else
9685	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9686      fi
9687      hardcode_libdir_flag_spec='-R$libdir'
9688      hardcode_direct=yes
9689      hardcode_shlibpath_var=no
9690      ;;
9691
9692    newsos6)
9693      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9694      hardcode_direct=yes
9695      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9696      hardcode_libdir_separator=:
9697      hardcode_shlibpath_var=no
9698      ;;
9699
9700    *nto* | *qnx*)
9701      ;;
9702
9703    openbsd*)
9704      if test -f /usr/libexec/ld.so; then
9705	hardcode_direct=yes
9706	hardcode_shlibpath_var=no
9707	hardcode_direct_absolute=yes
9708	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9709	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9710	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9711	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9712	  export_dynamic_flag_spec='${wl}-E'
9713	else
9714	  case $host_os in
9715	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9716	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9717	     hardcode_libdir_flag_spec='-R$libdir'
9718	     ;;
9719	   *)
9720	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9721	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9722	     ;;
9723	  esac
9724	fi
9725      else
9726	ld_shlibs=no
9727      fi
9728      ;;
9729
9730    os2*)
9731      hardcode_libdir_flag_spec='-L$libdir'
9732      hardcode_minus_L=yes
9733      allow_undefined_flag=unsupported
9734      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9735      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9736      ;;
9737
9738    osf3*)
9739      if test "$GCC" = yes; then
9740	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9741	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'
9742      else
9743	allow_undefined_flag=' -expect_unresolved \*'
9744	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'
9745      fi
9746      archive_cmds_need_lc='no'
9747      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9748      hardcode_libdir_separator=:
9749      ;;
9750
9751    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9752      if test "$GCC" = yes; then
9753	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9754	archive_cmds='$CC -shared${allow_undefined_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'
9755	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9756      else
9757	allow_undefined_flag=' -expect_unresolved \*'
9758	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'
9759	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~
9760	$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'
9761
9762	# Both c and cxx compiler support -rpath directly
9763	hardcode_libdir_flag_spec='-rpath $libdir'
9764      fi
9765      archive_cmds_need_lc='no'
9766      hardcode_libdir_separator=:
9767      ;;
9768
9769    solaris*)
9770      no_undefined_flag=' -z defs'
9771      if test "$GCC" = yes; then
9772	wlarc='${wl}'
9773	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9774	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9775	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9776      else
9777	case `$CC -V 2>&1` in
9778	*"Compilers 5.0"*)
9779	  wlarc=''
9780	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9781	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9782	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9783	  ;;
9784	*)
9785	  wlarc='${wl}'
9786	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9787	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9788	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9789	  ;;
9790	esac
9791      fi
9792      hardcode_libdir_flag_spec='-R$libdir'
9793      hardcode_shlibpath_var=no
9794      case $host_os in
9795      solaris2.[0-5] | solaris2.[0-5].*) ;;
9796      *)
9797	# The compiler driver will combine and reorder linker options,
9798	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9799	# but is careful enough not to reorder.
9800	# Supported since Solaris 2.6 (maybe 2.5.1?)
9801	if test "$GCC" = yes; then
9802	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9803	else
9804	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9805	fi
9806	;;
9807      esac
9808      link_all_deplibs=yes
9809      ;;
9810
9811    sunos4*)
9812      if test "x$host_vendor" = xsequent; then
9813	# Use $CC to link under sequent, because it throws in some extra .o
9814	# files that make .init and .fini sections work.
9815	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9816      else
9817	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9818      fi
9819      hardcode_libdir_flag_spec='-L$libdir'
9820      hardcode_direct=yes
9821      hardcode_minus_L=yes
9822      hardcode_shlibpath_var=no
9823      ;;
9824
9825    sysv4)
9826      case $host_vendor in
9827	sni)
9828	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9829	  hardcode_direct=yes # is this really true???
9830	;;
9831	siemens)
9832	  ## LD is ld it makes a PLAMLIB
9833	  ## CC just makes a GrossModule.
9834	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9835	  reload_cmds='$CC -r -o $output$reload_objs'
9836	  hardcode_direct=no
9837        ;;
9838	motorola)
9839	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9840	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9841	;;
9842      esac
9843      runpath_var='LD_RUN_PATH'
9844      hardcode_shlibpath_var=no
9845      ;;
9846
9847    sysv4.3*)
9848      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9849      hardcode_shlibpath_var=no
9850      export_dynamic_flag_spec='-Bexport'
9851      ;;
9852
9853    sysv4*MP*)
9854      if test -d /usr/nec; then
9855	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9856	hardcode_shlibpath_var=no
9857	runpath_var=LD_RUN_PATH
9858	hardcode_runpath_var=yes
9859	ld_shlibs=yes
9860      fi
9861      ;;
9862
9863    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9864      no_undefined_flag='${wl}-z,text'
9865      archive_cmds_need_lc=no
9866      hardcode_shlibpath_var=no
9867      runpath_var='LD_RUN_PATH'
9868
9869      if test "$GCC" = yes; then
9870	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9871	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9872      else
9873	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9874	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9875      fi
9876      ;;
9877
9878    sysv5* | sco3.2v5* | sco5v6*)
9879      # Note: We can NOT use -z defs as we might desire, because we do not
9880      # link with -lc, and that would cause any symbols used from libc to
9881      # always be unresolved, which means just about no library would
9882      # ever link correctly.  If we're not using GNU ld we use -z text
9883      # though, which does catch some bad symbols but isn't as heavy-handed
9884      # as -z defs.
9885      no_undefined_flag='${wl}-z,text'
9886      allow_undefined_flag='${wl}-z,nodefs'
9887      archive_cmds_need_lc=no
9888      hardcode_shlibpath_var=no
9889      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9890      hardcode_libdir_separator=':'
9891      link_all_deplibs=yes
9892      export_dynamic_flag_spec='${wl}-Bexport'
9893      runpath_var='LD_RUN_PATH'
9894
9895      if test "$GCC" = yes; then
9896	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9897	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9898      else
9899	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9900	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9901      fi
9902      ;;
9903
9904    uts4*)
9905      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9906      hardcode_libdir_flag_spec='-L$libdir'
9907      hardcode_shlibpath_var=no
9908      ;;
9909
9910    *)
9911      ld_shlibs=no
9912      ;;
9913    esac
9914
9915    if test x$host_vendor = xsni; then
9916      case $host in
9917      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9918	export_dynamic_flag_spec='${wl}-Blargedynsym'
9919	;;
9920      esac
9921    fi
9922  fi
9923
9924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9925$as_echo "$ld_shlibs" >&6; }
9926test "$ld_shlibs" = no && can_build_shared=no
9927
9928with_gnu_ld=$with_gnu_ld
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944#
9945# Do we need to explicitly link libc?
9946#
9947case "x$archive_cmds_need_lc" in
9948x|xyes)
9949  # Assume -lc should be added
9950  archive_cmds_need_lc=yes
9951
9952  if test "$enable_shared" = yes && test "$GCC" = yes; then
9953    case $archive_cmds in
9954    *'~'*)
9955      # FIXME: we may have to deal with multi-command sequences.
9956      ;;
9957    '$CC '*)
9958      # Test whether the compiler implicitly links with -lc since on some
9959      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9960      # to ld, don't add -lc before -lgcc.
9961      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9962$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9963if ${lt_cv_archive_cmds_need_lc+:} false; then :
9964  $as_echo_n "(cached) " >&6
9965else
9966  $RM conftest*
9967	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9968
9969	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9970  (eval $ac_compile) 2>&5
9971  ac_status=$?
9972  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9973  test $ac_status = 0; } 2>conftest.err; then
9974	  soname=conftest
9975	  lib=conftest
9976	  libobjs=conftest.$ac_objext
9977	  deplibs=
9978	  wl=$lt_prog_compiler_wl
9979	  pic_flag=$lt_prog_compiler_pic
9980	  compiler_flags=-v
9981	  linker_flags=-v
9982	  verstring=
9983	  output_objdir=.
9984	  libname=conftest
9985	  lt_save_allow_undefined_flag=$allow_undefined_flag
9986	  allow_undefined_flag=
9987	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9988  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9989  ac_status=$?
9990  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9991  test $ac_status = 0; }
9992	  then
9993	    lt_cv_archive_cmds_need_lc=no
9994	  else
9995	    lt_cv_archive_cmds_need_lc=yes
9996	  fi
9997	  allow_undefined_flag=$lt_save_allow_undefined_flag
9998	else
9999	  cat conftest.err 1>&5
10000	fi
10001	$RM conftest*
10002
10003fi
10004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10005$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10006      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10007      ;;
10008    esac
10009  fi
10010  ;;
10011esac
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10170$as_echo_n "checking dynamic linker characteristics... " >&6; }
10171
10172if test "$GCC" = yes; then
10173  case $host_os in
10174    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10175    *) lt_awk_arg="/^libraries:/" ;;
10176  esac
10177  case $host_os in
10178    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10179    *) lt_sed_strip_eq="s,=/,/,g" ;;
10180  esac
10181  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10182  case $lt_search_path_spec in
10183  *\;*)
10184    # if the path contains ";" then we assume it to be the separator
10185    # otherwise default to the standard path separator (i.e. ":") - it is
10186    # assumed that no part of a normal pathname contains ";" but that should
10187    # okay in the real world where ";" in dirpaths is itself problematic.
10188    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10189    ;;
10190  *)
10191    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10192    ;;
10193  esac
10194  # Ok, now we have the path, separated by spaces, we can step through it
10195  # and add multilib dir if necessary.
10196  lt_tmp_lt_search_path_spec=
10197  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10198  for lt_sys_path in $lt_search_path_spec; do
10199    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10200      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10201    else
10202      test -d "$lt_sys_path" && \
10203	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10204    fi
10205  done
10206  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10207BEGIN {RS=" "; FS="/|\n";} {
10208  lt_foo="";
10209  lt_count=0;
10210  for (lt_i = NF; lt_i > 0; lt_i--) {
10211    if ($lt_i != "" && $lt_i != ".") {
10212      if ($lt_i == "..") {
10213        lt_count++;
10214      } else {
10215        if (lt_count == 0) {
10216          lt_foo="/" $lt_i lt_foo;
10217        } else {
10218          lt_count--;
10219        }
10220      }
10221    }
10222  }
10223  if (lt_foo != "") { lt_freq[lt_foo]++; }
10224  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10225}'`
10226  # AWK program above erroneously prepends '/' to C:/dos/paths
10227  # for these hosts.
10228  case $host_os in
10229    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10230      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10231  esac
10232  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10233else
10234  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10235fi
10236library_names_spec=
10237libname_spec='lib$name'
10238soname_spec=
10239shrext_cmds=".so"
10240postinstall_cmds=
10241postuninstall_cmds=
10242finish_cmds=
10243finish_eval=
10244shlibpath_var=
10245shlibpath_overrides_runpath=unknown
10246version_type=none
10247dynamic_linker="$host_os ld.so"
10248sys_lib_dlsearch_path_spec="/lib /usr/lib"
10249need_lib_prefix=unknown
10250hardcode_into_libs=no
10251
10252# when you set need_version to no, make sure it does not cause -set_version
10253# flags to be left without arguments
10254need_version=unknown
10255
10256case $host_os in
10257aix3*)
10258  version_type=linux
10259  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10260  shlibpath_var=LIBPATH
10261
10262  # AIX 3 has no versioning support, so we append a major version to the name.
10263  soname_spec='${libname}${release}${shared_ext}$major'
10264  ;;
10265
10266aix[4-9]*)
10267  version_type=linux
10268  need_lib_prefix=no
10269  need_version=no
10270  hardcode_into_libs=yes
10271  if test "$host_cpu" = ia64; then
10272    # AIX 5 supports IA64
10273    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10274    shlibpath_var=LD_LIBRARY_PATH
10275  else
10276    # With GCC up to 2.95.x, collect2 would create an import file
10277    # for dependence libraries.  The import file would start with
10278    # the line `#! .'.  This would cause the generated library to
10279    # depend on `.', always an invalid library.  This was fixed in
10280    # development snapshots of GCC prior to 3.0.
10281    case $host_os in
10282      aix4 | aix4.[01] | aix4.[01].*)
10283      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10284	   echo ' yes '
10285	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10286	:
10287      else
10288	can_build_shared=no
10289      fi
10290      ;;
10291    esac
10292    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10293    # soname into executable. Probably we can add versioning support to
10294    # collect2, so additional links can be useful in future.
10295    if test "$aix_use_runtimelinking" = yes; then
10296      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10297      # instead of lib<name>.a to let people know that these are not
10298      # typical AIX shared libraries.
10299      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10300    else
10301      # We preserve .a as extension for shared libraries through AIX4.2
10302      # and later when we are not doing run time linking.
10303      library_names_spec='${libname}${release}.a $libname.a'
10304      soname_spec='${libname}${release}${shared_ext}$major'
10305    fi
10306    shlibpath_var=LIBPATH
10307  fi
10308  ;;
10309
10310amigaos*)
10311  case $host_cpu in
10312  powerpc)
10313    # Since July 2007 AmigaOS4 officially supports .so libraries.
10314    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10315    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10316    ;;
10317  m68k)
10318    library_names_spec='$libname.ixlibrary $libname.a'
10319    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10320    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10321    ;;
10322  esac
10323  ;;
10324
10325beos*)
10326  library_names_spec='${libname}${shared_ext}'
10327  dynamic_linker="$host_os ld.so"
10328  shlibpath_var=LIBRARY_PATH
10329  ;;
10330
10331bsdi[45]*)
10332  version_type=linux
10333  need_version=no
10334  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10335  soname_spec='${libname}${release}${shared_ext}$major'
10336  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10337  shlibpath_var=LD_LIBRARY_PATH
10338  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10339  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10340  # the default ld.so.conf also contains /usr/contrib/lib and
10341  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10342  # libtool to hard-code these into programs
10343  ;;
10344
10345cygwin* | mingw* | pw32* | cegcc*)
10346  version_type=windows
10347  shrext_cmds=".dll"
10348  need_version=no
10349  need_lib_prefix=no
10350
10351  case $GCC,$host_os in
10352  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10353    library_names_spec='$libname.dll.a'
10354    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10355    postinstall_cmds='base_file=`basename \${file}`~
10356      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10357      dldir=$destdir/`dirname \$dlpath`~
10358      test -d \$dldir || mkdir -p \$dldir~
10359      $install_prog $dir/$dlname \$dldir/$dlname~
10360      chmod a+x \$dldir/$dlname~
10361      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10362        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10363      fi'
10364    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10365      dlpath=$dir/\$dldll~
10366       $RM \$dlpath'
10367    shlibpath_overrides_runpath=yes
10368
10369    case $host_os in
10370    cygwin*)
10371      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10372      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10373
10374      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10375      ;;
10376    mingw* | cegcc*)
10377      # MinGW DLLs use traditional 'lib' prefix
10378      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10379      ;;
10380    pw32*)
10381      # pw32 DLLs use 'pw' prefix rather than 'lib'
10382      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10383      ;;
10384    esac
10385    ;;
10386
10387  *)
10388    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10389    ;;
10390  esac
10391  dynamic_linker='Win32 ld.exe'
10392  # FIXME: first we should search . and the directory the executable is in
10393  shlibpath_var=PATH
10394  ;;
10395
10396darwin* | rhapsody*)
10397  dynamic_linker="$host_os dyld"
10398  version_type=darwin
10399  need_lib_prefix=no
10400  need_version=no
10401  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10402  soname_spec='${libname}${release}${major}$shared_ext'
10403  shlibpath_overrides_runpath=yes
10404  shlibpath_var=DYLD_LIBRARY_PATH
10405  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10406
10407  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10408  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10409  ;;
10410
10411dgux*)
10412  version_type=linux
10413  need_lib_prefix=no
10414  need_version=no
10415  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10416  soname_spec='${libname}${release}${shared_ext}$major'
10417  shlibpath_var=LD_LIBRARY_PATH
10418  ;;
10419
10420freebsd* | dragonfly*)
10421  # DragonFly does not have aout.  When/if they implement a new
10422  # versioning mechanism, adjust this.
10423  if test -x /usr/bin/objformat; then
10424    objformat=`/usr/bin/objformat`
10425  else
10426    case $host_os in
10427    freebsd[23].*) objformat=aout ;;
10428    *) objformat=elf ;;
10429    esac
10430  fi
10431  version_type=freebsd-$objformat
10432  case $version_type in
10433    freebsd-elf*)
10434      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10435      need_version=no
10436      need_lib_prefix=no
10437      ;;
10438    freebsd-*)
10439      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10440      need_version=yes
10441      ;;
10442  esac
10443  shlibpath_var=LD_LIBRARY_PATH
10444  case $host_os in
10445  freebsd2.*)
10446    shlibpath_overrides_runpath=yes
10447    ;;
10448  freebsd3.[01]* | freebsdelf3.[01]*)
10449    shlibpath_overrides_runpath=yes
10450    hardcode_into_libs=yes
10451    ;;
10452  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10453  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10454    shlibpath_overrides_runpath=no
10455    hardcode_into_libs=yes
10456    ;;
10457  *) # from 4.6 on, and DragonFly
10458    shlibpath_overrides_runpath=yes
10459    hardcode_into_libs=yes
10460    ;;
10461  esac
10462  ;;
10463
10464gnu*)
10465  version_type=linux
10466  need_lib_prefix=no
10467  need_version=no
10468  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10469  soname_spec='${libname}${release}${shared_ext}$major'
10470  shlibpath_var=LD_LIBRARY_PATH
10471  hardcode_into_libs=yes
10472  ;;
10473
10474haiku*)
10475  version_type=linux
10476  need_lib_prefix=no
10477  need_version=no
10478  dynamic_linker="$host_os runtime_loader"
10479  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10480  soname_spec='${libname}${release}${shared_ext}$major'
10481  shlibpath_var=LIBRARY_PATH
10482  shlibpath_overrides_runpath=yes
10483  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10484  hardcode_into_libs=yes
10485  ;;
10486
10487hpux9* | hpux10* | hpux11*)
10488  # Give a soname corresponding to the major version so that dld.sl refuses to
10489  # link against other versions.
10490  version_type=sunos
10491  need_lib_prefix=no
10492  need_version=no
10493  case $host_cpu in
10494  ia64*)
10495    shrext_cmds='.so'
10496    hardcode_into_libs=yes
10497    dynamic_linker="$host_os dld.so"
10498    shlibpath_var=LD_LIBRARY_PATH
10499    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10500    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10501    soname_spec='${libname}${release}${shared_ext}$major'
10502    if test "X$HPUX_IA64_MODE" = X32; then
10503      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10504    else
10505      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10506    fi
10507    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10508    ;;
10509  hppa*64*)
10510    shrext_cmds='.sl'
10511    hardcode_into_libs=yes
10512    dynamic_linker="$host_os dld.sl"
10513    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10514    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10515    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10516    soname_spec='${libname}${release}${shared_ext}$major'
10517    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10518    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10519    ;;
10520  *)
10521    shrext_cmds='.sl'
10522    dynamic_linker="$host_os dld.sl"
10523    shlibpath_var=SHLIB_PATH
10524    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10525    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10526    soname_spec='${libname}${release}${shared_ext}$major'
10527    ;;
10528  esac
10529  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10530  postinstall_cmds='chmod 555 $lib'
10531  # or fails outright, so override atomically:
10532  install_override_mode=555
10533  ;;
10534
10535interix[3-9]*)
10536  version_type=linux
10537  need_lib_prefix=no
10538  need_version=no
10539  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10540  soname_spec='${libname}${release}${shared_ext}$major'
10541  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10542  shlibpath_var=LD_LIBRARY_PATH
10543  shlibpath_overrides_runpath=no
10544  hardcode_into_libs=yes
10545  ;;
10546
10547irix5* | irix6* | nonstopux*)
10548  case $host_os in
10549    nonstopux*) version_type=nonstopux ;;
10550    *)
10551	if test "$lt_cv_prog_gnu_ld" = yes; then
10552		version_type=linux
10553	else
10554		version_type=irix
10555	fi ;;
10556  esac
10557  need_lib_prefix=no
10558  need_version=no
10559  soname_spec='${libname}${release}${shared_ext}$major'
10560  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10561  case $host_os in
10562  irix5* | nonstopux*)
10563    libsuff= shlibsuff=
10564    ;;
10565  *)
10566    case $LD in # libtool.m4 will add one of these switches to LD
10567    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10568      libsuff= shlibsuff= libmagic=32-bit;;
10569    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10570      libsuff=32 shlibsuff=N32 libmagic=N32;;
10571    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10572      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10573    *) libsuff= shlibsuff= libmagic=never-match;;
10574    esac
10575    ;;
10576  esac
10577  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10578  shlibpath_overrides_runpath=no
10579  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10580  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10581  hardcode_into_libs=yes
10582  ;;
10583
10584# No shared lib support for Linux oldld, aout, or coff.
10585linux*oldld* | linux*aout* | linux*coff*)
10586  dynamic_linker=no
10587  ;;
10588
10589# This must be Linux ELF.
10590
10591# uclinux* changes (here and below) have been submitted to the libtool
10592# project, but have not yet been accepted: they are GCC-local changes
10593# for the time being.  (See
10594# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10595linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
10596  version_type=linux
10597  need_lib_prefix=no
10598  need_version=no
10599  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600  soname_spec='${libname}${release}${shared_ext}$major'
10601  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10602  shlibpath_var=LD_LIBRARY_PATH
10603  shlibpath_overrides_runpath=no
10604
10605  # Some binutils ld are patched to set DT_RUNPATH
10606  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10607  $as_echo_n "(cached) " >&6
10608else
10609  lt_cv_shlibpath_overrides_runpath=no
10610    save_LDFLAGS=$LDFLAGS
10611    save_libdir=$libdir
10612    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10613	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10614    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10615/* end confdefs.h.  */
10616
10617int
10618main ()
10619{
10620
10621  ;
10622  return 0;
10623}
10624_ACEOF
10625if ac_fn_c_try_link "$LINENO"; then :
10626  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10627  lt_cv_shlibpath_overrides_runpath=yes
10628fi
10629fi
10630rm -f core conftest.err conftest.$ac_objext \
10631    conftest$ac_exeext conftest.$ac_ext
10632    LDFLAGS=$save_LDFLAGS
10633    libdir=$save_libdir
10634
10635fi
10636
10637  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10638
10639  # This implies no fast_install, which is unacceptable.
10640  # Some rework will be needed to allow for fast_install
10641  # before this can be enabled.
10642  hardcode_into_libs=yes
10643
10644  # Append ld.so.conf contents to the search path
10645  if test -f /etc/ld.so.conf; then
10646    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' ' '`
10647    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10648  fi
10649
10650  # We used to test for /lib/ld.so.1 and disable shared libraries on
10651  # powerpc, because MkLinux only supported shared libraries with the
10652  # GNU dynamic linker.  Since this was broken with cross compilers,
10653  # most powerpc-linux boxes support dynamic linking these days and
10654  # people can always --disable-shared, the test was removed, and we
10655  # assume the GNU/Linux dynamic linker is in use.
10656  dynamic_linker='GNU/Linux ld.so'
10657  ;;
10658
10659netbsd*)
10660  version_type=sunos
10661  need_lib_prefix=no
10662  need_version=no
10663  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10664    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10665    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10666    dynamic_linker='NetBSD (a.out) ld.so'
10667  else
10668    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10669    soname_spec='${libname}${release}${shared_ext}$major'
10670    dynamic_linker='NetBSD ld.elf_so'
10671  fi
10672  shlibpath_var=LD_LIBRARY_PATH
10673  shlibpath_overrides_runpath=yes
10674  hardcode_into_libs=yes
10675  ;;
10676
10677newsos6)
10678  version_type=linux
10679  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10680  shlibpath_var=LD_LIBRARY_PATH
10681  shlibpath_overrides_runpath=yes
10682  ;;
10683
10684*nto* | *qnx*)
10685  version_type=qnx
10686  need_lib_prefix=no
10687  need_version=no
10688  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10689  soname_spec='${libname}${release}${shared_ext}$major'
10690  shlibpath_var=LD_LIBRARY_PATH
10691  shlibpath_overrides_runpath=no
10692  hardcode_into_libs=yes
10693  dynamic_linker='ldqnx.so'
10694  ;;
10695
10696openbsd*)
10697  version_type=sunos
10698  sys_lib_dlsearch_path_spec="/usr/lib"
10699  need_lib_prefix=no
10700  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10701  case $host_os in
10702    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10703    *)				need_version=no  ;;
10704  esac
10705  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10706  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10707  shlibpath_var=LD_LIBRARY_PATH
10708  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10709    case $host_os in
10710      openbsd2.[89] | openbsd2.[89].*)
10711	shlibpath_overrides_runpath=no
10712	;;
10713      *)
10714	shlibpath_overrides_runpath=yes
10715	;;
10716      esac
10717  else
10718    shlibpath_overrides_runpath=yes
10719  fi
10720  ;;
10721
10722os2*)
10723  libname_spec='$name'
10724  shrext_cmds=".dll"
10725  need_lib_prefix=no
10726  library_names_spec='$libname${shared_ext} $libname.a'
10727  dynamic_linker='OS/2 ld.exe'
10728  shlibpath_var=LIBPATH
10729  ;;
10730
10731osf3* | osf4* | osf5*)
10732  version_type=osf
10733  need_lib_prefix=no
10734  need_version=no
10735  soname_spec='${libname}${release}${shared_ext}$major'
10736  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10737  shlibpath_var=LD_LIBRARY_PATH
10738  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10739  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10740  ;;
10741
10742rdos*)
10743  dynamic_linker=no
10744  ;;
10745
10746solaris*)
10747  version_type=linux
10748  need_lib_prefix=no
10749  need_version=no
10750  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10751  soname_spec='${libname}${release}${shared_ext}$major'
10752  shlibpath_var=LD_LIBRARY_PATH
10753  shlibpath_overrides_runpath=yes
10754  hardcode_into_libs=yes
10755  # ldd complains unless libraries are executable
10756  postinstall_cmds='chmod +x $lib'
10757  ;;
10758
10759sunos4*)
10760  version_type=sunos
10761  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10762  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10763  shlibpath_var=LD_LIBRARY_PATH
10764  shlibpath_overrides_runpath=yes
10765  if test "$with_gnu_ld" = yes; then
10766    need_lib_prefix=no
10767  fi
10768  need_version=yes
10769  ;;
10770
10771sysv4 | sysv4.3*)
10772  version_type=linux
10773  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10774  soname_spec='${libname}${release}${shared_ext}$major'
10775  shlibpath_var=LD_LIBRARY_PATH
10776  case $host_vendor in
10777    sni)
10778      shlibpath_overrides_runpath=no
10779      need_lib_prefix=no
10780      runpath_var=LD_RUN_PATH
10781      ;;
10782    siemens)
10783      need_lib_prefix=no
10784      ;;
10785    motorola)
10786      need_lib_prefix=no
10787      need_version=no
10788      shlibpath_overrides_runpath=no
10789      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10790      ;;
10791  esac
10792  ;;
10793
10794sysv4*MP*)
10795  if test -d /usr/nec ;then
10796    version_type=linux
10797    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10798    soname_spec='$libname${shared_ext}.$major'
10799    shlibpath_var=LD_LIBRARY_PATH
10800  fi
10801  ;;
10802
10803sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10804  version_type=freebsd-elf
10805  need_lib_prefix=no
10806  need_version=no
10807  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10808  soname_spec='${libname}${release}${shared_ext}$major'
10809  shlibpath_var=LD_LIBRARY_PATH
10810  shlibpath_overrides_runpath=yes
10811  hardcode_into_libs=yes
10812  if test "$with_gnu_ld" = yes; then
10813    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10814  else
10815    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10816    case $host_os in
10817      sco3.2v5*)
10818        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10819	;;
10820    esac
10821  fi
10822  sys_lib_dlsearch_path_spec='/usr/lib'
10823  ;;
10824
10825tpf*)
10826  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10827  version_type=linux
10828  need_lib_prefix=no
10829  need_version=no
10830  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10831  shlibpath_var=LD_LIBRARY_PATH
10832  shlibpath_overrides_runpath=no
10833  hardcode_into_libs=yes
10834  ;;
10835
10836uts4*)
10837  version_type=linux
10838  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839  soname_spec='${libname}${release}${shared_ext}$major'
10840  shlibpath_var=LD_LIBRARY_PATH
10841  ;;
10842
10843*)
10844  dynamic_linker=no
10845  ;;
10846esac
10847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10848$as_echo "$dynamic_linker" >&6; }
10849test "$dynamic_linker" = no && can_build_shared=no
10850
10851variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10852if test "$GCC" = yes; then
10853  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10854fi
10855
10856if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10857  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10858fi
10859if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10860  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10861fi
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10955$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10956hardcode_action=
10957if test -n "$hardcode_libdir_flag_spec" ||
10958   test -n "$runpath_var" ||
10959   test "X$hardcode_automatic" = "Xyes" ; then
10960
10961  # We can hardcode non-existent directories.
10962  if test "$hardcode_direct" != no &&
10963     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10964     # have to relink, otherwise we might link with an installed library
10965     # when we should be linking with a yet-to-be-installed one
10966     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10967     test "$hardcode_minus_L" != no; then
10968    # Linking always hardcodes the temporary library directory.
10969    hardcode_action=relink
10970  else
10971    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10972    hardcode_action=immediate
10973  fi
10974else
10975  # We cannot hardcode anything, or else we can only hardcode existing
10976  # directories.
10977  hardcode_action=unsupported
10978fi
10979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10980$as_echo "$hardcode_action" >&6; }
10981
10982if test "$hardcode_action" = relink ||
10983   test "$inherit_rpath" = yes; then
10984  # Fast installation is not supported
10985  enable_fast_install=no
10986elif test "$shlibpath_overrides_runpath" = yes ||
10987     test "$enable_shared" = no; then
10988  # Fast installation is not necessary
10989  enable_fast_install=needless
10990fi
10991
10992
10993
10994
10995
10996
10997  if test "x$enable_dlopen" != xyes; then
10998  enable_dlopen=unknown
10999  enable_dlopen_self=unknown
11000  enable_dlopen_self_static=unknown
11001else
11002  lt_cv_dlopen=no
11003  lt_cv_dlopen_libs=
11004
11005  case $host_os in
11006  beos*)
11007    lt_cv_dlopen="load_add_on"
11008    lt_cv_dlopen_libs=
11009    lt_cv_dlopen_self=yes
11010    ;;
11011
11012  mingw* | pw32* | cegcc*)
11013    lt_cv_dlopen="LoadLibrary"
11014    lt_cv_dlopen_libs=
11015    ;;
11016
11017  cygwin*)
11018    lt_cv_dlopen="dlopen"
11019    lt_cv_dlopen_libs=
11020    ;;
11021
11022  darwin*)
11023  # if libdl is installed we need to link against it
11024    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11025$as_echo_n "checking for dlopen in -ldl... " >&6; }
11026if ${ac_cv_lib_dl_dlopen+:} false; then :
11027  $as_echo_n "(cached) " >&6
11028else
11029  ac_check_lib_save_LIBS=$LIBS
11030LIBS="-ldl  $LIBS"
11031cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032/* end confdefs.h.  */
11033
11034/* Override any GCC internal prototype to avoid an error.
11035   Use char because int might match the return type of a GCC
11036   builtin and then its argument prototype would still apply.  */
11037#ifdef __cplusplus
11038extern "C"
11039#endif
11040char dlopen ();
11041int
11042main ()
11043{
11044return dlopen ();
11045  ;
11046  return 0;
11047}
11048_ACEOF
11049if ac_fn_c_try_link "$LINENO"; then :
11050  ac_cv_lib_dl_dlopen=yes
11051else
11052  ac_cv_lib_dl_dlopen=no
11053fi
11054rm -f core conftest.err conftest.$ac_objext \
11055    conftest$ac_exeext conftest.$ac_ext
11056LIBS=$ac_check_lib_save_LIBS
11057fi
11058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11059$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11060if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11061  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11062else
11063
11064    lt_cv_dlopen="dyld"
11065    lt_cv_dlopen_libs=
11066    lt_cv_dlopen_self=yes
11067
11068fi
11069
11070    ;;
11071
11072  *)
11073    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11074if test "x$ac_cv_func_shl_load" = xyes; then :
11075  lt_cv_dlopen="shl_load"
11076else
11077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11078$as_echo_n "checking for shl_load in -ldld... " >&6; }
11079if ${ac_cv_lib_dld_shl_load+:} false; then :
11080  $as_echo_n "(cached) " >&6
11081else
11082  ac_check_lib_save_LIBS=$LIBS
11083LIBS="-ldld  $LIBS"
11084cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11085/* end confdefs.h.  */
11086
11087/* Override any GCC internal prototype to avoid an error.
11088   Use char because int might match the return type of a GCC
11089   builtin and then its argument prototype would still apply.  */
11090#ifdef __cplusplus
11091extern "C"
11092#endif
11093char shl_load ();
11094int
11095main ()
11096{
11097return shl_load ();
11098  ;
11099  return 0;
11100}
11101_ACEOF
11102if ac_fn_c_try_link "$LINENO"; then :
11103  ac_cv_lib_dld_shl_load=yes
11104else
11105  ac_cv_lib_dld_shl_load=no
11106fi
11107rm -f core conftest.err conftest.$ac_objext \
11108    conftest$ac_exeext conftest.$ac_ext
11109LIBS=$ac_check_lib_save_LIBS
11110fi
11111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11112$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11113if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11114  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11115else
11116  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11117if test "x$ac_cv_func_dlopen" = xyes; then :
11118  lt_cv_dlopen="dlopen"
11119else
11120  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11121$as_echo_n "checking for dlopen in -ldl... " >&6; }
11122if ${ac_cv_lib_dl_dlopen+:} false; then :
11123  $as_echo_n "(cached) " >&6
11124else
11125  ac_check_lib_save_LIBS=$LIBS
11126LIBS="-ldl  $LIBS"
11127cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128/* end confdefs.h.  */
11129
11130/* Override any GCC internal prototype to avoid an error.
11131   Use char because int might match the return type of a GCC
11132   builtin and then its argument prototype would still apply.  */
11133#ifdef __cplusplus
11134extern "C"
11135#endif
11136char dlopen ();
11137int
11138main ()
11139{
11140return dlopen ();
11141  ;
11142  return 0;
11143}
11144_ACEOF
11145if ac_fn_c_try_link "$LINENO"; then :
11146  ac_cv_lib_dl_dlopen=yes
11147else
11148  ac_cv_lib_dl_dlopen=no
11149fi
11150rm -f core conftest.err conftest.$ac_objext \
11151    conftest$ac_exeext conftest.$ac_ext
11152LIBS=$ac_check_lib_save_LIBS
11153fi
11154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11155$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11156if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11157  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11158else
11159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11160$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11161if ${ac_cv_lib_svld_dlopen+:} false; then :
11162  $as_echo_n "(cached) " >&6
11163else
11164  ac_check_lib_save_LIBS=$LIBS
11165LIBS="-lsvld  $LIBS"
11166cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167/* end confdefs.h.  */
11168
11169/* Override any GCC internal prototype to avoid an error.
11170   Use char because int might match the return type of a GCC
11171   builtin and then its argument prototype would still apply.  */
11172#ifdef __cplusplus
11173extern "C"
11174#endif
11175char dlopen ();
11176int
11177main ()
11178{
11179return dlopen ();
11180  ;
11181  return 0;
11182}
11183_ACEOF
11184if ac_fn_c_try_link "$LINENO"; then :
11185  ac_cv_lib_svld_dlopen=yes
11186else
11187  ac_cv_lib_svld_dlopen=no
11188fi
11189rm -f core conftest.err conftest.$ac_objext \
11190    conftest$ac_exeext conftest.$ac_ext
11191LIBS=$ac_check_lib_save_LIBS
11192fi
11193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11194$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11195if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11196  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11197else
11198  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11199$as_echo_n "checking for dld_link in -ldld... " >&6; }
11200if ${ac_cv_lib_dld_dld_link+:} false; then :
11201  $as_echo_n "(cached) " >&6
11202else
11203  ac_check_lib_save_LIBS=$LIBS
11204LIBS="-ldld  $LIBS"
11205cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11206/* end confdefs.h.  */
11207
11208/* Override any GCC internal prototype to avoid an error.
11209   Use char because int might match the return type of a GCC
11210   builtin and then its argument prototype would still apply.  */
11211#ifdef __cplusplus
11212extern "C"
11213#endif
11214char dld_link ();
11215int
11216main ()
11217{
11218return dld_link ();
11219  ;
11220  return 0;
11221}
11222_ACEOF
11223if ac_fn_c_try_link "$LINENO"; then :
11224  ac_cv_lib_dld_dld_link=yes
11225else
11226  ac_cv_lib_dld_dld_link=no
11227fi
11228rm -f core conftest.err conftest.$ac_objext \
11229    conftest$ac_exeext conftest.$ac_ext
11230LIBS=$ac_check_lib_save_LIBS
11231fi
11232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11233$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11234if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11235  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11236fi
11237
11238
11239fi
11240
11241
11242fi
11243
11244
11245fi
11246
11247
11248fi
11249
11250
11251fi
11252
11253    ;;
11254  esac
11255
11256  if test "x$lt_cv_dlopen" != xno; then
11257    enable_dlopen=yes
11258  else
11259    enable_dlopen=no
11260  fi
11261
11262  case $lt_cv_dlopen in
11263  dlopen)
11264    save_CPPFLAGS="$CPPFLAGS"
11265    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11266
11267    save_LDFLAGS="$LDFLAGS"
11268    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11269
11270    save_LIBS="$LIBS"
11271    LIBS="$lt_cv_dlopen_libs $LIBS"
11272
11273    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11274$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11275if ${lt_cv_dlopen_self+:} false; then :
11276  $as_echo_n "(cached) " >&6
11277else
11278  	  if test "$cross_compiling" = yes; then :
11279  lt_cv_dlopen_self=cross
11280else
11281  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11282  lt_status=$lt_dlunknown
11283  cat > conftest.$ac_ext <<_LT_EOF
11284#line 11284 "configure"
11285#include "confdefs.h"
11286
11287#if HAVE_DLFCN_H
11288#include <dlfcn.h>
11289#endif
11290
11291#include <stdio.h>
11292
11293#ifdef RTLD_GLOBAL
11294#  define LT_DLGLOBAL		RTLD_GLOBAL
11295#else
11296#  ifdef DL_GLOBAL
11297#    define LT_DLGLOBAL		DL_GLOBAL
11298#  else
11299#    define LT_DLGLOBAL		0
11300#  endif
11301#endif
11302
11303/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11304   find out it does not work in some platform. */
11305#ifndef LT_DLLAZY_OR_NOW
11306#  ifdef RTLD_LAZY
11307#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11308#  else
11309#    ifdef DL_LAZY
11310#      define LT_DLLAZY_OR_NOW		DL_LAZY
11311#    else
11312#      ifdef RTLD_NOW
11313#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11314#      else
11315#        ifdef DL_NOW
11316#          define LT_DLLAZY_OR_NOW	DL_NOW
11317#        else
11318#          define LT_DLLAZY_OR_NOW	0
11319#        endif
11320#      endif
11321#    endif
11322#  endif
11323#endif
11324
11325/* When -fvisbility=hidden is used, assume the code has been annotated
11326   correspondingly for the symbols needed.  */
11327#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11328void fnord () __attribute__((visibility("default")));
11329#endif
11330
11331void fnord () { int i=42; }
11332int main ()
11333{
11334  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11335  int status = $lt_dlunknown;
11336
11337  if (self)
11338    {
11339      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11340      else
11341        {
11342	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11343          else puts (dlerror ());
11344	}
11345      /* dlclose (self); */
11346    }
11347  else
11348    puts (dlerror ());
11349
11350  return status;
11351}
11352_LT_EOF
11353  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11354  (eval $ac_link) 2>&5
11355  ac_status=$?
11356  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11357  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11358    (./conftest; exit; ) >&5 2>/dev/null
11359    lt_status=$?
11360    case x$lt_status in
11361      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11362      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11363      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11364    esac
11365  else :
11366    # compilation failed
11367    lt_cv_dlopen_self=no
11368  fi
11369fi
11370rm -fr conftest*
11371
11372
11373fi
11374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11375$as_echo "$lt_cv_dlopen_self" >&6; }
11376
11377    if test "x$lt_cv_dlopen_self" = xyes; then
11378      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11379      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11380$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11381if ${lt_cv_dlopen_self_static+:} false; then :
11382  $as_echo_n "(cached) " >&6
11383else
11384  	  if test "$cross_compiling" = yes; then :
11385  lt_cv_dlopen_self_static=cross
11386else
11387  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11388  lt_status=$lt_dlunknown
11389  cat > conftest.$ac_ext <<_LT_EOF
11390#line 11390 "configure"
11391#include "confdefs.h"
11392
11393#if HAVE_DLFCN_H
11394#include <dlfcn.h>
11395#endif
11396
11397#include <stdio.h>
11398
11399#ifdef RTLD_GLOBAL
11400#  define LT_DLGLOBAL		RTLD_GLOBAL
11401#else
11402#  ifdef DL_GLOBAL
11403#    define LT_DLGLOBAL		DL_GLOBAL
11404#  else
11405#    define LT_DLGLOBAL		0
11406#  endif
11407#endif
11408
11409/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11410   find out it does not work in some platform. */
11411#ifndef LT_DLLAZY_OR_NOW
11412#  ifdef RTLD_LAZY
11413#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11414#  else
11415#    ifdef DL_LAZY
11416#      define LT_DLLAZY_OR_NOW		DL_LAZY
11417#    else
11418#      ifdef RTLD_NOW
11419#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11420#      else
11421#        ifdef DL_NOW
11422#          define LT_DLLAZY_OR_NOW	DL_NOW
11423#        else
11424#          define LT_DLLAZY_OR_NOW	0
11425#        endif
11426#      endif
11427#    endif
11428#  endif
11429#endif
11430
11431/* When -fvisbility=hidden is used, assume the code has been annotated
11432   correspondingly for the symbols needed.  */
11433#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11434void fnord () __attribute__((visibility("default")));
11435#endif
11436
11437void fnord () { int i=42; }
11438int main ()
11439{
11440  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11441  int status = $lt_dlunknown;
11442
11443  if (self)
11444    {
11445      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11446      else
11447        {
11448	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11449          else puts (dlerror ());
11450	}
11451      /* dlclose (self); */
11452    }
11453  else
11454    puts (dlerror ());
11455
11456  return status;
11457}
11458_LT_EOF
11459  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11460  (eval $ac_link) 2>&5
11461  ac_status=$?
11462  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11463  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11464    (./conftest; exit; ) >&5 2>/dev/null
11465    lt_status=$?
11466    case x$lt_status in
11467      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11468      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11469      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11470    esac
11471  else :
11472    # compilation failed
11473    lt_cv_dlopen_self_static=no
11474  fi
11475fi
11476rm -fr conftest*
11477
11478
11479fi
11480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11481$as_echo "$lt_cv_dlopen_self_static" >&6; }
11482    fi
11483
11484    CPPFLAGS="$save_CPPFLAGS"
11485    LDFLAGS="$save_LDFLAGS"
11486    LIBS="$save_LIBS"
11487    ;;
11488  esac
11489
11490  case $lt_cv_dlopen_self in
11491  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11492  *) enable_dlopen_self=unknown ;;
11493  esac
11494
11495  case $lt_cv_dlopen_self_static in
11496  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11497  *) enable_dlopen_self_static=unknown ;;
11498  esac
11499fi
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517striplib=
11518old_striplib=
11519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11520$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11521if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11522  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11523  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11525$as_echo "yes" >&6; }
11526else
11527# FIXME - insert some real tests, host_os isn't really good enough
11528  case $host_os in
11529  darwin*)
11530    if test -n "$STRIP" ; then
11531      striplib="$STRIP -x"
11532      old_striplib="$STRIP -S"
11533      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11534$as_echo "yes" >&6; }
11535    else
11536      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11537$as_echo "no" >&6; }
11538    fi
11539    ;;
11540  *)
11541    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11542$as_echo "no" >&6; }
11543    ;;
11544  esac
11545fi
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558  # Report which library types will actually be built
11559  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11560$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11562$as_echo "$can_build_shared" >&6; }
11563
11564  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11565$as_echo_n "checking whether to build shared libraries... " >&6; }
11566  test "$can_build_shared" = "no" && enable_shared=no
11567
11568  # On AIX, shared libraries and static libraries use the same namespace, and
11569  # are all built from PIC.
11570  case $host_os in
11571  aix3*)
11572    test "$enable_shared" = yes && enable_static=no
11573    if test -n "$RANLIB"; then
11574      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11575      postinstall_cmds='$RANLIB $lib'
11576    fi
11577    ;;
11578
11579  aix[4-9]*)
11580    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11581      test "$enable_shared" = yes && enable_static=no
11582    fi
11583    ;;
11584  esac
11585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11586$as_echo "$enable_shared" >&6; }
11587
11588  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11589$as_echo_n "checking whether to build static libraries... " >&6; }
11590  # Make sure either enable_shared or enable_static is yes.
11591  test "$enable_shared" = yes || enable_static=yes
11592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11593$as_echo "$enable_static" >&6; }
11594
11595
11596
11597
11598fi
11599ac_ext=c
11600ac_cpp='$CPP $CPPFLAGS'
11601ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11602ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11603ac_compiler_gnu=$ac_cv_c_compiler_gnu
11604
11605CC="$lt_save_CC"
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619        ac_config_commands="$ac_config_commands libtool"
11620
11621
11622
11623
11624# Only expand once:
11625
11626
11627
11628
11629# Check whether --enable-largefile was given.
11630if test "${enable_largefile+set}" = set; then :
11631  enableval=$enable_largefile;
11632fi
11633
11634if test "$enable_largefile" != no; then
11635
11636  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11637$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11638if ${ac_cv_sys_largefile_CC+:} false; then :
11639  $as_echo_n "(cached) " >&6
11640else
11641  ac_cv_sys_largefile_CC=no
11642     if test "$GCC" != yes; then
11643       ac_save_CC=$CC
11644       while :; do
11645	 # IRIX 6.2 and later do not support large files by default,
11646	 # so use the C compiler's -n32 option if that helps.
11647	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11648/* end confdefs.h.  */
11649#include <sys/types.h>
11650 /* Check that off_t can represent 2**63 - 1 correctly.
11651    We can't simply define LARGE_OFF_T to be 9223372036854775807,
11652    since some C++ compilers masquerading as C compilers
11653    incorrectly reject 9223372036854775807.  */
11654#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11655  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11656		       && LARGE_OFF_T % 2147483647 == 1)
11657		      ? 1 : -1];
11658int
11659main ()
11660{
11661
11662  ;
11663  return 0;
11664}
11665_ACEOF
11666	 if ac_fn_c_try_compile "$LINENO"; then :
11667  break
11668fi
11669rm -f core conftest.err conftest.$ac_objext
11670	 CC="$CC -n32"
11671	 if ac_fn_c_try_compile "$LINENO"; then :
11672  ac_cv_sys_largefile_CC=' -n32'; break
11673fi
11674rm -f core conftest.err conftest.$ac_objext
11675	 break
11676       done
11677       CC=$ac_save_CC
11678       rm -f conftest.$ac_ext
11679    fi
11680fi
11681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11682$as_echo "$ac_cv_sys_largefile_CC" >&6; }
11683  if test "$ac_cv_sys_largefile_CC" != no; then
11684    CC=$CC$ac_cv_sys_largefile_CC
11685  fi
11686
11687  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11688$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11689if ${ac_cv_sys_file_offset_bits+:} false; then :
11690  $as_echo_n "(cached) " >&6
11691else
11692  while :; do
11693  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11694/* end confdefs.h.  */
11695#include <sys/types.h>
11696 /* Check that off_t can represent 2**63 - 1 correctly.
11697    We can't simply define LARGE_OFF_T to be 9223372036854775807,
11698    since some C++ compilers masquerading as C compilers
11699    incorrectly reject 9223372036854775807.  */
11700#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11701  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11702		       && LARGE_OFF_T % 2147483647 == 1)
11703		      ? 1 : -1];
11704int
11705main ()
11706{
11707
11708  ;
11709  return 0;
11710}
11711_ACEOF
11712if ac_fn_c_try_compile "$LINENO"; then :
11713  ac_cv_sys_file_offset_bits=no; break
11714fi
11715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11716  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11717/* end confdefs.h.  */
11718#define _FILE_OFFSET_BITS 64
11719#include <sys/types.h>
11720 /* Check that off_t can represent 2**63 - 1 correctly.
11721    We can't simply define LARGE_OFF_T to be 9223372036854775807,
11722    since some C++ compilers masquerading as C compilers
11723    incorrectly reject 9223372036854775807.  */
11724#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11725  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11726		       && LARGE_OFF_T % 2147483647 == 1)
11727		      ? 1 : -1];
11728int
11729main ()
11730{
11731
11732  ;
11733  return 0;
11734}
11735_ACEOF
11736if ac_fn_c_try_compile "$LINENO"; then :
11737  ac_cv_sys_file_offset_bits=64; break
11738fi
11739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11740  ac_cv_sys_file_offset_bits=unknown
11741  break
11742done
11743fi
11744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11745$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11746case $ac_cv_sys_file_offset_bits in #(
11747  no | unknown) ;;
11748  *)
11749cat >>confdefs.h <<_ACEOF
11750#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11751_ACEOF
11752;;
11753esac
11754rm -rf conftest*
11755  if test $ac_cv_sys_file_offset_bits = unknown; then
11756    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11757$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11758if ${ac_cv_sys_large_files+:} false; then :
11759  $as_echo_n "(cached) " >&6
11760else
11761  while :; do
11762  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11763/* end confdefs.h.  */
11764#include <sys/types.h>
11765 /* Check that off_t can represent 2**63 - 1 correctly.
11766    We can't simply define LARGE_OFF_T to be 9223372036854775807,
11767    since some C++ compilers masquerading as C compilers
11768    incorrectly reject 9223372036854775807.  */
11769#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11770  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11771		       && LARGE_OFF_T % 2147483647 == 1)
11772		      ? 1 : -1];
11773int
11774main ()
11775{
11776
11777  ;
11778  return 0;
11779}
11780_ACEOF
11781if ac_fn_c_try_compile "$LINENO"; then :
11782  ac_cv_sys_large_files=no; break
11783fi
11784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11785  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11786/* end confdefs.h.  */
11787#define _LARGE_FILES 1
11788#include <sys/types.h>
11789 /* Check that off_t can represent 2**63 - 1 correctly.
11790    We can't simply define LARGE_OFF_T to be 9223372036854775807,
11791    since some C++ compilers masquerading as C compilers
11792    incorrectly reject 9223372036854775807.  */
11793#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11794  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11795		       && LARGE_OFF_T % 2147483647 == 1)
11796		      ? 1 : -1];
11797int
11798main ()
11799{
11800
11801  ;
11802  return 0;
11803}
11804_ACEOF
11805if ac_fn_c_try_compile "$LINENO"; then :
11806  ac_cv_sys_large_files=1; break
11807fi
11808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11809  ac_cv_sys_large_files=unknown
11810  break
11811done
11812fi
11813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11814$as_echo "$ac_cv_sys_large_files" >&6; }
11815case $ac_cv_sys_large_files in #(
11816  no | unknown) ;;
11817  *)
11818cat >>confdefs.h <<_ACEOF
11819#define _LARGE_FILES $ac_cv_sys_large_files
11820_ACEOF
11821;;
11822esac
11823rm -rf conftest*
11824  fi
11825
11826
11827fi
11828
11829
11830backtrace_supported=yes
11831
11832if test -n "${with_target_subdir}"; then
11833  # We are compiling a GCC library.  We can assume that the unwind
11834  # library exists.
11835  BACKTRACE_FILE="backtrace.lo simple.lo"
11836else
11837  ac_fn_c_check_header_mongrel "$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
11838if test "x$ac_cv_header_unwind_h" = xyes; then :
11839  ac_fn_c_check_func "$LINENO" "_Unwind_Backtrace" "ac_cv_func__Unwind_Backtrace"
11840if test "x$ac_cv_func__Unwind_Backtrace" = xyes; then :
11841  BACKTRACE_FILE="backtrace.lo simple.lo"
11842else
11843  BACKTRACE_FILE="nounwind.lo"
11844                    backtrace_supported=no
11845fi
11846
11847else
11848  BACKTRACE_FILE="nounwind.lo"
11849     backtrace_supported=no
11850fi
11851
11852
11853fi
11854
11855
11856EXTRA_FLAGS=
11857if test -n "${with_target_subdir}"; then
11858  EXTRA_FLAGS="-funwind-tables -frandom-seed=\$@"
11859else
11860  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -funwind-tables option" >&5
11861$as_echo_n "checking for -funwind-tables option... " >&6; }
11862if ${libbacktrace_cv_c_unwind_tables+:} false; then :
11863  $as_echo_n "(cached) " >&6
11864else
11865  CFLAGS_hold="$CFLAGS"
11866     CFLAGS="$CFLAGS -funwind-tables"
11867     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11868/* end confdefs.h.  */
11869static int f() { return 0; }
11870int
11871main ()
11872{
11873return f();
11874  ;
11875  return 0;
11876}
11877_ACEOF
11878if ac_fn_c_try_compile "$LINENO"; then :
11879  libbacktrace_cv_c_unwind_tables=yes
11880else
11881  libbacktrace_cv_c_unwind_tables=no
11882fi
11883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11884     CFLAGS="$CFLAGS_hold"
11885fi
11886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_unwind_tables" >&5
11887$as_echo "$libbacktrace_cv_c_unwind_tables" >&6; }
11888  if test "$libbacktrace_cv_c_unwind_tables" = "yes"; then
11889    EXTRA_FLAGS=-funwind-tables
11890  fi
11891  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed=string option" >&5
11892$as_echo_n "checking for -frandom-seed=string option... " >&6; }
11893if ${libbacktrace_cv_c_random_seed_string+:} false; then :
11894  $as_echo_n "(cached) " >&6
11895else
11896  CFLAGS_hold="$CFLAGS"
11897     CFLAGS="$CFLAGS -frandom-seed=conftest.lo"
11898     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899/* end confdefs.h.  */
11900
11901int
11902main ()
11903{
11904return 0;
11905  ;
11906  return 0;
11907}
11908_ACEOF
11909if ac_fn_c_try_compile "$LINENO"; then :
11910  libbacktrace_cv_c_random_seed_string=yes
11911else
11912  libbacktrace_cv_c_random_seed_string=no
11913fi
11914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11915     CFLAGS="$CFLAGS_hold"
11916fi
11917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_random_seed_string" >&5
11918$as_echo "$libbacktrace_cv_c_random_seed_string" >&6; }
11919  if test "$libbacktrace_cv_c_random_seed_string" = "yes"; then
11920    EXTRA_FLAGS="$EXTRA_FLAGS -frandom-seed=\$@"
11921  fi
11922fi
11923
11924
11925ac_ext=c
11926ac_cpp='$CPP $CPPFLAGS'
11927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929ac_compiler_gnu=$ac_cv_c_compiler_gnu
11930
11931WARN_FLAGS=
11932save_CFLAGS="$CFLAGS"
11933for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
11934			  -Wmissing-prototypes -Wold-style-definition \
11935			  -Wmissing-format-attribute -Wcast-qual; do
11936  # Do the check with the no- prefix removed since gcc silently
11937  # accepts any -Wno-* option on purpose
11938  case $real_option in
11939    -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
11940    *) option=$real_option ;;
11941  esac
11942  as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
11943
11944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
11945$as_echo_n "checking whether $CC supports $option... " >&6; }
11946if eval \${$as_acx_Woption+:} false; then :
11947  $as_echo_n "(cached) " >&6
11948else
11949  CFLAGS="$option"
11950    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951/* end confdefs.h.  */
11952
11953int
11954main ()
11955{
11956
11957  ;
11958  return 0;
11959}
11960_ACEOF
11961if ac_fn_c_try_compile "$LINENO"; then :
11962  eval "$as_acx_Woption=yes"
11963else
11964  eval "$as_acx_Woption=no"
11965fi
11966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11967
11968fi
11969eval ac_res=\$$as_acx_Woption
11970	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11971$as_echo "$ac_res" >&6; }
11972  if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
11973  WARN_FLAGS="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
11974fi
11975  done
11976CFLAGS="$save_CFLAGS"
11977ac_ext=c
11978ac_cpp='$CPP $CPPFLAGS'
11979ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11980ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11981ac_compiler_gnu=$ac_cv_c_compiler_gnu
11982
11983
11984
11985if test -n "${with_target_subdir}"; then
11986  WARN_FLAGS="$WARN_FLAGS -Werror"
11987fi
11988
11989
11990
11991if test -n "${with_target_subdir}"; then
11992
11993
11994# Check whether --with-system-libunwind was given.
11995if test "${with_system_libunwind+set}" = set; then :
11996  withval=$with_system_libunwind;
11997fi
11998
11999  # If system-libunwind was not specifically set, pick a default setting.
12000  if test x$with_system_libunwind = x; then
12001    case ${target} in
12002      ia64-*-hpux*) with_system_libunwind=yes ;;
12003      *) with_system_libunwind=no ;;
12004    esac
12005  fi
12006  # Based on system-libunwind and target, do we have ipinfo?
12007  if  test x$with_system_libunwind = xyes; then
12008    case ${target} in
12009      ia64-*-*) have_unwind_getipinfo=no ;;
12010      *) have_unwind_getipinfo=yes ;;
12011    esac
12012  else
12013    # Darwin before version 9 does not have _Unwind_GetIPInfo.
12014
12015    case ${target} in
12016      *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
12017      *) have_unwind_getipinfo=yes ;;
12018    esac
12019
12020  fi
12021
12022  if test x$have_unwind_getipinfo = xyes; then
12023
12024$as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
12025
12026  fi
12027
12028else
12029  ac_save_CFFLAGS="$CFLAGS"
12030  CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
12031  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Unwind_GetIPInfo" >&5
12032$as_echo_n "checking for _Unwind_GetIPInfo... " >&6; }
12033  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034/* end confdefs.h.  */
12035#include "unwind.h"
12036	struct _Unwind_Context *context;
12037	int ip_before_insn = 0;
12038int
12039main ()
12040{
12041return _Unwind_GetIPInfo (context, &ip_before_insn);
12042  ;
12043  return 0;
12044}
12045_ACEOF
12046if ac_fn_c_try_link "$LINENO"; then :
12047  have_unwind_getipinfo=yes
12048else
12049  have_unwind_getipinfo=no
12050fi
12051rm -f core conftest.err conftest.$ac_objext \
12052    conftest$ac_exeext conftest.$ac_ext
12053  CFLAGS="$ac_save_CFLAGS"
12054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5
12055$as_echo "$have_unwind_getipinfo" >&6; }
12056  if test "$have_unwind_getipinfo" = "yes"; then
12057
12058$as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
12059
12060  fi
12061fi
12062
12063# Enable --enable-host-shared.
12064# Check whether --enable-host-shared was given.
12065if test "${enable_host_shared+set}" = set; then :
12066  enableval=$enable_host_shared; PIC_FLAG=-fPIC
12067else
12068  PIC_FLAG=
12069fi
12070
12071
12072
12073# Test for __sync support.
12074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
12075$as_echo_n "checking __sync extensions... " >&6; }
12076if ${libbacktrace_cv_sys_sync+:} false; then :
12077  $as_echo_n "(cached) " >&6
12078else
12079  if test -n "${with_target_subdir}"; then
12080   case "${host}" in
12081   hppa*-*-hpux*) libbacktrace_cv_sys_sync=no ;;
12082   *) libbacktrace_cv_sys_sync=yes ;;
12083   esac
12084 else
12085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086/* end confdefs.h.  */
12087int i;
12088int
12089main ()
12090{
12091__sync_bool_compare_and_swap (&i, i, i);
12092                       __sync_lock_test_and_set (&i, 1);
12093                       __sync_lock_release (&i);
12094  ;
12095  return 0;
12096}
12097_ACEOF
12098if ac_fn_c_try_link "$LINENO"; then :
12099  libbacktrace_cv_sys_sync=yes
12100else
12101  libbacktrace_cv_sys_sync=no
12102fi
12103rm -f core conftest.err conftest.$ac_objext \
12104    conftest$ac_exeext conftest.$ac_ext
12105 fi
12106fi
12107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
12108$as_echo "$libbacktrace_cv_sys_sync" >&6; }
12109BACKTRACE_SUPPORTS_THREADS=0
12110if test "$libbacktrace_cv_sys_sync" = "yes"; then
12111  BACKTRACE_SUPPORTS_THREADS=1
12112
12113$as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
12114
12115fi
12116
12117
12118# Test for __atomic support.
12119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
12120$as_echo_n "checking __atomic extensions... " >&6; }
12121if ${libbacktrace_cv_sys_atomic+:} false; then :
12122  $as_echo_n "(cached) " >&6
12123else
12124  if test -n "${with_target_subdir}"; then
12125   libbacktrace_cv_sys_atomic=yes
12126 else
12127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12128/* end confdefs.h.  */
12129int i;
12130int
12131main ()
12132{
12133__atomic_load_n (&i, __ATOMIC_ACQUIRE);
12134		       __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
12135  ;
12136  return 0;
12137}
12138_ACEOF
12139if ac_fn_c_try_link "$LINENO"; then :
12140  libbacktrace_cv_sys_atomic=yes
12141else
12142  libbacktrace_cv_sys_atomic=no
12143fi
12144rm -f core conftest.err conftest.$ac_objext \
12145    conftest$ac_exeext conftest.$ac_ext
12146 fi
12147fi
12148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_atomic" >&5
12149$as_echo "$libbacktrace_cv_sys_atomic" >&6; }
12150if test "$libbacktrace_cv_sys_atomic" = "yes"; then
12151
12152$as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
12153
12154fi
12155
12156# The library needs to be able to read the executable itself.  Compile
12157# a file to determine the executable format.  The awk script
12158# filetype.awk prints out the file type.
12159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
12160$as_echo_n "checking output filetype... " >&6; }
12161if ${libbacktrace_cv_sys_filetype+:} false; then :
12162  $as_echo_n "(cached) " >&6
12163else
12164  filetype=
12165cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12166/* end confdefs.h.  */
12167int i;
12168int
12169main ()
12170{
12171int j;
12172  ;
12173  return 0;
12174}
12175_ACEOF
12176if ac_fn_c_try_compile "$LINENO"; then :
12177  filetype=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
12178else
12179  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12180$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12181as_fn_error $? "compiler failed
12182See \`config.log' for more details" "$LINENO" 5; }
12183fi
12184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12185libbacktrace_cv_sys_filetype=$filetype
12186fi
12187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
12188$as_echo "$libbacktrace_cv_sys_filetype" >&6; }
12189
12190# Match the file type to decide what files to compile.
12191FORMAT_FILE=
12192backtrace_supports_data=yes
12193case "$libbacktrace_cv_sys_filetype" in
12194elf*) FORMAT_FILE="elf.lo" ;;
12195macho) FORMAT_FILE="macho.lo" ;;
12196pecoff) FORMAT_FILE="pecoff.lo"
12197        backtrace_supports_data=no
12198	;;
12199xcoff*) FORMAT_FILE="xcoff.lo"
12200        backtrace_supports_data=no
12201        ;;
12202*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
12203$as_echo "$as_me: WARNING: could not determine output file type" >&2;}
12204   FORMAT_FILE="unknown.lo"
12205   backtrace_supported=no
12206   ;;
12207esac
12208
12209
12210# ELF defines.
12211elfsize=
12212case "$libbacktrace_cv_sys_filetype" in
12213elf32) elfsize=32 ;;
12214elf64) elfsize=64 ;;
12215*)     elfsize=unused
12216esac
12217
12218cat >>confdefs.h <<_ACEOF
12219#define BACKTRACE_ELF_SIZE $elfsize
12220_ACEOF
12221
12222 if test "$FORMAT_FILE" = "elf.lo"; then
12223  HAVE_ELF_TRUE=
12224  HAVE_ELF_FALSE='#'
12225else
12226  HAVE_ELF_TRUE='#'
12227  HAVE_ELF_FALSE=
12228fi
12229
12230
12231# XCOFF defines.
12232xcoffsize=
12233case "$libbacktrace_cv_sys_filetype" in
12234xcoff32) xcoffsize=32 ;;
12235xcoff64) xcoffsize=64 ;;
12236*)       xcoffsize=unused
12237esac
12238
12239cat >>confdefs.h <<_ACEOF
12240#define BACKTRACE_XCOFF_SIZE $xcoffsize
12241_ACEOF
12242
12243
12244BACKTRACE_SUPPORTED=0
12245if test "$backtrace_supported" = "yes"; then
12246  BACKTRACE_SUPPORTED=1
12247fi
12248
12249
12250BACKTRACE_SUPPORTS_DATA=0
12251if test "$backtrace_supports_data" = "yes"; then
12252  BACKTRACE_SUPPORTS_DATA=1
12253fi
12254
12255
12256for ac_header in sys/mman.h
12257do :
12258  ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
12259if test "x$ac_cv_header_sys_mman_h" = xyes; then :
12260  cat >>confdefs.h <<_ACEOF
12261#define HAVE_SYS_MMAN_H 1
12262_ACEOF
12263
12264fi
12265
12266done
12267
12268if test "$ac_cv_header_sys_mman_h" = "no"; then
12269  have_mmap=no
12270else
12271  if test -n "${with_target_subdir}"; then
12272    # When built as a GCC target library, we can't do a link test.  We
12273    # simply assume that if we have mman.h, we have mmap.
12274    have_mmap=yes
12275    case "${host}" in
12276    spu-*-*|*-*-msdosdjgpp)
12277        # The SPU does not have mmap, but it has a sys/mman.h header file
12278        # containing "mmap_eaddr" and the mmap flags, confusing the test.
12279        # DJGPP also has sys/man.h, but no mmap
12280	have_mmap=no ;;
12281    esac
12282  else
12283    ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
12284if test "x$ac_cv_func_mmap" = xyes; then :
12285  have_mmap=yes
12286else
12287  have_mmap=no
12288fi
12289
12290  fi
12291fi
12292if test "$have_mmap" = "no"; then
12293  VIEW_FILE=read.lo
12294  ALLOC_FILE=alloc.lo
12295else
12296  VIEW_FILE=mmapio.lo
12297  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298/* end confdefs.h.  */
12299
12300#include <sys/mman.h>
12301#if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
12302  #error no MAP_ANONYMOUS
12303#endif
12304
12305_ACEOF
12306if ac_fn_c_try_cpp "$LINENO"; then :
12307  ALLOC_FILE=mmap.lo
12308else
12309  ALLOC_FILE=alloc.lo
12310fi
12311rm -f conftest.err conftest.i conftest.$ac_ext
12312fi
12313
12314
12315
12316BACKTRACE_USES_MALLOC=0
12317if test "$ALLOC_FILE" = "alloc.lo"; then
12318  BACKTRACE_USES_MALLOC=1
12319fi
12320
12321
12322# Check for dl_iterate_phdr.
12323for ac_header in link.h
12324do :
12325  ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
12326if test "x$ac_cv_header_link_h" = xyes; then :
12327  cat >>confdefs.h <<_ACEOF
12328#define HAVE_LINK_H 1
12329_ACEOF
12330
12331fi
12332
12333done
12334
12335if test "$ac_cv_header_link_h" = "no"; then
12336  have_dl_iterate_phdr=no
12337else
12338  if test -n "${with_target_subdir}"; then
12339    # When built as a GCC target library, we can't do a link test.
12340    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341/* end confdefs.h.  */
12342#include <link.h>
12343
12344_ACEOF
12345if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12346  $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
12347  have_dl_iterate_phdr=yes
12348else
12349  have_dl_iterate_phdr=no
12350fi
12351rm -f conftest*
12352
12353    case "${host}" in
12354    *-*-solaris2.10*)
12355        # Avoid dl_iterate_phdr on Solaris 10, where it is in the
12356    	# header file but is only in -ldl.
12357	have_dl_iterate_phdr=no ;;
12358    esac
12359  else
12360    ac_fn_c_check_func "$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr"
12361if test "x$ac_cv_func_dl_iterate_phdr" = xyes; then :
12362  have_dl_iterate_phdr=yes
12363else
12364  have_dl_iterate_phdr=no
12365fi
12366
12367  fi
12368fi
12369if test "$have_dl_iterate_phdr" = "yes"; then
12370
12371$as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
12372
12373fi
12374
12375# Check for header file for Mach-O image functions.
12376for ac_header in mach-o/dyld.h
12377do :
12378  ac_fn_c_check_header_mongrel "$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default"
12379if test "x$ac_cv_header_mach_o_dyld_h" = xyes; then :
12380  cat >>confdefs.h <<_ACEOF
12381#define HAVE_MACH_O_DYLD_H 1
12382_ACEOF
12383
12384fi
12385
12386done
12387
12388
12389# Check for loadquery.
12390for ac_header in sys/ldr.h
12391do :
12392  ac_fn_c_check_header_mongrel "$LINENO" "sys/ldr.h" "ac_cv_header_sys_ldr_h" "$ac_includes_default"
12393if test "x$ac_cv_header_sys_ldr_h" = xyes; then :
12394  cat >>confdefs.h <<_ACEOF
12395#define HAVE_SYS_LDR_H 1
12396_ACEOF
12397
12398fi
12399
12400done
12401
12402if test "$ac_cv_header_sys_ldr_h" = "no"; then
12403  have_loadquery=no
12404else
12405  if test -n "${with_target_subdir}"; then
12406    # When built as a GCC target library, we can't do a link test.
12407    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408/* end confdefs.h.  */
12409#include <sys/ldr.h>
12410
12411_ACEOF
12412if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12413  $EGREP "loadquery" >/dev/null 2>&1; then :
12414  have_loadquery=yes
12415else
12416  have_loadquery=no
12417fi
12418rm -f conftest*
12419
12420  else
12421    ac_fn_c_check_func "$LINENO" "loadquery" "ac_cv_func_loadquery"
12422if test "x$ac_cv_func_loadquery" = xyes; then :
12423  have_loadquery=yes
12424else
12425  have_loadquery=no
12426fi
12427
12428  fi
12429fi
12430if test "$have_loadquery" = "yes"; then
12431
12432$as_echo "#define HAVE_LOADQUERY 1" >>confdefs.h
12433
12434fi
12435
12436# Check for the fcntl function.
12437if test -n "${with_target_subdir}"; then
12438   case "${host}" in
12439   *-*-mingw*) have_fcntl=no ;;
12440   spu-*-*) have_fcntl=no ;;
12441   *) have_fcntl=yes ;;
12442   esac
12443else
12444  ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
12445if test "x$ac_cv_func_fcntl" = xyes; then :
12446  have_fcntl=yes
12447else
12448  have_fcntl=no
12449fi
12450
12451fi
12452if test "$have_fcntl" = "yes"; then
12453
12454$as_echo "#define HAVE_FCNTL 1" >>confdefs.h
12455
12456fi
12457
12458ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
12459if test "x$ac_cv_have_decl_strnlen" = xyes; then :
12460  ac_have_decl=1
12461else
12462  ac_have_decl=0
12463fi
12464
12465cat >>confdefs.h <<_ACEOF
12466#define HAVE_DECL_STRNLEN $ac_have_decl
12467_ACEOF
12468ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
12469if test "x$ac_cv_have_decl_getpagesize" = xyes; then :
12470  ac_have_decl=1
12471else
12472  ac_have_decl=0
12473fi
12474
12475cat >>confdefs.h <<_ACEOF
12476#define HAVE_DECL_GETPAGESIZE $ac_have_decl
12477_ACEOF
12478
12479for ac_func in lstat readlink
12480do :
12481  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12482ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12483if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12484  cat >>confdefs.h <<_ACEOF
12485#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12486_ACEOF
12487
12488fi
12489done
12490
12491
12492# Check for getexecname function.
12493if test -n "${with_target_subdir}"; then
12494   case "${host}" in
12495   *-*-solaris2*) have_getexecname=yes ;;
12496   *) have_getexecname=no ;;
12497   esac
12498else
12499  ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
12500if test "x$ac_cv_func_getexecname" = xyes; then :
12501  have_getexecname=yes
12502else
12503  have_getexecname=no
12504fi
12505
12506fi
12507if test "$have_getexecname" = "yes"; then
12508
12509$as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
12510
12511fi
12512
12513# Check for sysctl definitions.
12514
12515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERN_PROC" >&5
12516$as_echo_n "checking for KERN_PROC... " >&6; }
12517if ${libbacktrace_cv_proc+:} false; then :
12518  $as_echo_n "(cached) " >&6
12519else
12520  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521/* end confdefs.h.  */
12522
12523#include <sys/types.h>
12524#include <sys/sysctl.h>
12525
12526int
12527main ()
12528{
12529int mib0 = CTL_KERN; int mib1 = KERN_PROC; int mib2 = KERN_PROC_PATHNAME;
12530  ;
12531  return 0;
12532}
12533_ACEOF
12534if ac_fn_c_try_compile "$LINENO"; then :
12535  libbacktrace_cv_proc=yes
12536else
12537  libbacktrace_cv_proc=no
12538fi
12539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12540fi
12541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_proc" >&5
12542$as_echo "$libbacktrace_cv_proc" >&6; }
12543if test "$libbacktrace_cv_proc" = "yes"; then
12544
12545$as_echo "#define HAVE_KERN_PROC 1" >>confdefs.h
12546
12547fi
12548
12549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERN_PROG_ARGS" >&5
12550$as_echo_n "checking for KERN_PROG_ARGS... " >&6; }
12551if ${libbacktrace_cv_procargs+:} false; then :
12552  $as_echo_n "(cached) " >&6
12553else
12554  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12555/* end confdefs.h.  */
12556
12557#include <sys/types.h>
12558#include <sys/sysctl.h>
12559
12560int
12561main ()
12562{
12563int mib0 = CTL_KERN; int mib1 = KERN_PROC_ARGS; int mib2 = KERN_PROC_PATHNAME;
12564  ;
12565  return 0;
12566}
12567_ACEOF
12568if ac_fn_c_try_compile "$LINENO"; then :
12569  libbacktrace_cv_procargs=yes
12570else
12571  libbacktrace_cv_procargs=no
12572fi
12573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12574fi
12575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_procargs" >&5
12576$as_echo "$libbacktrace_cv_procargs" >&6; }
12577if test "$libbacktrace_cv_procargs" = "yes"; then
12578
12579$as_echo "#define HAVE_KERN_PROC_ARGS 1" >>confdefs.h
12580
12581fi
12582
12583# Check for the clock_gettime function.
12584for ac_func in clock_gettime
12585do :
12586  ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
12587if test "x$ac_cv_func_clock_gettime" = xyes; then :
12588  cat >>confdefs.h <<_ACEOF
12589#define HAVE_CLOCK_GETTIME 1
12590_ACEOF
12591
12592fi
12593done
12594
12595clock_gettime_link=
12596# At least for glibc, clock_gettime is in librt.  But don't
12597# pull that in if it still doesn't give us the function we want.  This
12598# test is copied from libgomp, and modified to not link in -lrt as
12599# we're using this for test timing only.
12600if test "$ac_cv_func_clock_gettime" = no; then
12601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
12602$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12603if ${ac_cv_lib_rt_clock_gettime+:} false; then :
12604  $as_echo_n "(cached) " >&6
12605else
12606  ac_check_lib_save_LIBS=$LIBS
12607LIBS="-lrt  $LIBS"
12608cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12609/* end confdefs.h.  */
12610
12611/* Override any GCC internal prototype to avoid an error.
12612   Use char because int might match the return type of a GCC
12613   builtin and then its argument prototype would still apply.  */
12614#ifdef __cplusplus
12615extern "C"
12616#endif
12617char clock_gettime ();
12618int
12619main ()
12620{
12621return clock_gettime ();
12622  ;
12623  return 0;
12624}
12625_ACEOF
12626if ac_fn_c_try_link "$LINENO"; then :
12627  ac_cv_lib_rt_clock_gettime=yes
12628else
12629  ac_cv_lib_rt_clock_gettime=no
12630fi
12631rm -f core conftest.err conftest.$ac_objext \
12632    conftest$ac_exeext conftest.$ac_ext
12633LIBS=$ac_check_lib_save_LIBS
12634fi
12635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
12636$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
12637if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
12638  CLOCK_GETTIME_LINK=-lrt
12639
12640$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
12641
12642fi
12643
12644fi
12645
12646
12647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
12648$as_echo_n "checking whether -pthread is supported... " >&6; }
12649if ${libgo_cv_lib_pthread+:} false; then :
12650  $as_echo_n "(cached) " >&6
12651else
12652  CFLAGS_hold=$CFLAGS
12653CFLAGS="$CFLAGS -pthread"
12654cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12655/* end confdefs.h.  */
12656int i;
12657_ACEOF
12658if ac_fn_c_try_compile "$LINENO"; then :
12659  libgo_cv_lib_pthread=yes
12660else
12661  libgo_cv_lib_pthread=no
12662fi
12663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12664CFLAGS=$CFLAGS_hold
12665fi
12666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
12667$as_echo "$libgo_cv_lib_pthread" >&6; }
12668PTHREAD_CFLAGS=
12669if test "$libgo_cv_lib_pthread" = yes; then
12670  PTHREAD_CFLAGS=-pthread
12671fi
12672
12673
12674 if test "$libgo_cv_lib_pthread" = yes; then
12675  HAVE_PTHREAD_TRUE=
12676  HAVE_PTHREAD_FALSE='#'
12677else
12678  HAVE_PTHREAD_TRUE='#'
12679  HAVE_PTHREAD_FALSE=
12680fi
12681
12682
12683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -gdwarf-5 is supported" >&5
12684$as_echo_n "checking whether -gdwarf-5 is supported... " >&6; }
12685if ${libbacktrace_cv_lib_dwarf5+:} false; then :
12686  $as_echo_n "(cached) " >&6
12687else
12688  CFLAGS_hold=$CFLAGS
12689CFLAGS="$CFLAGS -gdwarf-5"
12690cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12691/* end confdefs.h.  */
12692int i;
12693int
12694main ()
12695{
12696return 0;
12697  ;
12698  return 0;
12699}
12700_ACEOF
12701if ac_fn_c_try_link "$LINENO"; then :
12702  libbacktrace_cv_lib_dwarf5=yes
12703else
12704  libbacktrace_cv_lib_dwarf5=no
12705fi
12706rm -f core conftest.err conftest.$ac_objext \
12707    conftest$ac_exeext conftest.$ac_ext
12708CFLAGS=$CFLAGS_hold
12709fi
12710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_lib_dwarf5" >&5
12711$as_echo "$libbacktrace_cv_lib_dwarf5" >&6; }
12712 if test "$libbacktrace_cv_lib_dwarf5" = yes; then
12713  HAVE_DWARF5_TRUE=
12714  HAVE_DWARF5_FALSE='#'
12715else
12716  HAVE_DWARF5_TRUE='#'
12717  HAVE_DWARF5_FALSE=
12718fi
12719
12720
12721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
12722$as_echo_n "checking for compress in -lz... " >&6; }
12723if ${ac_cv_lib_z_compress+:} false; then :
12724  $as_echo_n "(cached) " >&6
12725else
12726  ac_check_lib_save_LIBS=$LIBS
12727LIBS="-lz  $LIBS"
12728cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12729/* end confdefs.h.  */
12730
12731/* Override any GCC internal prototype to avoid an error.
12732   Use char because int might match the return type of a GCC
12733   builtin and then its argument prototype would still apply.  */
12734#ifdef __cplusplus
12735extern "C"
12736#endif
12737char compress ();
12738int
12739main ()
12740{
12741return compress ();
12742  ;
12743  return 0;
12744}
12745_ACEOF
12746if ac_fn_c_try_link "$LINENO"; then :
12747  ac_cv_lib_z_compress=yes
12748else
12749  ac_cv_lib_z_compress=no
12750fi
12751rm -f core conftest.err conftest.$ac_objext \
12752    conftest$ac_exeext conftest.$ac_ext
12753LIBS=$ac_check_lib_save_LIBS
12754fi
12755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
12756$as_echo "$ac_cv_lib_z_compress" >&6; }
12757if test "x$ac_cv_lib_z_compress" = xyes; then :
12758
12759$as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12760
12761fi
12762
12763 if test "$ac_cv_lib_z_compress" = yes; then
12764  HAVE_ZLIB_TRUE=
12765  HAVE_ZLIB_FALSE='#'
12766else
12767  HAVE_ZLIB_TRUE='#'
12768  HAVE_ZLIB_FALSE=
12769fi
12770
12771
12772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections is supported" >&5
12773$as_echo_n "checking whether --compress-debug-sections is supported... " >&6; }
12774if ${libgo_cv_ld_compress+:} false; then :
12775  $as_echo_n "(cached) " >&6
12776else
12777  LDFLAGS_hold=$LDFLAGS
12778LDFLAGS="$LDFLAGS -Wl,--compress-debug-sections=zlib-gnu"
12779cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12780/* end confdefs.h.  */
12781
12782int
12783main ()
12784{
12785
12786  ;
12787  return 0;
12788}
12789_ACEOF
12790if ac_fn_c_try_link "$LINENO"; then :
12791  libgo_cv_ld_compress=yes
12792else
12793  libgo_cv_ld_compress=no
12794fi
12795rm -f core conftest.err conftest.$ac_objext \
12796    conftest$ac_exeext conftest.$ac_ext
12797LDFLAGS=$LDFLAGS_hold
12798fi
12799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress" >&5
12800$as_echo "$libgo_cv_ld_compress" >&6; }
12801 if test "$libgo_cv_ld_compress" = yes; then
12802  HAVE_COMPRESSED_DEBUG_TRUE=
12803  HAVE_COMPRESSED_DEBUG_FALSE='#'
12804else
12805  HAVE_COMPRESSED_DEBUG_TRUE='#'
12806  HAVE_COMPRESSED_DEBUG_FALSE=
12807fi
12808
12809
12810
12811# Extract the first word of "objcopy", so it can be a program name with args.
12812set dummy objcopy; ac_word=$2
12813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12814$as_echo_n "checking for $ac_word... " >&6; }
12815if ${ac_cv_prog_OBJCOPY+:} false; then :
12816  $as_echo_n "(cached) " >&6
12817else
12818  if test -n "$OBJCOPY"; then
12819  ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12820else
12821as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12822for as_dir in $PATH
12823do
12824  IFS=$as_save_IFS
12825  test -z "$as_dir" && as_dir=.
12826    for ac_exec_ext in '' $ac_executable_extensions; do
12827  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12828    ac_cv_prog_OBJCOPY="objcopy"
12829    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12830    break 2
12831  fi
12832done
12833  done
12834IFS=$as_save_IFS
12835
12836fi
12837fi
12838OBJCOPY=$ac_cv_prog_OBJCOPY
12839if test -n "$OBJCOPY"; then
12840  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
12841$as_echo "$OBJCOPY" >&6; }
12842else
12843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12844$as_echo "no" >&6; }
12845fi
12846
12847
12848# Extract the first word of "readelf", so it can be a program name with args.
12849set dummy readelf; ac_word=$2
12850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12851$as_echo_n "checking for $ac_word... " >&6; }
12852if ${ac_cv_prog_READELF+:} false; then :
12853  $as_echo_n "(cached) " >&6
12854else
12855  if test -n "$READELF"; then
12856  ac_cv_prog_READELF="$READELF" # Let the user override the test.
12857else
12858as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12859for as_dir in $PATH
12860do
12861  IFS=$as_save_IFS
12862  test -z "$as_dir" && as_dir=.
12863    for ac_exec_ext in '' $ac_executable_extensions; do
12864  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12865    ac_cv_prog_READELF="readelf"
12866    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12867    break 2
12868  fi
12869done
12870  done
12871IFS=$as_save_IFS
12872
12873fi
12874fi
12875READELF=$ac_cv_prog_READELF
12876if test -n "$READELF"; then
12877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
12878$as_echo "$READELF" >&6; }
12879else
12880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12881$as_echo "no" >&6; }
12882fi
12883
12884
12885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether objcopy supports debuglink" >&5
12886$as_echo_n "checking whether objcopy supports debuglink... " >&6; }
12887if ${libbacktrace_cv_objcopy_debuglink+:} false; then :
12888  $as_echo_n "(cached) " >&6
12889else
12890  if test -n "${with_target_subdir}"; then
12891  libbacktrace_cv_objcopy_debuglink=no
12892elif ! test -n "${OBJCOPY}"; then
12893  libbacktrace_cv_objcopy_debuglink=no
12894elif ${OBJCOPY} --help | fgrep add-gnu-debuglink >/dev/null 2>&1; then
12895  libbacktrace_cv_objcopy_debuglink=yes
12896else
12897  libbacktrace_cv_objcopy_debuglink=no
12898fi
12899fi
12900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_objcopy_debuglink" >&5
12901$as_echo "$libbacktrace_cv_objcopy_debuglink" >&6; }
12902 if test "$libbacktrace_cv_objcopy_debuglink" = yes; then
12903  HAVE_OBJCOPY_DEBUGLINK_TRUE=
12904  HAVE_OBJCOPY_DEBUGLINK_FALSE='#'
12905else
12906  HAVE_OBJCOPY_DEBUGLINK_TRUE='#'
12907  HAVE_OBJCOPY_DEBUGLINK_FALSE=
12908fi
12909
12910
12911
12912# Extract the first word of "dsymutil", so it can be a program name with args.
12913set dummy dsymutil; ac_word=$2
12914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12915$as_echo_n "checking for $ac_word... " >&6; }
12916if ${ac_cv_prog_DSYMUTIL+:} false; then :
12917  $as_echo_n "(cached) " >&6
12918else
12919  if test -n "$DSYMUTIL"; then
12920  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
12921else
12922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12923for as_dir in $PATH
12924do
12925  IFS=$as_save_IFS
12926  test -z "$as_dir" && as_dir=.
12927    for ac_exec_ext in '' $ac_executable_extensions; do
12928  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12929    ac_cv_prog_DSYMUTIL="dsymutil"
12930    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12931    break 2
12932  fi
12933done
12934  done
12935IFS=$as_save_IFS
12936
12937fi
12938fi
12939DSYMUTIL=$ac_cv_prog_DSYMUTIL
12940if test -n "$DSYMUTIL"; then
12941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
12942$as_echo "$DSYMUTIL" >&6; }
12943else
12944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12945$as_echo "no" >&6; }
12946fi
12947
12948
12949 if test -n "${DSYMUTIL}" -a "$FORMAT_FILE" = "macho.lo"; then
12950  USE_DSYMUTIL_TRUE=
12951  USE_DSYMUTIL_FALSE='#'
12952else
12953  USE_DSYMUTIL_TRUE='#'
12954  USE_DSYMUTIL_FALSE=
12955fi
12956
12957
12958
12959# Extract the first word of "nm", so it can be a program name with args.
12960set dummy nm; ac_word=$2
12961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12962$as_echo_n "checking for $ac_word... " >&6; }
12963if ${ac_cv_prog_NM+:} false; then :
12964  $as_echo_n "(cached) " >&6
12965else
12966  if test -n "$NM"; then
12967  ac_cv_prog_NM="$NM" # Let the user override the test.
12968else
12969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12970for as_dir in $PATH
12971do
12972  IFS=$as_save_IFS
12973  test -z "$as_dir" && as_dir=.
12974    for ac_exec_ext in '' $ac_executable_extensions; do
12975  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12976    ac_cv_prog_NM="nm"
12977    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12978    break 2
12979  fi
12980done
12981  done
12982IFS=$as_save_IFS
12983
12984fi
12985fi
12986NM=$ac_cv_prog_NM
12987if test -n "$NM"; then
12988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
12989$as_echo "$NM" >&6; }
12990else
12991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12992$as_echo "no" >&6; }
12993fi
12994
12995
12996
12997# Extract the first word of "xz", so it can be a program name with args.
12998set dummy xz; ac_word=$2
12999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13000$as_echo_n "checking for $ac_word... " >&6; }
13001if ${ac_cv_prog_XZ+:} false; then :
13002  $as_echo_n "(cached) " >&6
13003else
13004  if test -n "$XZ"; then
13005  ac_cv_prog_XZ="$XZ" # Let the user override the test.
13006else
13007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13008for as_dir in $PATH
13009do
13010  IFS=$as_save_IFS
13011  test -z "$as_dir" && as_dir=.
13012    for ac_exec_ext in '' $ac_executable_extensions; do
13013  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13014    ac_cv_prog_XZ="xz"
13015    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13016    break 2
13017  fi
13018done
13019  done
13020IFS=$as_save_IFS
13021
13022fi
13023fi
13024XZ=$ac_cv_prog_XZ
13025if test -n "$XZ"; then
13026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5
13027$as_echo "$XZ" >&6; }
13028else
13029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13030$as_echo "no" >&6; }
13031fi
13032
13033
13034 if test "$XZ" != ""; then
13035  HAVE_XZ_TRUE=
13036  HAVE_XZ_FALSE='#'
13037else
13038  HAVE_XZ_TRUE='#'
13039  HAVE_XZ_FALSE=
13040fi
13041
13042# Extract the first word of "comm", so it can be a program name with args.
13043set dummy comm; ac_word=$2
13044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13045$as_echo_n "checking for $ac_word... " >&6; }
13046if ${ac_cv_prog_COMM+:} false; then :
13047  $as_echo_n "(cached) " >&6
13048else
13049  if test -n "$COMM"; then
13050  ac_cv_prog_COMM="$COMM" # Let the user override the test.
13051else
13052as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13053for as_dir in $PATH
13054do
13055  IFS=$as_save_IFS
13056  test -z "$as_dir" && as_dir=.
13057    for ac_exec_ext in '' $ac_executable_extensions; do
13058  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13059    ac_cv_prog_COMM="comm"
13060    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13061    break 2
13062  fi
13063done
13064  done
13065IFS=$as_save_IFS
13066
13067fi
13068fi
13069COMM=$ac_cv_prog_COMM
13070if test -n "$COMM"; then
13071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMM" >&5
13072$as_echo "$COMM" >&6; }
13073else
13074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13075$as_echo "no" >&6; }
13076fi
13077
13078
13079 if test "$COMM" != ""; then
13080  HAVE_COMM_TRUE=
13081  HAVE_COMM_FALSE='#'
13082else
13083  HAVE_COMM_TRUE='#'
13084  HAVE_COMM_FALSE=
13085fi
13086
13087
13088 if test "${with_target_subdir}" = "" -a "$FORMAT_FILE" = "elf.lo" -a "${OBJCOPY}" != "" -a "${NM}" != "" -a "${XZ}" != "" -a "${COMM}" != ""; then
13089  HAVE_MINIDEBUG_TRUE=
13090  HAVE_MINIDEBUG_FALSE='#'
13091else
13092  HAVE_MINIDEBUG_TRUE='#'
13093  HAVE_MINIDEBUG_FALSE=
13094fi
13095
13096
13097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_auto_decoder in -llzma" >&5
13098$as_echo_n "checking for lzma_auto_decoder in -llzma... " >&6; }
13099if ${ac_cv_lib_lzma_lzma_auto_decoder+:} false; then :
13100  $as_echo_n "(cached) " >&6
13101else
13102  ac_check_lib_save_LIBS=$LIBS
13103LIBS="-llzma  $LIBS"
13104cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13105/* end confdefs.h.  */
13106
13107/* Override any GCC internal prototype to avoid an error.
13108   Use char because int might match the return type of a GCC
13109   builtin and then its argument prototype would still apply.  */
13110#ifdef __cplusplus
13111extern "C"
13112#endif
13113char lzma_auto_decoder ();
13114int
13115main ()
13116{
13117return lzma_auto_decoder ();
13118  ;
13119  return 0;
13120}
13121_ACEOF
13122if ac_fn_c_try_link "$LINENO"; then :
13123  ac_cv_lib_lzma_lzma_auto_decoder=yes
13124else
13125  ac_cv_lib_lzma_lzma_auto_decoder=no
13126fi
13127rm -f core conftest.err conftest.$ac_objext \
13128    conftest$ac_exeext conftest.$ac_ext
13129LIBS=$ac_check_lib_save_LIBS
13130fi
13131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_auto_decoder" >&5
13132$as_echo "$ac_cv_lib_lzma_lzma_auto_decoder" >&6; }
13133if test "x$ac_cv_lib_lzma_lzma_auto_decoder" = xyes; then :
13134
13135$as_echo "#define HAVE_LIBLZMA 1" >>confdefs.h
13136
13137fi
13138
13139 if test "$ac_cv_lib_lzma_lzma_auto_decoder" = yes; then
13140  HAVE_LIBLZMA_TRUE=
13141  HAVE_LIBLZMA_FALSE='#'
13142else
13143  HAVE_LIBLZMA_TRUE='#'
13144  HAVE_LIBLZMA_FALSE=
13145fi
13146
13147
13148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
13149$as_echo_n "checking whether tests can run... " >&6; }
13150if ${libbacktrace_cv_sys_native+:} false; then :
13151  $as_echo_n "(cached) " >&6
13152else
13153  if test "$cross_compiling" = yes; then :
13154  libbacktrace_cv_sys_native=no
13155else
13156  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13157/* end confdefs.h.  */
13158
13159int
13160main ()
13161{
13162return 0;
13163  ;
13164  return 0;
13165}
13166_ACEOF
13167if ac_fn_c_try_run "$LINENO"; then :
13168  libbacktrace_cv_sys_native=yes
13169else
13170  libbacktrace_cv_sys_native=no
13171fi
13172rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13173  conftest.$ac_objext conftest.beam conftest.$ac_ext
13174fi
13175
13176fi
13177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
13178$as_echo "$libbacktrace_cv_sys_native" >&6; }
13179 if test "$libbacktrace_cv_sys_native" = "yes"; then
13180  NATIVE_TRUE=
13181  NATIVE_FALSE='#'
13182else
13183  NATIVE_TRUE='#'
13184  NATIVE_FALSE=
13185fi
13186
13187
13188if test "${multilib}" = "yes"; then
13189  multilib_arg="--enable-multilib"
13190else
13191  multilib_arg=
13192fi
13193
13194ac_config_files="$ac_config_files Makefile backtrace-supported.h"
13195
13196ac_config_files="$ac_config_files install-debuginfo-for-buildid.sh"
13197
13198
13199# We need multilib support, but only if configuring for the target.
13200ac_config_commands="$ac_config_commands default"
13201
13202
13203cat >confcache <<\_ACEOF
13204# This file is a shell script that caches the results of configure
13205# tests run on this system so they can be shared between configure
13206# scripts and configure runs, see configure's option --config-cache.
13207# It is not useful on other systems.  If it contains results you don't
13208# want to keep, you may remove or edit it.
13209#
13210# config.status only pays attention to the cache file if you give it
13211# the --recheck option to rerun configure.
13212#
13213# `ac_cv_env_foo' variables (set or unset) will be overridden when
13214# loading this file, other *unset* `ac_cv_foo' will be assigned the
13215# following values.
13216
13217_ACEOF
13218
13219# The following way of writing the cache mishandles newlines in values,
13220# but we know of no workaround that is simple, portable, and efficient.
13221# So, we kill variables containing newlines.
13222# Ultrix sh set writes to stderr and can't be redirected directly,
13223# and sets the high bit in the cache file unless we assign to the vars.
13224(
13225  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13226    eval ac_val=\$$ac_var
13227    case $ac_val in #(
13228    *${as_nl}*)
13229      case $ac_var in #(
13230      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13231$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13232      esac
13233      case $ac_var in #(
13234      _ | IFS | as_nl) ;; #(
13235      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13236      *) { eval $ac_var=; unset $ac_var;} ;;
13237      esac ;;
13238    esac
13239  done
13240
13241  (set) 2>&1 |
13242    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13243    *${as_nl}ac_space=\ *)
13244      # `set' does not quote correctly, so add quotes: double-quote
13245      # substitution turns \\\\ into \\, and sed turns \\ into \.
13246      sed -n \
13247	"s/'/'\\\\''/g;
13248	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13249      ;; #(
13250    *)
13251      # `set' quotes correctly as required by POSIX, so do not add quotes.
13252      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13253      ;;
13254    esac |
13255    sort
13256) |
13257  sed '
13258     /^ac_cv_env_/b end
13259     t clear
13260     :clear
13261     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13262     t end
13263     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13264     :end' >>confcache
13265if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13266  if test -w "$cache_file"; then
13267    if test "x$cache_file" != "x/dev/null"; then
13268      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13269$as_echo "$as_me: updating cache $cache_file" >&6;}
13270      if test ! -f "$cache_file" || test -h "$cache_file"; then
13271	cat confcache >"$cache_file"
13272      else
13273        case $cache_file in #(
13274        */* | ?:*)
13275	  mv -f confcache "$cache_file"$$ &&
13276	  mv -f "$cache_file"$$ "$cache_file" ;; #(
13277        *)
13278	  mv -f confcache "$cache_file" ;;
13279	esac
13280      fi
13281    fi
13282  else
13283    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13284$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13285  fi
13286fi
13287rm -f confcache
13288
13289test "x$prefix" = xNONE && prefix=$ac_default_prefix
13290# Let make expand exec_prefix.
13291test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13292
13293DEFS=-DHAVE_CONFIG_H
13294
13295ac_libobjs=
13296ac_ltlibobjs=
13297U=
13298for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13299  # 1. Remove the extension, and $U if already installed.
13300  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13301  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13302  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13303  #    will be set to the directory where LIBOBJS objects are built.
13304  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13305  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13306done
13307LIBOBJS=$ac_libobjs
13308
13309LTLIBOBJS=$ac_ltlibobjs
13310
13311
13312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13313$as_echo_n "checking that generated files are newer than configure... " >&6; }
13314   if test -n "$am_sleep_pid"; then
13315     # Hide warnings about reused PIDs.
13316     wait $am_sleep_pid 2>/dev/null
13317   fi
13318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13319$as_echo "done" >&6; }
13320 if test -n "$EXEEXT"; then
13321  am__EXEEXT_TRUE=
13322  am__EXEEXT_FALSE='#'
13323else
13324  am__EXEEXT_TRUE='#'
13325  am__EXEEXT_FALSE=
13326fi
13327
13328if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13329  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13330Usually this means the macro was only invoked conditionally." "$LINENO" 5
13331fi
13332if test -z "${HAVE_DWZ_TRUE}" && test -z "${HAVE_DWZ_FALSE}"; then
13333  as_fn_error $? "conditional \"HAVE_DWZ\" was never defined.
13334Usually this means the macro was only invoked conditionally." "$LINENO" 5
13335fi
13336if test -z "${HAVE_ELF_TRUE}" && test -z "${HAVE_ELF_FALSE}"; then
13337  as_fn_error $? "conditional \"HAVE_ELF\" was never defined.
13338Usually this means the macro was only invoked conditionally." "$LINENO" 5
13339fi
13340if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
13341  as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
13342Usually this means the macro was only invoked conditionally." "$LINENO" 5
13343fi
13344if test -z "${HAVE_DWARF5_TRUE}" && test -z "${HAVE_DWARF5_FALSE}"; then
13345  as_fn_error $? "conditional \"HAVE_DWARF5\" was never defined.
13346Usually this means the macro was only invoked conditionally." "$LINENO" 5
13347fi
13348if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
13349  as_fn_error $? "conditional \"HAVE_ZLIB\" was never defined.
13350Usually this means the macro was only invoked conditionally." "$LINENO" 5
13351fi
13352if test -z "${HAVE_COMPRESSED_DEBUG_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_FALSE}"; then
13353  as_fn_error $? "conditional \"HAVE_COMPRESSED_DEBUG\" was never defined.
13354Usually this means the macro was only invoked conditionally." "$LINENO" 5
13355fi
13356if test -z "${HAVE_OBJCOPY_DEBUGLINK_TRUE}" && test -z "${HAVE_OBJCOPY_DEBUGLINK_FALSE}"; then
13357  as_fn_error $? "conditional \"HAVE_OBJCOPY_DEBUGLINK\" was never defined.
13358Usually this means the macro was only invoked conditionally." "$LINENO" 5
13359fi
13360if test -z "${USE_DSYMUTIL_TRUE}" && test -z "${USE_DSYMUTIL_FALSE}"; then
13361  as_fn_error $? "conditional \"USE_DSYMUTIL\" was never defined.
13362Usually this means the macro was only invoked conditionally." "$LINENO" 5
13363fi
13364if test -z "${HAVE_XZ_TRUE}" && test -z "${HAVE_XZ_FALSE}"; then
13365  as_fn_error $? "conditional \"HAVE_XZ\" was never defined.
13366Usually this means the macro was only invoked conditionally." "$LINENO" 5
13367fi
13368if test -z "${HAVE_COMM_TRUE}" && test -z "${HAVE_COMM_FALSE}"; then
13369  as_fn_error $? "conditional \"HAVE_COMM\" was never defined.
13370Usually this means the macro was only invoked conditionally." "$LINENO" 5
13371fi
13372if test -z "${HAVE_MINIDEBUG_TRUE}" && test -z "${HAVE_MINIDEBUG_FALSE}"; then
13373  as_fn_error $? "conditional \"HAVE_MINIDEBUG\" was never defined.
13374Usually this means the macro was only invoked conditionally." "$LINENO" 5
13375fi
13376if test -z "${HAVE_LIBLZMA_TRUE}" && test -z "${HAVE_LIBLZMA_FALSE}"; then
13377  as_fn_error $? "conditional \"HAVE_LIBLZMA\" was never defined.
13378Usually this means the macro was only invoked conditionally." "$LINENO" 5
13379fi
13380if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
13381  as_fn_error $? "conditional \"NATIVE\" was never defined.
13382Usually this means the macro was only invoked conditionally." "$LINENO" 5
13383fi
13384
13385: "${CONFIG_STATUS=./config.status}"
13386ac_write_fail=0
13387ac_clean_files_save=$ac_clean_files
13388ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13389{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13390$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13391as_write_fail=0
13392cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13393#! $SHELL
13394# Generated by $as_me.
13395# Run this file to recreate the current configuration.
13396# Compiler output produced by configure, useful for debugging
13397# configure, is in config.log if it exists.
13398
13399debug=false
13400ac_cs_recheck=false
13401ac_cs_silent=false
13402
13403SHELL=\${CONFIG_SHELL-$SHELL}
13404export SHELL
13405_ASEOF
13406cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13407## -------------------- ##
13408## M4sh Initialization. ##
13409## -------------------- ##
13410
13411# Be more Bourne compatible
13412DUALCASE=1; export DUALCASE # for MKS sh
13413if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13414  emulate sh
13415  NULLCMD=:
13416  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13417  # is contrary to our usage.  Disable this feature.
13418  alias -g '${1+"$@"}'='"$@"'
13419  setopt NO_GLOB_SUBST
13420else
13421  case `(set -o) 2>/dev/null` in #(
13422  *posix*) :
13423    set -o posix ;; #(
13424  *) :
13425     ;;
13426esac
13427fi
13428
13429
13430as_nl='
13431'
13432export as_nl
13433# Printing a long string crashes Solaris 7 /usr/bin/printf.
13434as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13435as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13436as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13437# Prefer a ksh shell builtin over an external printf program on Solaris,
13438# but without wasting forks for bash or zsh.
13439if test -z "$BASH_VERSION$ZSH_VERSION" \
13440    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13441  as_echo='print -r --'
13442  as_echo_n='print -rn --'
13443elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13444  as_echo='printf %s\n'
13445  as_echo_n='printf %s'
13446else
13447  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13448    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13449    as_echo_n='/usr/ucb/echo -n'
13450  else
13451    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13452    as_echo_n_body='eval
13453      arg=$1;
13454      case $arg in #(
13455      *"$as_nl"*)
13456	expr "X$arg" : "X\\(.*\\)$as_nl";
13457	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13458      esac;
13459      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13460    '
13461    export as_echo_n_body
13462    as_echo_n='sh -c $as_echo_n_body as_echo'
13463  fi
13464  export as_echo_body
13465  as_echo='sh -c $as_echo_body as_echo'
13466fi
13467
13468# The user is always right.
13469if test "${PATH_SEPARATOR+set}" != set; then
13470  PATH_SEPARATOR=:
13471  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13472    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13473      PATH_SEPARATOR=';'
13474  }
13475fi
13476
13477
13478# IFS
13479# We need space, tab and new line, in precisely that order.  Quoting is
13480# there to prevent editors from complaining about space-tab.
13481# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13482# splitting by setting IFS to empty value.)
13483IFS=" ""	$as_nl"
13484
13485# Find who we are.  Look in the path if we contain no directory separator.
13486as_myself=
13487case $0 in #((
13488  *[\\/]* ) as_myself=$0 ;;
13489  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13490for as_dir in $PATH
13491do
13492  IFS=$as_save_IFS
13493  test -z "$as_dir" && as_dir=.
13494    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13495  done
13496IFS=$as_save_IFS
13497
13498     ;;
13499esac
13500# We did not find ourselves, most probably we were run as `sh COMMAND'
13501# in which case we are not to be found in the path.
13502if test "x$as_myself" = x; then
13503  as_myself=$0
13504fi
13505if test ! -f "$as_myself"; then
13506  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13507  exit 1
13508fi
13509
13510# Unset variables that we do not need and which cause bugs (e.g. in
13511# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13512# suppresses any "Segmentation fault" message there.  '((' could
13513# trigger a bug in pdksh 5.2.14.
13514for as_var in BASH_ENV ENV MAIL MAILPATH
13515do eval test x\${$as_var+set} = xset \
13516  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13517done
13518PS1='$ '
13519PS2='> '
13520PS4='+ '
13521
13522# NLS nuisances.
13523LC_ALL=C
13524export LC_ALL
13525LANGUAGE=C
13526export LANGUAGE
13527
13528# CDPATH.
13529(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13530
13531
13532# as_fn_error STATUS ERROR [LINENO LOG_FD]
13533# ----------------------------------------
13534# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13535# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13536# script with STATUS, using 1 if that was 0.
13537as_fn_error ()
13538{
13539  as_status=$1; test $as_status -eq 0 && as_status=1
13540  if test "$4"; then
13541    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13542    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13543  fi
13544  $as_echo "$as_me: error: $2" >&2
13545  as_fn_exit $as_status
13546} # as_fn_error
13547
13548
13549# as_fn_set_status STATUS
13550# -----------------------
13551# Set $? to STATUS, without forking.
13552as_fn_set_status ()
13553{
13554  return $1
13555} # as_fn_set_status
13556
13557# as_fn_exit STATUS
13558# -----------------
13559# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13560as_fn_exit ()
13561{
13562  set +e
13563  as_fn_set_status $1
13564  exit $1
13565} # as_fn_exit
13566
13567# as_fn_unset VAR
13568# ---------------
13569# Portably unset VAR.
13570as_fn_unset ()
13571{
13572  { eval $1=; unset $1;}
13573}
13574as_unset=as_fn_unset
13575# as_fn_append VAR VALUE
13576# ----------------------
13577# Append the text in VALUE to the end of the definition contained in VAR. Take
13578# advantage of any shell optimizations that allow amortized linear growth over
13579# repeated appends, instead of the typical quadratic growth present in naive
13580# implementations.
13581if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13582  eval 'as_fn_append ()
13583  {
13584    eval $1+=\$2
13585  }'
13586else
13587  as_fn_append ()
13588  {
13589    eval $1=\$$1\$2
13590  }
13591fi # as_fn_append
13592
13593# as_fn_arith ARG...
13594# ------------------
13595# Perform arithmetic evaluation on the ARGs, and store the result in the
13596# global $as_val. Take advantage of shells that can avoid forks. The arguments
13597# must be portable across $(()) and expr.
13598if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13599  eval 'as_fn_arith ()
13600  {
13601    as_val=$(( $* ))
13602  }'
13603else
13604  as_fn_arith ()
13605  {
13606    as_val=`expr "$@" || test $? -eq 1`
13607  }
13608fi # as_fn_arith
13609
13610
13611if expr a : '\(a\)' >/dev/null 2>&1 &&
13612   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13613  as_expr=expr
13614else
13615  as_expr=false
13616fi
13617
13618if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13619  as_basename=basename
13620else
13621  as_basename=false
13622fi
13623
13624if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13625  as_dirname=dirname
13626else
13627  as_dirname=false
13628fi
13629
13630as_me=`$as_basename -- "$0" ||
13631$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13632	 X"$0" : 'X\(//\)$' \| \
13633	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13634$as_echo X/"$0" |
13635    sed '/^.*\/\([^/][^/]*\)\/*$/{
13636	    s//\1/
13637	    q
13638	  }
13639	  /^X\/\(\/\/\)$/{
13640	    s//\1/
13641	    q
13642	  }
13643	  /^X\/\(\/\).*/{
13644	    s//\1/
13645	    q
13646	  }
13647	  s/.*/./; q'`
13648
13649# Avoid depending upon Character Ranges.
13650as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13651as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13652as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13653as_cr_digits='0123456789'
13654as_cr_alnum=$as_cr_Letters$as_cr_digits
13655
13656ECHO_C= ECHO_N= ECHO_T=
13657case `echo -n x` in #(((((
13658-n*)
13659  case `echo 'xy\c'` in
13660  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13661  xy)  ECHO_C='\c';;
13662  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13663       ECHO_T='	';;
13664  esac;;
13665*)
13666  ECHO_N='-n';;
13667esac
13668
13669rm -f conf$$ conf$$.exe conf$$.file
13670if test -d conf$$.dir; then
13671  rm -f conf$$.dir/conf$$.file
13672else
13673  rm -f conf$$.dir
13674  mkdir conf$$.dir 2>/dev/null
13675fi
13676if (echo >conf$$.file) 2>/dev/null; then
13677  if ln -s conf$$.file conf$$ 2>/dev/null; then
13678    as_ln_s='ln -s'
13679    # ... but there are two gotchas:
13680    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13681    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13682    # In both cases, we have to default to `cp -pR'.
13683    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13684      as_ln_s='cp -pR'
13685  elif ln conf$$.file conf$$ 2>/dev/null; then
13686    as_ln_s=ln
13687  else
13688    as_ln_s='cp -pR'
13689  fi
13690else
13691  as_ln_s='cp -pR'
13692fi
13693rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13694rmdir conf$$.dir 2>/dev/null
13695
13696
13697# as_fn_mkdir_p
13698# -------------
13699# Create "$as_dir" as a directory, including parents if necessary.
13700as_fn_mkdir_p ()
13701{
13702
13703  case $as_dir in #(
13704  -*) as_dir=./$as_dir;;
13705  esac
13706  test -d "$as_dir" || eval $as_mkdir_p || {
13707    as_dirs=
13708    while :; do
13709      case $as_dir in #(
13710      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13711      *) as_qdir=$as_dir;;
13712      esac
13713      as_dirs="'$as_qdir' $as_dirs"
13714      as_dir=`$as_dirname -- "$as_dir" ||
13715$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13716	 X"$as_dir" : 'X\(//\)[^/]' \| \
13717	 X"$as_dir" : 'X\(//\)$' \| \
13718	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13719$as_echo X"$as_dir" |
13720    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13721	    s//\1/
13722	    q
13723	  }
13724	  /^X\(\/\/\)[^/].*/{
13725	    s//\1/
13726	    q
13727	  }
13728	  /^X\(\/\/\)$/{
13729	    s//\1/
13730	    q
13731	  }
13732	  /^X\(\/\).*/{
13733	    s//\1/
13734	    q
13735	  }
13736	  s/.*/./; q'`
13737      test -d "$as_dir" && break
13738    done
13739    test -z "$as_dirs" || eval "mkdir $as_dirs"
13740  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13741
13742
13743} # as_fn_mkdir_p
13744if mkdir -p . 2>/dev/null; then
13745  as_mkdir_p='mkdir -p "$as_dir"'
13746else
13747  test -d ./-p && rmdir ./-p
13748  as_mkdir_p=false
13749fi
13750
13751
13752# as_fn_executable_p FILE
13753# -----------------------
13754# Test if FILE is an executable regular file.
13755as_fn_executable_p ()
13756{
13757  test -f "$1" && test -x "$1"
13758} # as_fn_executable_p
13759as_test_x='test -x'
13760as_executable_p=as_fn_executable_p
13761
13762# Sed expression to map a string onto a valid CPP name.
13763as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13764
13765# Sed expression to map a string onto a valid variable name.
13766as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13767
13768
13769exec 6>&1
13770## ----------------------------------- ##
13771## Main body of $CONFIG_STATUS script. ##
13772## ----------------------------------- ##
13773_ASEOF
13774test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13775
13776cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13777# Save the log message, to keep $0 and so on meaningful, and to
13778# report actual input values of CONFIG_FILES etc. instead of their
13779# values after options handling.
13780ac_log="
13781This file was extended by package-unused $as_me version-unused, which was
13782generated by GNU Autoconf 2.69.  Invocation command line was
13783
13784  CONFIG_FILES    = $CONFIG_FILES
13785  CONFIG_HEADERS  = $CONFIG_HEADERS
13786  CONFIG_LINKS    = $CONFIG_LINKS
13787  CONFIG_COMMANDS = $CONFIG_COMMANDS
13788  $ $0 $@
13789
13790on `(hostname || uname -n) 2>/dev/null | sed 1q`
13791"
13792
13793_ACEOF
13794
13795case $ac_config_files in *"
13796"*) set x $ac_config_files; shift; ac_config_files=$*;;
13797esac
13798
13799case $ac_config_headers in *"
13800"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13801esac
13802
13803
13804cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13805# Files that config.status was made for.
13806config_files="$ac_config_files"
13807config_headers="$ac_config_headers"
13808config_commands="$ac_config_commands"
13809
13810_ACEOF
13811
13812cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13813ac_cs_usage="\
13814\`$as_me' instantiates files and other configuration actions
13815from templates according to the current configuration.  Unless the files
13816and actions are specified as TAGs, all are instantiated by default.
13817
13818Usage: $0 [OPTION]... [TAG]...
13819
13820  -h, --help       print this help, then exit
13821  -V, --version    print version number and configuration settings, then exit
13822      --config     print configuration, then exit
13823  -q, --quiet, --silent
13824                   do not print progress messages
13825  -d, --debug      don't remove temporary files
13826      --recheck    update $as_me by reconfiguring in the same conditions
13827      --file=FILE[:TEMPLATE]
13828                   instantiate the configuration file FILE
13829      --header=FILE[:TEMPLATE]
13830                   instantiate the configuration header FILE
13831
13832Configuration files:
13833$config_files
13834
13835Configuration headers:
13836$config_headers
13837
13838Configuration commands:
13839$config_commands
13840
13841Report bugs to the package provider."
13842
13843_ACEOF
13844cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13845ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13846ac_cs_version="\\
13847package-unused config.status version-unused
13848configured by $0, generated by GNU Autoconf 2.69,
13849  with options \\"\$ac_cs_config\\"
13850
13851Copyright (C) 2012 Free Software Foundation, Inc.
13852This config.status script is free software; the Free Software Foundation
13853gives unlimited permission to copy, distribute and modify it."
13854
13855ac_pwd='$ac_pwd'
13856srcdir='$srcdir'
13857INSTALL='$INSTALL'
13858MKDIR_P='$MKDIR_P'
13859AWK='$AWK'
13860test -n "\$AWK" || AWK=awk
13861_ACEOF
13862
13863cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13864# The default lists apply if the user does not specify any file.
13865ac_need_defaults=:
13866while test $# != 0
13867do
13868  case $1 in
13869  --*=?*)
13870    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13871    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13872    ac_shift=:
13873    ;;
13874  --*=)
13875    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13876    ac_optarg=
13877    ac_shift=:
13878    ;;
13879  *)
13880    ac_option=$1
13881    ac_optarg=$2
13882    ac_shift=shift
13883    ;;
13884  esac
13885
13886  case $ac_option in
13887  # Handling of the options.
13888  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13889    ac_cs_recheck=: ;;
13890  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13891    $as_echo "$ac_cs_version"; exit ;;
13892  --config | --confi | --conf | --con | --co | --c )
13893    $as_echo "$ac_cs_config"; exit ;;
13894  --debug | --debu | --deb | --de | --d | -d )
13895    debug=: ;;
13896  --file | --fil | --fi | --f )
13897    $ac_shift
13898    case $ac_optarg in
13899    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13900    '') as_fn_error $? "missing file argument" ;;
13901    esac
13902    as_fn_append CONFIG_FILES " '$ac_optarg'"
13903    ac_need_defaults=false;;
13904  --header | --heade | --head | --hea )
13905    $ac_shift
13906    case $ac_optarg in
13907    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13908    esac
13909    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13910    ac_need_defaults=false;;
13911  --he | --h)
13912    # Conflict between --help and --header
13913    as_fn_error $? "ambiguous option: \`$1'
13914Try \`$0 --help' for more information.";;
13915  --help | --hel | -h )
13916    $as_echo "$ac_cs_usage"; exit ;;
13917  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13918  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13919    ac_cs_silent=: ;;
13920
13921  # This is an error.
13922  -*) as_fn_error $? "unrecognized option: \`$1'
13923Try \`$0 --help' for more information." ;;
13924
13925  *) as_fn_append ac_config_targets " $1"
13926     ac_need_defaults=false ;;
13927
13928  esac
13929  shift
13930done
13931
13932ac_configure_extra_args=
13933
13934if $ac_cs_silent; then
13935  exec 6>/dev/null
13936  ac_configure_extra_args="$ac_configure_extra_args --silent"
13937fi
13938
13939_ACEOF
13940cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13941if \$ac_cs_recheck; then
13942  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13943  shift
13944  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13945  CONFIG_SHELL='$SHELL'
13946  export CONFIG_SHELL
13947  exec "\$@"
13948fi
13949
13950_ACEOF
13951cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13952exec 5>>config.log
13953{
13954  echo
13955  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13956## Running $as_me. ##
13957_ASBOX
13958  $as_echo "$ac_log"
13959} >&5
13960
13961_ACEOF
13962cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13963#
13964# INIT-COMMANDS
13965#
13966
13967srcdir="$srcdir"
13968host="$host"
13969target="$target"
13970with_multisubdir="$with_multisubdir"
13971with_multisrctop="$with_multisrctop"
13972with_target_subdir="$with_target_subdir"
13973ac_configure_args="${multilib_arg} ${ac_configure_args}"
13974multi_basedir="$multi_basedir"
13975CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13976CC="$CC"
13977CXX="$CXX"
13978GFORTRAN="$GFORTRAN"
13979GDC="$GDC"
13980
13981
13982# The HP-UX ksh and POSIX shell print the target directory to stdout
13983# if CDPATH is set.
13984(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13985
13986sed_quote_subst='$sed_quote_subst'
13987double_quote_subst='$double_quote_subst'
13988delay_variable_subst='$delay_variable_subst'
13989enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13990macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13991macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13992enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13993pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13994enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13995SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13996ECHO='`$ECHO "$ECHO" | $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"`'
14017reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14018reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14019OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14020deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14021file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14022AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14023AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14024STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14025RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14026old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14027old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14028old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14029lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14030CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14031CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14032compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14033GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14034lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14035lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14036lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14037lt_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"`'
14038objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14039MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14040lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14041lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14042lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14043lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14044lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14045need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14046DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14047NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14048LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14049OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14050OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14051libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14052shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14053extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14054archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14055enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14056export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14057whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14058compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14059old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14060old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14061archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14062archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14063module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14064module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14065with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14066allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14067no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14068hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14069hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14070hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14071hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14072hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14073hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14074hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14075hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14076inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14077link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14078fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14079always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14080export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14081exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14082include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14083prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14084file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14085variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14086need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14087need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14088version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14089runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14090shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14091shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14092libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14093library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14094soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14095install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14096postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14097postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14098finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14099finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14100hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14101sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14102sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14103hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14104enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14105enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14106enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14107old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14108striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14109
14110LTCC='$LTCC'
14111LTCFLAGS='$LTCFLAGS'
14112compiler='$compiler_DEFAULT'
14113
14114# A function that is used when there is no print builtin or printf.
14115func_fallback_echo ()
14116{
14117  eval 'cat <<_LTECHO_EOF
14118\$1
14119_LTECHO_EOF'
14120}
14121
14122# Quote evaled strings.
14123for var in SHELL \
14124ECHO \
14125SED \
14126GREP \
14127EGREP \
14128FGREP \
14129LD \
14130NM \
14131LN_S \
14132lt_SP2NL \
14133lt_NL2SP \
14134reload_flag \
14135OBJDUMP \
14136deplibs_check_method \
14137file_magic_cmd \
14138AR \
14139AR_FLAGS \
14140STRIP \
14141RANLIB \
14142CC \
14143CFLAGS \
14144compiler \
14145lt_cv_sys_global_symbol_pipe \
14146lt_cv_sys_global_symbol_to_cdecl \
14147lt_cv_sys_global_symbol_to_c_name_address \
14148lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14149lt_prog_compiler_no_builtin_flag \
14150lt_prog_compiler_wl \
14151lt_prog_compiler_pic \
14152lt_prog_compiler_static \
14153lt_cv_prog_compiler_c_o \
14154need_locks \
14155DSYMUTIL \
14156NMEDIT \
14157LIPO \
14158OTOOL \
14159OTOOL64 \
14160shrext_cmds \
14161export_dynamic_flag_spec \
14162whole_archive_flag_spec \
14163compiler_needs_object \
14164with_gnu_ld \
14165allow_undefined_flag \
14166no_undefined_flag \
14167hardcode_libdir_flag_spec \
14168hardcode_libdir_flag_spec_ld \
14169hardcode_libdir_separator \
14170fix_srcfile_path \
14171exclude_expsyms \
14172include_expsyms \
14173file_list_spec \
14174variables_saved_for_relink \
14175libname_spec \
14176library_names_spec \
14177soname_spec \
14178install_override_mode \
14179finish_eval \
14180old_striplib \
14181striplib; do
14182    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14183    *[\\\\\\\`\\"\\\$]*)
14184      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14185      ;;
14186    *)
14187      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14188      ;;
14189    esac
14190done
14191
14192# Double-quote double-evaled strings.
14193for var in reload_cmds \
14194old_postinstall_cmds \
14195old_postuninstall_cmds \
14196old_archive_cmds \
14197extract_expsyms_cmds \
14198old_archive_from_new_cmds \
14199old_archive_from_expsyms_cmds \
14200archive_cmds \
14201archive_expsym_cmds \
14202module_cmds \
14203module_expsym_cmds \
14204export_symbols_cmds \
14205prelink_cmds \
14206postinstall_cmds \
14207postuninstall_cmds \
14208finish_cmds \
14209sys_lib_search_path_spec \
14210sys_lib_dlsearch_path_spec; do
14211    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14212    *[\\\\\\\`\\"\\\$]*)
14213      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14214      ;;
14215    *)
14216      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14217      ;;
14218    esac
14219done
14220
14221ac_aux_dir='$ac_aux_dir'
14222xsi_shell='$xsi_shell'
14223lt_shell_append='$lt_shell_append'
14224
14225# See if we are running on zsh, and set the options which allow our
14226# commands through without removal of \ escapes INIT.
14227if test -n "\${ZSH_VERSION+set}" ; then
14228   setopt NO_GLOB_SUBST
14229fi
14230
14231
14232    PACKAGE='$PACKAGE'
14233    VERSION='$VERSION'
14234    TIMESTAMP='$TIMESTAMP'
14235    RM='$RM'
14236    ofile='$ofile'
14237
14238
14239
14240
14241# Variables needed in config.status (file generation) which aren't already
14242# passed by autoconf.
14243SUBDIRS="$SUBDIRS"
14244
14245
14246_ACEOF
14247
14248cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14249
14250# Handling of arguments.
14251for ac_config_target in $ac_config_targets
14252do
14253  case $ac_config_target in
14254    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14255    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14256    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14257    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14258    "backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES backtrace-supported.h" ;;
14259    "install-debuginfo-for-buildid.sh") CONFIG_FILES="$CONFIG_FILES install-debuginfo-for-buildid.sh" ;;
14260    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
14261
14262  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14263  esac
14264done
14265
14266
14267# If the user did not use the arguments to specify the items to instantiate,
14268# then the envvar interface is used.  Set only those that are not.
14269# We use the long form for the default assignment because of an extremely
14270# bizarre bug on SunOS 4.1.3.
14271if $ac_need_defaults; then
14272  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14273  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14274  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14275fi
14276
14277# Have a temporary directory for convenience.  Make it in the build tree
14278# simply because there is no reason against having it here, and in addition,
14279# creating and moving files from /tmp can sometimes cause problems.
14280# Hook for its removal unless debugging.
14281# Note that there is a small window in which the directory will not be cleaned:
14282# after its creation but before its name has been assigned to `$tmp'.
14283$debug ||
14284{
14285  tmp= ac_tmp=
14286  trap 'exit_status=$?
14287  : "${ac_tmp:=$tmp}"
14288  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14289' 0
14290  trap 'as_fn_exit 1' 1 2 13 15
14291}
14292# Create a (secure) tmp directory for tmp files.
14293
14294{
14295  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14296  test -d "$tmp"
14297}  ||
14298{
14299  tmp=./conf$$-$RANDOM
14300  (umask 077 && mkdir "$tmp")
14301} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14302ac_tmp=$tmp
14303
14304# Set up the scripts for CONFIG_FILES section.
14305# No need to generate them if there are no CONFIG_FILES.
14306# This happens for instance with `./config.status config.h'.
14307if test -n "$CONFIG_FILES"; then
14308
14309
14310ac_cr=`echo X | tr X '\015'`
14311# On cygwin, bash can eat \r inside `` if the user requested igncr.
14312# But we know of no other shell where ac_cr would be empty at this
14313# point, so we can use a bashism as a fallback.
14314if test "x$ac_cr" = x; then
14315  eval ac_cr=\$\'\\r\'
14316fi
14317ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14318if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14319  ac_cs_awk_cr='\\r'
14320else
14321  ac_cs_awk_cr=$ac_cr
14322fi
14323
14324echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14325_ACEOF
14326
14327
14328{
14329  echo "cat >conf$$subs.awk <<_ACEOF" &&
14330  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14331  echo "_ACEOF"
14332} >conf$$subs.sh ||
14333  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14334ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14335ac_delim='%!_!# '
14336for ac_last_try in false false false false false :; do
14337  . ./conf$$subs.sh ||
14338    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14339
14340  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14341  if test $ac_delim_n = $ac_delim_num; then
14342    break
14343  elif $ac_last_try; then
14344    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14345  else
14346    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14347  fi
14348done
14349rm -f conf$$subs.sh
14350
14351cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14352cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14353_ACEOF
14354sed -n '
14355h
14356s/^/S["/; s/!.*/"]=/
14357p
14358g
14359s/^[^!]*!//
14360:repl
14361t repl
14362s/'"$ac_delim"'$//
14363t delim
14364:nl
14365h
14366s/\(.\{148\}\)..*/\1/
14367t more1
14368s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14369p
14370n
14371b repl
14372:more1
14373s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14374p
14375g
14376s/.\{148\}//
14377t nl
14378:delim
14379h
14380s/\(.\{148\}\)..*/\1/
14381t more2
14382s/["\\]/\\&/g; s/^/"/; s/$/"/
14383p
14384b
14385:more2
14386s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14387p
14388g
14389s/.\{148\}//
14390t delim
14391' <conf$$subs.awk | sed '
14392/^[^""]/{
14393  N
14394  s/\n//
14395}
14396' >>$CONFIG_STATUS || ac_write_fail=1
14397rm -f conf$$subs.awk
14398cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14399_ACAWK
14400cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14401  for (key in S) S_is_set[key] = 1
14402  FS = ""
14403
14404}
14405{
14406  line = $ 0
14407  nfields = split(line, field, "@")
14408  substed = 0
14409  len = length(field[1])
14410  for (i = 2; i < nfields; i++) {
14411    key = field[i]
14412    keylen = length(key)
14413    if (S_is_set[key]) {
14414      value = S[key]
14415      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14416      len += length(value) + length(field[++i])
14417      substed = 1
14418    } else
14419      len += 1 + keylen
14420  }
14421
14422  print line
14423}
14424
14425_ACAWK
14426_ACEOF
14427cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14428if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14429  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14430else
14431  cat
14432fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14433  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14434_ACEOF
14435
14436# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14437# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14438# trailing colons and then remove the whole line if VPATH becomes empty
14439# (actually we leave an empty line to preserve line numbers).
14440if test "x$srcdir" = x.; then
14441  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
14442h
14443s///
14444s/^/:/
14445s/[	 ]*$/:/
14446s/:\$(srcdir):/:/g
14447s/:\${srcdir}:/:/g
14448s/:@srcdir@:/:/g
14449s/^:*//
14450s/:*$//
14451x
14452s/\(=[	 ]*\).*/\1/
14453G
14454s/\n//
14455s/^[^=]*=[	 ]*$//
14456}'
14457fi
14458
14459cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14460fi # test -n "$CONFIG_FILES"
14461
14462# Set up the scripts for CONFIG_HEADERS section.
14463# No need to generate them if there are no CONFIG_HEADERS.
14464# This happens for instance with `./config.status Makefile'.
14465if test -n "$CONFIG_HEADERS"; then
14466cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14467BEGIN {
14468_ACEOF
14469
14470# Transform confdefs.h into an awk script `defines.awk', embedded as
14471# here-document in config.status, that substitutes the proper values into
14472# config.h.in to produce config.h.
14473
14474# Create a delimiter string that does not exist in confdefs.h, to ease
14475# handling of long lines.
14476ac_delim='%!_!# '
14477for ac_last_try in false false :; do
14478  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14479  if test -z "$ac_tt"; then
14480    break
14481  elif $ac_last_try; then
14482    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14483  else
14484    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14485  fi
14486done
14487
14488# For the awk script, D is an array of macro values keyed by name,
14489# likewise P contains macro parameters if any.  Preserve backslash
14490# newline sequences.
14491
14492ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14493sed -n '
14494s/.\{148\}/&'"$ac_delim"'/g
14495t rset
14496:rset
14497s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14498t def
14499d
14500:def
14501s/\\$//
14502t bsnl
14503s/["\\]/\\&/g
14504s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14505D["\1"]=" \3"/p
14506s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14507d
14508:bsnl
14509s/["\\]/\\&/g
14510s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14511D["\1"]=" \3\\\\\\n"\\/p
14512t cont
14513s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14514t cont
14515d
14516:cont
14517n
14518s/.\{148\}/&'"$ac_delim"'/g
14519t clear
14520:clear
14521s/\\$//
14522t bsnlc
14523s/["\\]/\\&/g; s/^/"/; s/$/"/p
14524d
14525:bsnlc
14526s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14527b cont
14528' <confdefs.h | sed '
14529s/'"$ac_delim"'/"\\\
14530"/g' >>$CONFIG_STATUS || ac_write_fail=1
14531
14532cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14533  for (key in D) D_is_set[key] = 1
14534  FS = ""
14535}
14536/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14537  line = \$ 0
14538  split(line, arg, " ")
14539  if (arg[1] == "#") {
14540    defundef = arg[2]
14541    mac1 = arg[3]
14542  } else {
14543    defundef = substr(arg[1], 2)
14544    mac1 = arg[2]
14545  }
14546  split(mac1, mac2, "(") #)
14547  macro = mac2[1]
14548  prefix = substr(line, 1, index(line, defundef) - 1)
14549  if (D_is_set[macro]) {
14550    # Preserve the white space surrounding the "#".
14551    print prefix "define", macro P[macro] D[macro]
14552    next
14553  } else {
14554    # Replace #undef with comments.  This is necessary, for example,
14555    # in the case of _POSIX_SOURCE, which is predefined and required
14556    # on some systems where configure will not decide to define it.
14557    if (defundef == "undef") {
14558      print "/*", prefix defundef, macro, "*/"
14559      next
14560    }
14561  }
14562}
14563{ print }
14564_ACAWK
14565_ACEOF
14566cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14567  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14568fi # test -n "$CONFIG_HEADERS"
14569
14570
14571eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14572shift
14573for ac_tag
14574do
14575  case $ac_tag in
14576  :[FHLC]) ac_mode=$ac_tag; continue;;
14577  esac
14578  case $ac_mode$ac_tag in
14579  :[FHL]*:*);;
14580  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14581  :[FH]-) ac_tag=-:-;;
14582  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14583  esac
14584  ac_save_IFS=$IFS
14585  IFS=:
14586  set x $ac_tag
14587  IFS=$ac_save_IFS
14588  shift
14589  ac_file=$1
14590  shift
14591
14592  case $ac_mode in
14593  :L) ac_source=$1;;
14594  :[FH])
14595    ac_file_inputs=
14596    for ac_f
14597    do
14598      case $ac_f in
14599      -) ac_f="$ac_tmp/stdin";;
14600      *) # Look for the file first in the build tree, then in the source tree
14601	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14602	 # because $ac_f cannot contain `:'.
14603	 test -f "$ac_f" ||
14604	   case $ac_f in
14605	   [\\/$]*) false;;
14606	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14607	   esac ||
14608	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14609      esac
14610      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14611      as_fn_append ac_file_inputs " '$ac_f'"
14612    done
14613
14614    # Let's still pretend it is `configure' which instantiates (i.e., don't
14615    # use $as_me), people would be surprised to read:
14616    #    /* config.h.  Generated by config.status.  */
14617    configure_input='Generated from '`
14618	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14619	`' by configure.'
14620    if test x"$ac_file" != x-; then
14621      configure_input="$ac_file.  $configure_input"
14622      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14623$as_echo "$as_me: creating $ac_file" >&6;}
14624    fi
14625    # Neutralize special characters interpreted by sed in replacement strings.
14626    case $configure_input in #(
14627    *\&* | *\|* | *\\* )
14628       ac_sed_conf_input=`$as_echo "$configure_input" |
14629       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14630    *) ac_sed_conf_input=$configure_input;;
14631    esac
14632
14633    case $ac_tag in
14634    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14635      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14636    esac
14637    ;;
14638  esac
14639
14640  ac_dir=`$as_dirname -- "$ac_file" ||
14641$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14642	 X"$ac_file" : 'X\(//\)[^/]' \| \
14643	 X"$ac_file" : 'X\(//\)$' \| \
14644	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14645$as_echo X"$ac_file" |
14646    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14647	    s//\1/
14648	    q
14649	  }
14650	  /^X\(\/\/\)[^/].*/{
14651	    s//\1/
14652	    q
14653	  }
14654	  /^X\(\/\/\)$/{
14655	    s//\1/
14656	    q
14657	  }
14658	  /^X\(\/\).*/{
14659	    s//\1/
14660	    q
14661	  }
14662	  s/.*/./; q'`
14663  as_dir="$ac_dir"; as_fn_mkdir_p
14664  ac_builddir=.
14665
14666case "$ac_dir" in
14667.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14668*)
14669  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14670  # A ".." for each directory in $ac_dir_suffix.
14671  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14672  case $ac_top_builddir_sub in
14673  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14674  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14675  esac ;;
14676esac
14677ac_abs_top_builddir=$ac_pwd
14678ac_abs_builddir=$ac_pwd$ac_dir_suffix
14679# for backward compatibility:
14680ac_top_builddir=$ac_top_build_prefix
14681
14682case $srcdir in
14683  .)  # We are building in place.
14684    ac_srcdir=.
14685    ac_top_srcdir=$ac_top_builddir_sub
14686    ac_abs_top_srcdir=$ac_pwd ;;
14687  [\\/]* | ?:[\\/]* )  # Absolute name.
14688    ac_srcdir=$srcdir$ac_dir_suffix;
14689    ac_top_srcdir=$srcdir
14690    ac_abs_top_srcdir=$srcdir ;;
14691  *) # Relative name.
14692    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14693    ac_top_srcdir=$ac_top_build_prefix$srcdir
14694    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14695esac
14696ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14697
14698
14699  case $ac_mode in
14700  :F)
14701  #
14702  # CONFIG_FILE
14703  #
14704
14705  case $INSTALL in
14706  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14707  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14708  esac
14709  ac_MKDIR_P=$MKDIR_P
14710  case $MKDIR_P in
14711  [\\/$]* | ?:[\\/]* ) ;;
14712  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14713  esac
14714_ACEOF
14715
14716cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14717# If the template does not know about datarootdir, expand it.
14718# FIXME: This hack should be removed a few years after 2.60.
14719ac_datarootdir_hack=; ac_datarootdir_seen=
14720ac_sed_dataroot='
14721/datarootdir/ {
14722  p
14723  q
14724}
14725/@datadir@/p
14726/@docdir@/p
14727/@infodir@/p
14728/@localedir@/p
14729/@mandir@/p'
14730case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14731*datarootdir*) ac_datarootdir_seen=yes;;
14732*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14733  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14734$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14735_ACEOF
14736cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14737  ac_datarootdir_hack='
14738  s&@datadir@&$datadir&g
14739  s&@docdir@&$docdir&g
14740  s&@infodir@&$infodir&g
14741  s&@localedir@&$localedir&g
14742  s&@mandir@&$mandir&g
14743  s&\\\${datarootdir}&$datarootdir&g' ;;
14744esac
14745_ACEOF
14746
14747# Neutralize VPATH when `$srcdir' = `.'.
14748# Shell code in configure.ac might set extrasub.
14749# FIXME: do we really want to maintain this feature?
14750cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14751ac_sed_extra="$ac_vpsub
14752$extrasub
14753_ACEOF
14754cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14755:t
14756/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14757s|@configure_input@|$ac_sed_conf_input|;t t
14758s&@top_builddir@&$ac_top_builddir_sub&;t t
14759s&@top_build_prefix@&$ac_top_build_prefix&;t t
14760s&@srcdir@&$ac_srcdir&;t t
14761s&@abs_srcdir@&$ac_abs_srcdir&;t t
14762s&@top_srcdir@&$ac_top_srcdir&;t t
14763s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14764s&@builddir@&$ac_builddir&;t t
14765s&@abs_builddir@&$ac_abs_builddir&;t t
14766s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14767s&@INSTALL@&$ac_INSTALL&;t t
14768s&@MKDIR_P@&$ac_MKDIR_P&;t t
14769$ac_datarootdir_hack
14770"
14771eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14772  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14773
14774test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14775  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14776  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
14777      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14778  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14779which seems to be undefined.  Please make sure it is defined" >&5
14780$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14781which seems to be undefined.  Please make sure it is defined" >&2;}
14782
14783  rm -f "$ac_tmp/stdin"
14784  case $ac_file in
14785  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14786  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14787  esac \
14788  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14789 ;;
14790  :H)
14791  #
14792  # CONFIG_HEADER
14793  #
14794  if test x"$ac_file" != x-; then
14795    {
14796      $as_echo "/* $configure_input  */" \
14797      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14798    } >"$ac_tmp/config.h" \
14799      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14800    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14801      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14802$as_echo "$as_me: $ac_file is unchanged" >&6;}
14803    else
14804      rm -f "$ac_file"
14805      mv "$ac_tmp/config.h" "$ac_file" \
14806	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14807    fi
14808  else
14809    $as_echo "/* $configure_input  */" \
14810      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14811      || as_fn_error $? "could not create -" "$LINENO" 5
14812  fi
14813# Compute "$ac_file"'s index in $config_headers.
14814_am_arg="$ac_file"
14815_am_stamp_count=1
14816for _am_header in $config_headers :; do
14817  case $_am_header in
14818    $_am_arg | $_am_arg:* )
14819      break ;;
14820    * )
14821      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14822  esac
14823done
14824echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14825$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14826	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14827	 X"$_am_arg" : 'X\(//\)$' \| \
14828	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14829$as_echo X"$_am_arg" |
14830    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14831	    s//\1/
14832	    q
14833	  }
14834	  /^X\(\/\/\)[^/].*/{
14835	    s//\1/
14836	    q
14837	  }
14838	  /^X\(\/\/\)$/{
14839	    s//\1/
14840	    q
14841	  }
14842	  /^X\(\/\).*/{
14843	    s//\1/
14844	    q
14845	  }
14846	  s/.*/./; q'`/stamp-h$_am_stamp_count
14847 ;;
14848
14849  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14850$as_echo "$as_me: executing $ac_file commands" >&6;}
14851 ;;
14852  esac
14853
14854
14855  case $ac_file$ac_mode in
14856    "default-1":C)
14857# Only add multilib support code if we just rebuilt the top-level
14858# Makefile.
14859case " $CONFIG_FILES " in
14860 *" Makefile "*)
14861   ac_file=Makefile . ${multi_basedir}/config-ml.in
14862   ;;
14863esac ;;
14864    "libtool":C)
14865
14866    # See if we are running on zsh, and set the options which allow our
14867    # commands through without removal of \ escapes.
14868    if test -n "${ZSH_VERSION+set}" ; then
14869      setopt NO_GLOB_SUBST
14870    fi
14871
14872    cfgfile="${ofile}T"
14873    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14874    $RM "$cfgfile"
14875
14876    cat <<_LT_EOF >> "$cfgfile"
14877#! $SHELL
14878
14879# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14880# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14881# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14882# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14883#
14884#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14885#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14886#   Written by Gordon Matzigkeit, 1996
14887#
14888#   This file is part of GNU Libtool.
14889#
14890# GNU Libtool is free software; you can redistribute it and/or
14891# modify it under the terms of the GNU General Public License as
14892# published by the Free Software Foundation; either version 2 of
14893# the License, or (at your option) any later version.
14894#
14895# As a special exception to the GNU General Public License,
14896# if you distribute this file as part of a program or library that
14897# is built using GNU Libtool, you may include this file under the
14898# same distribution terms that you use for the rest of that program.
14899#
14900# GNU Libtool is distributed in the hope that it will be useful,
14901# but WITHOUT ANY WARRANTY; without even the implied warranty of
14902# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14903# GNU General Public License for more details.
14904#
14905# You should have received a copy of the GNU General Public License
14906# along with GNU Libtool; see the file COPYING.  If not, a copy
14907# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14908# obtained by writing to the Free Software Foundation, Inc.,
14909# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14910
14911
14912# The names of the tagged configurations supported by this script.
14913available_tags=""
14914
14915# ### BEGIN LIBTOOL CONFIG
14916
14917# Whether or not to build shared libraries.
14918build_libtool_libs=$enable_shared
14919
14920# Which release of libtool.m4 was used?
14921macro_version=$macro_version
14922macro_revision=$macro_revision
14923
14924# Whether or not to build static libraries.
14925build_old_libs=$enable_static
14926
14927# What type of objects to build.
14928pic_mode=$pic_mode
14929
14930# Whether or not to optimize for fast installation.
14931fast_install=$enable_fast_install
14932
14933# Shell to use when invoking shell scripts.
14934SHELL=$lt_SHELL
14935
14936# An echo program that protects backslashes.
14937ECHO=$lt_ECHO
14938
14939# The host system.
14940host_alias=$host_alias
14941host=$host
14942host_os=$host_os
14943
14944# The build system.
14945build_alias=$build_alias
14946build=$build
14947build_os=$build_os
14948
14949# A sed program that does not truncate output.
14950SED=$lt_SED
14951
14952# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14953Xsed="\$SED -e 1s/^X//"
14954
14955# A grep program that handles long lines.
14956GREP=$lt_GREP
14957
14958# An ERE matcher.
14959EGREP=$lt_EGREP
14960
14961# A literal string matcher.
14962FGREP=$lt_FGREP
14963
14964# A BSD- or MS-compatible name lister.
14965NM=$lt_NM
14966
14967# Whether we need soft or hard links.
14968LN_S=$lt_LN_S
14969
14970# What is the maximum length of a command?
14971max_cmd_len=$max_cmd_len
14972
14973# Object file suffix (normally "o").
14974objext=$ac_objext
14975
14976# Executable file suffix (normally "").
14977exeext=$exeext
14978
14979# whether the shell understands "unset".
14980lt_unset=$lt_unset
14981
14982# turn spaces into newlines.
14983SP2NL=$lt_lt_SP2NL
14984
14985# turn newlines into spaces.
14986NL2SP=$lt_lt_NL2SP
14987
14988# An object symbol dumper.
14989OBJDUMP=$lt_OBJDUMP
14990
14991# Method to check whether dependent libraries are shared objects.
14992deplibs_check_method=$lt_deplibs_check_method
14993
14994# Command to use when deplibs_check_method == "file_magic".
14995file_magic_cmd=$lt_file_magic_cmd
14996
14997# The archiver.
14998AR=$lt_AR
14999AR_FLAGS=$lt_AR_FLAGS
15000
15001# A symbol stripping program.
15002STRIP=$lt_STRIP
15003
15004# Commands used to install an old-style archive.
15005RANLIB=$lt_RANLIB
15006old_postinstall_cmds=$lt_old_postinstall_cmds
15007old_postuninstall_cmds=$lt_old_postuninstall_cmds
15008
15009# Whether to use a lock for old archive extraction.
15010lock_old_archive_extraction=$lock_old_archive_extraction
15011
15012# A C compiler.
15013LTCC=$lt_CC
15014
15015# LTCC compiler flags.
15016LTCFLAGS=$lt_CFLAGS
15017
15018# Take the output of nm and produce a listing of raw symbols and C names.
15019global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15020
15021# Transform the output of nm in a proper C declaration.
15022global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15023
15024# Transform the output of nm in a C name address pair.
15025global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15026
15027# Transform the output of nm in a C name address pair when lib prefix is needed.
15028global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15029
15030# The name of the directory that contains temporary libtool files.
15031objdir=$objdir
15032
15033# Used to examine libraries when file_magic_cmd begins with "file".
15034MAGIC_CMD=$MAGIC_CMD
15035
15036# Must we lock files when doing compilation?
15037need_locks=$lt_need_locks
15038
15039# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15040DSYMUTIL=$lt_DSYMUTIL
15041
15042# Tool to change global to local symbols on Mac OS X.
15043NMEDIT=$lt_NMEDIT
15044
15045# Tool to manipulate fat objects and archives on Mac OS X.
15046LIPO=$lt_LIPO
15047
15048# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15049OTOOL=$lt_OTOOL
15050
15051# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15052OTOOL64=$lt_OTOOL64
15053
15054# Old archive suffix (normally "a").
15055libext=$libext
15056
15057# Shared library suffix (normally ".so").
15058shrext_cmds=$lt_shrext_cmds
15059
15060# The commands to extract the exported symbol list from a shared archive.
15061extract_expsyms_cmds=$lt_extract_expsyms_cmds
15062
15063# Variables whose values should be saved in libtool wrapper scripts and
15064# restored at link time.
15065variables_saved_for_relink=$lt_variables_saved_for_relink
15066
15067# Do we need the "lib" prefix for modules?
15068need_lib_prefix=$need_lib_prefix
15069
15070# Do we need a version for libraries?
15071need_version=$need_version
15072
15073# Library versioning type.
15074version_type=$version_type
15075
15076# Shared library runtime path variable.
15077runpath_var=$runpath_var
15078
15079# Shared library path variable.
15080shlibpath_var=$shlibpath_var
15081
15082# Is shlibpath searched before the hard-coded library search path?
15083shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15084
15085# Format of library name prefix.
15086libname_spec=$lt_libname_spec
15087
15088# List of archive names.  First name is the real one, the rest are links.
15089# The last name is the one that the linker finds with -lNAME
15090library_names_spec=$lt_library_names_spec
15091
15092# The coded name of the library, if different from the real name.
15093soname_spec=$lt_soname_spec
15094
15095# Permission mode override for installation of shared libraries.
15096install_override_mode=$lt_install_override_mode
15097
15098# Command to use after installation of a shared archive.
15099postinstall_cmds=$lt_postinstall_cmds
15100
15101# Command to use after uninstallation of a shared archive.
15102postuninstall_cmds=$lt_postuninstall_cmds
15103
15104# Commands used to finish a libtool library installation in a directory.
15105finish_cmds=$lt_finish_cmds
15106
15107# As "finish_cmds", except a single script fragment to be evaled but
15108# not shown.
15109finish_eval=$lt_finish_eval
15110
15111# Whether we should hardcode library paths into libraries.
15112hardcode_into_libs=$hardcode_into_libs
15113
15114# Compile-time system search path for libraries.
15115sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15116
15117# Run-time system search path for libraries.
15118sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15119
15120# Whether dlopen is supported.
15121dlopen_support=$enable_dlopen
15122
15123# Whether dlopen of programs is supported.
15124dlopen_self=$enable_dlopen_self
15125
15126# Whether dlopen of statically linked programs is supported.
15127dlopen_self_static=$enable_dlopen_self_static
15128
15129# Commands to strip libraries.
15130old_striplib=$lt_old_striplib
15131striplib=$lt_striplib
15132
15133
15134# The linker used to build libraries.
15135LD=$lt_LD
15136
15137# How to create reloadable object files.
15138reload_flag=$lt_reload_flag
15139reload_cmds=$lt_reload_cmds
15140
15141# Commands used to build an old-style archive.
15142old_archive_cmds=$lt_old_archive_cmds
15143
15144# A language specific compiler.
15145CC=$lt_compiler
15146
15147# Is the compiler the GNU compiler?
15148with_gcc=$GCC
15149
15150# Compiler flag to turn off builtin functions.
15151no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15152
15153# How to pass a linker flag through the compiler.
15154wl=$lt_lt_prog_compiler_wl
15155
15156# Additional compiler flags for building library objects.
15157pic_flag=$lt_lt_prog_compiler_pic
15158
15159# Compiler flag to prevent dynamic linking.
15160link_static_flag=$lt_lt_prog_compiler_static
15161
15162# Does compiler simultaneously support -c and -o options?
15163compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15164
15165# Whether or not to add -lc for building shared libraries.
15166build_libtool_need_lc=$archive_cmds_need_lc
15167
15168# Whether or not to disallow shared libs when runtime libs are static.
15169allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15170
15171# Compiler flag to allow reflexive dlopens.
15172export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15173
15174# Compiler flag to generate shared objects directly from archives.
15175whole_archive_flag_spec=$lt_whole_archive_flag_spec
15176
15177# Whether the compiler copes with passing no objects directly.
15178compiler_needs_object=$lt_compiler_needs_object
15179
15180# Create an old-style archive from a shared archive.
15181old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15182
15183# Create a temporary old-style archive to link instead of a shared archive.
15184old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15185
15186# Commands used to build a shared archive.
15187archive_cmds=$lt_archive_cmds
15188archive_expsym_cmds=$lt_archive_expsym_cmds
15189
15190# Commands used to build a loadable module if different from building
15191# a shared archive.
15192module_cmds=$lt_module_cmds
15193module_expsym_cmds=$lt_module_expsym_cmds
15194
15195# Whether we are building with GNU ld or not.
15196with_gnu_ld=$lt_with_gnu_ld
15197
15198# Flag that allows shared libraries with undefined symbols to be built.
15199allow_undefined_flag=$lt_allow_undefined_flag
15200
15201# Flag that enforces no undefined symbols.
15202no_undefined_flag=$lt_no_undefined_flag
15203
15204# Flag to hardcode \$libdir into a binary during linking.
15205# This must work even if \$libdir does not exist
15206hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15207
15208# If ld is used when linking, flag to hardcode \$libdir into a binary
15209# during linking.  This must work even if \$libdir does not exist.
15210hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15211
15212# Whether we need a single "-rpath" flag with a separated argument.
15213hardcode_libdir_separator=$lt_hardcode_libdir_separator
15214
15215# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15216# DIR into the resulting binary.
15217hardcode_direct=$hardcode_direct
15218
15219# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15220# DIR into the resulting binary and the resulting library dependency is
15221# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15222# library is relocated.
15223hardcode_direct_absolute=$hardcode_direct_absolute
15224
15225# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15226# into the resulting binary.
15227hardcode_minus_L=$hardcode_minus_L
15228
15229# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15230# into the resulting binary.
15231hardcode_shlibpath_var=$hardcode_shlibpath_var
15232
15233# Set to "yes" if building a shared library automatically hardcodes DIR
15234# into the library and all subsequent libraries and executables linked
15235# against it.
15236hardcode_automatic=$hardcode_automatic
15237
15238# Set to yes if linker adds runtime paths of dependent libraries
15239# to runtime path list.
15240inherit_rpath=$inherit_rpath
15241
15242# Whether libtool must link a program against all its dependency libraries.
15243link_all_deplibs=$link_all_deplibs
15244
15245# Fix the shell variable \$srcfile for the compiler.
15246fix_srcfile_path=$lt_fix_srcfile_path
15247
15248# Set to "yes" if exported symbols are required.
15249always_export_symbols=$always_export_symbols
15250
15251# The commands to list exported symbols.
15252export_symbols_cmds=$lt_export_symbols_cmds
15253
15254# Symbols that should not be listed in the preloaded symbols.
15255exclude_expsyms=$lt_exclude_expsyms
15256
15257# Symbols that must always be exported.
15258include_expsyms=$lt_include_expsyms
15259
15260# Commands necessary for linking programs (against libraries) with templates.
15261prelink_cmds=$lt_prelink_cmds
15262
15263# Specify filename containing input files.
15264file_list_spec=$lt_file_list_spec
15265
15266# How to hardcode a shared library path into an executable.
15267hardcode_action=$hardcode_action
15268
15269# ### END LIBTOOL CONFIG
15270
15271_LT_EOF
15272
15273  case $host_os in
15274  aix3*)
15275    cat <<\_LT_EOF >> "$cfgfile"
15276# AIX sometimes has problems with the GCC collect2 program.  For some
15277# reason, if we set the COLLECT_NAMES environment variable, the problems
15278# vanish in a puff of smoke.
15279if test "X${COLLECT_NAMES+set}" != Xset; then
15280  COLLECT_NAMES=
15281  export COLLECT_NAMES
15282fi
15283_LT_EOF
15284    ;;
15285  esac
15286
15287
15288ltmain="$ac_aux_dir/ltmain.sh"
15289
15290
15291  # We use sed instead of cat because bash on DJGPP gets confused if
15292  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15293  # text mode, it properly converts lines to CR/LF.  This bash problem
15294  # is reportedly fixed, but why not run on old versions too?
15295  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15296    || (rm -f "$cfgfile"; exit 1)
15297
15298  case $xsi_shell in
15299  yes)
15300    cat << \_LT_EOF >> "$cfgfile"
15301
15302# func_dirname file append nondir_replacement
15303# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15304# otherwise set result to NONDIR_REPLACEMENT.
15305func_dirname ()
15306{
15307  case ${1} in
15308    */*) func_dirname_result="${1%/*}${2}" ;;
15309    *  ) func_dirname_result="${3}" ;;
15310  esac
15311}
15312
15313# func_basename file
15314func_basename ()
15315{
15316  func_basename_result="${1##*/}"
15317}
15318
15319# func_dirname_and_basename file append nondir_replacement
15320# perform func_basename and func_dirname in a single function
15321# call:
15322#   dirname:  Compute the dirname of FILE.  If nonempty,
15323#             add APPEND to the result, otherwise set result
15324#             to NONDIR_REPLACEMENT.
15325#             value returned in "$func_dirname_result"
15326#   basename: Compute filename of FILE.
15327#             value retuned in "$func_basename_result"
15328# Implementation must be kept synchronized with func_dirname
15329# and func_basename. For efficiency, we do not delegate to
15330# those functions but instead duplicate the functionality here.
15331func_dirname_and_basename ()
15332{
15333  case ${1} in
15334    */*) func_dirname_result="${1%/*}${2}" ;;
15335    *  ) func_dirname_result="${3}" ;;
15336  esac
15337  func_basename_result="${1##*/}"
15338}
15339
15340# func_stripname prefix suffix name
15341# strip PREFIX and SUFFIX off of NAME.
15342# PREFIX and SUFFIX must not contain globbing or regex special
15343# characters, hashes, percent signs, but SUFFIX may contain a leading
15344# dot (in which case that matches only a dot).
15345func_stripname ()
15346{
15347  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15348  # positional parameters, so assign one to ordinary parameter first.
15349  func_stripname_result=${3}
15350  func_stripname_result=${func_stripname_result#"${1}"}
15351  func_stripname_result=${func_stripname_result%"${2}"}
15352}
15353
15354# func_opt_split
15355func_opt_split ()
15356{
15357  func_opt_split_opt=${1%%=*}
15358  func_opt_split_arg=${1#*=}
15359}
15360
15361# func_lo2o object
15362func_lo2o ()
15363{
15364  case ${1} in
15365    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15366    *)    func_lo2o_result=${1} ;;
15367  esac
15368}
15369
15370# func_xform libobj-or-source
15371func_xform ()
15372{
15373  func_xform_result=${1%.*}.lo
15374}
15375
15376# func_arith arithmetic-term...
15377func_arith ()
15378{
15379  func_arith_result=$(( $* ))
15380}
15381
15382# func_len string
15383# STRING may not start with a hyphen.
15384func_len ()
15385{
15386  func_len_result=${#1}
15387}
15388
15389_LT_EOF
15390    ;;
15391  *) # Bourne compatible functions.
15392    cat << \_LT_EOF >> "$cfgfile"
15393
15394# func_dirname file append nondir_replacement
15395# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15396# otherwise set result to NONDIR_REPLACEMENT.
15397func_dirname ()
15398{
15399  # Extract subdirectory from the argument.
15400  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
15401  if test "X$func_dirname_result" = "X${1}"; then
15402    func_dirname_result="${3}"
15403  else
15404    func_dirname_result="$func_dirname_result${2}"
15405  fi
15406}
15407
15408# func_basename file
15409func_basename ()
15410{
15411  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
15412}
15413
15414
15415# func_stripname prefix suffix name
15416# strip PREFIX and SUFFIX off of NAME.
15417# PREFIX and SUFFIX must not contain globbing or regex special
15418# characters, hashes, percent signs, but SUFFIX may contain a leading
15419# dot (in which case that matches only a dot).
15420# func_strip_suffix prefix name
15421func_stripname ()
15422{
15423  case ${2} in
15424    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15425    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15426  esac
15427}
15428
15429# sed scripts:
15430my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15431my_sed_long_arg='1s/^-[^=]*=//'
15432
15433# func_opt_split
15434func_opt_split ()
15435{
15436  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15437  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15438}
15439
15440# func_lo2o object
15441func_lo2o ()
15442{
15443  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
15444}
15445
15446# func_xform libobj-or-source
15447func_xform ()
15448{
15449  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15450}
15451
15452# func_arith arithmetic-term...
15453func_arith ()
15454{
15455  func_arith_result=`expr "$@"`
15456}
15457
15458# func_len string
15459# STRING may not start with a hyphen.
15460func_len ()
15461{
15462  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15463}
15464
15465_LT_EOF
15466esac
15467
15468case $lt_shell_append in
15469  yes)
15470    cat << \_LT_EOF >> "$cfgfile"
15471
15472# func_append var value
15473# Append VALUE to the end of shell variable VAR.
15474func_append ()
15475{
15476  eval "$1+=\$2"
15477}
15478_LT_EOF
15479    ;;
15480  *)
15481    cat << \_LT_EOF >> "$cfgfile"
15482
15483# func_append var value
15484# Append VALUE to the end of shell variable VAR.
15485func_append ()
15486{
15487  eval "$1=\$$1\$2"
15488}
15489
15490_LT_EOF
15491    ;;
15492  esac
15493
15494
15495  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15496    || (rm -f "$cfgfile"; exit 1)
15497
15498  mv -f "$cfgfile" "$ofile" ||
15499    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15500  chmod +x "$ofile"
15501
15502 ;;
15503    "install-debuginfo-for-buildid.sh":F) chmod +x install-debuginfo-for-buildid.sh ;;
15504    "default":C) if test -n "$CONFIG_FILES"; then
15505   if test -n "${with_target_subdir}"; then
15506     # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
15507     # that multilib installs will end up installed in the correct place.
15508     # The testsuite needs it for multilib-aware ABI baseline files.
15509     # To work around this not being passed down from config-ml.in ->
15510     # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
15511     # append it here.  Only modify Makefiles that have just been created.
15512     #
15513     # Also, get rid of this simulated-VPATH thing that automake does.
15514     cat > vpsed << \_EOF
15515  s!`test -f '$<' || echo '$(srcdir)/'`!!
15516_EOF
15517     for i in $SUBDIRS; do
15518      case $CONFIG_FILES in
15519       *${i}/Makefile*)
15520	 #echo "Adding MULTISUBDIR to $i/Makefile"
15521	 sed -f vpsed $i/Makefile > tmp
15522	 grep '^MULTISUBDIR =' Makefile >> tmp
15523	 mv tmp $i/Makefile
15524	 ;;
15525      esac
15526     done
15527     rm vpsed
15528   fi
15529 fi
15530 ;;
15531
15532  esac
15533done # for ac_tag
15534
15535
15536as_fn_exit 0
15537_ACEOF
15538ac_clean_files=$ac_clean_files_save
15539
15540test $ac_write_fail = 0 ||
15541  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15542
15543
15544# configure is writing to config.log, and then calls config.status.
15545# config.status does its own redirection, appending to config.log.
15546# Unfortunately, on DOS this fails, as config.log is still kept open
15547# by configure, so config.status won't be able to write to it; its
15548# output is simply discarded.  So we exec the FD to /dev/null,
15549# effectively closing config.log, so it can be properly (re)opened and
15550# appended to by config.status.  When coming back to configure, we
15551# need to make the FD available again.
15552if test "$no_create" != yes; then
15553  ac_cs_success=:
15554  ac_config_status_args=
15555  test "$silent" = yes &&
15556    ac_config_status_args="$ac_config_status_args --quiet"
15557  exec 5>/dev/null
15558  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15559  exec 5>>config.log
15560  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15561  # would make configure fail if this is the last instruction.
15562  $ac_cs_success || as_fn_exit 1
15563fi
15564if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15565  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15566$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15567fi
15568
15569