1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for gdbmobj 0.10.
4#
5# Report bugs to <courier-users@lists.sourceforge.net>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1
202
203  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207    PATH=/empty FPATH=/empty; export PATH FPATH
208    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: courier-users@lists.sourceforge.net about your system,
279$0: including any error possibly output before this
280$0: message. Then install a modern shell, or manually run
281$0: the script under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='gdbmobj'
592PACKAGE_TARNAME='gdbmobj'
593PACKAGE_VERSION='0.10'
594PACKAGE_STRING='gdbmobj 0.10'
595PACKAGE_BUGREPORT='courier-users@lists.sourceforge.net'
596PACKAGE_URL=''
597
598ac_unique_file="gdbmobj.c"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639FOUND_GDBM_FALSE
640FOUND_GDBM_TRUE
641LIBGDBM
642CXXCPP
643LT_SYS_LIBRARY_PATH
644OTOOL64
645OTOOL
646LIPO
647NMEDIT
648DSYMUTIL
649MANIFEST_TOOL
650RANLIB
651ac_ct_AR
652AR
653DLLTOOL
654OBJDUMP
655LN_S
656NM
657ac_ct_DUMPBIN
658DUMPBIN
659LD
660FGREP
661SED
662host_os
663host_vendor
664host_cpu
665host
666build_os
667build_vendor
668build_cpu
669build
670LIBTOOL
671am__fastdepCXX_FALSE
672am__fastdepCXX_TRUE
673CXXDEPMODE
674ac_ct_CXX
675CXXFLAGS
676CXX
677EGREP
678GREP
679CPP
680am__fastdepCC_FALSE
681am__fastdepCC_TRUE
682CCDEPMODE
683am__nodep
684AMDEPBACKSLASH
685AMDEP_FALSE
686AMDEP_TRUE
687am__include
688DEPDIR
689OBJEXT
690EXEEXT
691ac_ct_CC
692CPPFLAGS
693LDFLAGS
694CFLAGS
695CC
696AM_BACKSLASH
697AM_DEFAULT_VERBOSITY
698AM_DEFAULT_V
699AM_V
700am__untar
701am__tar
702AMTAR
703am__leading_dot
704SET_MAKE
705AWK
706mkdir_p
707MKDIR_P
708INSTALL_STRIP_PROGRAM
709STRIP
710install_sh
711MAKEINFO
712AUTOHEADER
713AUTOMAKE
714AUTOCONF
715ACLOCAL
716VERSION
717PACKAGE
718CYGPATH_W
719am__isrc
720INSTALL_DATA
721INSTALL_SCRIPT
722INSTALL_PROGRAM
723target_alias
724host_alias
725build_alias
726LIBS
727ECHO_T
728ECHO_N
729ECHO_C
730DEFS
731mandir
732localedir
733libdir
734psdir
735pdfdir
736dvidir
737htmldir
738infodir
739docdir
740oldincludedir
741includedir
742runstatedir
743localstatedir
744sharedstatedir
745sysconfdir
746datadir
747datarootdir
748libexecdir
749sbindir
750bindir
751program_transform_name
752prefix
753exec_prefix
754PACKAGE_URL
755PACKAGE_BUGREPORT
756PACKAGE_STRING
757PACKAGE_VERSION
758PACKAGE_TARNAME
759PACKAGE_NAME
760PATH_SEPARATOR
761SHELL
762am__quote'
763ac_subst_files=''
764ac_user_opts='
765enable_option_checking
766enable_silent_rules
767enable_dependency_tracking
768enable_shared
769enable_static
770with_pic
771enable_fast_install
772with_aix_soname
773with_gnu_ld
774with_sysroot
775enable_libtool_lock
776enable_largefile
777'
778      ac_precious_vars='build_alias
779host_alias
780target_alias
781CC
782CFLAGS
783LDFLAGS
784LIBS
785CPPFLAGS
786CPP
787CXX
788CXXFLAGS
789CCC
790LT_SYS_LIBRARY_PATH
791CXXCPP'
792
793
794# Initialize some variables set by options.
795ac_init_help=
796ac_init_version=false
797ac_unrecognized_opts=
798ac_unrecognized_sep=
799# The variables have the same names as the options, with
800# dashes changed to underlines.
801cache_file=/dev/null
802exec_prefix=NONE
803no_create=
804no_recursion=
805prefix=NONE
806program_prefix=NONE
807program_suffix=NONE
808program_transform_name=s,x,x,
809silent=
810site=
811srcdir=
812verbose=
813x_includes=NONE
814x_libraries=NONE
815
816# Installation directory options.
817# These are left unexpanded so users can "make install exec_prefix=/foo"
818# and all the variables that are supposed to be based on exec_prefix
819# by default will actually change.
820# Use braces instead of parens because sh, perl, etc. also accept them.
821# (The list follows the same order as the GNU Coding Standards.)
822bindir='${exec_prefix}/bin'
823sbindir='${exec_prefix}/sbin'
824libexecdir='${exec_prefix}/libexec'
825datarootdir='${prefix}/share'
826datadir='${datarootdir}'
827sysconfdir='${prefix}/etc'
828sharedstatedir='${prefix}/com'
829localstatedir='${prefix}/var'
830runstatedir='${localstatedir}/run'
831includedir='${prefix}/include'
832oldincludedir='/usr/include'
833docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
834infodir='${datarootdir}/info'
835htmldir='${docdir}'
836dvidir='${docdir}'
837pdfdir='${docdir}'
838psdir='${docdir}'
839libdir='${exec_prefix}/lib'
840localedir='${datarootdir}/locale'
841mandir='${datarootdir}/man'
842
843ac_prev=
844ac_dashdash=
845for ac_option
846do
847  # If the previous option needs an argument, assign it.
848  if test -n "$ac_prev"; then
849    eval $ac_prev=\$ac_option
850    ac_prev=
851    continue
852  fi
853
854  case $ac_option in
855  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
856  *=)   ac_optarg= ;;
857  *)    ac_optarg=yes ;;
858  esac
859
860  # Accept the important Cygnus configure options, so we can diagnose typos.
861
862  case $ac_dashdash$ac_option in
863  --)
864    ac_dashdash=yes ;;
865
866  -bindir | --bindir | --bindi | --bind | --bin | --bi)
867    ac_prev=bindir ;;
868  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
869    bindir=$ac_optarg ;;
870
871  -build | --build | --buil | --bui | --bu)
872    ac_prev=build_alias ;;
873  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
874    build_alias=$ac_optarg ;;
875
876  -cache-file | --cache-file | --cache-fil | --cache-fi \
877  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
878    ac_prev=cache_file ;;
879  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
880  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
881    cache_file=$ac_optarg ;;
882
883  --config-cache | -C)
884    cache_file=config.cache ;;
885
886  -datadir | --datadir | --datadi | --datad)
887    ac_prev=datadir ;;
888  -datadir=* | --datadir=* | --datadi=* | --datad=*)
889    datadir=$ac_optarg ;;
890
891  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
892  | --dataroo | --dataro | --datar)
893    ac_prev=datarootdir ;;
894  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
895  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
896    datarootdir=$ac_optarg ;;
897
898  -disable-* | --disable-*)
899    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
900    # Reject names that are not valid shell variable names.
901    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
902      as_fn_error $? "invalid feature name: $ac_useropt"
903    ac_useropt_orig=$ac_useropt
904    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
905    case $ac_user_opts in
906      *"
907"enable_$ac_useropt"
908"*) ;;
909      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
910	 ac_unrecognized_sep=', ';;
911    esac
912    eval enable_$ac_useropt=no ;;
913
914  -docdir | --docdir | --docdi | --doc | --do)
915    ac_prev=docdir ;;
916  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
917    docdir=$ac_optarg ;;
918
919  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
920    ac_prev=dvidir ;;
921  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
922    dvidir=$ac_optarg ;;
923
924  -enable-* | --enable-*)
925    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
926    # Reject names that are not valid shell variable names.
927    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
928      as_fn_error $? "invalid feature name: $ac_useropt"
929    ac_useropt_orig=$ac_useropt
930    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
931    case $ac_user_opts in
932      *"
933"enable_$ac_useropt"
934"*) ;;
935      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
936	 ac_unrecognized_sep=', ';;
937    esac
938    eval enable_$ac_useropt=\$ac_optarg ;;
939
940  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
941  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
942  | --exec | --exe | --ex)
943    ac_prev=exec_prefix ;;
944  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
945  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
946  | --exec=* | --exe=* | --ex=*)
947    exec_prefix=$ac_optarg ;;
948
949  -gas | --gas | --ga | --g)
950    # Obsolete; use --with-gas.
951    with_gas=yes ;;
952
953  -help | --help | --hel | --he | -h)
954    ac_init_help=long ;;
955  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
956    ac_init_help=recursive ;;
957  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
958    ac_init_help=short ;;
959
960  -host | --host | --hos | --ho)
961    ac_prev=host_alias ;;
962  -host=* | --host=* | --hos=* | --ho=*)
963    host_alias=$ac_optarg ;;
964
965  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
966    ac_prev=htmldir ;;
967  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
968  | --ht=*)
969    htmldir=$ac_optarg ;;
970
971  -includedir | --includedir | --includedi | --included | --include \
972  | --includ | --inclu | --incl | --inc)
973    ac_prev=includedir ;;
974  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
975  | --includ=* | --inclu=* | --incl=* | --inc=*)
976    includedir=$ac_optarg ;;
977
978  -infodir | --infodir | --infodi | --infod | --info | --inf)
979    ac_prev=infodir ;;
980  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
981    infodir=$ac_optarg ;;
982
983  -libdir | --libdir | --libdi | --libd)
984    ac_prev=libdir ;;
985  -libdir=* | --libdir=* | --libdi=* | --libd=*)
986    libdir=$ac_optarg ;;
987
988  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
989  | --libexe | --libex | --libe)
990    ac_prev=libexecdir ;;
991  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
992  | --libexe=* | --libex=* | --libe=*)
993    libexecdir=$ac_optarg ;;
994
995  -localedir | --localedir | --localedi | --localed | --locale)
996    ac_prev=localedir ;;
997  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
998    localedir=$ac_optarg ;;
999
1000  -localstatedir | --localstatedir | --localstatedi | --localstated \
1001  | --localstate | --localstat | --localsta | --localst | --locals)
1002    ac_prev=localstatedir ;;
1003  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1004  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1005    localstatedir=$ac_optarg ;;
1006
1007  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1008    ac_prev=mandir ;;
1009  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1010    mandir=$ac_optarg ;;
1011
1012  -nfp | --nfp | --nf)
1013    # Obsolete; use --without-fp.
1014    with_fp=no ;;
1015
1016  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1017  | --no-cr | --no-c | -n)
1018    no_create=yes ;;
1019
1020  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1021  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1022    no_recursion=yes ;;
1023
1024  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1025  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1026  | --oldin | --oldi | --old | --ol | --o)
1027    ac_prev=oldincludedir ;;
1028  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1029  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1030  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1031    oldincludedir=$ac_optarg ;;
1032
1033  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1034    ac_prev=prefix ;;
1035  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1036    prefix=$ac_optarg ;;
1037
1038  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1039  | --program-pre | --program-pr | --program-p)
1040    ac_prev=program_prefix ;;
1041  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1042  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1043    program_prefix=$ac_optarg ;;
1044
1045  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1046  | --program-suf | --program-su | --program-s)
1047    ac_prev=program_suffix ;;
1048  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1049  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1050    program_suffix=$ac_optarg ;;
1051
1052  -program-transform-name | --program-transform-name \
1053  | --program-transform-nam | --program-transform-na \
1054  | --program-transform-n | --program-transform- \
1055  | --program-transform | --program-transfor \
1056  | --program-transfo | --program-transf \
1057  | --program-trans | --program-tran \
1058  | --progr-tra | --program-tr | --program-t)
1059    ac_prev=program_transform_name ;;
1060  -program-transform-name=* | --program-transform-name=* \
1061  | --program-transform-nam=* | --program-transform-na=* \
1062  | --program-transform-n=* | --program-transform-=* \
1063  | --program-transform=* | --program-transfor=* \
1064  | --program-transfo=* | --program-transf=* \
1065  | --program-trans=* | --program-tran=* \
1066  | --progr-tra=* | --program-tr=* | --program-t=*)
1067    program_transform_name=$ac_optarg ;;
1068
1069  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1070    ac_prev=pdfdir ;;
1071  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1072    pdfdir=$ac_optarg ;;
1073
1074  -psdir | --psdir | --psdi | --psd | --ps)
1075    ac_prev=psdir ;;
1076  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1077    psdir=$ac_optarg ;;
1078
1079  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1080  | -silent | --silent | --silen | --sile | --sil)
1081    silent=yes ;;
1082
1083  -runstatedir | --runstatedir | --runstatedi | --runstated \
1084  | --runstate | --runstat | --runsta | --runst | --runs \
1085  | --run | --ru | --r)
1086    ac_prev=runstatedir ;;
1087  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1088  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1089  | --run=* | --ru=* | --r=*)
1090    runstatedir=$ac_optarg ;;
1091
1092  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1093    ac_prev=sbindir ;;
1094  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1095  | --sbi=* | --sb=*)
1096    sbindir=$ac_optarg ;;
1097
1098  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1099  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1100  | --sharedst | --shareds | --shared | --share | --shar \
1101  | --sha | --sh)
1102    ac_prev=sharedstatedir ;;
1103  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1104  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1105  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1106  | --sha=* | --sh=*)
1107    sharedstatedir=$ac_optarg ;;
1108
1109  -site | --site | --sit)
1110    ac_prev=site ;;
1111  -site=* | --site=* | --sit=*)
1112    site=$ac_optarg ;;
1113
1114  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1115    ac_prev=srcdir ;;
1116  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1117    srcdir=$ac_optarg ;;
1118
1119  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1120  | --syscon | --sysco | --sysc | --sys | --sy)
1121    ac_prev=sysconfdir ;;
1122  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1123  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1124    sysconfdir=$ac_optarg ;;
1125
1126  -target | --target | --targe | --targ | --tar | --ta | --t)
1127    ac_prev=target_alias ;;
1128  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1129    target_alias=$ac_optarg ;;
1130
1131  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1132    verbose=yes ;;
1133
1134  -version | --version | --versio | --versi | --vers | -V)
1135    ac_init_version=: ;;
1136
1137  -with-* | --with-*)
1138    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1139    # Reject names that are not valid shell variable names.
1140    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1141      as_fn_error $? "invalid package name: $ac_useropt"
1142    ac_useropt_orig=$ac_useropt
1143    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144    case $ac_user_opts in
1145      *"
1146"with_$ac_useropt"
1147"*) ;;
1148      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1149	 ac_unrecognized_sep=', ';;
1150    esac
1151    eval with_$ac_useropt=\$ac_optarg ;;
1152
1153  -without-* | --without-*)
1154    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1155    # Reject names that are not valid shell variable names.
1156    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157      as_fn_error $? "invalid package name: $ac_useropt"
1158    ac_useropt_orig=$ac_useropt
1159    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160    case $ac_user_opts in
1161      *"
1162"with_$ac_useropt"
1163"*) ;;
1164      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1165	 ac_unrecognized_sep=', ';;
1166    esac
1167    eval with_$ac_useropt=no ;;
1168
1169  --x)
1170    # Obsolete; use --with-x.
1171    with_x=yes ;;
1172
1173  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1174  | --x-incl | --x-inc | --x-in | --x-i)
1175    ac_prev=x_includes ;;
1176  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1177  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1178    x_includes=$ac_optarg ;;
1179
1180  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1181  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1182    ac_prev=x_libraries ;;
1183  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1184  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1185    x_libraries=$ac_optarg ;;
1186
1187  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1188Try \`$0 --help' for more information"
1189    ;;
1190
1191  *=*)
1192    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1193    # Reject names that are not valid shell variable names.
1194    case $ac_envvar in #(
1195      '' | [0-9]* | *[!_$as_cr_alnum]* )
1196      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1197    esac
1198    eval $ac_envvar=\$ac_optarg
1199    export $ac_envvar ;;
1200
1201  *)
1202    # FIXME: should be removed in autoconf 3.0.
1203    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1204    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1205      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1206    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1207    ;;
1208
1209  esac
1210done
1211
1212if test -n "$ac_prev"; then
1213  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1214  as_fn_error $? "missing argument to $ac_option"
1215fi
1216
1217if test -n "$ac_unrecognized_opts"; then
1218  case $enable_option_checking in
1219    no) ;;
1220    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1221    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1222  esac
1223fi
1224
1225# Check all directory arguments for consistency.
1226for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1227		datadir sysconfdir sharedstatedir localstatedir includedir \
1228		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1229		libdir localedir mandir runstatedir
1230do
1231  eval ac_val=\$$ac_var
1232  # Remove trailing slashes.
1233  case $ac_val in
1234    */ )
1235      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1236      eval $ac_var=\$ac_val;;
1237  esac
1238  # Be sure to have absolute directory names.
1239  case $ac_val in
1240    [\\/$]* | ?:[\\/]* )  continue;;
1241    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1242  esac
1243  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1244done
1245
1246# There might be people who depend on the old broken behavior: `$host'
1247# used to hold the argument of --host etc.
1248# FIXME: To remove some day.
1249build=$build_alias
1250host=$host_alias
1251target=$target_alias
1252
1253# FIXME: To remove some day.
1254if test "x$host_alias" != x; then
1255  if test "x$build_alias" = x; then
1256    cross_compiling=maybe
1257  elif test "x$build_alias" != "x$host_alias"; then
1258    cross_compiling=yes
1259  fi
1260fi
1261
1262ac_tool_prefix=
1263test -n "$host_alias" && ac_tool_prefix=$host_alias-
1264
1265test "$silent" = yes && exec 6>/dev/null
1266
1267
1268ac_pwd=`pwd` && test -n "$ac_pwd" &&
1269ac_ls_di=`ls -di .` &&
1270ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1271  as_fn_error $? "working directory cannot be determined"
1272test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1273  as_fn_error $? "pwd does not report name of working directory"
1274
1275
1276# Find the source files, if location was not specified.
1277if test -z "$srcdir"; then
1278  ac_srcdir_defaulted=yes
1279  # Try the directory containing this script, then the parent directory.
1280  ac_confdir=`$as_dirname -- "$as_myself" ||
1281$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1282	 X"$as_myself" : 'X\(//\)[^/]' \| \
1283	 X"$as_myself" : 'X\(//\)$' \| \
1284	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1285$as_echo X"$as_myself" |
1286    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1287	    s//\1/
1288	    q
1289	  }
1290	  /^X\(\/\/\)[^/].*/{
1291	    s//\1/
1292	    q
1293	  }
1294	  /^X\(\/\/\)$/{
1295	    s//\1/
1296	    q
1297	  }
1298	  /^X\(\/\).*/{
1299	    s//\1/
1300	    q
1301	  }
1302	  s/.*/./; q'`
1303  srcdir=$ac_confdir
1304  if test ! -r "$srcdir/$ac_unique_file"; then
1305    srcdir=..
1306  fi
1307else
1308  ac_srcdir_defaulted=no
1309fi
1310if test ! -r "$srcdir/$ac_unique_file"; then
1311  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1312  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1313fi
1314ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1315ac_abs_confdir=`(
1316	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1317	pwd)`
1318# When building in place, set srcdir=.
1319if test "$ac_abs_confdir" = "$ac_pwd"; then
1320  srcdir=.
1321fi
1322# Remove unnecessary trailing slashes from srcdir.
1323# Double slashes in file names in object file debugging info
1324# mess up M-x gdb in Emacs.
1325case $srcdir in
1326*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1327esac
1328for ac_var in $ac_precious_vars; do
1329  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1330  eval ac_env_${ac_var}_value=\$${ac_var}
1331  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1332  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1333done
1334
1335#
1336# Report the --help message.
1337#
1338if test "$ac_init_help" = "long"; then
1339  # Omit some internal or obsolete options to make the list less imposing.
1340  # This message is too long to be a string in the A/UX 3.1 sh.
1341  cat <<_ACEOF
1342\`configure' configures gdbmobj 0.10 to adapt to many kinds of systems.
1343
1344Usage: $0 [OPTION]... [VAR=VALUE]...
1345
1346To assign environment variables (e.g., CC, CFLAGS...), specify them as
1347VAR=VALUE.  See below for descriptions of some of the useful variables.
1348
1349Defaults for the options are specified in brackets.
1350
1351Configuration:
1352  -h, --help              display this help and exit
1353      --help=short        display options specific to this package
1354      --help=recursive    display the short help of all the included packages
1355  -V, --version           display version information and exit
1356  -q, --quiet, --silent   do not print \`checking ...' messages
1357      --cache-file=FILE   cache test results in FILE [disabled]
1358  -C, --config-cache      alias for \`--cache-file=config.cache'
1359  -n, --no-create         do not create output files
1360      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1361
1362Installation directories:
1363  --prefix=PREFIX         install architecture-independent files in PREFIX
1364                          [$ac_default_prefix]
1365  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1366                          [PREFIX]
1367
1368By default, \`make install' will install all the files in
1369\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1370an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1371for instance \`--prefix=\$HOME'.
1372
1373For better control, use the options below.
1374
1375Fine tuning of the installation directories:
1376  --bindir=DIR            user executables [EPREFIX/bin]
1377  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1378  --libexecdir=DIR        program executables [EPREFIX/libexec]
1379  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1380  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1381  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1382  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1383  --libdir=DIR            object code libraries [EPREFIX/lib]
1384  --includedir=DIR        C header files [PREFIX/include]
1385  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1386  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1387  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1388  --infodir=DIR           info documentation [DATAROOTDIR/info]
1389  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1390  --mandir=DIR            man documentation [DATAROOTDIR/man]
1391  --docdir=DIR            documentation root [DATAROOTDIR/doc/gdbmobj]
1392  --htmldir=DIR           html documentation [DOCDIR]
1393  --dvidir=DIR            dvi documentation [DOCDIR]
1394  --pdfdir=DIR            pdf documentation [DOCDIR]
1395  --psdir=DIR             ps documentation [DOCDIR]
1396_ACEOF
1397
1398  cat <<\_ACEOF
1399
1400Program names:
1401  --program-prefix=PREFIX            prepend PREFIX to installed program names
1402  --program-suffix=SUFFIX            append SUFFIX to installed program names
1403  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1404
1405System types:
1406  --build=BUILD     configure for building on BUILD [guessed]
1407  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1408_ACEOF
1409fi
1410
1411if test -n "$ac_init_help"; then
1412  case $ac_init_help in
1413     short | recursive ) echo "Configuration of gdbmobj 0.10:";;
1414   esac
1415  cat <<\_ACEOF
1416
1417Optional Features:
1418  --disable-option-checking  ignore unrecognized --enable/--with options
1419  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1420  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1421  --enable-silent-rules   less verbose build output (undo: "make V=1")
1422  --disable-silent-rules  verbose build output (undo: "make V=0")
1423  --enable-dependency-tracking
1424                          do not reject slow dependency extractors
1425  --disable-dependency-tracking
1426                          speeds up one-time build
1427  --enable-shared[=PKGS]  build shared libraries [default=yes]
1428  --enable-static[=PKGS]  build static libraries [default=yes]
1429  --enable-fast-install[=PKGS]
1430                          optimize for fast installation [default=yes]
1431  --disable-libtool-lock  avoid locking (might break parallel builds)
1432  --disable-largefile     omit support for large files
1433
1434Optional Packages:
1435  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1436  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1437  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1438                          both]
1439  --with-aix-soname=aix|svr4|both
1440                          shared library versioning (aka "SONAME") variant to
1441                          provide on AIX, [default=aix].
1442  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1443  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1444                          compiler's sysroot if not specified).
1445
1446Some influential environment variables:
1447  CC          C compiler command
1448  CFLAGS      C compiler flags
1449  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1450              nonstandard directory <lib dir>
1451  LIBS        libraries to pass to the linker, e.g. -l<library>
1452  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1453              you have headers in a nonstandard directory <include dir>
1454  CPP         C preprocessor
1455  CXX         C++ compiler command
1456  CXXFLAGS    C++ compiler flags
1457  LT_SYS_LIBRARY_PATH
1458              User-defined run-time library search path.
1459  CXXCPP      C++ preprocessor
1460
1461Use these variables to override the choices made by `configure' or to help
1462it to find libraries and programs with nonstandard names/locations.
1463
1464Report bugs to <courier-users@lists.sourceforge.net>.
1465_ACEOF
1466ac_status=$?
1467fi
1468
1469if test "$ac_init_help" = "recursive"; then
1470  # If there are subdirs, report their specific --help.
1471  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1472    test -d "$ac_dir" ||
1473      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1474      continue
1475    ac_builddir=.
1476
1477case "$ac_dir" in
1478.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1479*)
1480  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1481  # A ".." for each directory in $ac_dir_suffix.
1482  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1483  case $ac_top_builddir_sub in
1484  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1485  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1486  esac ;;
1487esac
1488ac_abs_top_builddir=$ac_pwd
1489ac_abs_builddir=$ac_pwd$ac_dir_suffix
1490# for backward compatibility:
1491ac_top_builddir=$ac_top_build_prefix
1492
1493case $srcdir in
1494  .)  # We are building in place.
1495    ac_srcdir=.
1496    ac_top_srcdir=$ac_top_builddir_sub
1497    ac_abs_top_srcdir=$ac_pwd ;;
1498  [\\/]* | ?:[\\/]* )  # Absolute name.
1499    ac_srcdir=$srcdir$ac_dir_suffix;
1500    ac_top_srcdir=$srcdir
1501    ac_abs_top_srcdir=$srcdir ;;
1502  *) # Relative name.
1503    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1504    ac_top_srcdir=$ac_top_build_prefix$srcdir
1505    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1506esac
1507ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1508
1509    cd "$ac_dir" || { ac_status=$?; continue; }
1510    # Check for guested configure.
1511    if test -f "$ac_srcdir/configure.gnu"; then
1512      echo &&
1513      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1514    elif test -f "$ac_srcdir/configure"; then
1515      echo &&
1516      $SHELL "$ac_srcdir/configure" --help=recursive
1517    else
1518      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1519    fi || ac_status=$?
1520    cd "$ac_pwd" || { ac_status=$?; break; }
1521  done
1522fi
1523
1524test -n "$ac_init_help" && exit $ac_status
1525if $ac_init_version; then
1526  cat <<\_ACEOF
1527gdbmobj configure 0.10
1528generated by GNU Autoconf 2.69
1529
1530Copyright (C) 2012 Free Software Foundation, Inc.
1531This configure script is free software; the Free Software Foundation
1532gives unlimited permission to copy, distribute and modify it.
1533_ACEOF
1534  exit
1535fi
1536
1537## ------------------------ ##
1538## Autoconf initialization. ##
1539## ------------------------ ##
1540
1541# ac_fn_c_try_compile LINENO
1542# --------------------------
1543# Try to compile conftest.$ac_ext, and return whether this succeeded.
1544ac_fn_c_try_compile ()
1545{
1546  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1547  rm -f conftest.$ac_objext
1548  if { { ac_try="$ac_compile"
1549case "(($ac_try" in
1550  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1551  *) ac_try_echo=$ac_try;;
1552esac
1553eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554$as_echo "$ac_try_echo"; } >&5
1555  (eval "$ac_compile") 2>conftest.err
1556  ac_status=$?
1557  if test -s conftest.err; then
1558    grep -v '^ *+' conftest.err >conftest.er1
1559    cat conftest.er1 >&5
1560    mv -f conftest.er1 conftest.err
1561  fi
1562  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1563  test $ac_status = 0; } && {
1564	 test -z "$ac_c_werror_flag" ||
1565	 test ! -s conftest.err
1566       } && test -s conftest.$ac_objext; then :
1567  ac_retval=0
1568else
1569  $as_echo "$as_me: failed program was:" >&5
1570sed 's/^/| /' conftest.$ac_ext >&5
1571
1572	ac_retval=1
1573fi
1574  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1575  as_fn_set_status $ac_retval
1576
1577} # ac_fn_c_try_compile
1578
1579# ac_fn_c_try_cpp LINENO
1580# ----------------------
1581# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1582ac_fn_c_try_cpp ()
1583{
1584  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1585  if { { ac_try="$ac_cpp conftest.$ac_ext"
1586case "(($ac_try" in
1587  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1588  *) ac_try_echo=$ac_try;;
1589esac
1590eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591$as_echo "$ac_try_echo"; } >&5
1592  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1593  ac_status=$?
1594  if test -s conftest.err; then
1595    grep -v '^ *+' conftest.err >conftest.er1
1596    cat conftest.er1 >&5
1597    mv -f conftest.er1 conftest.err
1598  fi
1599  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600  test $ac_status = 0; } > conftest.i && {
1601	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1602	 test ! -s conftest.err
1603       }; then :
1604  ac_retval=0
1605else
1606  $as_echo "$as_me: failed program was:" >&5
1607sed 's/^/| /' conftest.$ac_ext >&5
1608
1609    ac_retval=1
1610fi
1611  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612  as_fn_set_status $ac_retval
1613
1614} # ac_fn_c_try_cpp
1615
1616# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1617# -------------------------------------------------------
1618# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1619# the include files in INCLUDES and setting the cache variable VAR
1620# accordingly.
1621ac_fn_c_check_header_mongrel ()
1622{
1623  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624  if eval \${$3+:} false; then :
1625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626$as_echo_n "checking for $2... " >&6; }
1627if eval \${$3+:} false; then :
1628  $as_echo_n "(cached) " >&6
1629fi
1630eval ac_res=\$$3
1631	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1632$as_echo "$ac_res" >&6; }
1633else
1634  # Is the header compilable?
1635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1636$as_echo_n "checking $2 usability... " >&6; }
1637cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1638/* end confdefs.h.  */
1639$4
1640#include <$2>
1641_ACEOF
1642if ac_fn_c_try_compile "$LINENO"; then :
1643  ac_header_compiler=yes
1644else
1645  ac_header_compiler=no
1646fi
1647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1649$as_echo "$ac_header_compiler" >&6; }
1650
1651# Is the header present?
1652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1653$as_echo_n "checking $2 presence... " >&6; }
1654cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655/* end confdefs.h.  */
1656#include <$2>
1657_ACEOF
1658if ac_fn_c_try_cpp "$LINENO"; then :
1659  ac_header_preproc=yes
1660else
1661  ac_header_preproc=no
1662fi
1663rm -f conftest.err conftest.i conftest.$ac_ext
1664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1665$as_echo "$ac_header_preproc" >&6; }
1666
1667# So?  What about this header?
1668case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1669  yes:no: )
1670    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1671$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1672    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674    ;;
1675  no:yes:* )
1676    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1677$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1678    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1679$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1680    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1681$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1682    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1683$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1684    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1685$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1686( $as_echo "## -------------------------------------------------- ##
1687## Report this to courier-users@lists.sourceforge.net ##
1688## -------------------------------------------------- ##"
1689     ) | sed "s/^/$as_me: WARNING:     /" >&2
1690    ;;
1691esac
1692  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1693$as_echo_n "checking for $2... " >&6; }
1694if eval \${$3+:} false; then :
1695  $as_echo_n "(cached) " >&6
1696else
1697  eval "$3=\$ac_header_compiler"
1698fi
1699eval ac_res=\$$3
1700	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701$as_echo "$ac_res" >&6; }
1702fi
1703  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704
1705} # ac_fn_c_check_header_mongrel
1706
1707# ac_fn_c_try_run LINENO
1708# ----------------------
1709# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1710# that executables *can* be run.
1711ac_fn_c_try_run ()
1712{
1713  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714  if { { ac_try="$ac_link"
1715case "(($ac_try" in
1716  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717  *) ac_try_echo=$ac_try;;
1718esac
1719eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720$as_echo "$ac_try_echo"; } >&5
1721  (eval "$ac_link") 2>&5
1722  ac_status=$?
1723  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1725  { { case "(($ac_try" in
1726  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727  *) ac_try_echo=$ac_try;;
1728esac
1729eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730$as_echo "$ac_try_echo"; } >&5
1731  (eval "$ac_try") 2>&5
1732  ac_status=$?
1733  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734  test $ac_status = 0; }; }; then :
1735  ac_retval=0
1736else
1737  $as_echo "$as_me: program exited with status $ac_status" >&5
1738       $as_echo "$as_me: failed program was:" >&5
1739sed 's/^/| /' conftest.$ac_ext >&5
1740
1741       ac_retval=$ac_status
1742fi
1743  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1744  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745  as_fn_set_status $ac_retval
1746
1747} # ac_fn_c_try_run
1748
1749# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1750# -------------------------------------------------------
1751# Tests whether HEADER exists and can be compiled using the include files in
1752# INCLUDES, setting the cache variable VAR accordingly.
1753ac_fn_c_check_header_compile ()
1754{
1755  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1757$as_echo_n "checking for $2... " >&6; }
1758if eval \${$3+:} false; then :
1759  $as_echo_n "(cached) " >&6
1760else
1761  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1762/* end confdefs.h.  */
1763$4
1764#include <$2>
1765_ACEOF
1766if ac_fn_c_try_compile "$LINENO"; then :
1767  eval "$3=yes"
1768else
1769  eval "$3=no"
1770fi
1771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1772fi
1773eval ac_res=\$$3
1774	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1775$as_echo "$ac_res" >&6; }
1776  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777
1778} # ac_fn_c_check_header_compile
1779
1780# ac_fn_c_try_link LINENO
1781# -----------------------
1782# Try to link conftest.$ac_ext, and return whether this succeeded.
1783ac_fn_c_try_link ()
1784{
1785  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786  rm -f conftest.$ac_objext conftest$ac_exeext
1787  if { { ac_try="$ac_link"
1788case "(($ac_try" in
1789  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790  *) ac_try_echo=$ac_try;;
1791esac
1792eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793$as_echo "$ac_try_echo"; } >&5
1794  (eval "$ac_link") 2>conftest.err
1795  ac_status=$?
1796  if test -s conftest.err; then
1797    grep -v '^ *+' conftest.err >conftest.er1
1798    cat conftest.er1 >&5
1799    mv -f conftest.er1 conftest.err
1800  fi
1801  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802  test $ac_status = 0; } && {
1803	 test -z "$ac_c_werror_flag" ||
1804	 test ! -s conftest.err
1805       } && test -s conftest$ac_exeext && {
1806	 test "$cross_compiling" = yes ||
1807	 test -x conftest$ac_exeext
1808       }; then :
1809  ac_retval=0
1810else
1811  $as_echo "$as_me: failed program was:" >&5
1812sed 's/^/| /' conftest.$ac_ext >&5
1813
1814	ac_retval=1
1815fi
1816  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1817  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1818  # interfere with the next link command; also delete a directory that is
1819  # left behind by Apple's compiler.  We do this before executing the actions.
1820  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1821  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822  as_fn_set_status $ac_retval
1823
1824} # ac_fn_c_try_link
1825
1826# ac_fn_cxx_try_compile LINENO
1827# ----------------------------
1828# Try to compile conftest.$ac_ext, and return whether this succeeded.
1829ac_fn_cxx_try_compile ()
1830{
1831  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832  rm -f conftest.$ac_objext
1833  if { { ac_try="$ac_compile"
1834case "(($ac_try" in
1835  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836  *) ac_try_echo=$ac_try;;
1837esac
1838eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839$as_echo "$ac_try_echo"; } >&5
1840  (eval "$ac_compile") 2>conftest.err
1841  ac_status=$?
1842  if test -s conftest.err; then
1843    grep -v '^ *+' conftest.err >conftest.er1
1844    cat conftest.er1 >&5
1845    mv -f conftest.er1 conftest.err
1846  fi
1847  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848  test $ac_status = 0; } && {
1849	 test -z "$ac_cxx_werror_flag" ||
1850	 test ! -s conftest.err
1851       } && test -s conftest.$ac_objext; then :
1852  ac_retval=0
1853else
1854  $as_echo "$as_me: failed program was:" >&5
1855sed 's/^/| /' conftest.$ac_ext >&5
1856
1857	ac_retval=1
1858fi
1859  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860  as_fn_set_status $ac_retval
1861
1862} # ac_fn_cxx_try_compile
1863
1864# ac_fn_c_check_func LINENO FUNC VAR
1865# ----------------------------------
1866# Tests whether FUNC exists, setting the cache variable VAR accordingly
1867ac_fn_c_check_func ()
1868{
1869  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871$as_echo_n "checking for $2... " >&6; }
1872if eval \${$3+:} false; then :
1873  $as_echo_n "(cached) " >&6
1874else
1875  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876/* end confdefs.h.  */
1877/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1878   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1879#define $2 innocuous_$2
1880
1881/* System header to define __stub macros and hopefully few prototypes,
1882    which can conflict with char $2 (); below.
1883    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1884    <limits.h> exists even on freestanding compilers.  */
1885
1886#ifdef __STDC__
1887# include <limits.h>
1888#else
1889# include <assert.h>
1890#endif
1891
1892#undef $2
1893
1894/* Override any GCC internal prototype to avoid an error.
1895   Use char because int might match the return type of a GCC
1896   builtin and then its argument prototype would still apply.  */
1897#ifdef __cplusplus
1898extern "C"
1899#endif
1900char $2 ();
1901/* The GNU C library defines this for functions which it implements
1902    to always fail with ENOSYS.  Some functions are actually named
1903    something starting with __ and the normal name is an alias.  */
1904#if defined __stub_$2 || defined __stub___$2
1905choke me
1906#endif
1907
1908int
1909main ()
1910{
1911return $2 ();
1912  ;
1913  return 0;
1914}
1915_ACEOF
1916if ac_fn_c_try_link "$LINENO"; then :
1917  eval "$3=yes"
1918else
1919  eval "$3=no"
1920fi
1921rm -f core conftest.err conftest.$ac_objext \
1922    conftest$ac_exeext conftest.$ac_ext
1923fi
1924eval ac_res=\$$3
1925	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1926$as_echo "$ac_res" >&6; }
1927  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1928
1929} # ac_fn_c_check_func
1930
1931# ac_fn_cxx_try_cpp LINENO
1932# ------------------------
1933# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1934ac_fn_cxx_try_cpp ()
1935{
1936  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937  if { { ac_try="$ac_cpp conftest.$ac_ext"
1938case "(($ac_try" in
1939  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1940  *) ac_try_echo=$ac_try;;
1941esac
1942eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1943$as_echo "$ac_try_echo"; } >&5
1944  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1945  ac_status=$?
1946  if test -s conftest.err; then
1947    grep -v '^ *+' conftest.err >conftest.er1
1948    cat conftest.er1 >&5
1949    mv -f conftest.er1 conftest.err
1950  fi
1951  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1952  test $ac_status = 0; } > conftest.i && {
1953	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1954	 test ! -s conftest.err
1955       }; then :
1956  ac_retval=0
1957else
1958  $as_echo "$as_me: failed program was:" >&5
1959sed 's/^/| /' conftest.$ac_ext >&5
1960
1961    ac_retval=1
1962fi
1963  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964  as_fn_set_status $ac_retval
1965
1966} # ac_fn_cxx_try_cpp
1967
1968# ac_fn_cxx_try_link LINENO
1969# -------------------------
1970# Try to link conftest.$ac_ext, and return whether this succeeded.
1971ac_fn_cxx_try_link ()
1972{
1973  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974  rm -f conftest.$ac_objext conftest$ac_exeext
1975  if { { ac_try="$ac_link"
1976case "(($ac_try" in
1977  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978  *) ac_try_echo=$ac_try;;
1979esac
1980eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1981$as_echo "$ac_try_echo"; } >&5
1982  (eval "$ac_link") 2>conftest.err
1983  ac_status=$?
1984  if test -s conftest.err; then
1985    grep -v '^ *+' conftest.err >conftest.er1
1986    cat conftest.er1 >&5
1987    mv -f conftest.er1 conftest.err
1988  fi
1989  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990  test $ac_status = 0; } && {
1991	 test -z "$ac_cxx_werror_flag" ||
1992	 test ! -s conftest.err
1993       } && test -s conftest$ac_exeext && {
1994	 test "$cross_compiling" = yes ||
1995	 test -x conftest$ac_exeext
1996       }; then :
1997  ac_retval=0
1998else
1999  $as_echo "$as_me: failed program was:" >&5
2000sed 's/^/| /' conftest.$ac_ext >&5
2001
2002	ac_retval=1
2003fi
2004  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2005  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2006  # interfere with the next link command; also delete a directory that is
2007  # left behind by Apple's compiler.  We do this before executing the actions.
2008  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2009  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2010  as_fn_set_status $ac_retval
2011
2012} # ac_fn_cxx_try_link
2013
2014# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2015# -------------------------------------------
2016# Tests whether TYPE exists after having included INCLUDES, setting cache
2017# variable VAR accordingly.
2018ac_fn_c_check_type ()
2019{
2020  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2021  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2022$as_echo_n "checking for $2... " >&6; }
2023if eval \${$3+:} false; then :
2024  $as_echo_n "(cached) " >&6
2025else
2026  eval "$3=no"
2027  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2028/* end confdefs.h.  */
2029$4
2030int
2031main ()
2032{
2033if (sizeof ($2))
2034	 return 0;
2035  ;
2036  return 0;
2037}
2038_ACEOF
2039if ac_fn_c_try_compile "$LINENO"; then :
2040  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2041/* end confdefs.h.  */
2042$4
2043int
2044main ()
2045{
2046if (sizeof (($2)))
2047	    return 0;
2048  ;
2049  return 0;
2050}
2051_ACEOF
2052if ac_fn_c_try_compile "$LINENO"; then :
2053
2054else
2055  eval "$3=yes"
2056fi
2057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2058fi
2059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2060fi
2061eval ac_res=\$$3
2062	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2063$as_echo "$ac_res" >&6; }
2064  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2065
2066} # ac_fn_c_check_type
2067cat >config.log <<_ACEOF
2068This file contains any messages produced by compilers while
2069running configure, to aid debugging if configure makes a mistake.
2070
2071It was created by gdbmobj $as_me 0.10, which was
2072generated by GNU Autoconf 2.69.  Invocation command line was
2073
2074  $ $0 $@
2075
2076_ACEOF
2077exec 5>>config.log
2078{
2079cat <<_ASUNAME
2080## --------- ##
2081## Platform. ##
2082## --------- ##
2083
2084hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2085uname -m = `(uname -m) 2>/dev/null || echo unknown`
2086uname -r = `(uname -r) 2>/dev/null || echo unknown`
2087uname -s = `(uname -s) 2>/dev/null || echo unknown`
2088uname -v = `(uname -v) 2>/dev/null || echo unknown`
2089
2090/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2091/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2092
2093/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2094/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2095/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2096/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2097/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2098/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2099/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2100
2101_ASUNAME
2102
2103as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2104for as_dir in $PATH
2105do
2106  IFS=$as_save_IFS
2107  test -z "$as_dir" && as_dir=.
2108    $as_echo "PATH: $as_dir"
2109  done
2110IFS=$as_save_IFS
2111
2112} >&5
2113
2114cat >&5 <<_ACEOF
2115
2116
2117## ----------- ##
2118## Core tests. ##
2119## ----------- ##
2120
2121_ACEOF
2122
2123
2124# Keep a trace of the command line.
2125# Strip out --no-create and --no-recursion so they do not pile up.
2126# Strip out --silent because we don't want to record it for future runs.
2127# Also quote any args containing shell meta-characters.
2128# Make two passes to allow for proper duplicate-argument suppression.
2129ac_configure_args=
2130ac_configure_args0=
2131ac_configure_args1=
2132ac_must_keep_next=false
2133for ac_pass in 1 2
2134do
2135  for ac_arg
2136  do
2137    case $ac_arg in
2138    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2139    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2140    | -silent | --silent | --silen | --sile | --sil)
2141      continue ;;
2142    *\'*)
2143      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2144    esac
2145    case $ac_pass in
2146    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2147    2)
2148      as_fn_append ac_configure_args1 " '$ac_arg'"
2149      if test $ac_must_keep_next = true; then
2150	ac_must_keep_next=false # Got value, back to normal.
2151      else
2152	case $ac_arg in
2153	  *=* | --config-cache | -C | -disable-* | --disable-* \
2154	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2155	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2156	  | -with-* | --with-* | -without-* | --without-* | --x)
2157	    case "$ac_configure_args0 " in
2158	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2159	    esac
2160	    ;;
2161	  -* ) ac_must_keep_next=true ;;
2162	esac
2163      fi
2164      as_fn_append ac_configure_args " '$ac_arg'"
2165      ;;
2166    esac
2167  done
2168done
2169{ ac_configure_args0=; unset ac_configure_args0;}
2170{ ac_configure_args1=; unset ac_configure_args1;}
2171
2172# When interrupted or exit'd, cleanup temporary files, and complete
2173# config.log.  We remove comments because anyway the quotes in there
2174# would cause problems or look ugly.
2175# WARNING: Use '\'' to represent an apostrophe within the trap.
2176# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2177trap 'exit_status=$?
2178  # Save into config.log some information that might help in debugging.
2179  {
2180    echo
2181
2182    $as_echo "## ---------------- ##
2183## Cache variables. ##
2184## ---------------- ##"
2185    echo
2186    # The following way of writing the cache mishandles newlines in values,
2187(
2188  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2189    eval ac_val=\$$ac_var
2190    case $ac_val in #(
2191    *${as_nl}*)
2192      case $ac_var in #(
2193      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2194$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2195      esac
2196      case $ac_var in #(
2197      _ | IFS | as_nl) ;; #(
2198      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2199      *) { eval $ac_var=; unset $ac_var;} ;;
2200      esac ;;
2201    esac
2202  done
2203  (set) 2>&1 |
2204    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2205    *${as_nl}ac_space=\ *)
2206      sed -n \
2207	"s/'\''/'\''\\\\'\'''\''/g;
2208	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2209      ;; #(
2210    *)
2211      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2212      ;;
2213    esac |
2214    sort
2215)
2216    echo
2217
2218    $as_echo "## ----------------- ##
2219## Output variables. ##
2220## ----------------- ##"
2221    echo
2222    for ac_var in $ac_subst_vars
2223    do
2224      eval ac_val=\$$ac_var
2225      case $ac_val in
2226      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2227      esac
2228      $as_echo "$ac_var='\''$ac_val'\''"
2229    done | sort
2230    echo
2231
2232    if test -n "$ac_subst_files"; then
2233      $as_echo "## ------------------- ##
2234## File substitutions. ##
2235## ------------------- ##"
2236      echo
2237      for ac_var in $ac_subst_files
2238      do
2239	eval ac_val=\$$ac_var
2240	case $ac_val in
2241	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2242	esac
2243	$as_echo "$ac_var='\''$ac_val'\''"
2244      done | sort
2245      echo
2246    fi
2247
2248    if test -s confdefs.h; then
2249      $as_echo "## ----------- ##
2250## confdefs.h. ##
2251## ----------- ##"
2252      echo
2253      cat confdefs.h
2254      echo
2255    fi
2256    test "$ac_signal" != 0 &&
2257      $as_echo "$as_me: caught signal $ac_signal"
2258    $as_echo "$as_me: exit $exit_status"
2259  } >&5
2260  rm -f core *.core core.conftest.* &&
2261    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2262    exit $exit_status
2263' 0
2264for ac_signal in 1 2 13 15; do
2265  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2266done
2267ac_signal=0
2268
2269# confdefs.h avoids OS command line length limits that DEFS can exceed.
2270rm -f -r conftest* confdefs.h
2271
2272$as_echo "/* confdefs.h */" > confdefs.h
2273
2274# Predefined preprocessor variables.
2275
2276cat >>confdefs.h <<_ACEOF
2277#define PACKAGE_NAME "$PACKAGE_NAME"
2278_ACEOF
2279
2280cat >>confdefs.h <<_ACEOF
2281#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2282_ACEOF
2283
2284cat >>confdefs.h <<_ACEOF
2285#define PACKAGE_VERSION "$PACKAGE_VERSION"
2286_ACEOF
2287
2288cat >>confdefs.h <<_ACEOF
2289#define PACKAGE_STRING "$PACKAGE_STRING"
2290_ACEOF
2291
2292cat >>confdefs.h <<_ACEOF
2293#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2294_ACEOF
2295
2296cat >>confdefs.h <<_ACEOF
2297#define PACKAGE_URL "$PACKAGE_URL"
2298_ACEOF
2299
2300
2301# Let the site file select an alternate cache file if it wants to.
2302# Prefer an explicitly selected file to automatically selected ones.
2303ac_site_file1=NONE
2304ac_site_file2=NONE
2305if test -n "$CONFIG_SITE"; then
2306  # We do not want a PATH search for config.site.
2307  case $CONFIG_SITE in #((
2308    -*)  ac_site_file1=./$CONFIG_SITE;;
2309    */*) ac_site_file1=$CONFIG_SITE;;
2310    *)   ac_site_file1=./$CONFIG_SITE;;
2311  esac
2312elif test "x$prefix" != xNONE; then
2313  ac_site_file1=$prefix/share/config.site
2314  ac_site_file2=$prefix/etc/config.site
2315else
2316  ac_site_file1=$ac_default_prefix/share/config.site
2317  ac_site_file2=$ac_default_prefix/etc/config.site
2318fi
2319for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2320do
2321  test "x$ac_site_file" = xNONE && continue
2322  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2323    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2324$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2325    sed 's/^/| /' "$ac_site_file" >&5
2326    . "$ac_site_file" \
2327      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2328$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2329as_fn_error $? "failed to load site script $ac_site_file
2330See \`config.log' for more details" "$LINENO" 5; }
2331  fi
2332done
2333
2334if test -r "$cache_file"; then
2335  # Some versions of bash will fail to source /dev/null (special files
2336  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2337  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2338    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2339$as_echo "$as_me: loading cache $cache_file" >&6;}
2340    case $cache_file in
2341      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2342      *)                      . "./$cache_file";;
2343    esac
2344  fi
2345else
2346  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2347$as_echo "$as_me: creating cache $cache_file" >&6;}
2348  >$cache_file
2349fi
2350
2351# Check that the precious variables saved in the cache have kept the same
2352# value.
2353ac_cache_corrupted=false
2354for ac_var in $ac_precious_vars; do
2355  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2356  eval ac_new_set=\$ac_env_${ac_var}_set
2357  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2358  eval ac_new_val=\$ac_env_${ac_var}_value
2359  case $ac_old_set,$ac_new_set in
2360    set,)
2361      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2362$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2363      ac_cache_corrupted=: ;;
2364    ,set)
2365      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2366$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2367      ac_cache_corrupted=: ;;
2368    ,);;
2369    *)
2370      if test "x$ac_old_val" != "x$ac_new_val"; then
2371	# differences in whitespace do not lead to failure.
2372	ac_old_val_w=`echo x $ac_old_val`
2373	ac_new_val_w=`echo x $ac_new_val`
2374	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2375	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2376$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2377	  ac_cache_corrupted=:
2378	else
2379	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2380$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2381	  eval $ac_var=\$ac_old_val
2382	fi
2383	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2384$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2385	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2386$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2387      fi;;
2388  esac
2389  # Pass precious variables to config.status.
2390  if test "$ac_new_set" = set; then
2391    case $ac_new_val in
2392    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2393    *) ac_arg=$ac_var=$ac_new_val ;;
2394    esac
2395    case " $ac_configure_args " in
2396      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2397      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2398    esac
2399  fi
2400done
2401if $ac_cache_corrupted; then
2402  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2403$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2404  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2405$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2406  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2407fi
2408## -------------------- ##
2409## Main body of script. ##
2410## -------------------- ##
2411
2412ac_ext=c
2413ac_cpp='$CPP $CPPFLAGS'
2414ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2415ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2416ac_compiler_gnu=$ac_cv_c_compiler_gnu
2417
2418
2419
2420>confdefs.h  # Kill PACKAGE_ macros
2421
2422
2423ac_aux_dir=
2424for ac_dir in ../.. "$srcdir"/../..; do
2425  if test -f "$ac_dir/install-sh"; then
2426    ac_aux_dir=$ac_dir
2427    ac_install_sh="$ac_aux_dir/install-sh -c"
2428    break
2429  elif test -f "$ac_dir/install.sh"; then
2430    ac_aux_dir=$ac_dir
2431    ac_install_sh="$ac_aux_dir/install.sh -c"
2432    break
2433  elif test -f "$ac_dir/shtool"; then
2434    ac_aux_dir=$ac_dir
2435    ac_install_sh="$ac_aux_dir/shtool install -c"
2436    break
2437  fi
2438done
2439if test -z "$ac_aux_dir"; then
2440  as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2441fi
2442
2443# These three variables are undocumented and unsupported,
2444# and are intended to be withdrawn in a future Autoconf release.
2445# They can cause serious problems if a builder's source tree is in a directory
2446# whose full name contains unusual characters.
2447ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2448ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2449ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2450
2451
2452am__api_version='1.16'
2453
2454# Find a good install program.  We prefer a C program (faster),
2455# so one script is as good as another.  But avoid the broken or
2456# incompatible versions:
2457# SysV /etc/install, /usr/sbin/install
2458# SunOS /usr/etc/install
2459# IRIX /sbin/install
2460# AIX /bin/install
2461# AmigaOS /C/install, which installs bootblocks on floppy discs
2462# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2463# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2464# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2465# OS/2's system install, which has a completely different semantic
2466# ./install, which can be erroneously created by make from ./install.sh.
2467# Reject install programs that cannot install multiple files.
2468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2469$as_echo_n "checking for a BSD-compatible install... " >&6; }
2470if test -z "$INSTALL"; then
2471if ${ac_cv_path_install+:} false; then :
2472  $as_echo_n "(cached) " >&6
2473else
2474  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475for as_dir in $PATH
2476do
2477  IFS=$as_save_IFS
2478  test -z "$as_dir" && as_dir=.
2479    # Account for people who put trailing slashes in PATH elements.
2480case $as_dir/ in #((
2481  ./ | .// | /[cC]/* | \
2482  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2483  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2484  /usr/ucb/* ) ;;
2485  *)
2486    # OSF1 and SCO ODT 3.0 have their own names for install.
2487    # Don't use installbsd from OSF since it installs stuff as root
2488    # by default.
2489    for ac_prog in ginstall scoinst install; do
2490      for ac_exec_ext in '' $ac_executable_extensions; do
2491	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2492	  if test $ac_prog = install &&
2493	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2494	    # AIX install.  It has an incompatible calling convention.
2495	    :
2496	  elif test $ac_prog = install &&
2497	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2498	    # program-specific install script used by HP pwplus--don't use.
2499	    :
2500	  else
2501	    rm -rf conftest.one conftest.two conftest.dir
2502	    echo one > conftest.one
2503	    echo two > conftest.two
2504	    mkdir conftest.dir
2505	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2506	      test -s conftest.one && test -s conftest.two &&
2507	      test -s conftest.dir/conftest.one &&
2508	      test -s conftest.dir/conftest.two
2509	    then
2510	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2511	      break 3
2512	    fi
2513	  fi
2514	fi
2515      done
2516    done
2517    ;;
2518esac
2519
2520  done
2521IFS=$as_save_IFS
2522
2523rm -rf conftest.one conftest.two conftest.dir
2524
2525fi
2526  if test "${ac_cv_path_install+set}" = set; then
2527    INSTALL=$ac_cv_path_install
2528  else
2529    # As a last resort, use the slow shell script.  Don't cache a
2530    # value for INSTALL within a source directory, because that will
2531    # break other packages using the cache if that directory is
2532    # removed, or if the value is a relative name.
2533    INSTALL=$ac_install_sh
2534  fi
2535fi
2536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2537$as_echo "$INSTALL" >&6; }
2538
2539# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2540# It thinks the first close brace ends the variable substitution.
2541test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2542
2543test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2544
2545test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2546
2547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2548$as_echo_n "checking whether build environment is sane... " >&6; }
2549# Reject unsafe characters in $srcdir or the absolute working directory
2550# name.  Accept space and tab only in the latter.
2551am_lf='
2552'
2553case `pwd` in
2554  *[\\\"\#\$\&\'\`$am_lf]*)
2555    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2556esac
2557case $srcdir in
2558  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2559    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2560esac
2561
2562# Do 'set' in a subshell so we don't clobber the current shell's
2563# arguments.  Must try -L first in case configure is actually a
2564# symlink; some systems play weird games with the mod time of symlinks
2565# (eg FreeBSD returns the mod time of the symlink's containing
2566# directory).
2567if (
2568   am_has_slept=no
2569   for am_try in 1 2; do
2570     echo "timestamp, slept: $am_has_slept" > conftest.file
2571     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2572     if test "$*" = "X"; then
2573	# -L didn't work.
2574	set X `ls -t "$srcdir/configure" conftest.file`
2575     fi
2576     if test "$*" != "X $srcdir/configure conftest.file" \
2577	&& test "$*" != "X conftest.file $srcdir/configure"; then
2578
2579	# If neither matched, then we have a broken ls.  This can happen
2580	# if, for instance, CONFIG_SHELL is bash and it inherits a
2581	# broken ls alias from the environment.  This has actually
2582	# happened.  Such a system could not be considered "sane".
2583	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2584  alias in your environment" "$LINENO" 5
2585     fi
2586     if test "$2" = conftest.file || test $am_try -eq 2; then
2587       break
2588     fi
2589     # Just in case.
2590     sleep 1
2591     am_has_slept=yes
2592   done
2593   test "$2" = conftest.file
2594   )
2595then
2596   # Ok.
2597   :
2598else
2599   as_fn_error $? "newly created file is older than distributed files!
2600Check your system clock" "$LINENO" 5
2601fi
2602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2603$as_echo "yes" >&6; }
2604# If we didn't sleep, we still need to ensure time stamps of config.status and
2605# generated files are strictly newer.
2606am_sleep_pid=
2607if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2608  ( sleep 1 ) &
2609  am_sleep_pid=$!
2610fi
2611
2612rm -f conftest.file
2613
2614test "$program_prefix" != NONE &&
2615  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2616# Use a double $ so make ignores it.
2617test "$program_suffix" != NONE &&
2618  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2619# Double any \ or $.
2620# By default was `s,x,x', remove it if useless.
2621ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2622program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2623
2624# Expand $ac_aux_dir to an absolute path.
2625am_aux_dir=`cd "$ac_aux_dir" && pwd`
2626
2627if test x"${MISSING+set}" != xset; then
2628  case $am_aux_dir in
2629  *\ * | *\	*)
2630    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2631  *)
2632    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2633  esac
2634fi
2635# Use eval to expand $SHELL
2636if eval "$MISSING --is-lightweight"; then
2637  am_missing_run="$MISSING "
2638else
2639  am_missing_run=
2640  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2641$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2642fi
2643
2644if test x"${install_sh+set}" != xset; then
2645  case $am_aux_dir in
2646  *\ * | *\	*)
2647    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2648  *)
2649    install_sh="\${SHELL} $am_aux_dir/install-sh"
2650  esac
2651fi
2652
2653# Installed binaries are usually stripped using 'strip' when the user
2654# run "make install-strip".  However 'strip' might not be the right
2655# tool to use in cross-compilation environments, therefore Automake
2656# will honor the 'STRIP' environment variable to overrule this program.
2657if test "$cross_compiling" != no; then
2658  if test -n "$ac_tool_prefix"; then
2659  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2660set dummy ${ac_tool_prefix}strip; ac_word=$2
2661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662$as_echo_n "checking for $ac_word... " >&6; }
2663if ${ac_cv_prog_STRIP+:} false; then :
2664  $as_echo_n "(cached) " >&6
2665else
2666  if test -n "$STRIP"; then
2667  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2668else
2669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670for as_dir in $PATH
2671do
2672  IFS=$as_save_IFS
2673  test -z "$as_dir" && as_dir=.
2674    for ac_exec_ext in '' $ac_executable_extensions; do
2675  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2676    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2677    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678    break 2
2679  fi
2680done
2681  done
2682IFS=$as_save_IFS
2683
2684fi
2685fi
2686STRIP=$ac_cv_prog_STRIP
2687if test -n "$STRIP"; then
2688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2689$as_echo "$STRIP" >&6; }
2690else
2691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692$as_echo "no" >&6; }
2693fi
2694
2695
2696fi
2697if test -z "$ac_cv_prog_STRIP"; then
2698  ac_ct_STRIP=$STRIP
2699  # Extract the first word of "strip", so it can be a program name with args.
2700set dummy strip; ac_word=$2
2701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2702$as_echo_n "checking for $ac_word... " >&6; }
2703if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2704  $as_echo_n "(cached) " >&6
2705else
2706  if test -n "$ac_ct_STRIP"; then
2707  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2708else
2709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2710for as_dir in $PATH
2711do
2712  IFS=$as_save_IFS
2713  test -z "$as_dir" && as_dir=.
2714    for ac_exec_ext in '' $ac_executable_extensions; do
2715  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2716    ac_cv_prog_ac_ct_STRIP="strip"
2717    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718    break 2
2719  fi
2720done
2721  done
2722IFS=$as_save_IFS
2723
2724fi
2725fi
2726ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2727if test -n "$ac_ct_STRIP"; then
2728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2729$as_echo "$ac_ct_STRIP" >&6; }
2730else
2731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2732$as_echo "no" >&6; }
2733fi
2734
2735  if test "x$ac_ct_STRIP" = x; then
2736    STRIP=":"
2737  else
2738    case $cross_compiling:$ac_tool_warned in
2739yes:)
2740{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2741$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2742ac_tool_warned=yes ;;
2743esac
2744    STRIP=$ac_ct_STRIP
2745  fi
2746else
2747  STRIP="$ac_cv_prog_STRIP"
2748fi
2749
2750fi
2751INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2752
2753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2754$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2755if test -z "$MKDIR_P"; then
2756  if ${ac_cv_path_mkdir+:} false; then :
2757  $as_echo_n "(cached) " >&6
2758else
2759  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2761do
2762  IFS=$as_save_IFS
2763  test -z "$as_dir" && as_dir=.
2764    for ac_prog in mkdir gmkdir; do
2765	 for ac_exec_ext in '' $ac_executable_extensions; do
2766	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2767	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2768	     'mkdir (GNU coreutils) '* | \
2769	     'mkdir (coreutils) '* | \
2770	     'mkdir (fileutils) '4.1*)
2771	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2772	       break 3;;
2773	   esac
2774	 done
2775       done
2776  done
2777IFS=$as_save_IFS
2778
2779fi
2780
2781  test -d ./--version && rmdir ./--version
2782  if test "${ac_cv_path_mkdir+set}" = set; then
2783    MKDIR_P="$ac_cv_path_mkdir -p"
2784  else
2785    # As a last resort, use the slow shell script.  Don't cache a
2786    # value for MKDIR_P within a source directory, because that will
2787    # break other packages using the cache if that directory is
2788    # removed, or if the value is a relative name.
2789    MKDIR_P="$ac_install_sh -d"
2790  fi
2791fi
2792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2793$as_echo "$MKDIR_P" >&6; }
2794
2795for ac_prog in gawk mawk nawk awk
2796do
2797  # Extract the first word of "$ac_prog", so it can be a program name with args.
2798set dummy $ac_prog; ac_word=$2
2799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2800$as_echo_n "checking for $ac_word... " >&6; }
2801if ${ac_cv_prog_AWK+:} false; then :
2802  $as_echo_n "(cached) " >&6
2803else
2804  if test -n "$AWK"; then
2805  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2806else
2807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2808for as_dir in $PATH
2809do
2810  IFS=$as_save_IFS
2811  test -z "$as_dir" && as_dir=.
2812    for ac_exec_ext in '' $ac_executable_extensions; do
2813  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2814    ac_cv_prog_AWK="$ac_prog"
2815    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2816    break 2
2817  fi
2818done
2819  done
2820IFS=$as_save_IFS
2821
2822fi
2823fi
2824AWK=$ac_cv_prog_AWK
2825if test -n "$AWK"; then
2826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2827$as_echo "$AWK" >&6; }
2828else
2829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2830$as_echo "no" >&6; }
2831fi
2832
2833
2834  test -n "$AWK" && break
2835done
2836
2837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2838$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2839set x ${MAKE-make}
2840ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2841if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2842  $as_echo_n "(cached) " >&6
2843else
2844  cat >conftest.make <<\_ACEOF
2845SHELL = /bin/sh
2846all:
2847	@echo '@@@%%%=$(MAKE)=@@@%%%'
2848_ACEOF
2849# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2850case `${MAKE-make} -f conftest.make 2>/dev/null` in
2851  *@@@%%%=?*=@@@%%%*)
2852    eval ac_cv_prog_make_${ac_make}_set=yes;;
2853  *)
2854    eval ac_cv_prog_make_${ac_make}_set=no;;
2855esac
2856rm -f conftest.make
2857fi
2858if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2860$as_echo "yes" >&6; }
2861  SET_MAKE=
2862else
2863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864$as_echo "no" >&6; }
2865  SET_MAKE="MAKE=${MAKE-make}"
2866fi
2867
2868rm -rf .tst 2>/dev/null
2869mkdir .tst 2>/dev/null
2870if test -d .tst; then
2871  am__leading_dot=.
2872else
2873  am__leading_dot=_
2874fi
2875rmdir .tst 2>/dev/null
2876
2877# Check whether --enable-silent-rules was given.
2878if test "${enable_silent_rules+set}" = set; then :
2879  enableval=$enable_silent_rules;
2880fi
2881
2882case $enable_silent_rules in # (((
2883  yes) AM_DEFAULT_VERBOSITY=0;;
2884   no) AM_DEFAULT_VERBOSITY=1;;
2885    *) AM_DEFAULT_VERBOSITY=1;;
2886esac
2887am_make=${MAKE-make}
2888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2889$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2890if ${am_cv_make_support_nested_variables+:} false; then :
2891  $as_echo_n "(cached) " >&6
2892else
2893  if $as_echo 'TRUE=$(BAR$(V))
2894BAR0=false
2895BAR1=true
2896V=1
2897am__doit:
2898	@$(TRUE)
2899.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2900  am_cv_make_support_nested_variables=yes
2901else
2902  am_cv_make_support_nested_variables=no
2903fi
2904fi
2905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2906$as_echo "$am_cv_make_support_nested_variables" >&6; }
2907if test $am_cv_make_support_nested_variables = yes; then
2908    AM_V='$(V)'
2909  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2910else
2911  AM_V=$AM_DEFAULT_VERBOSITY
2912  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2913fi
2914AM_BACKSLASH='\'
2915
2916if test "`cd $srcdir && pwd`" != "`pwd`"; then
2917  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2918  # is not polluted with repeated "-I."
2919  am__isrc=' -I$(srcdir)'
2920  # test to see if srcdir already configured
2921  if test -f $srcdir/config.status; then
2922    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2923  fi
2924fi
2925
2926# test whether we have cygpath
2927if test -z "$CYGPATH_W"; then
2928  if (cygpath --version) >/dev/null 2>/dev/null; then
2929    CYGPATH_W='cygpath -w'
2930  else
2931    CYGPATH_W=echo
2932  fi
2933fi
2934
2935
2936# Define the identity of the package.
2937 PACKAGE='gdbmobj'
2938 VERSION='0.10'
2939
2940
2941# Some tools Automake needs.
2942
2943ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2944
2945
2946AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2947
2948
2949AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2950
2951
2952AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2953
2954
2955MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2956
2957# For better backward compatibility.  To be removed once Automake 1.9.x
2958# dies out for good.  For more background, see:
2959# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2960# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2961mkdir_p='$(MKDIR_P)'
2962
2963# We need awk for the "check" target (and possibly the TAP driver).  The
2964# system "awk" is bad on some platforms.
2965# Always define AMTAR for backward compatibility.  Yes, it's still used
2966# in the wild :-(  We should find a proper way to deprecate it ...
2967AMTAR='$${TAR-tar}'
2968
2969
2970# We'll loop over all known methods to create a tar archive until one works.
2971_am_tools='gnutar  pax cpio none'
2972
2973am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2974
2975
2976
2977
2978
2979
2980# POSIX will say in a future version that running "rm -f" with no argument
2981# is OK; and we want to be able to make that assumption in our Makefile
2982# recipes.  So use an aggressive probe to check that the usage we want is
2983# actually supported "in the wild" to an acceptable degree.
2984# See automake bug#10828.
2985# To make any issue more visible, cause the running configure to be aborted
2986# by default if the 'rm' program in use doesn't match our expectations; the
2987# user can still override this though.
2988if rm -f && rm -fr && rm -rf; then : OK; else
2989  cat >&2 <<'END'
2990Oops!
2991
2992Your 'rm' program seems unable to run without file operands specified
2993on the command line, even when the '-f' option is present.  This is contrary
2994to the behaviour of most rm programs out there, and not conforming with
2995the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2996
2997Please tell bug-automake@gnu.org about your system, including the value
2998of your $PATH and any error possibly output before this message.  This
2999can help us improve future automake versions.
3000
3001END
3002  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3003    echo 'Configuration will proceed anyway, since you have set the' >&2
3004    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3005    echo >&2
3006  else
3007    cat >&2 <<'END'
3008Aborting the configuration process, to ensure you take notice of the issue.
3009
3010You can download and install GNU coreutils to get an 'rm' implementation
3011that behaves properly: <https://www.gnu.org/software/coreutils/>.
3012
3013If you want to complete the configuration process using your problematic
3014'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3015to "yes", and re-run configure.
3016
3017END
3018    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3019  fi
3020fi
3021
3022ac_config_headers="$ac_config_headers config.h"
3023
3024
3025DEPDIR="${am__leading_dot}deps"
3026
3027ac_config_commands="$ac_config_commands depfiles"
3028
3029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3030$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3031cat > confinc.mk << 'END'
3032am__doit:
3033	@echo this is the am__doit target >confinc.out
3034.PHONY: am__doit
3035END
3036am__include="#"
3037am__quote=
3038# BSD make does it like this.
3039echo '.include "confinc.mk" # ignored' > confmf.BSD
3040# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3041echo 'include confinc.mk # ignored' > confmf.GNU
3042_am_result=no
3043for s in GNU BSD; do
3044  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3045   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3046   ac_status=$?
3047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048   (exit $ac_status); }
3049  case $?:`cat confinc.out 2>/dev/null` in #(
3050  '0:this is the am__doit target') :
3051    case $s in #(
3052  BSD) :
3053    am__include='.include' am__quote='"' ;; #(
3054  *) :
3055    am__include='include' am__quote='' ;;
3056esac ;; #(
3057  *) :
3058     ;;
3059esac
3060  if test "$am__include" != "#"; then
3061    _am_result="yes ($s style)"
3062    break
3063  fi
3064done
3065rm -f confinc.* confmf.*
3066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3067$as_echo "${_am_result}" >&6; }
3068
3069# Check whether --enable-dependency-tracking was given.
3070if test "${enable_dependency_tracking+set}" = set; then :
3071  enableval=$enable_dependency_tracking;
3072fi
3073
3074if test "x$enable_dependency_tracking" != xno; then
3075  am_depcomp="$ac_aux_dir/depcomp"
3076  AMDEPBACKSLASH='\'
3077  am__nodep='_no'
3078fi
3079 if test "x$enable_dependency_tracking" != xno; then
3080  AMDEP_TRUE=
3081  AMDEP_FALSE='#'
3082else
3083  AMDEP_TRUE='#'
3084  AMDEP_FALSE=
3085fi
3086
3087
3088ac_ext=c
3089ac_cpp='$CPP $CPPFLAGS'
3090ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3091ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3092ac_compiler_gnu=$ac_cv_c_compiler_gnu
3093if test -n "$ac_tool_prefix"; then
3094  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3095set dummy ${ac_tool_prefix}gcc; ac_word=$2
3096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097$as_echo_n "checking for $ac_word... " >&6; }
3098if ${ac_cv_prog_CC+:} false; then :
3099  $as_echo_n "(cached) " >&6
3100else
3101  if test -n "$CC"; then
3102  ac_cv_prog_CC="$CC" # Let the user override the test.
3103else
3104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105for as_dir in $PATH
3106do
3107  IFS=$as_save_IFS
3108  test -z "$as_dir" && as_dir=.
3109    for ac_exec_ext in '' $ac_executable_extensions; do
3110  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3111    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3112    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113    break 2
3114  fi
3115done
3116  done
3117IFS=$as_save_IFS
3118
3119fi
3120fi
3121CC=$ac_cv_prog_CC
3122if test -n "$CC"; then
3123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3124$as_echo "$CC" >&6; }
3125else
3126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127$as_echo "no" >&6; }
3128fi
3129
3130
3131fi
3132if test -z "$ac_cv_prog_CC"; then
3133  ac_ct_CC=$CC
3134  # Extract the first word of "gcc", so it can be a program name with args.
3135set dummy gcc; ac_word=$2
3136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137$as_echo_n "checking for $ac_word... " >&6; }
3138if ${ac_cv_prog_ac_ct_CC+:} false; then :
3139  $as_echo_n "(cached) " >&6
3140else
3141  if test -n "$ac_ct_CC"; then
3142  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3143else
3144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145for as_dir in $PATH
3146do
3147  IFS=$as_save_IFS
3148  test -z "$as_dir" && as_dir=.
3149    for ac_exec_ext in '' $ac_executable_extensions; do
3150  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3151    ac_cv_prog_ac_ct_CC="gcc"
3152    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3153    break 2
3154  fi
3155done
3156  done
3157IFS=$as_save_IFS
3158
3159fi
3160fi
3161ac_ct_CC=$ac_cv_prog_ac_ct_CC
3162if test -n "$ac_ct_CC"; then
3163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3164$as_echo "$ac_ct_CC" >&6; }
3165else
3166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167$as_echo "no" >&6; }
3168fi
3169
3170  if test "x$ac_ct_CC" = x; then
3171    CC=""
3172  else
3173    case $cross_compiling:$ac_tool_warned in
3174yes:)
3175{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3176$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3177ac_tool_warned=yes ;;
3178esac
3179    CC=$ac_ct_CC
3180  fi
3181else
3182  CC="$ac_cv_prog_CC"
3183fi
3184
3185if test -z "$CC"; then
3186          if test -n "$ac_tool_prefix"; then
3187    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3188set dummy ${ac_tool_prefix}cc; ac_word=$2
3189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190$as_echo_n "checking for $ac_word... " >&6; }
3191if ${ac_cv_prog_CC+:} false; then :
3192  $as_echo_n "(cached) " >&6
3193else
3194  if test -n "$CC"; then
3195  ac_cv_prog_CC="$CC" # Let the user override the test.
3196else
3197as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198for as_dir in $PATH
3199do
3200  IFS=$as_save_IFS
3201  test -z "$as_dir" && as_dir=.
3202    for ac_exec_ext in '' $ac_executable_extensions; do
3203  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3204    ac_cv_prog_CC="${ac_tool_prefix}cc"
3205    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3206    break 2
3207  fi
3208done
3209  done
3210IFS=$as_save_IFS
3211
3212fi
3213fi
3214CC=$ac_cv_prog_CC
3215if test -n "$CC"; then
3216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3217$as_echo "$CC" >&6; }
3218else
3219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220$as_echo "no" >&6; }
3221fi
3222
3223
3224  fi
3225fi
3226if test -z "$CC"; then
3227  # Extract the first word of "cc", so it can be a program name with args.
3228set dummy cc; ac_word=$2
3229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230$as_echo_n "checking for $ac_word... " >&6; }
3231if ${ac_cv_prog_CC+:} false; then :
3232  $as_echo_n "(cached) " >&6
3233else
3234  if test -n "$CC"; then
3235  ac_cv_prog_CC="$CC" # Let the user override the test.
3236else
3237  ac_prog_rejected=no
3238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239for as_dir in $PATH
3240do
3241  IFS=$as_save_IFS
3242  test -z "$as_dir" && as_dir=.
3243    for ac_exec_ext in '' $ac_executable_extensions; do
3244  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3245    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3246       ac_prog_rejected=yes
3247       continue
3248     fi
3249    ac_cv_prog_CC="cc"
3250    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3251    break 2
3252  fi
3253done
3254  done
3255IFS=$as_save_IFS
3256
3257if test $ac_prog_rejected = yes; then
3258  # We found a bogon in the path, so make sure we never use it.
3259  set dummy $ac_cv_prog_CC
3260  shift
3261  if test $# != 0; then
3262    # We chose a different compiler from the bogus one.
3263    # However, it has the same basename, so the bogon will be chosen
3264    # first if we set CC to just the basename; use the full file name.
3265    shift
3266    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3267  fi
3268fi
3269fi
3270fi
3271CC=$ac_cv_prog_CC
3272if test -n "$CC"; then
3273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3274$as_echo "$CC" >&6; }
3275else
3276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3277$as_echo "no" >&6; }
3278fi
3279
3280
3281fi
3282if test -z "$CC"; then
3283  if test -n "$ac_tool_prefix"; then
3284  for ac_prog in cl.exe
3285  do
3286    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3287set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289$as_echo_n "checking for $ac_word... " >&6; }
3290if ${ac_cv_prog_CC+:} false; then :
3291  $as_echo_n "(cached) " >&6
3292else
3293  if test -n "$CC"; then
3294  ac_cv_prog_CC="$CC" # Let the user override the test.
3295else
3296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297for as_dir in $PATH
3298do
3299  IFS=$as_save_IFS
3300  test -z "$as_dir" && as_dir=.
3301    for ac_exec_ext in '' $ac_executable_extensions; do
3302  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3303    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3304    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305    break 2
3306  fi
3307done
3308  done
3309IFS=$as_save_IFS
3310
3311fi
3312fi
3313CC=$ac_cv_prog_CC
3314if test -n "$CC"; then
3315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3316$as_echo "$CC" >&6; }
3317else
3318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319$as_echo "no" >&6; }
3320fi
3321
3322
3323    test -n "$CC" && break
3324  done
3325fi
3326if test -z "$CC"; then
3327  ac_ct_CC=$CC
3328  for ac_prog in cl.exe
3329do
3330  # Extract the first word of "$ac_prog", so it can be a program name with args.
3331set dummy $ac_prog; ac_word=$2
3332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3333$as_echo_n "checking for $ac_word... " >&6; }
3334if ${ac_cv_prog_ac_ct_CC+:} false; then :
3335  $as_echo_n "(cached) " >&6
3336else
3337  if test -n "$ac_ct_CC"; then
3338  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3339else
3340as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3341for as_dir in $PATH
3342do
3343  IFS=$as_save_IFS
3344  test -z "$as_dir" && as_dir=.
3345    for ac_exec_ext in '' $ac_executable_extensions; do
3346  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3347    ac_cv_prog_ac_ct_CC="$ac_prog"
3348    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3349    break 2
3350  fi
3351done
3352  done
3353IFS=$as_save_IFS
3354
3355fi
3356fi
3357ac_ct_CC=$ac_cv_prog_ac_ct_CC
3358if test -n "$ac_ct_CC"; then
3359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3360$as_echo "$ac_ct_CC" >&6; }
3361else
3362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3363$as_echo "no" >&6; }
3364fi
3365
3366
3367  test -n "$ac_ct_CC" && break
3368done
3369
3370  if test "x$ac_ct_CC" = x; then
3371    CC=""
3372  else
3373    case $cross_compiling:$ac_tool_warned in
3374yes:)
3375{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3376$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3377ac_tool_warned=yes ;;
3378esac
3379    CC=$ac_ct_CC
3380  fi
3381fi
3382
3383fi
3384
3385
3386test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3387$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388as_fn_error $? "no acceptable C compiler found in \$PATH
3389See \`config.log' for more details" "$LINENO" 5; }
3390
3391# Provide some information about the compiler.
3392$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3393set X $ac_compile
3394ac_compiler=$2
3395for ac_option in --version -v -V -qversion; do
3396  { { ac_try="$ac_compiler $ac_option >&5"
3397case "(($ac_try" in
3398  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399  *) ac_try_echo=$ac_try;;
3400esac
3401eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3402$as_echo "$ac_try_echo"; } >&5
3403  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3404  ac_status=$?
3405  if test -s conftest.err; then
3406    sed '10a\
3407... rest of stderr output deleted ...
3408         10q' conftest.err >conftest.er1
3409    cat conftest.er1 >&5
3410  fi
3411  rm -f conftest.er1 conftest.err
3412  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3413  test $ac_status = 0; }
3414done
3415
3416cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417/* end confdefs.h.  */
3418
3419int
3420main ()
3421{
3422
3423  ;
3424  return 0;
3425}
3426_ACEOF
3427ac_clean_files_save=$ac_clean_files
3428ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3429# Try to create an executable without -o first, disregard a.out.
3430# It will help us diagnose broken compilers, and finding out an intuition
3431# of exeext.
3432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3433$as_echo_n "checking whether the C compiler works... " >&6; }
3434ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3435
3436# The possible output files:
3437ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3438
3439ac_rmfiles=
3440for ac_file in $ac_files
3441do
3442  case $ac_file in
3443    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3444    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3445  esac
3446done
3447rm -f $ac_rmfiles
3448
3449if { { ac_try="$ac_link_default"
3450case "(($ac_try" in
3451  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3452  *) ac_try_echo=$ac_try;;
3453esac
3454eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3455$as_echo "$ac_try_echo"; } >&5
3456  (eval "$ac_link_default") 2>&5
3457  ac_status=$?
3458  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3459  test $ac_status = 0; }; then :
3460  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3461# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3462# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3463# so that the user can short-circuit this test for compilers unknown to
3464# Autoconf.
3465for ac_file in $ac_files ''
3466do
3467  test -f "$ac_file" || continue
3468  case $ac_file in
3469    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3470	;;
3471    [ab].out )
3472	# We found the default executable, but exeext='' is most
3473	# certainly right.
3474	break;;
3475    *.* )
3476	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3477	then :; else
3478	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3479	fi
3480	# We set ac_cv_exeext here because the later test for it is not
3481	# safe: cross compilers may not add the suffix if given an `-o'
3482	# argument, so we may need to know it at that point already.
3483	# Even if this section looks crufty: it has the advantage of
3484	# actually working.
3485	break;;
3486    * )
3487	break;;
3488  esac
3489done
3490test "$ac_cv_exeext" = no && ac_cv_exeext=
3491
3492else
3493  ac_file=''
3494fi
3495if test -z "$ac_file"; then :
3496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497$as_echo "no" >&6; }
3498$as_echo "$as_me: failed program was:" >&5
3499sed 's/^/| /' conftest.$ac_ext >&5
3500
3501{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3502$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3503as_fn_error 77 "C compiler cannot create executables
3504See \`config.log' for more details" "$LINENO" 5; }
3505else
3506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3507$as_echo "yes" >&6; }
3508fi
3509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3510$as_echo_n "checking for C compiler default output file name... " >&6; }
3511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3512$as_echo "$ac_file" >&6; }
3513ac_exeext=$ac_cv_exeext
3514
3515rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3516ac_clean_files=$ac_clean_files_save
3517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3518$as_echo_n "checking for suffix of executables... " >&6; }
3519if { { ac_try="$ac_link"
3520case "(($ac_try" in
3521  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3522  *) ac_try_echo=$ac_try;;
3523esac
3524eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3525$as_echo "$ac_try_echo"; } >&5
3526  (eval "$ac_link") 2>&5
3527  ac_status=$?
3528  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3529  test $ac_status = 0; }; then :
3530  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3531# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3532# work properly (i.e., refer to `conftest.exe'), while it won't with
3533# `rm'.
3534for ac_file in conftest.exe conftest conftest.*; do
3535  test -f "$ac_file" || continue
3536  case $ac_file in
3537    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3538    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3539	  break;;
3540    * ) break;;
3541  esac
3542done
3543else
3544  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3545$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3546as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3547See \`config.log' for more details" "$LINENO" 5; }
3548fi
3549rm -f conftest conftest$ac_cv_exeext
3550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3551$as_echo "$ac_cv_exeext" >&6; }
3552
3553rm -f conftest.$ac_ext
3554EXEEXT=$ac_cv_exeext
3555ac_exeext=$EXEEXT
3556cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557/* end confdefs.h.  */
3558#include <stdio.h>
3559int
3560main ()
3561{
3562FILE *f = fopen ("conftest.out", "w");
3563 return ferror (f) || fclose (f) != 0;
3564
3565  ;
3566  return 0;
3567}
3568_ACEOF
3569ac_clean_files="$ac_clean_files conftest.out"
3570# Check that the compiler produces executables we can run.  If not, either
3571# the compiler is broken, or we cross compile.
3572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3573$as_echo_n "checking whether we are cross compiling... " >&6; }
3574if test "$cross_compiling" != yes; then
3575  { { ac_try="$ac_link"
3576case "(($ac_try" in
3577  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3578  *) ac_try_echo=$ac_try;;
3579esac
3580eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3581$as_echo "$ac_try_echo"; } >&5
3582  (eval "$ac_link") 2>&5
3583  ac_status=$?
3584  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3585  test $ac_status = 0; }
3586  if { ac_try='./conftest$ac_cv_exeext'
3587  { { case "(($ac_try" in
3588  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589  *) ac_try_echo=$ac_try;;
3590esac
3591eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3592$as_echo "$ac_try_echo"; } >&5
3593  (eval "$ac_try") 2>&5
3594  ac_status=$?
3595  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3596  test $ac_status = 0; }; }; then
3597    cross_compiling=no
3598  else
3599    if test "$cross_compiling" = maybe; then
3600	cross_compiling=yes
3601    else
3602	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3603$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3604as_fn_error $? "cannot run C compiled programs.
3605If you meant to cross compile, use \`--host'.
3606See \`config.log' for more details" "$LINENO" 5; }
3607    fi
3608  fi
3609fi
3610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3611$as_echo "$cross_compiling" >&6; }
3612
3613rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3614ac_clean_files=$ac_clean_files_save
3615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3616$as_echo_n "checking for suffix of object files... " >&6; }
3617if ${ac_cv_objext+:} false; then :
3618  $as_echo_n "(cached) " >&6
3619else
3620  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621/* end confdefs.h.  */
3622
3623int
3624main ()
3625{
3626
3627  ;
3628  return 0;
3629}
3630_ACEOF
3631rm -f conftest.o conftest.obj
3632if { { ac_try="$ac_compile"
3633case "(($ac_try" in
3634  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635  *) ac_try_echo=$ac_try;;
3636esac
3637eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3638$as_echo "$ac_try_echo"; } >&5
3639  (eval "$ac_compile") 2>&5
3640  ac_status=$?
3641  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3642  test $ac_status = 0; }; then :
3643  for ac_file in conftest.o conftest.obj conftest.*; do
3644  test -f "$ac_file" || continue;
3645  case $ac_file in
3646    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3647    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3648       break;;
3649  esac
3650done
3651else
3652  $as_echo "$as_me: failed program was:" >&5
3653sed 's/^/| /' conftest.$ac_ext >&5
3654
3655{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3656$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3657as_fn_error $? "cannot compute suffix of object files: cannot compile
3658See \`config.log' for more details" "$LINENO" 5; }
3659fi
3660rm -f conftest.$ac_cv_objext conftest.$ac_ext
3661fi
3662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3663$as_echo "$ac_cv_objext" >&6; }
3664OBJEXT=$ac_cv_objext
3665ac_objext=$OBJEXT
3666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3667$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3668if ${ac_cv_c_compiler_gnu+:} false; then :
3669  $as_echo_n "(cached) " >&6
3670else
3671  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672/* end confdefs.h.  */
3673
3674int
3675main ()
3676{
3677#ifndef __GNUC__
3678       choke me
3679#endif
3680
3681  ;
3682  return 0;
3683}
3684_ACEOF
3685if ac_fn_c_try_compile "$LINENO"; then :
3686  ac_compiler_gnu=yes
3687else
3688  ac_compiler_gnu=no
3689fi
3690rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691ac_cv_c_compiler_gnu=$ac_compiler_gnu
3692
3693fi
3694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3695$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3696if test $ac_compiler_gnu = yes; then
3697  GCC=yes
3698else
3699  GCC=
3700fi
3701ac_test_CFLAGS=${CFLAGS+set}
3702ac_save_CFLAGS=$CFLAGS
3703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3704$as_echo_n "checking whether $CC accepts -g... " >&6; }
3705if ${ac_cv_prog_cc_g+:} false; then :
3706  $as_echo_n "(cached) " >&6
3707else
3708  ac_save_c_werror_flag=$ac_c_werror_flag
3709   ac_c_werror_flag=yes
3710   ac_cv_prog_cc_g=no
3711   CFLAGS="-g"
3712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713/* end confdefs.h.  */
3714
3715int
3716main ()
3717{
3718
3719  ;
3720  return 0;
3721}
3722_ACEOF
3723if ac_fn_c_try_compile "$LINENO"; then :
3724  ac_cv_prog_cc_g=yes
3725else
3726  CFLAGS=""
3727      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3728/* end confdefs.h.  */
3729
3730int
3731main ()
3732{
3733
3734  ;
3735  return 0;
3736}
3737_ACEOF
3738if ac_fn_c_try_compile "$LINENO"; then :
3739
3740else
3741  ac_c_werror_flag=$ac_save_c_werror_flag
3742	 CFLAGS="-g"
3743	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744/* end confdefs.h.  */
3745
3746int
3747main ()
3748{
3749
3750  ;
3751  return 0;
3752}
3753_ACEOF
3754if ac_fn_c_try_compile "$LINENO"; then :
3755  ac_cv_prog_cc_g=yes
3756fi
3757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3758fi
3759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3760fi
3761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3762   ac_c_werror_flag=$ac_save_c_werror_flag
3763fi
3764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3765$as_echo "$ac_cv_prog_cc_g" >&6; }
3766if test "$ac_test_CFLAGS" = set; then
3767  CFLAGS=$ac_save_CFLAGS
3768elif test $ac_cv_prog_cc_g = yes; then
3769  if test "$GCC" = yes; then
3770    CFLAGS="-g -O2"
3771  else
3772    CFLAGS="-g"
3773  fi
3774else
3775  if test "$GCC" = yes; then
3776    CFLAGS="-O2"
3777  else
3778    CFLAGS=
3779  fi
3780fi
3781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3782$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3783if ${ac_cv_prog_cc_c89+:} false; then :
3784  $as_echo_n "(cached) " >&6
3785else
3786  ac_cv_prog_cc_c89=no
3787ac_save_CC=$CC
3788cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789/* end confdefs.h.  */
3790#include <stdarg.h>
3791#include <stdio.h>
3792struct stat;
3793/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3794struct buf { int x; };
3795FILE * (*rcsopen) (struct buf *, struct stat *, int);
3796static char *e (p, i)
3797     char **p;
3798     int i;
3799{
3800  return p[i];
3801}
3802static char *f (char * (*g) (char **, int), char **p, ...)
3803{
3804  char *s;
3805  va_list v;
3806  va_start (v,p);
3807  s = g (p, va_arg (v,int));
3808  va_end (v);
3809  return s;
3810}
3811
3812/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3813   function prototypes and stuff, but not '\xHH' hex character constants.
3814   These don't provoke an error unfortunately, instead are silently treated
3815   as 'x'.  The following induces an error, until -std is added to get
3816   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3817   array size at least.  It's necessary to write '\x00'==0 to get something
3818   that's true only with -std.  */
3819int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3820
3821/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3822   inside strings and character constants.  */
3823#define FOO(x) 'x'
3824int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3825
3826int test (int i, double x);
3827struct s1 {int (*f) (int a);};
3828struct s2 {int (*f) (double a);};
3829int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3830int argc;
3831char **argv;
3832int
3833main ()
3834{
3835return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3836  ;
3837  return 0;
3838}
3839_ACEOF
3840for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3841	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3842do
3843  CC="$ac_save_CC $ac_arg"
3844  if ac_fn_c_try_compile "$LINENO"; then :
3845  ac_cv_prog_cc_c89=$ac_arg
3846fi
3847rm -f core conftest.err conftest.$ac_objext
3848  test "x$ac_cv_prog_cc_c89" != "xno" && break
3849done
3850rm -f conftest.$ac_ext
3851CC=$ac_save_CC
3852
3853fi
3854# AC_CACHE_VAL
3855case "x$ac_cv_prog_cc_c89" in
3856  x)
3857    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3858$as_echo "none needed" >&6; } ;;
3859  xno)
3860    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3861$as_echo "unsupported" >&6; } ;;
3862  *)
3863    CC="$CC $ac_cv_prog_cc_c89"
3864    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3865$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3866esac
3867if test "x$ac_cv_prog_cc_c89" != xno; then :
3868
3869fi
3870
3871ac_ext=c
3872ac_cpp='$CPP $CPPFLAGS'
3873ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3874ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3875ac_compiler_gnu=$ac_cv_c_compiler_gnu
3876
3877ac_ext=c
3878ac_cpp='$CPP $CPPFLAGS'
3879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3881ac_compiler_gnu=$ac_cv_c_compiler_gnu
3882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3883$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3884if ${am_cv_prog_cc_c_o+:} false; then :
3885  $as_echo_n "(cached) " >&6
3886else
3887  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888/* end confdefs.h.  */
3889
3890int
3891main ()
3892{
3893
3894  ;
3895  return 0;
3896}
3897_ACEOF
3898  # Make sure it works both with $CC and with simple cc.
3899  # Following AC_PROG_CC_C_O, we do the test twice because some
3900  # compilers refuse to overwrite an existing .o file with -o,
3901  # though they will create one.
3902  am_cv_prog_cc_c_o=yes
3903  for am_i in 1 2; do
3904    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3905   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3906   ac_status=$?
3907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908   (exit $ac_status); } \
3909         && test -f conftest2.$ac_objext; then
3910      : OK
3911    else
3912      am_cv_prog_cc_c_o=no
3913      break
3914    fi
3915  done
3916  rm -f core conftest*
3917  unset am_i
3918fi
3919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3920$as_echo "$am_cv_prog_cc_c_o" >&6; }
3921if test "$am_cv_prog_cc_c_o" != yes; then
3922   # Losing compiler, so override with the script.
3923   # FIXME: It is wrong to rewrite CC.
3924   # But if we don't then we get into trouble of one sort or another.
3925   # A longer-term fix would be to have automake use am__CC in this case,
3926   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3927   CC="$am_aux_dir/compile $CC"
3928fi
3929ac_ext=c
3930ac_cpp='$CPP $CPPFLAGS'
3931ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3932ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3933ac_compiler_gnu=$ac_cv_c_compiler_gnu
3934
3935
3936depcc="$CC"   am_compiler_list=
3937
3938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3939$as_echo_n "checking dependency style of $depcc... " >&6; }
3940if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3941  $as_echo_n "(cached) " >&6
3942else
3943  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3944  # We make a subdir and do the tests there.  Otherwise we can end up
3945  # making bogus files that we don't know about and never remove.  For
3946  # instance it was reported that on HP-UX the gcc test will end up
3947  # making a dummy file named 'D' -- because '-MD' means "put the output
3948  # in D".
3949  rm -rf conftest.dir
3950  mkdir conftest.dir
3951  # Copy depcomp to subdir because otherwise we won't find it if we're
3952  # using a relative directory.
3953  cp "$am_depcomp" conftest.dir
3954  cd conftest.dir
3955  # We will build objects and dependencies in a subdirectory because
3956  # it helps to detect inapplicable dependency modes.  For instance
3957  # both Tru64's cc and ICC support -MD to output dependencies as a
3958  # side effect of compilation, but ICC will put the dependencies in
3959  # the current directory while Tru64 will put them in the object
3960  # directory.
3961  mkdir sub
3962
3963  am_cv_CC_dependencies_compiler_type=none
3964  if test "$am_compiler_list" = ""; then
3965     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3966  fi
3967  am__universal=false
3968  case " $depcc " in #(
3969     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3970     esac
3971
3972  for depmode in $am_compiler_list; do
3973    # Setup a source with many dependencies, because some compilers
3974    # like to wrap large dependency lists on column 80 (with \), and
3975    # we should not choose a depcomp mode which is confused by this.
3976    #
3977    # We need to recreate these files for each test, as the compiler may
3978    # overwrite some of them when testing with obscure command lines.
3979    # This happens at least with the AIX C compiler.
3980    : > sub/conftest.c
3981    for i in 1 2 3 4 5 6; do
3982      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3983      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3984      # Solaris 10 /bin/sh.
3985      echo '/* dummy */' > sub/conftst$i.h
3986    done
3987    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3988
3989    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3990    # mode.  It turns out that the SunPro C++ compiler does not properly
3991    # handle '-M -o', and we need to detect this.  Also, some Intel
3992    # versions had trouble with output in subdirs.
3993    am__obj=sub/conftest.${OBJEXT-o}
3994    am__minus_obj="-o $am__obj"
3995    case $depmode in
3996    gcc)
3997      # This depmode causes a compiler race in universal mode.
3998      test "$am__universal" = false || continue
3999      ;;
4000    nosideeffect)
4001      # After this tag, mechanisms are not by side-effect, so they'll
4002      # only be used when explicitly requested.
4003      if test "x$enable_dependency_tracking" = xyes; then
4004	continue
4005      else
4006	break
4007      fi
4008      ;;
4009    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4010      # This compiler won't grok '-c -o', but also, the minuso test has
4011      # not run yet.  These depmodes are late enough in the game, and
4012      # so weak that their functioning should not be impacted.
4013      am__obj=conftest.${OBJEXT-o}
4014      am__minus_obj=
4015      ;;
4016    none) break ;;
4017    esac
4018    if depmode=$depmode \
4019       source=sub/conftest.c object=$am__obj \
4020       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4021       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4022         >/dev/null 2>conftest.err &&
4023       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4024       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4025       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4026       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4027      # icc doesn't choke on unknown options, it will just issue warnings
4028      # or remarks (even with -Werror).  So we grep stderr for any message
4029      # that says an option was ignored or not supported.
4030      # When given -MP, icc 7.0 and 7.1 complain thusly:
4031      #   icc: Command line warning: ignoring option '-M'; no argument required
4032      # The diagnosis changed in icc 8.0:
4033      #   icc: Command line remark: option '-MP' not supported
4034      if (grep 'ignoring option' conftest.err ||
4035          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4036        am_cv_CC_dependencies_compiler_type=$depmode
4037        break
4038      fi
4039    fi
4040  done
4041
4042  cd ..
4043  rm -rf conftest.dir
4044else
4045  am_cv_CC_dependencies_compiler_type=none
4046fi
4047
4048fi
4049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4050$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4051CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4052
4053 if
4054  test "x$enable_dependency_tracking" != xno \
4055  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4056  am__fastdepCC_TRUE=
4057  am__fastdepCC_FALSE='#'
4058else
4059  am__fastdepCC_TRUE='#'
4060  am__fastdepCC_FALSE=
4061fi
4062
4063
4064
4065ac_ext=c
4066ac_cpp='$CPP $CPPFLAGS'
4067ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4068ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4069ac_compiler_gnu=$ac_cv_c_compiler_gnu
4070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4071$as_echo_n "checking how to run the C preprocessor... " >&6; }
4072# On Suns, sometimes $CPP names a directory.
4073if test -n "$CPP" && test -d "$CPP"; then
4074  CPP=
4075fi
4076if test -z "$CPP"; then
4077  if ${ac_cv_prog_CPP+:} false; then :
4078  $as_echo_n "(cached) " >&6
4079else
4080      # Double quotes because CPP needs to be expanded
4081    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4082    do
4083      ac_preproc_ok=false
4084for ac_c_preproc_warn_flag in '' yes
4085do
4086  # Use a header file that comes with gcc, so configuring glibc
4087  # with a fresh cross-compiler works.
4088  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4089  # <limits.h> exists even on freestanding compilers.
4090  # On the NeXT, cc -E runs the code through the compiler's parser,
4091  # not just through cpp. "Syntax error" is here to catch this case.
4092  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093/* end confdefs.h.  */
4094#ifdef __STDC__
4095# include <limits.h>
4096#else
4097# include <assert.h>
4098#endif
4099		     Syntax error
4100_ACEOF
4101if ac_fn_c_try_cpp "$LINENO"; then :
4102
4103else
4104  # Broken: fails on valid input.
4105continue
4106fi
4107rm -f conftest.err conftest.i conftest.$ac_ext
4108
4109  # OK, works on sane cases.  Now check whether nonexistent headers
4110  # can be detected and how.
4111  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4112/* end confdefs.h.  */
4113#include <ac_nonexistent.h>
4114_ACEOF
4115if ac_fn_c_try_cpp "$LINENO"; then :
4116  # Broken: success on invalid input.
4117continue
4118else
4119  # Passes both tests.
4120ac_preproc_ok=:
4121break
4122fi
4123rm -f conftest.err conftest.i conftest.$ac_ext
4124
4125done
4126# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4127rm -f conftest.i conftest.err conftest.$ac_ext
4128if $ac_preproc_ok; then :
4129  break
4130fi
4131
4132    done
4133    ac_cv_prog_CPP=$CPP
4134
4135fi
4136  CPP=$ac_cv_prog_CPP
4137else
4138  ac_cv_prog_CPP=$CPP
4139fi
4140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4141$as_echo "$CPP" >&6; }
4142ac_preproc_ok=false
4143for ac_c_preproc_warn_flag in '' yes
4144do
4145  # Use a header file that comes with gcc, so configuring glibc
4146  # with a fresh cross-compiler works.
4147  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4148  # <limits.h> exists even on freestanding compilers.
4149  # On the NeXT, cc -E runs the code through the compiler's parser,
4150  # not just through cpp. "Syntax error" is here to catch this case.
4151  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152/* end confdefs.h.  */
4153#ifdef __STDC__
4154# include <limits.h>
4155#else
4156# include <assert.h>
4157#endif
4158		     Syntax error
4159_ACEOF
4160if ac_fn_c_try_cpp "$LINENO"; then :
4161
4162else
4163  # Broken: fails on valid input.
4164continue
4165fi
4166rm -f conftest.err conftest.i conftest.$ac_ext
4167
4168  # OK, works on sane cases.  Now check whether nonexistent headers
4169  # can be detected and how.
4170  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171/* end confdefs.h.  */
4172#include <ac_nonexistent.h>
4173_ACEOF
4174if ac_fn_c_try_cpp "$LINENO"; then :
4175  # Broken: success on invalid input.
4176continue
4177else
4178  # Passes both tests.
4179ac_preproc_ok=:
4180break
4181fi
4182rm -f conftest.err conftest.i conftest.$ac_ext
4183
4184done
4185# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4186rm -f conftest.i conftest.err conftest.$ac_ext
4187if $ac_preproc_ok; then :
4188
4189else
4190  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4191$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4192as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4193See \`config.log' for more details" "$LINENO" 5; }
4194fi
4195
4196ac_ext=c
4197ac_cpp='$CPP $CPPFLAGS'
4198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4200ac_compiler_gnu=$ac_cv_c_compiler_gnu
4201
4202
4203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4204$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4205if ${ac_cv_path_GREP+:} false; then :
4206  $as_echo_n "(cached) " >&6
4207else
4208  if test -z "$GREP"; then
4209  ac_path_GREP_found=false
4210  # Loop through the user's path and test for each of PROGNAME-LIST
4211  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4213do
4214  IFS=$as_save_IFS
4215  test -z "$as_dir" && as_dir=.
4216    for ac_prog in grep ggrep; do
4217    for ac_exec_ext in '' $ac_executable_extensions; do
4218      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4219      as_fn_executable_p "$ac_path_GREP" || continue
4220# Check for GNU ac_path_GREP and select it if it is found.
4221  # Check for GNU $ac_path_GREP
4222case `"$ac_path_GREP" --version 2>&1` in
4223*GNU*)
4224  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4225*)
4226  ac_count=0
4227  $as_echo_n 0123456789 >"conftest.in"
4228  while :
4229  do
4230    cat "conftest.in" "conftest.in" >"conftest.tmp"
4231    mv "conftest.tmp" "conftest.in"
4232    cp "conftest.in" "conftest.nl"
4233    $as_echo 'GREP' >> "conftest.nl"
4234    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4235    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4236    as_fn_arith $ac_count + 1 && ac_count=$as_val
4237    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4238      # Best one so far, save it but keep looking for a better one
4239      ac_cv_path_GREP="$ac_path_GREP"
4240      ac_path_GREP_max=$ac_count
4241    fi
4242    # 10*(2^10) chars as input seems more than enough
4243    test $ac_count -gt 10 && break
4244  done
4245  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4246esac
4247
4248      $ac_path_GREP_found && break 3
4249    done
4250  done
4251  done
4252IFS=$as_save_IFS
4253  if test -z "$ac_cv_path_GREP"; then
4254    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4255  fi
4256else
4257  ac_cv_path_GREP=$GREP
4258fi
4259
4260fi
4261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4262$as_echo "$ac_cv_path_GREP" >&6; }
4263 GREP="$ac_cv_path_GREP"
4264
4265
4266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4267$as_echo_n "checking for egrep... " >&6; }
4268if ${ac_cv_path_EGREP+:} false; then :
4269  $as_echo_n "(cached) " >&6
4270else
4271  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4272   then ac_cv_path_EGREP="$GREP -E"
4273   else
4274     if test -z "$EGREP"; then
4275  ac_path_EGREP_found=false
4276  # Loop through the user's path and test for each of PROGNAME-LIST
4277  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4278for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4279do
4280  IFS=$as_save_IFS
4281  test -z "$as_dir" && as_dir=.
4282    for ac_prog in egrep; do
4283    for ac_exec_ext in '' $ac_executable_extensions; do
4284      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4285      as_fn_executable_p "$ac_path_EGREP" || continue
4286# Check for GNU ac_path_EGREP and select it if it is found.
4287  # Check for GNU $ac_path_EGREP
4288case `"$ac_path_EGREP" --version 2>&1` in
4289*GNU*)
4290  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4291*)
4292  ac_count=0
4293  $as_echo_n 0123456789 >"conftest.in"
4294  while :
4295  do
4296    cat "conftest.in" "conftest.in" >"conftest.tmp"
4297    mv "conftest.tmp" "conftest.in"
4298    cp "conftest.in" "conftest.nl"
4299    $as_echo 'EGREP' >> "conftest.nl"
4300    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4301    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4302    as_fn_arith $ac_count + 1 && ac_count=$as_val
4303    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4304      # Best one so far, save it but keep looking for a better one
4305      ac_cv_path_EGREP="$ac_path_EGREP"
4306      ac_path_EGREP_max=$ac_count
4307    fi
4308    # 10*(2^10) chars as input seems more than enough
4309    test $ac_count -gt 10 && break
4310  done
4311  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4312esac
4313
4314      $ac_path_EGREP_found && break 3
4315    done
4316  done
4317  done
4318IFS=$as_save_IFS
4319  if test -z "$ac_cv_path_EGREP"; then
4320    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4321  fi
4322else
4323  ac_cv_path_EGREP=$EGREP
4324fi
4325
4326   fi
4327fi
4328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4329$as_echo "$ac_cv_path_EGREP" >&6; }
4330 EGREP="$ac_cv_path_EGREP"
4331
4332
4333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4334$as_echo_n "checking for ANSI C header files... " >&6; }
4335if ${ac_cv_header_stdc+:} false; then :
4336  $as_echo_n "(cached) " >&6
4337else
4338  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4339/* end confdefs.h.  */
4340#include <stdlib.h>
4341#include <stdarg.h>
4342#include <string.h>
4343#include <float.h>
4344
4345int
4346main ()
4347{
4348
4349  ;
4350  return 0;
4351}
4352_ACEOF
4353if ac_fn_c_try_compile "$LINENO"; then :
4354  ac_cv_header_stdc=yes
4355else
4356  ac_cv_header_stdc=no
4357fi
4358rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4359
4360if test $ac_cv_header_stdc = yes; then
4361  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4362  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4363/* end confdefs.h.  */
4364#include <string.h>
4365
4366_ACEOF
4367if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4368  $EGREP "memchr" >/dev/null 2>&1; then :
4369
4370else
4371  ac_cv_header_stdc=no
4372fi
4373rm -f conftest*
4374
4375fi
4376
4377if test $ac_cv_header_stdc = yes; then
4378  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4379  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380/* end confdefs.h.  */
4381#include <stdlib.h>
4382
4383_ACEOF
4384if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4385  $EGREP "free" >/dev/null 2>&1; then :
4386
4387else
4388  ac_cv_header_stdc=no
4389fi
4390rm -f conftest*
4391
4392fi
4393
4394if test $ac_cv_header_stdc = yes; then
4395  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4396  if test "$cross_compiling" = yes; then :
4397  :
4398else
4399  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4400/* end confdefs.h.  */
4401#include <ctype.h>
4402#include <stdlib.h>
4403#if ((' ' & 0x0FF) == 0x020)
4404# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4405# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4406#else
4407# define ISLOWER(c) \
4408		   (('a' <= (c) && (c) <= 'i') \
4409		     || ('j' <= (c) && (c) <= 'r') \
4410		     || ('s' <= (c) && (c) <= 'z'))
4411# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4412#endif
4413
4414#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4415int
4416main ()
4417{
4418  int i;
4419  for (i = 0; i < 256; i++)
4420    if (XOR (islower (i), ISLOWER (i))
4421	|| toupper (i) != TOUPPER (i))
4422      return 2;
4423  return 0;
4424}
4425_ACEOF
4426if ac_fn_c_try_run "$LINENO"; then :
4427
4428else
4429  ac_cv_header_stdc=no
4430fi
4431rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4432  conftest.$ac_objext conftest.beam conftest.$ac_ext
4433fi
4434
4435fi
4436fi
4437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4438$as_echo "$ac_cv_header_stdc" >&6; }
4439if test $ac_cv_header_stdc = yes; then
4440
4441$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4442
4443fi
4444
4445# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4446for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4447		  inttypes.h stdint.h unistd.h
4448do :
4449  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4450ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4451"
4452if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4453  cat >>confdefs.h <<_ACEOF
4454#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4455_ACEOF
4456
4457fi
4458
4459done
4460
4461
4462
4463  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4464if test "x$ac_cv_header_minix_config_h" = xyes; then :
4465  MINIX=yes
4466else
4467  MINIX=
4468fi
4469
4470
4471  if test "$MINIX" = yes; then
4472
4473$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4474
4475
4476$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4477
4478
4479$as_echo "#define _MINIX 1" >>confdefs.h
4480
4481  fi
4482
4483
4484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4485$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4486if ${ac_cv_safe_to_define___extensions__+:} false; then :
4487  $as_echo_n "(cached) " >&6
4488else
4489  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490/* end confdefs.h.  */
4491
4492#         define __EXTENSIONS__ 1
4493          $ac_includes_default
4494int
4495main ()
4496{
4497
4498  ;
4499  return 0;
4500}
4501_ACEOF
4502if ac_fn_c_try_compile "$LINENO"; then :
4503  ac_cv_safe_to_define___extensions__=yes
4504else
4505  ac_cv_safe_to_define___extensions__=no
4506fi
4507rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4508fi
4509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4510$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4511  test $ac_cv_safe_to_define___extensions__ = yes &&
4512    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4513
4514  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4515
4516  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4517
4518  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4519
4520  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4521
4522
4523ac_ext=c
4524ac_cpp='$CPP $CPPFLAGS'
4525ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4526ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4527ac_compiler_gnu=$ac_cv_c_compiler_gnu
4528if test -n "$ac_tool_prefix"; then
4529  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4530set dummy ${ac_tool_prefix}gcc; ac_word=$2
4531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4532$as_echo_n "checking for $ac_word... " >&6; }
4533if ${ac_cv_prog_CC+:} false; then :
4534  $as_echo_n "(cached) " >&6
4535else
4536  if test -n "$CC"; then
4537  ac_cv_prog_CC="$CC" # Let the user override the test.
4538else
4539as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540for as_dir in $PATH
4541do
4542  IFS=$as_save_IFS
4543  test -z "$as_dir" && as_dir=.
4544    for ac_exec_ext in '' $ac_executable_extensions; do
4545  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4546    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4547    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4548    break 2
4549  fi
4550done
4551  done
4552IFS=$as_save_IFS
4553
4554fi
4555fi
4556CC=$ac_cv_prog_CC
4557if test -n "$CC"; then
4558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4559$as_echo "$CC" >&6; }
4560else
4561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4562$as_echo "no" >&6; }
4563fi
4564
4565
4566fi
4567if test -z "$ac_cv_prog_CC"; then
4568  ac_ct_CC=$CC
4569  # Extract the first word of "gcc", so it can be a program name with args.
4570set dummy gcc; ac_word=$2
4571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4572$as_echo_n "checking for $ac_word... " >&6; }
4573if ${ac_cv_prog_ac_ct_CC+:} false; then :
4574  $as_echo_n "(cached) " >&6
4575else
4576  if test -n "$ac_ct_CC"; then
4577  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4578else
4579as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580for as_dir in $PATH
4581do
4582  IFS=$as_save_IFS
4583  test -z "$as_dir" && as_dir=.
4584    for ac_exec_ext in '' $ac_executable_extensions; do
4585  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4586    ac_cv_prog_ac_ct_CC="gcc"
4587    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588    break 2
4589  fi
4590done
4591  done
4592IFS=$as_save_IFS
4593
4594fi
4595fi
4596ac_ct_CC=$ac_cv_prog_ac_ct_CC
4597if test -n "$ac_ct_CC"; then
4598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4599$as_echo "$ac_ct_CC" >&6; }
4600else
4601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602$as_echo "no" >&6; }
4603fi
4604
4605  if test "x$ac_ct_CC" = x; then
4606    CC=""
4607  else
4608    case $cross_compiling:$ac_tool_warned in
4609yes:)
4610{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4611$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4612ac_tool_warned=yes ;;
4613esac
4614    CC=$ac_ct_CC
4615  fi
4616else
4617  CC="$ac_cv_prog_CC"
4618fi
4619
4620if test -z "$CC"; then
4621          if test -n "$ac_tool_prefix"; then
4622    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4623set dummy ${ac_tool_prefix}cc; ac_word=$2
4624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4625$as_echo_n "checking for $ac_word... " >&6; }
4626if ${ac_cv_prog_CC+:} false; then :
4627  $as_echo_n "(cached) " >&6
4628else
4629  if test -n "$CC"; then
4630  ac_cv_prog_CC="$CC" # Let the user override the test.
4631else
4632as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4633for as_dir in $PATH
4634do
4635  IFS=$as_save_IFS
4636  test -z "$as_dir" && as_dir=.
4637    for ac_exec_ext in '' $ac_executable_extensions; do
4638  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4639    ac_cv_prog_CC="${ac_tool_prefix}cc"
4640    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4641    break 2
4642  fi
4643done
4644  done
4645IFS=$as_save_IFS
4646
4647fi
4648fi
4649CC=$ac_cv_prog_CC
4650if test -n "$CC"; then
4651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4652$as_echo "$CC" >&6; }
4653else
4654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4655$as_echo "no" >&6; }
4656fi
4657
4658
4659  fi
4660fi
4661if test -z "$CC"; then
4662  # Extract the first word of "cc", so it can be a program name with args.
4663set dummy cc; ac_word=$2
4664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665$as_echo_n "checking for $ac_word... " >&6; }
4666if ${ac_cv_prog_CC+:} false; then :
4667  $as_echo_n "(cached) " >&6
4668else
4669  if test -n "$CC"; then
4670  ac_cv_prog_CC="$CC" # Let the user override the test.
4671else
4672  ac_prog_rejected=no
4673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4674for as_dir in $PATH
4675do
4676  IFS=$as_save_IFS
4677  test -z "$as_dir" && as_dir=.
4678    for ac_exec_ext in '' $ac_executable_extensions; do
4679  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4680    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4681       ac_prog_rejected=yes
4682       continue
4683     fi
4684    ac_cv_prog_CC="cc"
4685    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686    break 2
4687  fi
4688done
4689  done
4690IFS=$as_save_IFS
4691
4692if test $ac_prog_rejected = yes; then
4693  # We found a bogon in the path, so make sure we never use it.
4694  set dummy $ac_cv_prog_CC
4695  shift
4696  if test $# != 0; then
4697    # We chose a different compiler from the bogus one.
4698    # However, it has the same basename, so the bogon will be chosen
4699    # first if we set CC to just the basename; use the full file name.
4700    shift
4701    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4702  fi
4703fi
4704fi
4705fi
4706CC=$ac_cv_prog_CC
4707if test -n "$CC"; then
4708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4709$as_echo "$CC" >&6; }
4710else
4711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712$as_echo "no" >&6; }
4713fi
4714
4715
4716fi
4717if test -z "$CC"; then
4718  if test -n "$ac_tool_prefix"; then
4719  for ac_prog in cl.exe
4720  do
4721    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4722set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4724$as_echo_n "checking for $ac_word... " >&6; }
4725if ${ac_cv_prog_CC+:} false; then :
4726  $as_echo_n "(cached) " >&6
4727else
4728  if test -n "$CC"; then
4729  ac_cv_prog_CC="$CC" # Let the user override the test.
4730else
4731as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4732for as_dir in $PATH
4733do
4734  IFS=$as_save_IFS
4735  test -z "$as_dir" && as_dir=.
4736    for ac_exec_ext in '' $ac_executable_extensions; do
4737  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4738    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4739    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4740    break 2
4741  fi
4742done
4743  done
4744IFS=$as_save_IFS
4745
4746fi
4747fi
4748CC=$ac_cv_prog_CC
4749if test -n "$CC"; then
4750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4751$as_echo "$CC" >&6; }
4752else
4753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754$as_echo "no" >&6; }
4755fi
4756
4757
4758    test -n "$CC" && break
4759  done
4760fi
4761if test -z "$CC"; then
4762  ac_ct_CC=$CC
4763  for ac_prog in cl.exe
4764do
4765  # Extract the first word of "$ac_prog", so it can be a program name with args.
4766set dummy $ac_prog; ac_word=$2
4767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768$as_echo_n "checking for $ac_word... " >&6; }
4769if ${ac_cv_prog_ac_ct_CC+:} false; then :
4770  $as_echo_n "(cached) " >&6
4771else
4772  if test -n "$ac_ct_CC"; then
4773  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4774else
4775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4776for as_dir in $PATH
4777do
4778  IFS=$as_save_IFS
4779  test -z "$as_dir" && as_dir=.
4780    for ac_exec_ext in '' $ac_executable_extensions; do
4781  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4782    ac_cv_prog_ac_ct_CC="$ac_prog"
4783    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4784    break 2
4785  fi
4786done
4787  done
4788IFS=$as_save_IFS
4789
4790fi
4791fi
4792ac_ct_CC=$ac_cv_prog_ac_ct_CC
4793if test -n "$ac_ct_CC"; then
4794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4795$as_echo "$ac_ct_CC" >&6; }
4796else
4797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798$as_echo "no" >&6; }
4799fi
4800
4801
4802  test -n "$ac_ct_CC" && break
4803done
4804
4805  if test "x$ac_ct_CC" = x; then
4806    CC=""
4807  else
4808    case $cross_compiling:$ac_tool_warned in
4809yes:)
4810{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4811$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4812ac_tool_warned=yes ;;
4813esac
4814    CC=$ac_ct_CC
4815  fi
4816fi
4817
4818fi
4819
4820
4821test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4822$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4823as_fn_error $? "no acceptable C compiler found in \$PATH
4824See \`config.log' for more details" "$LINENO" 5; }
4825
4826# Provide some information about the compiler.
4827$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4828set X $ac_compile
4829ac_compiler=$2
4830for ac_option in --version -v -V -qversion; do
4831  { { ac_try="$ac_compiler $ac_option >&5"
4832case "(($ac_try" in
4833  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834  *) ac_try_echo=$ac_try;;
4835esac
4836eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4837$as_echo "$ac_try_echo"; } >&5
4838  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4839  ac_status=$?
4840  if test -s conftest.err; then
4841    sed '10a\
4842... rest of stderr output deleted ...
4843         10q' conftest.err >conftest.er1
4844    cat conftest.er1 >&5
4845  fi
4846  rm -f conftest.er1 conftest.err
4847  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4848  test $ac_status = 0; }
4849done
4850
4851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4852$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4853if ${ac_cv_c_compiler_gnu+:} false; then :
4854  $as_echo_n "(cached) " >&6
4855else
4856  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857/* end confdefs.h.  */
4858
4859int
4860main ()
4861{
4862#ifndef __GNUC__
4863       choke me
4864#endif
4865
4866  ;
4867  return 0;
4868}
4869_ACEOF
4870if ac_fn_c_try_compile "$LINENO"; then :
4871  ac_compiler_gnu=yes
4872else
4873  ac_compiler_gnu=no
4874fi
4875rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4876ac_cv_c_compiler_gnu=$ac_compiler_gnu
4877
4878fi
4879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4880$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4881if test $ac_compiler_gnu = yes; then
4882  GCC=yes
4883else
4884  GCC=
4885fi
4886ac_test_CFLAGS=${CFLAGS+set}
4887ac_save_CFLAGS=$CFLAGS
4888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4889$as_echo_n "checking whether $CC accepts -g... " >&6; }
4890if ${ac_cv_prog_cc_g+:} false; then :
4891  $as_echo_n "(cached) " >&6
4892else
4893  ac_save_c_werror_flag=$ac_c_werror_flag
4894   ac_c_werror_flag=yes
4895   ac_cv_prog_cc_g=no
4896   CFLAGS="-g"
4897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4898/* end confdefs.h.  */
4899
4900int
4901main ()
4902{
4903
4904  ;
4905  return 0;
4906}
4907_ACEOF
4908if ac_fn_c_try_compile "$LINENO"; then :
4909  ac_cv_prog_cc_g=yes
4910else
4911  CFLAGS=""
4912      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4913/* end confdefs.h.  */
4914
4915int
4916main ()
4917{
4918
4919  ;
4920  return 0;
4921}
4922_ACEOF
4923if ac_fn_c_try_compile "$LINENO"; then :
4924
4925else
4926  ac_c_werror_flag=$ac_save_c_werror_flag
4927	 CFLAGS="-g"
4928	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929/* end confdefs.h.  */
4930
4931int
4932main ()
4933{
4934
4935  ;
4936  return 0;
4937}
4938_ACEOF
4939if ac_fn_c_try_compile "$LINENO"; then :
4940  ac_cv_prog_cc_g=yes
4941fi
4942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4943fi
4944rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4945fi
4946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4947   ac_c_werror_flag=$ac_save_c_werror_flag
4948fi
4949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4950$as_echo "$ac_cv_prog_cc_g" >&6; }
4951if test "$ac_test_CFLAGS" = set; then
4952  CFLAGS=$ac_save_CFLAGS
4953elif test $ac_cv_prog_cc_g = yes; then
4954  if test "$GCC" = yes; then
4955    CFLAGS="-g -O2"
4956  else
4957    CFLAGS="-g"
4958  fi
4959else
4960  if test "$GCC" = yes; then
4961    CFLAGS="-O2"
4962  else
4963    CFLAGS=
4964  fi
4965fi
4966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4967$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4968if ${ac_cv_prog_cc_c89+:} false; then :
4969  $as_echo_n "(cached) " >&6
4970else
4971  ac_cv_prog_cc_c89=no
4972ac_save_CC=$CC
4973cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4974/* end confdefs.h.  */
4975#include <stdarg.h>
4976#include <stdio.h>
4977struct stat;
4978/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4979struct buf { int x; };
4980FILE * (*rcsopen) (struct buf *, struct stat *, int);
4981static char *e (p, i)
4982     char **p;
4983     int i;
4984{
4985  return p[i];
4986}
4987static char *f (char * (*g) (char **, int), char **p, ...)
4988{
4989  char *s;
4990  va_list v;
4991  va_start (v,p);
4992  s = g (p, va_arg (v,int));
4993  va_end (v);
4994  return s;
4995}
4996
4997/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4998   function prototypes and stuff, but not '\xHH' hex character constants.
4999   These don't provoke an error unfortunately, instead are silently treated
5000   as 'x'.  The following induces an error, until -std is added to get
5001   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5002   array size at least.  It's necessary to write '\x00'==0 to get something
5003   that's true only with -std.  */
5004int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5005
5006/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5007   inside strings and character constants.  */
5008#define FOO(x) 'x'
5009int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5010
5011int test (int i, double x);
5012struct s1 {int (*f) (int a);};
5013struct s2 {int (*f) (double a);};
5014int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5015int argc;
5016char **argv;
5017int
5018main ()
5019{
5020return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5021  ;
5022  return 0;
5023}
5024_ACEOF
5025for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5026	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5027do
5028  CC="$ac_save_CC $ac_arg"
5029  if ac_fn_c_try_compile "$LINENO"; then :
5030  ac_cv_prog_cc_c89=$ac_arg
5031fi
5032rm -f core conftest.err conftest.$ac_objext
5033  test "x$ac_cv_prog_cc_c89" != "xno" && break
5034done
5035rm -f conftest.$ac_ext
5036CC=$ac_save_CC
5037
5038fi
5039# AC_CACHE_VAL
5040case "x$ac_cv_prog_cc_c89" in
5041  x)
5042    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5043$as_echo "none needed" >&6; } ;;
5044  xno)
5045    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5046$as_echo "unsupported" >&6; } ;;
5047  *)
5048    CC="$CC $ac_cv_prog_cc_c89"
5049    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5050$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5051esac
5052if test "x$ac_cv_prog_cc_c89" != xno; then :
5053
5054fi
5055
5056ac_ext=c
5057ac_cpp='$CPP $CPPFLAGS'
5058ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5060ac_compiler_gnu=$ac_cv_c_compiler_gnu
5061
5062ac_ext=c
5063ac_cpp='$CPP $CPPFLAGS'
5064ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5065ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5066ac_compiler_gnu=$ac_cv_c_compiler_gnu
5067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5068$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5069if ${am_cv_prog_cc_c_o+:} false; then :
5070  $as_echo_n "(cached) " >&6
5071else
5072  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073/* end confdefs.h.  */
5074
5075int
5076main ()
5077{
5078
5079  ;
5080  return 0;
5081}
5082_ACEOF
5083  # Make sure it works both with $CC and with simple cc.
5084  # Following AC_PROG_CC_C_O, we do the test twice because some
5085  # compilers refuse to overwrite an existing .o file with -o,
5086  # though they will create one.
5087  am_cv_prog_cc_c_o=yes
5088  for am_i in 1 2; do
5089    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5090   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5091   ac_status=$?
5092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093   (exit $ac_status); } \
5094         && test -f conftest2.$ac_objext; then
5095      : OK
5096    else
5097      am_cv_prog_cc_c_o=no
5098      break
5099    fi
5100  done
5101  rm -f core conftest*
5102  unset am_i
5103fi
5104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5105$as_echo "$am_cv_prog_cc_c_o" >&6; }
5106if test "$am_cv_prog_cc_c_o" != yes; then
5107   # Losing compiler, so override with the script.
5108   # FIXME: It is wrong to rewrite CC.
5109   # But if we don't then we get into trouble of one sort or another.
5110   # A longer-term fix would be to have automake use am__CC in this case,
5111   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5112   CC="$am_aux_dir/compile $CC"
5113fi
5114ac_ext=c
5115ac_cpp='$CPP $CPPFLAGS'
5116ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5117ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5118ac_compiler_gnu=$ac_cv_c_compiler_gnu
5119
5120
5121depcc="$CC"   am_compiler_list=
5122
5123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5124$as_echo_n "checking dependency style of $depcc... " >&6; }
5125if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5126  $as_echo_n "(cached) " >&6
5127else
5128  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5129  # We make a subdir and do the tests there.  Otherwise we can end up
5130  # making bogus files that we don't know about and never remove.  For
5131  # instance it was reported that on HP-UX the gcc test will end up
5132  # making a dummy file named 'D' -- because '-MD' means "put the output
5133  # in D".
5134  rm -rf conftest.dir
5135  mkdir conftest.dir
5136  # Copy depcomp to subdir because otherwise we won't find it if we're
5137  # using a relative directory.
5138  cp "$am_depcomp" conftest.dir
5139  cd conftest.dir
5140  # We will build objects and dependencies in a subdirectory because
5141  # it helps to detect inapplicable dependency modes.  For instance
5142  # both Tru64's cc and ICC support -MD to output dependencies as a
5143  # side effect of compilation, but ICC will put the dependencies in
5144  # the current directory while Tru64 will put them in the object
5145  # directory.
5146  mkdir sub
5147
5148  am_cv_CC_dependencies_compiler_type=none
5149  if test "$am_compiler_list" = ""; then
5150     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5151  fi
5152  am__universal=false
5153  case " $depcc " in #(
5154     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5155     esac
5156
5157  for depmode in $am_compiler_list; do
5158    # Setup a source with many dependencies, because some compilers
5159    # like to wrap large dependency lists on column 80 (with \), and
5160    # we should not choose a depcomp mode which is confused by this.
5161    #
5162    # We need to recreate these files for each test, as the compiler may
5163    # overwrite some of them when testing with obscure command lines.
5164    # This happens at least with the AIX C compiler.
5165    : > sub/conftest.c
5166    for i in 1 2 3 4 5 6; do
5167      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5168      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5169      # Solaris 10 /bin/sh.
5170      echo '/* dummy */' > sub/conftst$i.h
5171    done
5172    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5173
5174    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5175    # mode.  It turns out that the SunPro C++ compiler does not properly
5176    # handle '-M -o', and we need to detect this.  Also, some Intel
5177    # versions had trouble with output in subdirs.
5178    am__obj=sub/conftest.${OBJEXT-o}
5179    am__minus_obj="-o $am__obj"
5180    case $depmode in
5181    gcc)
5182      # This depmode causes a compiler race in universal mode.
5183      test "$am__universal" = false || continue
5184      ;;
5185    nosideeffect)
5186      # After this tag, mechanisms are not by side-effect, so they'll
5187      # only be used when explicitly requested.
5188      if test "x$enable_dependency_tracking" = xyes; then
5189	continue
5190      else
5191	break
5192      fi
5193      ;;
5194    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5195      # This compiler won't grok '-c -o', but also, the minuso test has
5196      # not run yet.  These depmodes are late enough in the game, and
5197      # so weak that their functioning should not be impacted.
5198      am__obj=conftest.${OBJEXT-o}
5199      am__minus_obj=
5200      ;;
5201    none) break ;;
5202    esac
5203    if depmode=$depmode \
5204       source=sub/conftest.c object=$am__obj \
5205       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5206       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5207         >/dev/null 2>conftest.err &&
5208       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5209       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5210       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5211       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5212      # icc doesn't choke on unknown options, it will just issue warnings
5213      # or remarks (even with -Werror).  So we grep stderr for any message
5214      # that says an option was ignored or not supported.
5215      # When given -MP, icc 7.0 and 7.1 complain thusly:
5216      #   icc: Command line warning: ignoring option '-M'; no argument required
5217      # The diagnosis changed in icc 8.0:
5218      #   icc: Command line remark: option '-MP' not supported
5219      if (grep 'ignoring option' conftest.err ||
5220          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5221        am_cv_CC_dependencies_compiler_type=$depmode
5222        break
5223      fi
5224    fi
5225  done
5226
5227  cd ..
5228  rm -rf conftest.dir
5229else
5230  am_cv_CC_dependencies_compiler_type=none
5231fi
5232
5233fi
5234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5235$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5236CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5237
5238 if
5239  test "x$enable_dependency_tracking" != xno \
5240  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5241  am__fastdepCC_TRUE=
5242  am__fastdepCC_FALSE='#'
5243else
5244  am__fastdepCC_TRUE='#'
5245  am__fastdepCC_FALSE=
5246fi
5247
5248
5249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5250$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5251if ${ac_cv_prog_cc_c99+:} false; then :
5252  $as_echo_n "(cached) " >&6
5253else
5254  ac_cv_prog_cc_c99=no
5255ac_save_CC=$CC
5256cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5257/* end confdefs.h.  */
5258#include <stdarg.h>
5259#include <stdbool.h>
5260#include <stdlib.h>
5261#include <wchar.h>
5262#include <stdio.h>
5263
5264// Check varargs macros.  These examples are taken from C99 6.10.3.5.
5265#define debug(...) fprintf (stderr, __VA_ARGS__)
5266#define showlist(...) puts (#__VA_ARGS__)
5267#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5268static void
5269test_varargs_macros (void)
5270{
5271  int x = 1234;
5272  int y = 5678;
5273  debug ("Flag");
5274  debug ("X = %d\n", x);
5275  showlist (The first, second, and third items.);
5276  report (x>y, "x is %d but y is %d", x, y);
5277}
5278
5279// Check long long types.
5280#define BIG64 18446744073709551615ull
5281#define BIG32 4294967295ul
5282#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5283#if !BIG_OK
5284  your preprocessor is broken;
5285#endif
5286#if BIG_OK
5287#else
5288  your preprocessor is broken;
5289#endif
5290static long long int bignum = -9223372036854775807LL;
5291static unsigned long long int ubignum = BIG64;
5292
5293struct incomplete_array
5294{
5295  int datasize;
5296  double data[];
5297};
5298
5299struct named_init {
5300  int number;
5301  const wchar_t *name;
5302  double average;
5303};
5304
5305typedef const char *ccp;
5306
5307static inline int
5308test_restrict (ccp restrict text)
5309{
5310  // See if C++-style comments work.
5311  // Iterate through items via the restricted pointer.
5312  // Also check for declarations in for loops.
5313  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5314    continue;
5315  return 0;
5316}
5317
5318// Check varargs and va_copy.
5319static void
5320test_varargs (const char *format, ...)
5321{
5322  va_list args;
5323  va_start (args, format);
5324  va_list args_copy;
5325  va_copy (args_copy, args);
5326
5327  const char *str;
5328  int number;
5329  float fnumber;
5330
5331  while (*format)
5332    {
5333      switch (*format++)
5334	{
5335	case 's': // string
5336	  str = va_arg (args_copy, const char *);
5337	  break;
5338	case 'd': // int
5339	  number = va_arg (args_copy, int);
5340	  break;
5341	case 'f': // float
5342	  fnumber = va_arg (args_copy, double);
5343	  break;
5344	default:
5345	  break;
5346	}
5347    }
5348  va_end (args_copy);
5349  va_end (args);
5350}
5351
5352int
5353main ()
5354{
5355
5356  // Check bool.
5357  _Bool success = false;
5358
5359  // Check restrict.
5360  if (test_restrict ("String literal") == 0)
5361    success = true;
5362  char *restrict newvar = "Another string";
5363
5364  // Check varargs.
5365  test_varargs ("s, d' f .", "string", 65, 34.234);
5366  test_varargs_macros ();
5367
5368  // Check flexible array members.
5369  struct incomplete_array *ia =
5370    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5371  ia->datasize = 10;
5372  for (int i = 0; i < ia->datasize; ++i)
5373    ia->data[i] = i * 1.234;
5374
5375  // Check named initializers.
5376  struct named_init ni = {
5377    .number = 34,
5378    .name = L"Test wide string",
5379    .average = 543.34343,
5380  };
5381
5382  ni.number = 58;
5383
5384  int dynamic_array[ni.number];
5385  dynamic_array[ni.number - 1] = 543;
5386
5387  // work around unused variable warnings
5388  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5389	  || dynamic_array[ni.number - 1] != 543);
5390
5391  ;
5392  return 0;
5393}
5394_ACEOF
5395for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5396do
5397  CC="$ac_save_CC $ac_arg"
5398  if ac_fn_c_try_compile "$LINENO"; then :
5399  ac_cv_prog_cc_c99=$ac_arg
5400fi
5401rm -f core conftest.err conftest.$ac_objext
5402  test "x$ac_cv_prog_cc_c99" != "xno" && break
5403done
5404rm -f conftest.$ac_ext
5405CC=$ac_save_CC
5406
5407fi
5408# AC_CACHE_VAL
5409case "x$ac_cv_prog_cc_c99" in
5410  x)
5411    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5412$as_echo "none needed" >&6; } ;;
5413  xno)
5414    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5415$as_echo "unsupported" >&6; } ;;
5416  *)
5417    CC="$CC $ac_cv_prog_cc_c99"
5418    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5419$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5420esac
5421if test "x$ac_cv_prog_cc_c99" != xno; then :
5422
5423fi
5424
5425
5426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
5427$as_echo_n "checking for library containing strerror... " >&6; }
5428if ${ac_cv_search_strerror+:} false; then :
5429  $as_echo_n "(cached) " >&6
5430else
5431  ac_func_search_save_LIBS=$LIBS
5432cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5433/* end confdefs.h.  */
5434
5435/* Override any GCC internal prototype to avoid an error.
5436   Use char because int might match the return type of a GCC
5437   builtin and then its argument prototype would still apply.  */
5438#ifdef __cplusplus
5439extern "C"
5440#endif
5441char strerror ();
5442int
5443main ()
5444{
5445return strerror ();
5446  ;
5447  return 0;
5448}
5449_ACEOF
5450for ac_lib in '' cposix; do
5451  if test -z "$ac_lib"; then
5452    ac_res="none required"
5453  else
5454    ac_res=-l$ac_lib
5455    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5456  fi
5457  if ac_fn_c_try_link "$LINENO"; then :
5458  ac_cv_search_strerror=$ac_res
5459fi
5460rm -f core conftest.err conftest.$ac_objext \
5461    conftest$ac_exeext
5462  if ${ac_cv_search_strerror+:} false; then :
5463  break
5464fi
5465done
5466if ${ac_cv_search_strerror+:} false; then :
5467
5468else
5469  ac_cv_search_strerror=no
5470fi
5471rm conftest.$ac_ext
5472LIBS=$ac_func_search_save_LIBS
5473fi
5474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
5475$as_echo "$ac_cv_search_strerror" >&6; }
5476ac_res=$ac_cv_search_strerror
5477if test "$ac_res" != no; then :
5478  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5479
5480fi
5481
5482for ac_prog in gawk mawk nawk awk
5483do
5484  # Extract the first word of "$ac_prog", so it can be a program name with args.
5485set dummy $ac_prog; ac_word=$2
5486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5487$as_echo_n "checking for $ac_word... " >&6; }
5488if ${ac_cv_prog_AWK+:} false; then :
5489  $as_echo_n "(cached) " >&6
5490else
5491  if test -n "$AWK"; then
5492  ac_cv_prog_AWK="$AWK" # Let the user override the test.
5493else
5494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495for as_dir in $PATH
5496do
5497  IFS=$as_save_IFS
5498  test -z "$as_dir" && as_dir=.
5499    for ac_exec_ext in '' $ac_executable_extensions; do
5500  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5501    ac_cv_prog_AWK="$ac_prog"
5502    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5503    break 2
5504  fi
5505done
5506  done
5507IFS=$as_save_IFS
5508
5509fi
5510fi
5511AWK=$ac_cv_prog_AWK
5512if test -n "$AWK"; then
5513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5514$as_echo "$AWK" >&6; }
5515else
5516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517$as_echo "no" >&6; }
5518fi
5519
5520
5521  test -n "$AWK" && break
5522done
5523
5524ac_ext=cpp
5525ac_cpp='$CXXCPP $CPPFLAGS'
5526ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5527ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5528ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5529if test -z "$CXX"; then
5530  if test -n "$CCC"; then
5531    CXX=$CCC
5532  else
5533    if test -n "$ac_tool_prefix"; then
5534  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5535  do
5536    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5537set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5539$as_echo_n "checking for $ac_word... " >&6; }
5540if ${ac_cv_prog_CXX+:} false; then :
5541  $as_echo_n "(cached) " >&6
5542else
5543  if test -n "$CXX"; then
5544  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5545else
5546as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5547for as_dir in $PATH
5548do
5549  IFS=$as_save_IFS
5550  test -z "$as_dir" && as_dir=.
5551    for ac_exec_ext in '' $ac_executable_extensions; do
5552  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5553    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5554    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555    break 2
5556  fi
5557done
5558  done
5559IFS=$as_save_IFS
5560
5561fi
5562fi
5563CXX=$ac_cv_prog_CXX
5564if test -n "$CXX"; then
5565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5566$as_echo "$CXX" >&6; }
5567else
5568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569$as_echo "no" >&6; }
5570fi
5571
5572
5573    test -n "$CXX" && break
5574  done
5575fi
5576if test -z "$CXX"; then
5577  ac_ct_CXX=$CXX
5578  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5579do
5580  # Extract the first word of "$ac_prog", so it can be a program name with args.
5581set dummy $ac_prog; ac_word=$2
5582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583$as_echo_n "checking for $ac_word... " >&6; }
5584if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5585  $as_echo_n "(cached) " >&6
5586else
5587  if test -n "$ac_ct_CXX"; then
5588  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5589else
5590as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591for as_dir in $PATH
5592do
5593  IFS=$as_save_IFS
5594  test -z "$as_dir" && as_dir=.
5595    for ac_exec_ext in '' $ac_executable_extensions; do
5596  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5597    ac_cv_prog_ac_ct_CXX="$ac_prog"
5598    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599    break 2
5600  fi
5601done
5602  done
5603IFS=$as_save_IFS
5604
5605fi
5606fi
5607ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5608if test -n "$ac_ct_CXX"; then
5609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5610$as_echo "$ac_ct_CXX" >&6; }
5611else
5612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613$as_echo "no" >&6; }
5614fi
5615
5616
5617  test -n "$ac_ct_CXX" && break
5618done
5619
5620  if test "x$ac_ct_CXX" = x; then
5621    CXX="g++"
5622  else
5623    case $cross_compiling:$ac_tool_warned in
5624yes:)
5625{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5626$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5627ac_tool_warned=yes ;;
5628esac
5629    CXX=$ac_ct_CXX
5630  fi
5631fi
5632
5633  fi
5634fi
5635# Provide some information about the compiler.
5636$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5637set X $ac_compile
5638ac_compiler=$2
5639for ac_option in --version -v -V -qversion; do
5640  { { ac_try="$ac_compiler $ac_option >&5"
5641case "(($ac_try" in
5642  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5643  *) ac_try_echo=$ac_try;;
5644esac
5645eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5646$as_echo "$ac_try_echo"; } >&5
5647  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5648  ac_status=$?
5649  if test -s conftest.err; then
5650    sed '10a\
5651... rest of stderr output deleted ...
5652         10q' conftest.err >conftest.er1
5653    cat conftest.er1 >&5
5654  fi
5655  rm -f conftest.er1 conftest.err
5656  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5657  test $ac_status = 0; }
5658done
5659
5660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5661$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5662if ${ac_cv_cxx_compiler_gnu+:} false; then :
5663  $as_echo_n "(cached) " >&6
5664else
5665  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5666/* end confdefs.h.  */
5667
5668int
5669main ()
5670{
5671#ifndef __GNUC__
5672       choke me
5673#endif
5674
5675  ;
5676  return 0;
5677}
5678_ACEOF
5679if ac_fn_cxx_try_compile "$LINENO"; then :
5680  ac_compiler_gnu=yes
5681else
5682  ac_compiler_gnu=no
5683fi
5684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5685ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5686
5687fi
5688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5689$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5690if test $ac_compiler_gnu = yes; then
5691  GXX=yes
5692else
5693  GXX=
5694fi
5695ac_test_CXXFLAGS=${CXXFLAGS+set}
5696ac_save_CXXFLAGS=$CXXFLAGS
5697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5698$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5699if ${ac_cv_prog_cxx_g+:} false; then :
5700  $as_echo_n "(cached) " >&6
5701else
5702  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5703   ac_cxx_werror_flag=yes
5704   ac_cv_prog_cxx_g=no
5705   CXXFLAGS="-g"
5706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5707/* end confdefs.h.  */
5708
5709int
5710main ()
5711{
5712
5713  ;
5714  return 0;
5715}
5716_ACEOF
5717if ac_fn_cxx_try_compile "$LINENO"; then :
5718  ac_cv_prog_cxx_g=yes
5719else
5720  CXXFLAGS=""
5721      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5722/* end confdefs.h.  */
5723
5724int
5725main ()
5726{
5727
5728  ;
5729  return 0;
5730}
5731_ACEOF
5732if ac_fn_cxx_try_compile "$LINENO"; then :
5733
5734else
5735  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5736	 CXXFLAGS="-g"
5737	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5738/* end confdefs.h.  */
5739
5740int
5741main ()
5742{
5743
5744  ;
5745  return 0;
5746}
5747_ACEOF
5748if ac_fn_cxx_try_compile "$LINENO"; then :
5749  ac_cv_prog_cxx_g=yes
5750fi
5751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5752fi
5753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5754fi
5755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5756   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5757fi
5758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5759$as_echo "$ac_cv_prog_cxx_g" >&6; }
5760if test "$ac_test_CXXFLAGS" = set; then
5761  CXXFLAGS=$ac_save_CXXFLAGS
5762elif test $ac_cv_prog_cxx_g = yes; then
5763  if test "$GXX" = yes; then
5764    CXXFLAGS="-g -O2"
5765  else
5766    CXXFLAGS="-g"
5767  fi
5768else
5769  if test "$GXX" = yes; then
5770    CXXFLAGS="-O2"
5771  else
5772    CXXFLAGS=
5773  fi
5774fi
5775ac_ext=c
5776ac_cpp='$CPP $CPPFLAGS'
5777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5779ac_compiler_gnu=$ac_cv_c_compiler_gnu
5780
5781depcc="$CXX"  am_compiler_list=
5782
5783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5784$as_echo_n "checking dependency style of $depcc... " >&6; }
5785if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5786  $as_echo_n "(cached) " >&6
5787else
5788  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5789  # We make a subdir and do the tests there.  Otherwise we can end up
5790  # making bogus files that we don't know about and never remove.  For
5791  # instance it was reported that on HP-UX the gcc test will end up
5792  # making a dummy file named 'D' -- because '-MD' means "put the output
5793  # in D".
5794  rm -rf conftest.dir
5795  mkdir conftest.dir
5796  # Copy depcomp to subdir because otherwise we won't find it if we're
5797  # using a relative directory.
5798  cp "$am_depcomp" conftest.dir
5799  cd conftest.dir
5800  # We will build objects and dependencies in a subdirectory because
5801  # it helps to detect inapplicable dependency modes.  For instance
5802  # both Tru64's cc and ICC support -MD to output dependencies as a
5803  # side effect of compilation, but ICC will put the dependencies in
5804  # the current directory while Tru64 will put them in the object
5805  # directory.
5806  mkdir sub
5807
5808  am_cv_CXX_dependencies_compiler_type=none
5809  if test "$am_compiler_list" = ""; then
5810     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5811  fi
5812  am__universal=false
5813  case " $depcc " in #(
5814     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5815     esac
5816
5817  for depmode in $am_compiler_list; do
5818    # Setup a source with many dependencies, because some compilers
5819    # like to wrap large dependency lists on column 80 (with \), and
5820    # we should not choose a depcomp mode which is confused by this.
5821    #
5822    # We need to recreate these files for each test, as the compiler may
5823    # overwrite some of them when testing with obscure command lines.
5824    # This happens at least with the AIX C compiler.
5825    : > sub/conftest.c
5826    for i in 1 2 3 4 5 6; do
5827      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5828      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5829      # Solaris 10 /bin/sh.
5830      echo '/* dummy */' > sub/conftst$i.h
5831    done
5832    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5833
5834    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5835    # mode.  It turns out that the SunPro C++ compiler does not properly
5836    # handle '-M -o', and we need to detect this.  Also, some Intel
5837    # versions had trouble with output in subdirs.
5838    am__obj=sub/conftest.${OBJEXT-o}
5839    am__minus_obj="-o $am__obj"
5840    case $depmode in
5841    gcc)
5842      # This depmode causes a compiler race in universal mode.
5843      test "$am__universal" = false || continue
5844      ;;
5845    nosideeffect)
5846      # After this tag, mechanisms are not by side-effect, so they'll
5847      # only be used when explicitly requested.
5848      if test "x$enable_dependency_tracking" = xyes; then
5849	continue
5850      else
5851	break
5852      fi
5853      ;;
5854    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5855      # This compiler won't grok '-c -o', but also, the minuso test has
5856      # not run yet.  These depmodes are late enough in the game, and
5857      # so weak that their functioning should not be impacted.
5858      am__obj=conftest.${OBJEXT-o}
5859      am__minus_obj=
5860      ;;
5861    none) break ;;
5862    esac
5863    if depmode=$depmode \
5864       source=sub/conftest.c object=$am__obj \
5865       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5866       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5867         >/dev/null 2>conftest.err &&
5868       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5869       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5870       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5871       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5872      # icc doesn't choke on unknown options, it will just issue warnings
5873      # or remarks (even with -Werror).  So we grep stderr for any message
5874      # that says an option was ignored or not supported.
5875      # When given -MP, icc 7.0 and 7.1 complain thusly:
5876      #   icc: Command line warning: ignoring option '-M'; no argument required
5877      # The diagnosis changed in icc 8.0:
5878      #   icc: Command line remark: option '-MP' not supported
5879      if (grep 'ignoring option' conftest.err ||
5880          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5881        am_cv_CXX_dependencies_compiler_type=$depmode
5882        break
5883      fi
5884    fi
5885  done
5886
5887  cd ..
5888  rm -rf conftest.dir
5889else
5890  am_cv_CXX_dependencies_compiler_type=none
5891fi
5892
5893fi
5894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5895$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5896CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5897
5898 if
5899  test "x$enable_dependency_tracking" != xno \
5900  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5901  am__fastdepCXX_TRUE=
5902  am__fastdepCXX_FALSE='#'
5903else
5904  am__fastdepCXX_TRUE='#'
5905  am__fastdepCXX_FALSE=
5906fi
5907
5908
5909case `pwd` in
5910  *\ * | *\	*)
5911    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5912$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5913esac
5914
5915
5916
5917macro_version='2.4.6'
5918macro_revision='2.4.6'
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932ltmain=$ac_aux_dir/ltmain.sh
5933
5934# Make sure we can run config.sub.
5935$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5936  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5937
5938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5939$as_echo_n "checking build system type... " >&6; }
5940if ${ac_cv_build+:} false; then :
5941  $as_echo_n "(cached) " >&6
5942else
5943  ac_build_alias=$build_alias
5944test "x$ac_build_alias" = x &&
5945  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5946test "x$ac_build_alias" = x &&
5947  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5948ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5949  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5950
5951fi
5952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5953$as_echo "$ac_cv_build" >&6; }
5954case $ac_cv_build in
5955*-*-*) ;;
5956*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5957esac
5958build=$ac_cv_build
5959ac_save_IFS=$IFS; IFS='-'
5960set x $ac_cv_build
5961shift
5962build_cpu=$1
5963build_vendor=$2
5964shift; shift
5965# Remember, the first character of IFS is used to create $*,
5966# except with old shells:
5967build_os=$*
5968IFS=$ac_save_IFS
5969case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5970
5971
5972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5973$as_echo_n "checking host system type... " >&6; }
5974if ${ac_cv_host+:} false; then :
5975  $as_echo_n "(cached) " >&6
5976else
5977  if test "x$host_alias" = x; then
5978  ac_cv_host=$ac_cv_build
5979else
5980  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5981    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5982fi
5983
5984fi
5985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5986$as_echo "$ac_cv_host" >&6; }
5987case $ac_cv_host in
5988*-*-*) ;;
5989*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5990esac
5991host=$ac_cv_host
5992ac_save_IFS=$IFS; IFS='-'
5993set x $ac_cv_host
5994shift
5995host_cpu=$1
5996host_vendor=$2
5997shift; shift
5998# Remember, the first character of IFS is used to create $*,
5999# except with old shells:
6000host_os=$*
6001IFS=$ac_save_IFS
6002case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6003
6004
6005# Backslashify metacharacters that are still active within
6006# double-quoted strings.
6007sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6008
6009# Same as above, but do not quote variable references.
6010double_quote_subst='s/\(["`\\]\)/\\\1/g'
6011
6012# Sed substitution to delay expansion of an escaped shell variable in a
6013# double_quote_subst'ed string.
6014delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6015
6016# Sed substitution to delay expansion of an escaped single quote.
6017delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6018
6019# Sed substitution to avoid accidental globbing in evaled expressions
6020no_glob_subst='s/\*/\\\*/g'
6021
6022ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6023ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6024ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6025
6026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6027$as_echo_n "checking how to print strings... " >&6; }
6028# Test print first, because it will be a builtin if present.
6029if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6030   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6031  ECHO='print -r --'
6032elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6033  ECHO='printf %s\n'
6034else
6035  # Use this function as a fallback that always works.
6036  func_fallback_echo ()
6037  {
6038    eval 'cat <<_LTECHO_EOF
6039$1
6040_LTECHO_EOF'
6041  }
6042  ECHO='func_fallback_echo'
6043fi
6044
6045# func_echo_all arg...
6046# Invoke $ECHO with all args, space-separated.
6047func_echo_all ()
6048{
6049    $ECHO ""
6050}
6051
6052case $ECHO in
6053  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6054$as_echo "printf" >&6; } ;;
6055  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6056$as_echo "print -r" >&6; } ;;
6057  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6058$as_echo "cat" >&6; } ;;
6059esac
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6075$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6076if ${ac_cv_path_SED+:} false; then :
6077  $as_echo_n "(cached) " >&6
6078else
6079            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6080     for ac_i in 1 2 3 4 5 6 7; do
6081       ac_script="$ac_script$as_nl$ac_script"
6082     done
6083     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6084     { ac_script=; unset ac_script;}
6085     if test -z "$SED"; then
6086  ac_path_SED_found=false
6087  # Loop through the user's path and test for each of PROGNAME-LIST
6088  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6089for as_dir in $PATH
6090do
6091  IFS=$as_save_IFS
6092  test -z "$as_dir" && as_dir=.
6093    for ac_prog in sed gsed; do
6094    for ac_exec_ext in '' $ac_executable_extensions; do
6095      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6096      as_fn_executable_p "$ac_path_SED" || continue
6097# Check for GNU ac_path_SED and select it if it is found.
6098  # Check for GNU $ac_path_SED
6099case `"$ac_path_SED" --version 2>&1` in
6100*GNU*)
6101  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6102*)
6103  ac_count=0
6104  $as_echo_n 0123456789 >"conftest.in"
6105  while :
6106  do
6107    cat "conftest.in" "conftest.in" >"conftest.tmp"
6108    mv "conftest.tmp" "conftest.in"
6109    cp "conftest.in" "conftest.nl"
6110    $as_echo '' >> "conftest.nl"
6111    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6112    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6113    as_fn_arith $ac_count + 1 && ac_count=$as_val
6114    if test $ac_count -gt ${ac_path_SED_max-0}; then
6115      # Best one so far, save it but keep looking for a better one
6116      ac_cv_path_SED="$ac_path_SED"
6117      ac_path_SED_max=$ac_count
6118    fi
6119    # 10*(2^10) chars as input seems more than enough
6120    test $ac_count -gt 10 && break
6121  done
6122  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6123esac
6124
6125      $ac_path_SED_found && break 3
6126    done
6127  done
6128  done
6129IFS=$as_save_IFS
6130  if test -z "$ac_cv_path_SED"; then
6131    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6132  fi
6133else
6134  ac_cv_path_SED=$SED
6135fi
6136
6137fi
6138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6139$as_echo "$ac_cv_path_SED" >&6; }
6140 SED="$ac_cv_path_SED"
6141  rm -f conftest.sed
6142
6143test -z "$SED" && SED=sed
6144Xsed="$SED -e 1s/^X//"
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6157$as_echo_n "checking for fgrep... " >&6; }
6158if ${ac_cv_path_FGREP+:} false; then :
6159  $as_echo_n "(cached) " >&6
6160else
6161  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6162   then ac_cv_path_FGREP="$GREP -F"
6163   else
6164     if test -z "$FGREP"; then
6165  ac_path_FGREP_found=false
6166  # Loop through the user's path and test for each of PROGNAME-LIST
6167  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6169do
6170  IFS=$as_save_IFS
6171  test -z "$as_dir" && as_dir=.
6172    for ac_prog in fgrep; do
6173    for ac_exec_ext in '' $ac_executable_extensions; do
6174      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6175      as_fn_executable_p "$ac_path_FGREP" || continue
6176# Check for GNU ac_path_FGREP and select it if it is found.
6177  # Check for GNU $ac_path_FGREP
6178case `"$ac_path_FGREP" --version 2>&1` in
6179*GNU*)
6180  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6181*)
6182  ac_count=0
6183  $as_echo_n 0123456789 >"conftest.in"
6184  while :
6185  do
6186    cat "conftest.in" "conftest.in" >"conftest.tmp"
6187    mv "conftest.tmp" "conftest.in"
6188    cp "conftest.in" "conftest.nl"
6189    $as_echo 'FGREP' >> "conftest.nl"
6190    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6191    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6192    as_fn_arith $ac_count + 1 && ac_count=$as_val
6193    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6194      # Best one so far, save it but keep looking for a better one
6195      ac_cv_path_FGREP="$ac_path_FGREP"
6196      ac_path_FGREP_max=$ac_count
6197    fi
6198    # 10*(2^10) chars as input seems more than enough
6199    test $ac_count -gt 10 && break
6200  done
6201  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6202esac
6203
6204      $ac_path_FGREP_found && break 3
6205    done
6206  done
6207  done
6208IFS=$as_save_IFS
6209  if test -z "$ac_cv_path_FGREP"; then
6210    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6211  fi
6212else
6213  ac_cv_path_FGREP=$FGREP
6214fi
6215
6216   fi
6217fi
6218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6219$as_echo "$ac_cv_path_FGREP" >&6; }
6220 FGREP="$ac_cv_path_FGREP"
6221
6222
6223test -z "$GREP" && GREP=grep
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243# Check whether --with-gnu-ld was given.
6244if test "${with_gnu_ld+set}" = set; then :
6245  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6246else
6247  with_gnu_ld=no
6248fi
6249
6250ac_prog=ld
6251if test yes = "$GCC"; then
6252  # Check if gcc -print-prog-name=ld gives a path.
6253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6254$as_echo_n "checking for ld used by $CC... " >&6; }
6255  case $host in
6256  *-*-mingw*)
6257    # gcc leaves a trailing carriage return, which upsets mingw
6258    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6259  *)
6260    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6261  esac
6262  case $ac_prog in
6263    # Accept absolute paths.
6264    [\\/]* | ?:[\\/]*)
6265      re_direlt='/[^/][^/]*/\.\./'
6266      # Canonicalize the pathname of ld
6267      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6268      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6269	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6270      done
6271      test -z "$LD" && LD=$ac_prog
6272      ;;
6273  "")
6274    # If it fails, then pretend we aren't using GCC.
6275    ac_prog=ld
6276    ;;
6277  *)
6278    # If it is relative, then search for the first ld in PATH.
6279    with_gnu_ld=unknown
6280    ;;
6281  esac
6282elif test yes = "$with_gnu_ld"; then
6283  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6284$as_echo_n "checking for GNU ld... " >&6; }
6285else
6286  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6287$as_echo_n "checking for non-GNU ld... " >&6; }
6288fi
6289if ${lt_cv_path_LD+:} false; then :
6290  $as_echo_n "(cached) " >&6
6291else
6292  if test -z "$LD"; then
6293  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6294  for ac_dir in $PATH; do
6295    IFS=$lt_save_ifs
6296    test -z "$ac_dir" && ac_dir=.
6297    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6298      lt_cv_path_LD=$ac_dir/$ac_prog
6299      # Check to see if the program is GNU ld.  I'd rather use --version,
6300      # but apparently some variants of GNU ld only accept -v.
6301      # Break only if it was the GNU/non-GNU ld that we prefer.
6302      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6303      *GNU* | *'with BFD'*)
6304	test no != "$with_gnu_ld" && break
6305	;;
6306      *)
6307	test yes != "$with_gnu_ld" && break
6308	;;
6309      esac
6310    fi
6311  done
6312  IFS=$lt_save_ifs
6313else
6314  lt_cv_path_LD=$LD # Let the user override the test with a path.
6315fi
6316fi
6317
6318LD=$lt_cv_path_LD
6319if test -n "$LD"; then
6320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6321$as_echo "$LD" >&6; }
6322else
6323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6324$as_echo "no" >&6; }
6325fi
6326test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6328$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6329if ${lt_cv_prog_gnu_ld+:} false; then :
6330  $as_echo_n "(cached) " >&6
6331else
6332  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6333case `$LD -v 2>&1 </dev/null` in
6334*GNU* | *'with BFD'*)
6335  lt_cv_prog_gnu_ld=yes
6336  ;;
6337*)
6338  lt_cv_prog_gnu_ld=no
6339  ;;
6340esac
6341fi
6342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6343$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6344with_gnu_ld=$lt_cv_prog_gnu_ld
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6355$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6356if ${lt_cv_path_NM+:} false; then :
6357  $as_echo_n "(cached) " >&6
6358else
6359  if test -n "$NM"; then
6360  # Let the user override the test.
6361  lt_cv_path_NM=$NM
6362else
6363  lt_nm_to_check=${ac_tool_prefix}nm
6364  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6365    lt_nm_to_check="$lt_nm_to_check nm"
6366  fi
6367  for lt_tmp_nm in $lt_nm_to_check; do
6368    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6369    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6370      IFS=$lt_save_ifs
6371      test -z "$ac_dir" && ac_dir=.
6372      tmp_nm=$ac_dir/$lt_tmp_nm
6373      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6374	# Check to see if the nm accepts a BSD-compat flag.
6375	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6376	#   nm: unknown option "B" ignored
6377	# Tru64's nm complains that /dev/null is an invalid object file
6378	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6379	case $build_os in
6380	mingw*) lt_bad_file=conftest.nm/nofile ;;
6381	*) lt_bad_file=/dev/null ;;
6382	esac
6383	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6384	*$lt_bad_file* | *'Invalid file or object type'*)
6385	  lt_cv_path_NM="$tmp_nm -B"
6386	  break 2
6387	  ;;
6388	*)
6389	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6390	  */dev/null*)
6391	    lt_cv_path_NM="$tmp_nm -p"
6392	    break 2
6393	    ;;
6394	  *)
6395	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6396	    continue # so that we can try to find one that supports BSD flags
6397	    ;;
6398	  esac
6399	  ;;
6400	esac
6401      fi
6402    done
6403    IFS=$lt_save_ifs
6404  done
6405  : ${lt_cv_path_NM=no}
6406fi
6407fi
6408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6409$as_echo "$lt_cv_path_NM" >&6; }
6410if test no != "$lt_cv_path_NM"; then
6411  NM=$lt_cv_path_NM
6412else
6413  # Didn't find any BSD compatible name lister, look for dumpbin.
6414  if test -n "$DUMPBIN"; then :
6415    # Let the user override the test.
6416  else
6417    if test -n "$ac_tool_prefix"; then
6418  for ac_prog in dumpbin "link -dump"
6419  do
6420    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6421set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423$as_echo_n "checking for $ac_word... " >&6; }
6424if ${ac_cv_prog_DUMPBIN+:} false; then :
6425  $as_echo_n "(cached) " >&6
6426else
6427  if test -n "$DUMPBIN"; then
6428  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6429else
6430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431for as_dir in $PATH
6432do
6433  IFS=$as_save_IFS
6434  test -z "$as_dir" && as_dir=.
6435    for ac_exec_ext in '' $ac_executable_extensions; do
6436  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6437    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6438    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439    break 2
6440  fi
6441done
6442  done
6443IFS=$as_save_IFS
6444
6445fi
6446fi
6447DUMPBIN=$ac_cv_prog_DUMPBIN
6448if test -n "$DUMPBIN"; then
6449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6450$as_echo "$DUMPBIN" >&6; }
6451else
6452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453$as_echo "no" >&6; }
6454fi
6455
6456
6457    test -n "$DUMPBIN" && break
6458  done
6459fi
6460if test -z "$DUMPBIN"; then
6461  ac_ct_DUMPBIN=$DUMPBIN
6462  for ac_prog in dumpbin "link -dump"
6463do
6464  # Extract the first word of "$ac_prog", so it can be a program name with args.
6465set dummy $ac_prog; ac_word=$2
6466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467$as_echo_n "checking for $ac_word... " >&6; }
6468if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6469  $as_echo_n "(cached) " >&6
6470else
6471  if test -n "$ac_ct_DUMPBIN"; then
6472  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6473else
6474as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475for as_dir in $PATH
6476do
6477  IFS=$as_save_IFS
6478  test -z "$as_dir" && as_dir=.
6479    for ac_exec_ext in '' $ac_executable_extensions; do
6480  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6481    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6482    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483    break 2
6484  fi
6485done
6486  done
6487IFS=$as_save_IFS
6488
6489fi
6490fi
6491ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6492if test -n "$ac_ct_DUMPBIN"; then
6493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6494$as_echo "$ac_ct_DUMPBIN" >&6; }
6495else
6496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6497$as_echo "no" >&6; }
6498fi
6499
6500
6501  test -n "$ac_ct_DUMPBIN" && break
6502done
6503
6504  if test "x$ac_ct_DUMPBIN" = x; then
6505    DUMPBIN=":"
6506  else
6507    case $cross_compiling:$ac_tool_warned in
6508yes:)
6509{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6510$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6511ac_tool_warned=yes ;;
6512esac
6513    DUMPBIN=$ac_ct_DUMPBIN
6514  fi
6515fi
6516
6517    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6518    *COFF*)
6519      DUMPBIN="$DUMPBIN -symbols -headers"
6520      ;;
6521    *)
6522      DUMPBIN=:
6523      ;;
6524    esac
6525  fi
6526
6527  if test : != "$DUMPBIN"; then
6528    NM=$DUMPBIN
6529  fi
6530fi
6531test -z "$NM" && NM=nm
6532
6533
6534
6535
6536
6537
6538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6539$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6540if ${lt_cv_nm_interface+:} false; then :
6541  $as_echo_n "(cached) " >&6
6542else
6543  lt_cv_nm_interface="BSD nm"
6544  echo "int some_variable = 0;" > conftest.$ac_ext
6545  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6546  (eval "$ac_compile" 2>conftest.err)
6547  cat conftest.err >&5
6548  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6549  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6550  cat conftest.err >&5
6551  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6552  cat conftest.out >&5
6553  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6554    lt_cv_nm_interface="MS dumpbin"
6555  fi
6556  rm -f conftest*
6557fi
6558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6559$as_echo "$lt_cv_nm_interface" >&6; }
6560
6561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6562$as_echo_n "checking whether ln -s works... " >&6; }
6563LN_S=$as_ln_s
6564if test "$LN_S" = "ln -s"; then
6565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6566$as_echo "yes" >&6; }
6567else
6568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6569$as_echo "no, using $LN_S" >&6; }
6570fi
6571
6572# find the maximum length of command line arguments
6573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6574$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6575if ${lt_cv_sys_max_cmd_len+:} false; then :
6576  $as_echo_n "(cached) " >&6
6577else
6578    i=0
6579  teststring=ABCD
6580
6581  case $build_os in
6582  msdosdjgpp*)
6583    # On DJGPP, this test can blow up pretty badly due to problems in libc
6584    # (any single argument exceeding 2000 bytes causes a buffer overrun
6585    # during glob expansion).  Even if it were fixed, the result of this
6586    # check would be larger than it should be.
6587    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6588    ;;
6589
6590  gnu*)
6591    # Under GNU Hurd, this test is not required because there is
6592    # no limit to the length of command line arguments.
6593    # Libtool will interpret -1 as no limit whatsoever
6594    lt_cv_sys_max_cmd_len=-1;
6595    ;;
6596
6597  cygwin* | mingw* | cegcc*)
6598    # On Win9x/ME, this test blows up -- it succeeds, but takes
6599    # about 5 minutes as the teststring grows exponentially.
6600    # Worse, since 9x/ME are not pre-emptively multitasking,
6601    # you end up with a "frozen" computer, even though with patience
6602    # the test eventually succeeds (with a max line length of 256k).
6603    # Instead, let's just punt: use the minimum linelength reported by
6604    # all of the supported platforms: 8192 (on NT/2K/XP).
6605    lt_cv_sys_max_cmd_len=8192;
6606    ;;
6607
6608  mint*)
6609    # On MiNT this can take a long time and run out of memory.
6610    lt_cv_sys_max_cmd_len=8192;
6611    ;;
6612
6613  amigaos*)
6614    # On AmigaOS with pdksh, this test takes hours, literally.
6615    # So we just punt and use a minimum line length of 8192.
6616    lt_cv_sys_max_cmd_len=8192;
6617    ;;
6618
6619  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6620    # This has been around since 386BSD, at least.  Likely further.
6621    if test -x /sbin/sysctl; then
6622      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6623    elif test -x /usr/sbin/sysctl; then
6624      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6625    else
6626      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6627    fi
6628    # And add a safety zone
6629    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6630    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6631    ;;
6632
6633  interix*)
6634    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6635    lt_cv_sys_max_cmd_len=196608
6636    ;;
6637
6638  os2*)
6639    # The test takes a long time on OS/2.
6640    lt_cv_sys_max_cmd_len=8192
6641    ;;
6642
6643  osf*)
6644    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6645    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6646    # nice to cause kernel panics so lets avoid the loop below.
6647    # First set a reasonable default.
6648    lt_cv_sys_max_cmd_len=16384
6649    #
6650    if test -x /sbin/sysconfig; then
6651      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6652        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6653      esac
6654    fi
6655    ;;
6656  sco3.2v5*)
6657    lt_cv_sys_max_cmd_len=102400
6658    ;;
6659  sysv5* | sco5v6* | sysv4.2uw2*)
6660    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6661    if test -n "$kargmax"; then
6662      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6663    else
6664      lt_cv_sys_max_cmd_len=32768
6665    fi
6666    ;;
6667  *)
6668    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6669    if test -n "$lt_cv_sys_max_cmd_len" && \
6670       test undefined != "$lt_cv_sys_max_cmd_len"; then
6671      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6672      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6673    else
6674      # Make teststring a little bigger before we do anything with it.
6675      # a 1K string should be a reasonable start.
6676      for i in 1 2 3 4 5 6 7 8; do
6677        teststring=$teststring$teststring
6678      done
6679      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6680      # If test is not a shell built-in, we'll probably end up computing a
6681      # maximum length that is only half of the actual maximum length, but
6682      # we can't tell.
6683      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6684	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6685	      test 17 != "$i" # 1/2 MB should be enough
6686      do
6687        i=`expr $i + 1`
6688        teststring=$teststring$teststring
6689      done
6690      # Only check the string length outside the loop.
6691      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6692      teststring=
6693      # Add a significant safety factor because C++ compilers can tack on
6694      # massive amounts of additional arguments before passing them to the
6695      # linker.  It appears as though 1/2 is a usable value.
6696      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6697    fi
6698    ;;
6699  esac
6700
6701fi
6702
6703if test -n "$lt_cv_sys_max_cmd_len"; then
6704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6705$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6706else
6707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6708$as_echo "none" >&6; }
6709fi
6710max_cmd_len=$lt_cv_sys_max_cmd_len
6711
6712
6713
6714
6715
6716
6717: ${CP="cp -f"}
6718: ${MV="mv -f"}
6719: ${RM="rm -f"}
6720
6721if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6722  lt_unset=unset
6723else
6724  lt_unset=false
6725fi
6726
6727
6728
6729
6730
6731# test EBCDIC or ASCII
6732case `echo X|tr X '\101'` in
6733 A) # ASCII based system
6734    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6735  lt_SP2NL='tr \040 \012'
6736  lt_NL2SP='tr \015\012 \040\040'
6737  ;;
6738 *) # EBCDIC based system
6739  lt_SP2NL='tr \100 \n'
6740  lt_NL2SP='tr \r\n \100\100'
6741  ;;
6742esac
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6753$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6754if ${lt_cv_to_host_file_cmd+:} false; then :
6755  $as_echo_n "(cached) " >&6
6756else
6757  case $host in
6758  *-*-mingw* )
6759    case $build in
6760      *-*-mingw* ) # actually msys
6761        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6762        ;;
6763      *-*-cygwin* )
6764        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6765        ;;
6766      * ) # otherwise, assume *nix
6767        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6768        ;;
6769    esac
6770    ;;
6771  *-*-cygwin* )
6772    case $build in
6773      *-*-mingw* ) # actually msys
6774        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6775        ;;
6776      *-*-cygwin* )
6777        lt_cv_to_host_file_cmd=func_convert_file_noop
6778        ;;
6779      * ) # otherwise, assume *nix
6780        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6781        ;;
6782    esac
6783    ;;
6784  * ) # unhandled hosts (and "normal" native builds)
6785    lt_cv_to_host_file_cmd=func_convert_file_noop
6786    ;;
6787esac
6788
6789fi
6790
6791to_host_file_cmd=$lt_cv_to_host_file_cmd
6792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6793$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6794
6795
6796
6797
6798
6799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6800$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6801if ${lt_cv_to_tool_file_cmd+:} false; then :
6802  $as_echo_n "(cached) " >&6
6803else
6804  #assume ordinary cross tools, or native build.
6805lt_cv_to_tool_file_cmd=func_convert_file_noop
6806case $host in
6807  *-*-mingw* )
6808    case $build in
6809      *-*-mingw* ) # actually msys
6810        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6811        ;;
6812    esac
6813    ;;
6814esac
6815
6816fi
6817
6818to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6820$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6821
6822
6823
6824
6825
6826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6827$as_echo_n "checking for $LD option to reload object files... " >&6; }
6828if ${lt_cv_ld_reload_flag+:} false; then :
6829  $as_echo_n "(cached) " >&6
6830else
6831  lt_cv_ld_reload_flag='-r'
6832fi
6833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6834$as_echo "$lt_cv_ld_reload_flag" >&6; }
6835reload_flag=$lt_cv_ld_reload_flag
6836case $reload_flag in
6837"" | " "*) ;;
6838*) reload_flag=" $reload_flag" ;;
6839esac
6840reload_cmds='$LD$reload_flag -o $output$reload_objs'
6841case $host_os in
6842  cygwin* | mingw* | pw32* | cegcc*)
6843    if test yes != "$GCC"; then
6844      reload_cmds=false
6845    fi
6846    ;;
6847  darwin*)
6848    if test yes = "$GCC"; then
6849      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6850    else
6851      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6852    fi
6853    ;;
6854esac
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864if test -n "$ac_tool_prefix"; then
6865  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6866set dummy ${ac_tool_prefix}objdump; ac_word=$2
6867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6868$as_echo_n "checking for $ac_word... " >&6; }
6869if ${ac_cv_prog_OBJDUMP+:} false; then :
6870  $as_echo_n "(cached) " >&6
6871else
6872  if test -n "$OBJDUMP"; then
6873  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6874else
6875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6876for as_dir in $PATH
6877do
6878  IFS=$as_save_IFS
6879  test -z "$as_dir" && as_dir=.
6880    for ac_exec_ext in '' $ac_executable_extensions; do
6881  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6882    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6883    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6884    break 2
6885  fi
6886done
6887  done
6888IFS=$as_save_IFS
6889
6890fi
6891fi
6892OBJDUMP=$ac_cv_prog_OBJDUMP
6893if test -n "$OBJDUMP"; then
6894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6895$as_echo "$OBJDUMP" >&6; }
6896else
6897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6898$as_echo "no" >&6; }
6899fi
6900
6901
6902fi
6903if test -z "$ac_cv_prog_OBJDUMP"; then
6904  ac_ct_OBJDUMP=$OBJDUMP
6905  # Extract the first word of "objdump", so it can be a program name with args.
6906set dummy objdump; ac_word=$2
6907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6908$as_echo_n "checking for $ac_word... " >&6; }
6909if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6910  $as_echo_n "(cached) " >&6
6911else
6912  if test -n "$ac_ct_OBJDUMP"; then
6913  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6914else
6915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6916for as_dir in $PATH
6917do
6918  IFS=$as_save_IFS
6919  test -z "$as_dir" && as_dir=.
6920    for ac_exec_ext in '' $ac_executable_extensions; do
6921  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6922    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6923    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6924    break 2
6925  fi
6926done
6927  done
6928IFS=$as_save_IFS
6929
6930fi
6931fi
6932ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6933if test -n "$ac_ct_OBJDUMP"; then
6934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6935$as_echo "$ac_ct_OBJDUMP" >&6; }
6936else
6937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6938$as_echo "no" >&6; }
6939fi
6940
6941  if test "x$ac_ct_OBJDUMP" = x; then
6942    OBJDUMP="false"
6943  else
6944    case $cross_compiling:$ac_tool_warned in
6945yes:)
6946{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6947$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6948ac_tool_warned=yes ;;
6949esac
6950    OBJDUMP=$ac_ct_OBJDUMP
6951  fi
6952else
6953  OBJDUMP="$ac_cv_prog_OBJDUMP"
6954fi
6955
6956test -z "$OBJDUMP" && OBJDUMP=objdump
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6967$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6968if ${lt_cv_deplibs_check_method+:} false; then :
6969  $as_echo_n "(cached) " >&6
6970else
6971  lt_cv_file_magic_cmd='$MAGIC_CMD'
6972lt_cv_file_magic_test_file=
6973lt_cv_deplibs_check_method='unknown'
6974# Need to set the preceding variable on all platforms that support
6975# interlibrary dependencies.
6976# 'none' -- dependencies not supported.
6977# 'unknown' -- same as none, but documents that we really don't know.
6978# 'pass_all' -- all dependencies passed with no checks.
6979# 'test_compile' -- check by making test program.
6980# 'file_magic [[regex]]' -- check by looking for files in library path
6981# that responds to the $file_magic_cmd with a given extended regex.
6982# If you have 'file' or equivalent on your system and you're not sure
6983# whether 'pass_all' will *always* work, you probably want this one.
6984
6985case $host_os in
6986aix[4-9]*)
6987  lt_cv_deplibs_check_method=pass_all
6988  ;;
6989
6990beos*)
6991  lt_cv_deplibs_check_method=pass_all
6992  ;;
6993
6994bsdi[45]*)
6995  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6996  lt_cv_file_magic_cmd='/usr/bin/file -L'
6997  lt_cv_file_magic_test_file=/shlib/libc.so
6998  ;;
6999
7000cygwin*)
7001  # func_win32_libid is a shell function defined in ltmain.sh
7002  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7003  lt_cv_file_magic_cmd='func_win32_libid'
7004  ;;
7005
7006mingw* | pw32*)
7007  # Base MSYS/MinGW do not provide the 'file' command needed by
7008  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7009  # unless we find 'file', for example because we are cross-compiling.
7010  if ( file / ) >/dev/null 2>&1; then
7011    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7012    lt_cv_file_magic_cmd='func_win32_libid'
7013  else
7014    # Keep this pattern in sync with the one in func_win32_libid.
7015    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7016    lt_cv_file_magic_cmd='$OBJDUMP -f'
7017  fi
7018  ;;
7019
7020cegcc*)
7021  # use the weaker test based on 'objdump'. See mingw*.
7022  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7023  lt_cv_file_magic_cmd='$OBJDUMP -f'
7024  ;;
7025
7026darwin* | rhapsody*)
7027  lt_cv_deplibs_check_method=pass_all
7028  ;;
7029
7030freebsd* | dragonfly*)
7031  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7032    case $host_cpu in
7033    i*86 )
7034      # Not sure whether the presence of OpenBSD here was a mistake.
7035      # Let's accept both of them until this is cleared up.
7036      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7037      lt_cv_file_magic_cmd=/usr/bin/file
7038      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7039      ;;
7040    esac
7041  else
7042    lt_cv_deplibs_check_method=pass_all
7043  fi
7044  ;;
7045
7046haiku*)
7047  lt_cv_deplibs_check_method=pass_all
7048  ;;
7049
7050hpux10.20* | hpux11*)
7051  lt_cv_file_magic_cmd=/usr/bin/file
7052  case $host_cpu in
7053  ia64*)
7054    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7055    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7056    ;;
7057  hppa*64*)
7058    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]'
7059    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7060    ;;
7061  *)
7062    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7063    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7064    ;;
7065  esac
7066  ;;
7067
7068interix[3-9]*)
7069  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7070  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7071  ;;
7072
7073irix5* | irix6* | nonstopux*)
7074  case $LD in
7075  *-32|*"-32 ") libmagic=32-bit;;
7076  *-n32|*"-n32 ") libmagic=N32;;
7077  *-64|*"-64 ") libmagic=64-bit;;
7078  *) libmagic=never-match;;
7079  esac
7080  lt_cv_deplibs_check_method=pass_all
7081  ;;
7082
7083# This must be glibc/ELF.
7084linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7085  lt_cv_deplibs_check_method=pass_all
7086  ;;
7087
7088netbsd*)
7089  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7090    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7091  else
7092    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7093  fi
7094  ;;
7095
7096newos6*)
7097  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7098  lt_cv_file_magic_cmd=/usr/bin/file
7099  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7100  ;;
7101
7102*nto* | *qnx*)
7103  lt_cv_deplibs_check_method=pass_all
7104  ;;
7105
7106openbsd* | bitrig*)
7107  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7108    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7109  else
7110    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7111  fi
7112  ;;
7113
7114osf3* | osf4* | osf5*)
7115  lt_cv_deplibs_check_method=pass_all
7116  ;;
7117
7118rdos*)
7119  lt_cv_deplibs_check_method=pass_all
7120  ;;
7121
7122solaris*)
7123  lt_cv_deplibs_check_method=pass_all
7124  ;;
7125
7126sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7127  lt_cv_deplibs_check_method=pass_all
7128  ;;
7129
7130sysv4 | sysv4.3*)
7131  case $host_vendor in
7132  motorola)
7133    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]'
7134    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7135    ;;
7136  ncr)
7137    lt_cv_deplibs_check_method=pass_all
7138    ;;
7139  sequent)
7140    lt_cv_file_magic_cmd='/bin/file'
7141    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7142    ;;
7143  sni)
7144    lt_cv_file_magic_cmd='/bin/file'
7145    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7146    lt_cv_file_magic_test_file=/lib/libc.so
7147    ;;
7148  siemens)
7149    lt_cv_deplibs_check_method=pass_all
7150    ;;
7151  pc)
7152    lt_cv_deplibs_check_method=pass_all
7153    ;;
7154  esac
7155  ;;
7156
7157tpf*)
7158  lt_cv_deplibs_check_method=pass_all
7159  ;;
7160os2*)
7161  lt_cv_deplibs_check_method=pass_all
7162  ;;
7163esac
7164
7165fi
7166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7167$as_echo "$lt_cv_deplibs_check_method" >&6; }
7168
7169file_magic_glob=
7170want_nocaseglob=no
7171if test "$build" = "$host"; then
7172  case $host_os in
7173  mingw* | pw32*)
7174    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7175      want_nocaseglob=yes
7176    else
7177      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7178    fi
7179    ;;
7180  esac
7181fi
7182
7183file_magic_cmd=$lt_cv_file_magic_cmd
7184deplibs_check_method=$lt_cv_deplibs_check_method
7185test -z "$deplibs_check_method" && deplibs_check_method=unknown
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208if test -n "$ac_tool_prefix"; then
7209  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7210set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212$as_echo_n "checking for $ac_word... " >&6; }
7213if ${ac_cv_prog_DLLTOOL+:} false; then :
7214  $as_echo_n "(cached) " >&6
7215else
7216  if test -n "$DLLTOOL"; then
7217  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7218else
7219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7220for as_dir in $PATH
7221do
7222  IFS=$as_save_IFS
7223  test -z "$as_dir" && as_dir=.
7224    for ac_exec_ext in '' $ac_executable_extensions; do
7225  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7226    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7227    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7228    break 2
7229  fi
7230done
7231  done
7232IFS=$as_save_IFS
7233
7234fi
7235fi
7236DLLTOOL=$ac_cv_prog_DLLTOOL
7237if test -n "$DLLTOOL"; then
7238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7239$as_echo "$DLLTOOL" >&6; }
7240else
7241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7242$as_echo "no" >&6; }
7243fi
7244
7245
7246fi
7247if test -z "$ac_cv_prog_DLLTOOL"; then
7248  ac_ct_DLLTOOL=$DLLTOOL
7249  # Extract the first word of "dlltool", so it can be a program name with args.
7250set dummy dlltool; ac_word=$2
7251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7252$as_echo_n "checking for $ac_word... " >&6; }
7253if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7254  $as_echo_n "(cached) " >&6
7255else
7256  if test -n "$ac_ct_DLLTOOL"; then
7257  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7258else
7259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7260for as_dir in $PATH
7261do
7262  IFS=$as_save_IFS
7263  test -z "$as_dir" && as_dir=.
7264    for ac_exec_ext in '' $ac_executable_extensions; do
7265  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7266    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7267    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7268    break 2
7269  fi
7270done
7271  done
7272IFS=$as_save_IFS
7273
7274fi
7275fi
7276ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7277if test -n "$ac_ct_DLLTOOL"; then
7278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7279$as_echo "$ac_ct_DLLTOOL" >&6; }
7280else
7281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7282$as_echo "no" >&6; }
7283fi
7284
7285  if test "x$ac_ct_DLLTOOL" = x; then
7286    DLLTOOL="false"
7287  else
7288    case $cross_compiling:$ac_tool_warned in
7289yes:)
7290{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7291$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7292ac_tool_warned=yes ;;
7293esac
7294    DLLTOOL=$ac_ct_DLLTOOL
7295  fi
7296else
7297  DLLTOOL="$ac_cv_prog_DLLTOOL"
7298fi
7299
7300test -z "$DLLTOOL" && DLLTOOL=dlltool
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7312$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7313if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7314  $as_echo_n "(cached) " >&6
7315else
7316  lt_cv_sharedlib_from_linklib_cmd='unknown'
7317
7318case $host_os in
7319cygwin* | mingw* | pw32* | cegcc*)
7320  # two different shell functions defined in ltmain.sh;
7321  # decide which one to use based on capabilities of $DLLTOOL
7322  case `$DLLTOOL --help 2>&1` in
7323  *--identify-strict*)
7324    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7325    ;;
7326  *)
7327    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7328    ;;
7329  esac
7330  ;;
7331*)
7332  # fallback: assume linklib IS sharedlib
7333  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7334  ;;
7335esac
7336
7337fi
7338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7339$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7340sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7341test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7342
7343
7344
7345
7346
7347
7348
7349if test -n "$ac_tool_prefix"; then
7350  for ac_prog in ar
7351  do
7352    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7353set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355$as_echo_n "checking for $ac_word... " >&6; }
7356if ${ac_cv_prog_AR+:} false; then :
7357  $as_echo_n "(cached) " >&6
7358else
7359  if test -n "$AR"; then
7360  ac_cv_prog_AR="$AR" # Let the user override the test.
7361else
7362as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363for as_dir in $PATH
7364do
7365  IFS=$as_save_IFS
7366  test -z "$as_dir" && as_dir=.
7367    for ac_exec_ext in '' $ac_executable_extensions; do
7368  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7369    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7370    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7371    break 2
7372  fi
7373done
7374  done
7375IFS=$as_save_IFS
7376
7377fi
7378fi
7379AR=$ac_cv_prog_AR
7380if test -n "$AR"; then
7381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7382$as_echo "$AR" >&6; }
7383else
7384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7385$as_echo "no" >&6; }
7386fi
7387
7388
7389    test -n "$AR" && break
7390  done
7391fi
7392if test -z "$AR"; then
7393  ac_ct_AR=$AR
7394  for ac_prog in ar
7395do
7396  # Extract the first word of "$ac_prog", so it can be a program name with args.
7397set dummy $ac_prog; ac_word=$2
7398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7399$as_echo_n "checking for $ac_word... " >&6; }
7400if ${ac_cv_prog_ac_ct_AR+:} false; then :
7401  $as_echo_n "(cached) " >&6
7402else
7403  if test -n "$ac_ct_AR"; then
7404  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7405else
7406as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7407for as_dir in $PATH
7408do
7409  IFS=$as_save_IFS
7410  test -z "$as_dir" && as_dir=.
7411    for ac_exec_ext in '' $ac_executable_extensions; do
7412  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7413    ac_cv_prog_ac_ct_AR="$ac_prog"
7414    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7415    break 2
7416  fi
7417done
7418  done
7419IFS=$as_save_IFS
7420
7421fi
7422fi
7423ac_ct_AR=$ac_cv_prog_ac_ct_AR
7424if test -n "$ac_ct_AR"; then
7425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7426$as_echo "$ac_ct_AR" >&6; }
7427else
7428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7429$as_echo "no" >&6; }
7430fi
7431
7432
7433  test -n "$ac_ct_AR" && break
7434done
7435
7436  if test "x$ac_ct_AR" = x; then
7437    AR="false"
7438  else
7439    case $cross_compiling:$ac_tool_warned in
7440yes:)
7441{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7442$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7443ac_tool_warned=yes ;;
7444esac
7445    AR=$ac_ct_AR
7446  fi
7447fi
7448
7449: ${AR=ar}
7450: ${AR_FLAGS=cru}
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7463$as_echo_n "checking for archiver @FILE support... " >&6; }
7464if ${lt_cv_ar_at_file+:} false; then :
7465  $as_echo_n "(cached) " >&6
7466else
7467  lt_cv_ar_at_file=no
7468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7469/* end confdefs.h.  */
7470
7471int
7472main ()
7473{
7474
7475  ;
7476  return 0;
7477}
7478_ACEOF
7479if ac_fn_c_try_compile "$LINENO"; then :
7480  echo conftest.$ac_objext > conftest.lst
7481      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7482      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7483  (eval $lt_ar_try) 2>&5
7484  ac_status=$?
7485  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7486  test $ac_status = 0; }
7487      if test 0 -eq "$ac_status"; then
7488	# Ensure the archiver fails upon bogus file names.
7489	rm -f conftest.$ac_objext libconftest.a
7490	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7491  (eval $lt_ar_try) 2>&5
7492  ac_status=$?
7493  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7494  test $ac_status = 0; }
7495	if test 0 -ne "$ac_status"; then
7496          lt_cv_ar_at_file=@
7497        fi
7498      fi
7499      rm -f conftest.* libconftest.a
7500
7501fi
7502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7503
7504fi
7505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7506$as_echo "$lt_cv_ar_at_file" >&6; }
7507
7508if test no = "$lt_cv_ar_at_file"; then
7509  archiver_list_spec=
7510else
7511  archiver_list_spec=$lt_cv_ar_at_file
7512fi
7513
7514
7515
7516
7517
7518
7519
7520if test -n "$ac_tool_prefix"; then
7521  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7522set dummy ${ac_tool_prefix}strip; ac_word=$2
7523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7524$as_echo_n "checking for $ac_word... " >&6; }
7525if ${ac_cv_prog_STRIP+:} false; then :
7526  $as_echo_n "(cached) " >&6
7527else
7528  if test -n "$STRIP"; then
7529  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7530else
7531as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7532for as_dir in $PATH
7533do
7534  IFS=$as_save_IFS
7535  test -z "$as_dir" && as_dir=.
7536    for ac_exec_ext in '' $ac_executable_extensions; do
7537  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7538    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7539    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7540    break 2
7541  fi
7542done
7543  done
7544IFS=$as_save_IFS
7545
7546fi
7547fi
7548STRIP=$ac_cv_prog_STRIP
7549if test -n "$STRIP"; then
7550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7551$as_echo "$STRIP" >&6; }
7552else
7553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7554$as_echo "no" >&6; }
7555fi
7556
7557
7558fi
7559if test -z "$ac_cv_prog_STRIP"; then
7560  ac_ct_STRIP=$STRIP
7561  # Extract the first word of "strip", so it can be a program name with args.
7562set dummy strip; ac_word=$2
7563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7564$as_echo_n "checking for $ac_word... " >&6; }
7565if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7566  $as_echo_n "(cached) " >&6
7567else
7568  if test -n "$ac_ct_STRIP"; then
7569  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7570else
7571as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7572for as_dir in $PATH
7573do
7574  IFS=$as_save_IFS
7575  test -z "$as_dir" && as_dir=.
7576    for ac_exec_ext in '' $ac_executable_extensions; do
7577  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7578    ac_cv_prog_ac_ct_STRIP="strip"
7579    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7580    break 2
7581  fi
7582done
7583  done
7584IFS=$as_save_IFS
7585
7586fi
7587fi
7588ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7589if test -n "$ac_ct_STRIP"; then
7590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7591$as_echo "$ac_ct_STRIP" >&6; }
7592else
7593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7594$as_echo "no" >&6; }
7595fi
7596
7597  if test "x$ac_ct_STRIP" = x; then
7598    STRIP=":"
7599  else
7600    case $cross_compiling:$ac_tool_warned in
7601yes:)
7602{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7603$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7604ac_tool_warned=yes ;;
7605esac
7606    STRIP=$ac_ct_STRIP
7607  fi
7608else
7609  STRIP="$ac_cv_prog_STRIP"
7610fi
7611
7612test -z "$STRIP" && STRIP=:
7613
7614
7615
7616
7617
7618
7619if test -n "$ac_tool_prefix"; then
7620  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7621set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7623$as_echo_n "checking for $ac_word... " >&6; }
7624if ${ac_cv_prog_RANLIB+:} false; then :
7625  $as_echo_n "(cached) " >&6
7626else
7627  if test -n "$RANLIB"; then
7628  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7629else
7630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7631for as_dir in $PATH
7632do
7633  IFS=$as_save_IFS
7634  test -z "$as_dir" && as_dir=.
7635    for ac_exec_ext in '' $ac_executable_extensions; do
7636  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7637    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7638    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7639    break 2
7640  fi
7641done
7642  done
7643IFS=$as_save_IFS
7644
7645fi
7646fi
7647RANLIB=$ac_cv_prog_RANLIB
7648if test -n "$RANLIB"; then
7649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7650$as_echo "$RANLIB" >&6; }
7651else
7652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7653$as_echo "no" >&6; }
7654fi
7655
7656
7657fi
7658if test -z "$ac_cv_prog_RANLIB"; then
7659  ac_ct_RANLIB=$RANLIB
7660  # Extract the first word of "ranlib", so it can be a program name with args.
7661set dummy ranlib; ac_word=$2
7662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7663$as_echo_n "checking for $ac_word... " >&6; }
7664if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7665  $as_echo_n "(cached) " >&6
7666else
7667  if test -n "$ac_ct_RANLIB"; then
7668  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7669else
7670as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7671for as_dir in $PATH
7672do
7673  IFS=$as_save_IFS
7674  test -z "$as_dir" && as_dir=.
7675    for ac_exec_ext in '' $ac_executable_extensions; do
7676  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7677    ac_cv_prog_ac_ct_RANLIB="ranlib"
7678    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7679    break 2
7680  fi
7681done
7682  done
7683IFS=$as_save_IFS
7684
7685fi
7686fi
7687ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7688if test -n "$ac_ct_RANLIB"; then
7689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7690$as_echo "$ac_ct_RANLIB" >&6; }
7691else
7692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7693$as_echo "no" >&6; }
7694fi
7695
7696  if test "x$ac_ct_RANLIB" = x; then
7697    RANLIB=":"
7698  else
7699    case $cross_compiling:$ac_tool_warned in
7700yes:)
7701{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7702$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7703ac_tool_warned=yes ;;
7704esac
7705    RANLIB=$ac_ct_RANLIB
7706  fi
7707else
7708  RANLIB="$ac_cv_prog_RANLIB"
7709fi
7710
7711test -z "$RANLIB" && RANLIB=:
7712
7713
7714
7715
7716
7717
7718# Determine commands to create old-style static archives.
7719old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7720old_postinstall_cmds='chmod 644 $oldlib'
7721old_postuninstall_cmds=
7722
7723if test -n "$RANLIB"; then
7724  case $host_os in
7725  bitrig* | openbsd*)
7726    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7727    ;;
7728  *)
7729    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7730    ;;
7731  esac
7732  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7733fi
7734
7735case $host_os in
7736  darwin*)
7737    lock_old_archive_extraction=yes ;;
7738  *)
7739    lock_old_archive_extraction=no ;;
7740esac
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780# If no C compiler was specified, use CC.
7781LTCC=${LTCC-"$CC"}
7782
7783# If no C compiler flags were specified, use CFLAGS.
7784LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7785
7786# Allow CC to be a program name with arguments.
7787compiler=$CC
7788
7789
7790# Check for command to grab the raw symbol name followed by C symbol from nm.
7791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7792$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7793if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7794  $as_echo_n "(cached) " >&6
7795else
7796
7797# These are sane defaults that work on at least a few old systems.
7798# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7799
7800# Character class describing NM global symbol codes.
7801symcode='[BCDEGRST]'
7802
7803# Regexp to match symbols that can be accessed directly from C.
7804sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7805
7806# Define system-specific variables.
7807case $host_os in
7808aix*)
7809  symcode='[BCDT]'
7810  ;;
7811cygwin* | mingw* | pw32* | cegcc*)
7812  symcode='[ABCDGISTW]'
7813  ;;
7814hpux*)
7815  if test ia64 = "$host_cpu"; then
7816    symcode='[ABCDEGRST]'
7817  fi
7818  ;;
7819irix* | nonstopux*)
7820  symcode='[BCDEGRST]'
7821  ;;
7822osf*)
7823  symcode='[BCDEGQRST]'
7824  ;;
7825solaris*)
7826  symcode='[BDRT]'
7827  ;;
7828sco3.2v5*)
7829  symcode='[DT]'
7830  ;;
7831sysv4.2uw2*)
7832  symcode='[DT]'
7833  ;;
7834sysv5* | sco5v6* | unixware* | OpenUNIX*)
7835  symcode='[ABDT]'
7836  ;;
7837sysv4)
7838  symcode='[DFNSTU]'
7839  ;;
7840esac
7841
7842# If we're using GNU nm, then use its standard symbol codes.
7843case `$NM -V 2>&1` in
7844*GNU* | *'with BFD'*)
7845  symcode='[ABCDGIRSTW]' ;;
7846esac
7847
7848if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7849  # Gets list of data symbols to import.
7850  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7851  # Adjust the below global symbol transforms to fixup imported variables.
7852  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7853  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7854  lt_c_name_lib_hook="\
7855  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7856  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7857else
7858  # Disable hooks by default.
7859  lt_cv_sys_global_symbol_to_import=
7860  lt_cdecl_hook=
7861  lt_c_name_hook=
7862  lt_c_name_lib_hook=
7863fi
7864
7865# Transform an extracted symbol line into a proper C declaration.
7866# Some systems (esp. on ia64) link data and code symbols differently,
7867# so use this general approach.
7868lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7869$lt_cdecl_hook\
7870" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7871" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7872
7873# Transform an extracted symbol line into symbol name and symbol address
7874lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7875$lt_c_name_hook\
7876" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7877" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7878
7879# Transform an extracted symbol line into symbol name with lib prefix and
7880# symbol address.
7881lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7882$lt_c_name_lib_hook\
7883" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7884" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7885" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7886
7887# Handle CRLF in mingw tool chain
7888opt_cr=
7889case $build_os in
7890mingw*)
7891  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7892  ;;
7893esac
7894
7895# Try without a prefix underscore, then with it.
7896for ac_symprfx in "" "_"; do
7897
7898  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7899  symxfrm="\\1 $ac_symprfx\\2 \\2"
7900
7901  # Write the raw and C identifiers.
7902  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7903    # Fake it for dumpbin and say T for any non-static function,
7904    # D for any global variable and I for any imported variable.
7905    # Also find C++ and __fastcall symbols from MSVC++,
7906    # which start with @ or ?.
7907    lt_cv_sys_global_symbol_pipe="$AWK '"\
7908"     {last_section=section; section=\$ 3};"\
7909"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7910"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7911"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7912"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7913"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7914"     \$ 0!~/External *\|/{next};"\
7915"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7916"     {if(hide[section]) next};"\
7917"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7918"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7919"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7920"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7921"     ' prfx=^$ac_symprfx"
7922  else
7923    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7924  fi
7925  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7926
7927  # Check to see that the pipe works correctly.
7928  pipe_works=no
7929
7930  rm -f conftest*
7931  cat > conftest.$ac_ext <<_LT_EOF
7932#ifdef __cplusplus
7933extern "C" {
7934#endif
7935char nm_test_var;
7936void nm_test_func(void);
7937void nm_test_func(void){}
7938#ifdef __cplusplus
7939}
7940#endif
7941int main(){nm_test_var='a';nm_test_func();return(0);}
7942_LT_EOF
7943
7944  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7945  (eval $ac_compile) 2>&5
7946  ac_status=$?
7947  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7948  test $ac_status = 0; }; then
7949    # Now try to grab the symbols.
7950    nlist=conftest.nm
7951    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7952  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7953  ac_status=$?
7954  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7955  test $ac_status = 0; } && test -s "$nlist"; then
7956      # Try sorting and uniquifying the output.
7957      if sort "$nlist" | uniq > "$nlist"T; then
7958	mv -f "$nlist"T "$nlist"
7959      else
7960	rm -f "$nlist"T
7961      fi
7962
7963      # Make sure that we snagged all the symbols we need.
7964      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7965	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7966	  cat <<_LT_EOF > conftest.$ac_ext
7967/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7968#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7969/* DATA imports from DLLs on WIN32 can't be const, because runtime
7970   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7971# define LT_DLSYM_CONST
7972#elif defined __osf__
7973/* This system does not cope well with relocations in const data.  */
7974# define LT_DLSYM_CONST
7975#else
7976# define LT_DLSYM_CONST const
7977#endif
7978
7979#ifdef __cplusplus
7980extern "C" {
7981#endif
7982
7983_LT_EOF
7984	  # Now generate the symbol file.
7985	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7986
7987	  cat <<_LT_EOF >> conftest.$ac_ext
7988
7989/* The mapping between symbol names and symbols.  */
7990LT_DLSYM_CONST struct {
7991  const char *name;
7992  void       *address;
7993}
7994lt__PROGRAM__LTX_preloaded_symbols[] =
7995{
7996  { "@PROGRAM@", (void *) 0 },
7997_LT_EOF
7998	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7999	  cat <<\_LT_EOF >> conftest.$ac_ext
8000  {0, (void *) 0}
8001};
8002
8003/* This works around a problem in FreeBSD linker */
8004#ifdef FREEBSD_WORKAROUND
8005static const void *lt_preloaded_setup() {
8006  return lt__PROGRAM__LTX_preloaded_symbols;
8007}
8008#endif
8009
8010#ifdef __cplusplus
8011}
8012#endif
8013_LT_EOF
8014	  # Now try linking the two files.
8015	  mv conftest.$ac_objext conftstm.$ac_objext
8016	  lt_globsym_save_LIBS=$LIBS
8017	  lt_globsym_save_CFLAGS=$CFLAGS
8018	  LIBS=conftstm.$ac_objext
8019	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8020	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8021  (eval $ac_link) 2>&5
8022  ac_status=$?
8023  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8024  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8025	    pipe_works=yes
8026	  fi
8027	  LIBS=$lt_globsym_save_LIBS
8028	  CFLAGS=$lt_globsym_save_CFLAGS
8029	else
8030	  echo "cannot find nm_test_func in $nlist" >&5
8031	fi
8032      else
8033	echo "cannot find nm_test_var in $nlist" >&5
8034      fi
8035    else
8036      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8037    fi
8038  else
8039    echo "$progname: failed program was:" >&5
8040    cat conftest.$ac_ext >&5
8041  fi
8042  rm -rf conftest* conftst*
8043
8044  # Do not use the global_symbol_pipe unless it works.
8045  if test yes = "$pipe_works"; then
8046    break
8047  else
8048    lt_cv_sys_global_symbol_pipe=
8049  fi
8050done
8051
8052fi
8053
8054if test -z "$lt_cv_sys_global_symbol_pipe"; then
8055  lt_cv_sys_global_symbol_to_cdecl=
8056fi
8057if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8059$as_echo "failed" >&6; }
8060else
8061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8062$as_echo "ok" >&6; }
8063fi
8064
8065# Response file support.
8066if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8067  nm_file_list_spec='@'
8068elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8069  nm_file_list_spec='@'
8070fi
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8109$as_echo_n "checking for sysroot... " >&6; }
8110
8111# Check whether --with-sysroot was given.
8112if test "${with_sysroot+set}" = set; then :
8113  withval=$with_sysroot;
8114else
8115  with_sysroot=no
8116fi
8117
8118
8119lt_sysroot=
8120case $with_sysroot in #(
8121 yes)
8122   if test yes = "$GCC"; then
8123     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8124   fi
8125   ;; #(
8126 /*)
8127   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8128   ;; #(
8129 no|'')
8130   ;; #(
8131 *)
8132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8133$as_echo "$with_sysroot" >&6; }
8134   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8135   ;;
8136esac
8137
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8139$as_echo "${lt_sysroot:-no}" >&6; }
8140
8141
8142
8143
8144
8145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8146$as_echo_n "checking for a working dd... " >&6; }
8147if ${ac_cv_path_lt_DD+:} false; then :
8148  $as_echo_n "(cached) " >&6
8149else
8150  printf 0123456789abcdef0123456789abcdef >conftest.i
8151cat conftest.i conftest.i >conftest2.i
8152: ${lt_DD:=$DD}
8153if test -z "$lt_DD"; then
8154  ac_path_lt_DD_found=false
8155  # Loop through the user's path and test for each of PROGNAME-LIST
8156  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157for as_dir in $PATH
8158do
8159  IFS=$as_save_IFS
8160  test -z "$as_dir" && as_dir=.
8161    for ac_prog in dd; do
8162    for ac_exec_ext in '' $ac_executable_extensions; do
8163      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8164      as_fn_executable_p "$ac_path_lt_DD" || continue
8165if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8166  cmp -s conftest.i conftest.out \
8167  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8168fi
8169      $ac_path_lt_DD_found && break 3
8170    done
8171  done
8172  done
8173IFS=$as_save_IFS
8174  if test -z "$ac_cv_path_lt_DD"; then
8175    :
8176  fi
8177else
8178  ac_cv_path_lt_DD=$lt_DD
8179fi
8180
8181rm -f conftest.i conftest2.i conftest.out
8182fi
8183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8184$as_echo "$ac_cv_path_lt_DD" >&6; }
8185
8186
8187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8188$as_echo_n "checking how to truncate binary pipes... " >&6; }
8189if ${lt_cv_truncate_bin+:} false; then :
8190  $as_echo_n "(cached) " >&6
8191else
8192  printf 0123456789abcdef0123456789abcdef >conftest.i
8193cat conftest.i conftest.i >conftest2.i
8194lt_cv_truncate_bin=
8195if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8196  cmp -s conftest.i conftest.out \
8197  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8198fi
8199rm -f conftest.i conftest2.i conftest.out
8200test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8201fi
8202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8203$as_echo "$lt_cv_truncate_bin" >&6; }
8204
8205
8206
8207
8208
8209
8210
8211# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8212func_cc_basename ()
8213{
8214    for cc_temp in $*""; do
8215      case $cc_temp in
8216        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8217        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8218        \-*) ;;
8219        *) break;;
8220      esac
8221    done
8222    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8223}
8224
8225# Check whether --enable-libtool-lock was given.
8226if test "${enable_libtool_lock+set}" = set; then :
8227  enableval=$enable_libtool_lock;
8228fi
8229
8230test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8231
8232# Some flags need to be propagated to the compiler or linker for good
8233# libtool support.
8234case $host in
8235ia64-*-hpux*)
8236  # Find out what ABI is being produced by ac_compile, and set mode
8237  # options accordingly.
8238  echo 'int i;' > conftest.$ac_ext
8239  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8240  (eval $ac_compile) 2>&5
8241  ac_status=$?
8242  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8243  test $ac_status = 0; }; then
8244    case `/usr/bin/file conftest.$ac_objext` in
8245      *ELF-32*)
8246	HPUX_IA64_MODE=32
8247	;;
8248      *ELF-64*)
8249	HPUX_IA64_MODE=64
8250	;;
8251    esac
8252  fi
8253  rm -rf conftest*
8254  ;;
8255*-*-irix6*)
8256  # Find out what ABI is being produced by ac_compile, and set linker
8257  # options accordingly.
8258  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8259  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8260  (eval $ac_compile) 2>&5
8261  ac_status=$?
8262  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8263  test $ac_status = 0; }; then
8264    if test yes = "$lt_cv_prog_gnu_ld"; then
8265      case `/usr/bin/file conftest.$ac_objext` in
8266	*32-bit*)
8267	  LD="${LD-ld} -melf32bsmip"
8268	  ;;
8269	*N32*)
8270	  LD="${LD-ld} -melf32bmipn32"
8271	  ;;
8272	*64-bit*)
8273	  LD="${LD-ld} -melf64bmip"
8274	;;
8275      esac
8276    else
8277      case `/usr/bin/file conftest.$ac_objext` in
8278	*32-bit*)
8279	  LD="${LD-ld} -32"
8280	  ;;
8281	*N32*)
8282	  LD="${LD-ld} -n32"
8283	  ;;
8284	*64-bit*)
8285	  LD="${LD-ld} -64"
8286	  ;;
8287      esac
8288    fi
8289  fi
8290  rm -rf conftest*
8291  ;;
8292
8293mips64*-*linux*)
8294  # Find out what ABI is being produced by ac_compile, and set linker
8295  # options accordingly.
8296  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8297  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8298  (eval $ac_compile) 2>&5
8299  ac_status=$?
8300  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8301  test $ac_status = 0; }; then
8302    emul=elf
8303    case `/usr/bin/file conftest.$ac_objext` in
8304      *32-bit*)
8305	emul="${emul}32"
8306	;;
8307      *64-bit*)
8308	emul="${emul}64"
8309	;;
8310    esac
8311    case `/usr/bin/file conftest.$ac_objext` in
8312      *MSB*)
8313	emul="${emul}btsmip"
8314	;;
8315      *LSB*)
8316	emul="${emul}ltsmip"
8317	;;
8318    esac
8319    case `/usr/bin/file conftest.$ac_objext` in
8320      *N32*)
8321	emul="${emul}n32"
8322	;;
8323    esac
8324    LD="${LD-ld} -m $emul"
8325  fi
8326  rm -rf conftest*
8327  ;;
8328
8329x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8330s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8331  # Find out what ABI is being produced by ac_compile, and set linker
8332  # options accordingly.  Note that the listed cases only cover the
8333  # situations where additional linker options are needed (such as when
8334  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8335  # vice versa); the common cases where no linker options are needed do
8336  # not appear in the list.
8337  echo 'int i;' > conftest.$ac_ext
8338  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8339  (eval $ac_compile) 2>&5
8340  ac_status=$?
8341  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8342  test $ac_status = 0; }; then
8343    case `/usr/bin/file conftest.o` in
8344      *32-bit*)
8345	case $host in
8346	  x86_64-*kfreebsd*-gnu)
8347	    LD="${LD-ld} -m elf_i386_fbsd"
8348	    ;;
8349	  x86_64-*linux*)
8350	    case `/usr/bin/file conftest.o` in
8351	      *x86-64*)
8352		LD="${LD-ld} -m elf32_x86_64"
8353		;;
8354	      *)
8355		LD="${LD-ld} -m elf_i386"
8356		;;
8357	    esac
8358	    ;;
8359	  powerpc64le-*linux*)
8360	    LD="${LD-ld} -m elf32lppclinux"
8361	    ;;
8362	  powerpc64-*linux*)
8363	    LD="${LD-ld} -m elf32ppclinux"
8364	    ;;
8365	  s390x-*linux*)
8366	    LD="${LD-ld} -m elf_s390"
8367	    ;;
8368	  sparc64-*linux*)
8369	    LD="${LD-ld} -m elf32_sparc"
8370	    ;;
8371	esac
8372	;;
8373      *64-bit*)
8374	case $host in
8375	  x86_64-*kfreebsd*-gnu)
8376	    LD="${LD-ld} -m elf_x86_64_fbsd"
8377	    ;;
8378	  x86_64-*linux*)
8379	    LD="${LD-ld} -m elf_x86_64"
8380	    ;;
8381	  powerpcle-*linux*)
8382	    LD="${LD-ld} -m elf64lppc"
8383	    ;;
8384	  powerpc-*linux*)
8385	    LD="${LD-ld} -m elf64ppc"
8386	    ;;
8387	  s390*-*linux*|s390*-*tpf*)
8388	    LD="${LD-ld} -m elf64_s390"
8389	    ;;
8390	  sparc*-*linux*)
8391	    LD="${LD-ld} -m elf64_sparc"
8392	    ;;
8393	esac
8394	;;
8395    esac
8396  fi
8397  rm -rf conftest*
8398  ;;
8399
8400*-*-sco3.2v5*)
8401  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8402  SAVE_CFLAGS=$CFLAGS
8403  CFLAGS="$CFLAGS -belf"
8404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8405$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8406if ${lt_cv_cc_needs_belf+:} false; then :
8407  $as_echo_n "(cached) " >&6
8408else
8409  ac_ext=c
8410ac_cpp='$CPP $CPPFLAGS'
8411ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8412ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8413ac_compiler_gnu=$ac_cv_c_compiler_gnu
8414
8415     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8416/* end confdefs.h.  */
8417
8418int
8419main ()
8420{
8421
8422  ;
8423  return 0;
8424}
8425_ACEOF
8426if ac_fn_c_try_link "$LINENO"; then :
8427  lt_cv_cc_needs_belf=yes
8428else
8429  lt_cv_cc_needs_belf=no
8430fi
8431rm -f core conftest.err conftest.$ac_objext \
8432    conftest$ac_exeext conftest.$ac_ext
8433     ac_ext=c
8434ac_cpp='$CPP $CPPFLAGS'
8435ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8436ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8437ac_compiler_gnu=$ac_cv_c_compiler_gnu
8438
8439fi
8440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8441$as_echo "$lt_cv_cc_needs_belf" >&6; }
8442  if test yes != "$lt_cv_cc_needs_belf"; then
8443    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8444    CFLAGS=$SAVE_CFLAGS
8445  fi
8446  ;;
8447*-*solaris*)
8448  # Find out what ABI is being produced by ac_compile, and set linker
8449  # options accordingly.
8450  echo 'int i;' > conftest.$ac_ext
8451  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8452  (eval $ac_compile) 2>&5
8453  ac_status=$?
8454  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8455  test $ac_status = 0; }; then
8456    case `/usr/bin/file conftest.o` in
8457    *64-bit*)
8458      case $lt_cv_prog_gnu_ld in
8459      yes*)
8460        case $host in
8461        i?86-*-solaris*|x86_64-*-solaris*)
8462          LD="${LD-ld} -m elf_x86_64"
8463          ;;
8464        sparc*-*-solaris*)
8465          LD="${LD-ld} -m elf64_sparc"
8466          ;;
8467        esac
8468        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8469        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8470          LD=${LD-ld}_sol2
8471        fi
8472        ;;
8473      *)
8474	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8475	  LD="${LD-ld} -64"
8476	fi
8477	;;
8478      esac
8479      ;;
8480    esac
8481  fi
8482  rm -rf conftest*
8483  ;;
8484esac
8485
8486need_locks=$enable_libtool_lock
8487
8488if test -n "$ac_tool_prefix"; then
8489  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8490set dummy ${ac_tool_prefix}mt; ac_word=$2
8491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8492$as_echo_n "checking for $ac_word... " >&6; }
8493if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8494  $as_echo_n "(cached) " >&6
8495else
8496  if test -n "$MANIFEST_TOOL"; then
8497  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8498else
8499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8500for as_dir in $PATH
8501do
8502  IFS=$as_save_IFS
8503  test -z "$as_dir" && as_dir=.
8504    for ac_exec_ext in '' $ac_executable_extensions; do
8505  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8506    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8507    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8508    break 2
8509  fi
8510done
8511  done
8512IFS=$as_save_IFS
8513
8514fi
8515fi
8516MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8517if test -n "$MANIFEST_TOOL"; then
8518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8519$as_echo "$MANIFEST_TOOL" >&6; }
8520else
8521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522$as_echo "no" >&6; }
8523fi
8524
8525
8526fi
8527if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8528  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8529  # Extract the first word of "mt", so it can be a program name with args.
8530set dummy mt; ac_word=$2
8531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532$as_echo_n "checking for $ac_word... " >&6; }
8533if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8534  $as_echo_n "(cached) " >&6
8535else
8536  if test -n "$ac_ct_MANIFEST_TOOL"; then
8537  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8538else
8539as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8540for as_dir in $PATH
8541do
8542  IFS=$as_save_IFS
8543  test -z "$as_dir" && as_dir=.
8544    for ac_exec_ext in '' $ac_executable_extensions; do
8545  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8546    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8547    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8548    break 2
8549  fi
8550done
8551  done
8552IFS=$as_save_IFS
8553
8554fi
8555fi
8556ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8557if test -n "$ac_ct_MANIFEST_TOOL"; then
8558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8559$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8560else
8561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562$as_echo "no" >&6; }
8563fi
8564
8565  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8566    MANIFEST_TOOL=":"
8567  else
8568    case $cross_compiling:$ac_tool_warned in
8569yes:)
8570{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8571$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8572ac_tool_warned=yes ;;
8573esac
8574    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8575  fi
8576else
8577  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8578fi
8579
8580test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8582$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8583if ${lt_cv_path_mainfest_tool+:} false; then :
8584  $as_echo_n "(cached) " >&6
8585else
8586  lt_cv_path_mainfest_tool=no
8587  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8588  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8589  cat conftest.err >&5
8590  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8591    lt_cv_path_mainfest_tool=yes
8592  fi
8593  rm -f conftest*
8594fi
8595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8596$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8597if test yes != "$lt_cv_path_mainfest_tool"; then
8598  MANIFEST_TOOL=:
8599fi
8600
8601
8602
8603
8604
8605
8606  case $host_os in
8607    rhapsody* | darwin*)
8608    if test -n "$ac_tool_prefix"; then
8609  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8610set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8612$as_echo_n "checking for $ac_word... " >&6; }
8613if ${ac_cv_prog_DSYMUTIL+:} false; then :
8614  $as_echo_n "(cached) " >&6
8615else
8616  if test -n "$DSYMUTIL"; then
8617  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8618else
8619as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8620for as_dir in $PATH
8621do
8622  IFS=$as_save_IFS
8623  test -z "$as_dir" && as_dir=.
8624    for ac_exec_ext in '' $ac_executable_extensions; do
8625  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8626    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8627    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8628    break 2
8629  fi
8630done
8631  done
8632IFS=$as_save_IFS
8633
8634fi
8635fi
8636DSYMUTIL=$ac_cv_prog_DSYMUTIL
8637if test -n "$DSYMUTIL"; then
8638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8639$as_echo "$DSYMUTIL" >&6; }
8640else
8641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8642$as_echo "no" >&6; }
8643fi
8644
8645
8646fi
8647if test -z "$ac_cv_prog_DSYMUTIL"; then
8648  ac_ct_DSYMUTIL=$DSYMUTIL
8649  # Extract the first word of "dsymutil", so it can be a program name with args.
8650set dummy dsymutil; ac_word=$2
8651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8652$as_echo_n "checking for $ac_word... " >&6; }
8653if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8654  $as_echo_n "(cached) " >&6
8655else
8656  if test -n "$ac_ct_DSYMUTIL"; then
8657  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8658else
8659as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8660for as_dir in $PATH
8661do
8662  IFS=$as_save_IFS
8663  test -z "$as_dir" && as_dir=.
8664    for ac_exec_ext in '' $ac_executable_extensions; do
8665  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8666    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8667    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8668    break 2
8669  fi
8670done
8671  done
8672IFS=$as_save_IFS
8673
8674fi
8675fi
8676ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8677if test -n "$ac_ct_DSYMUTIL"; then
8678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8679$as_echo "$ac_ct_DSYMUTIL" >&6; }
8680else
8681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8682$as_echo "no" >&6; }
8683fi
8684
8685  if test "x$ac_ct_DSYMUTIL" = x; then
8686    DSYMUTIL=":"
8687  else
8688    case $cross_compiling:$ac_tool_warned in
8689yes:)
8690{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8691$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8692ac_tool_warned=yes ;;
8693esac
8694    DSYMUTIL=$ac_ct_DSYMUTIL
8695  fi
8696else
8697  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8698fi
8699
8700    if test -n "$ac_tool_prefix"; then
8701  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8702set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8704$as_echo_n "checking for $ac_word... " >&6; }
8705if ${ac_cv_prog_NMEDIT+:} false; then :
8706  $as_echo_n "(cached) " >&6
8707else
8708  if test -n "$NMEDIT"; then
8709  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8710else
8711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8712for as_dir in $PATH
8713do
8714  IFS=$as_save_IFS
8715  test -z "$as_dir" && as_dir=.
8716    for ac_exec_ext in '' $ac_executable_extensions; do
8717  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8718    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8719    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8720    break 2
8721  fi
8722done
8723  done
8724IFS=$as_save_IFS
8725
8726fi
8727fi
8728NMEDIT=$ac_cv_prog_NMEDIT
8729if test -n "$NMEDIT"; then
8730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8731$as_echo "$NMEDIT" >&6; }
8732else
8733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8734$as_echo "no" >&6; }
8735fi
8736
8737
8738fi
8739if test -z "$ac_cv_prog_NMEDIT"; then
8740  ac_ct_NMEDIT=$NMEDIT
8741  # Extract the first word of "nmedit", so it can be a program name with args.
8742set dummy nmedit; ac_word=$2
8743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8744$as_echo_n "checking for $ac_word... " >&6; }
8745if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8746  $as_echo_n "(cached) " >&6
8747else
8748  if test -n "$ac_ct_NMEDIT"; then
8749  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8750else
8751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8752for as_dir in $PATH
8753do
8754  IFS=$as_save_IFS
8755  test -z "$as_dir" && as_dir=.
8756    for ac_exec_ext in '' $ac_executable_extensions; do
8757  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8758    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8759    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8760    break 2
8761  fi
8762done
8763  done
8764IFS=$as_save_IFS
8765
8766fi
8767fi
8768ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8769if test -n "$ac_ct_NMEDIT"; then
8770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8771$as_echo "$ac_ct_NMEDIT" >&6; }
8772else
8773  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8774$as_echo "no" >&6; }
8775fi
8776
8777  if test "x$ac_ct_NMEDIT" = x; then
8778    NMEDIT=":"
8779  else
8780    case $cross_compiling:$ac_tool_warned in
8781yes:)
8782{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8783$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8784ac_tool_warned=yes ;;
8785esac
8786    NMEDIT=$ac_ct_NMEDIT
8787  fi
8788else
8789  NMEDIT="$ac_cv_prog_NMEDIT"
8790fi
8791
8792    if test -n "$ac_tool_prefix"; then
8793  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8794set dummy ${ac_tool_prefix}lipo; ac_word=$2
8795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8796$as_echo_n "checking for $ac_word... " >&6; }
8797if ${ac_cv_prog_LIPO+:} false; then :
8798  $as_echo_n "(cached) " >&6
8799else
8800  if test -n "$LIPO"; then
8801  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8802else
8803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8804for as_dir in $PATH
8805do
8806  IFS=$as_save_IFS
8807  test -z "$as_dir" && as_dir=.
8808    for ac_exec_ext in '' $ac_executable_extensions; do
8809  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8810    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8811    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8812    break 2
8813  fi
8814done
8815  done
8816IFS=$as_save_IFS
8817
8818fi
8819fi
8820LIPO=$ac_cv_prog_LIPO
8821if test -n "$LIPO"; then
8822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8823$as_echo "$LIPO" >&6; }
8824else
8825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8826$as_echo "no" >&6; }
8827fi
8828
8829
8830fi
8831if test -z "$ac_cv_prog_LIPO"; then
8832  ac_ct_LIPO=$LIPO
8833  # Extract the first word of "lipo", so it can be a program name with args.
8834set dummy lipo; ac_word=$2
8835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8836$as_echo_n "checking for $ac_word... " >&6; }
8837if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8838  $as_echo_n "(cached) " >&6
8839else
8840  if test -n "$ac_ct_LIPO"; then
8841  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8842else
8843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8844for as_dir in $PATH
8845do
8846  IFS=$as_save_IFS
8847  test -z "$as_dir" && as_dir=.
8848    for ac_exec_ext in '' $ac_executable_extensions; do
8849  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8850    ac_cv_prog_ac_ct_LIPO="lipo"
8851    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8852    break 2
8853  fi
8854done
8855  done
8856IFS=$as_save_IFS
8857
8858fi
8859fi
8860ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8861if test -n "$ac_ct_LIPO"; then
8862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8863$as_echo "$ac_ct_LIPO" >&6; }
8864else
8865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8866$as_echo "no" >&6; }
8867fi
8868
8869  if test "x$ac_ct_LIPO" = x; then
8870    LIPO=":"
8871  else
8872    case $cross_compiling:$ac_tool_warned in
8873yes:)
8874{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8875$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8876ac_tool_warned=yes ;;
8877esac
8878    LIPO=$ac_ct_LIPO
8879  fi
8880else
8881  LIPO="$ac_cv_prog_LIPO"
8882fi
8883
8884    if test -n "$ac_tool_prefix"; then
8885  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8886set dummy ${ac_tool_prefix}otool; ac_word=$2
8887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8888$as_echo_n "checking for $ac_word... " >&6; }
8889if ${ac_cv_prog_OTOOL+:} false; then :
8890  $as_echo_n "(cached) " >&6
8891else
8892  if test -n "$OTOOL"; then
8893  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8894else
8895as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8896for as_dir in $PATH
8897do
8898  IFS=$as_save_IFS
8899  test -z "$as_dir" && as_dir=.
8900    for ac_exec_ext in '' $ac_executable_extensions; do
8901  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8902    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8903    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8904    break 2
8905  fi
8906done
8907  done
8908IFS=$as_save_IFS
8909
8910fi
8911fi
8912OTOOL=$ac_cv_prog_OTOOL
8913if test -n "$OTOOL"; then
8914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8915$as_echo "$OTOOL" >&6; }
8916else
8917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8918$as_echo "no" >&6; }
8919fi
8920
8921
8922fi
8923if test -z "$ac_cv_prog_OTOOL"; then
8924  ac_ct_OTOOL=$OTOOL
8925  # Extract the first word of "otool", so it can be a program name with args.
8926set dummy otool; ac_word=$2
8927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8928$as_echo_n "checking for $ac_word... " >&6; }
8929if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8930  $as_echo_n "(cached) " >&6
8931else
8932  if test -n "$ac_ct_OTOOL"; then
8933  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8934else
8935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8936for as_dir in $PATH
8937do
8938  IFS=$as_save_IFS
8939  test -z "$as_dir" && as_dir=.
8940    for ac_exec_ext in '' $ac_executable_extensions; do
8941  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8942    ac_cv_prog_ac_ct_OTOOL="otool"
8943    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8944    break 2
8945  fi
8946done
8947  done
8948IFS=$as_save_IFS
8949
8950fi
8951fi
8952ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8953if test -n "$ac_ct_OTOOL"; then
8954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8955$as_echo "$ac_ct_OTOOL" >&6; }
8956else
8957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8958$as_echo "no" >&6; }
8959fi
8960
8961  if test "x$ac_ct_OTOOL" = x; then
8962    OTOOL=":"
8963  else
8964    case $cross_compiling:$ac_tool_warned in
8965yes:)
8966{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8967$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8968ac_tool_warned=yes ;;
8969esac
8970    OTOOL=$ac_ct_OTOOL
8971  fi
8972else
8973  OTOOL="$ac_cv_prog_OTOOL"
8974fi
8975
8976    if test -n "$ac_tool_prefix"; then
8977  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8978set dummy ${ac_tool_prefix}otool64; ac_word=$2
8979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8980$as_echo_n "checking for $ac_word... " >&6; }
8981if ${ac_cv_prog_OTOOL64+:} false; then :
8982  $as_echo_n "(cached) " >&6
8983else
8984  if test -n "$OTOOL64"; then
8985  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8986else
8987as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8988for as_dir in $PATH
8989do
8990  IFS=$as_save_IFS
8991  test -z "$as_dir" && as_dir=.
8992    for ac_exec_ext in '' $ac_executable_extensions; do
8993  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8994    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8995    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8996    break 2
8997  fi
8998done
8999  done
9000IFS=$as_save_IFS
9001
9002fi
9003fi
9004OTOOL64=$ac_cv_prog_OTOOL64
9005if test -n "$OTOOL64"; then
9006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9007$as_echo "$OTOOL64" >&6; }
9008else
9009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9010$as_echo "no" >&6; }
9011fi
9012
9013
9014fi
9015if test -z "$ac_cv_prog_OTOOL64"; then
9016  ac_ct_OTOOL64=$OTOOL64
9017  # Extract the first word of "otool64", so it can be a program name with args.
9018set dummy otool64; ac_word=$2
9019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9020$as_echo_n "checking for $ac_word... " >&6; }
9021if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9022  $as_echo_n "(cached) " >&6
9023else
9024  if test -n "$ac_ct_OTOOL64"; then
9025  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9026else
9027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9028for as_dir in $PATH
9029do
9030  IFS=$as_save_IFS
9031  test -z "$as_dir" && as_dir=.
9032    for ac_exec_ext in '' $ac_executable_extensions; do
9033  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9034    ac_cv_prog_ac_ct_OTOOL64="otool64"
9035    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9036    break 2
9037  fi
9038done
9039  done
9040IFS=$as_save_IFS
9041
9042fi
9043fi
9044ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9045if test -n "$ac_ct_OTOOL64"; then
9046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9047$as_echo "$ac_ct_OTOOL64" >&6; }
9048else
9049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9050$as_echo "no" >&6; }
9051fi
9052
9053  if test "x$ac_ct_OTOOL64" = x; then
9054    OTOOL64=":"
9055  else
9056    case $cross_compiling:$ac_tool_warned in
9057yes:)
9058{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9059$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9060ac_tool_warned=yes ;;
9061esac
9062    OTOOL64=$ac_ct_OTOOL64
9063  fi
9064else
9065  OTOOL64="$ac_cv_prog_OTOOL64"
9066fi
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9095$as_echo_n "checking for -single_module linker flag... " >&6; }
9096if ${lt_cv_apple_cc_single_mod+:} false; then :
9097  $as_echo_n "(cached) " >&6
9098else
9099  lt_cv_apple_cc_single_mod=no
9100      if test -z "$LT_MULTI_MODULE"; then
9101	# By default we will add the -single_module flag. You can override
9102	# by either setting the environment variable LT_MULTI_MODULE
9103	# non-empty at configure time, or by adding -multi_module to the
9104	# link flags.
9105	rm -rf libconftest.dylib*
9106	echo "int foo(void){return 1;}" > conftest.c
9107	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9108-dynamiclib -Wl,-single_module conftest.c" >&5
9109	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9110	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9111        _lt_result=$?
9112	# If there is a non-empty error log, and "single_module"
9113	# appears in it, assume the flag caused a linker warning
9114        if test -s conftest.err && $GREP single_module conftest.err; then
9115	  cat conftest.err >&5
9116	# Otherwise, if the output was created with a 0 exit code from
9117	# the compiler, it worked.
9118	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9119	  lt_cv_apple_cc_single_mod=yes
9120	else
9121	  cat conftest.err >&5
9122	fi
9123	rm -rf libconftest.dylib*
9124	rm -f conftest.*
9125      fi
9126fi
9127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9128$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9129
9130    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9131$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9132if ${lt_cv_ld_exported_symbols_list+:} false; then :
9133  $as_echo_n "(cached) " >&6
9134else
9135  lt_cv_ld_exported_symbols_list=no
9136      save_LDFLAGS=$LDFLAGS
9137      echo "_main" > conftest.sym
9138      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9139      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9140/* end confdefs.h.  */
9141
9142int
9143main ()
9144{
9145
9146  ;
9147  return 0;
9148}
9149_ACEOF
9150if ac_fn_c_try_link "$LINENO"; then :
9151  lt_cv_ld_exported_symbols_list=yes
9152else
9153  lt_cv_ld_exported_symbols_list=no
9154fi
9155rm -f core conftest.err conftest.$ac_objext \
9156    conftest$ac_exeext conftest.$ac_ext
9157	LDFLAGS=$save_LDFLAGS
9158
9159fi
9160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9161$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9162
9163    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9164$as_echo_n "checking for -force_load linker flag... " >&6; }
9165if ${lt_cv_ld_force_load+:} false; then :
9166  $as_echo_n "(cached) " >&6
9167else
9168  lt_cv_ld_force_load=no
9169      cat > conftest.c << _LT_EOF
9170int forced_loaded() { return 2;}
9171_LT_EOF
9172      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9173      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9174      echo "$AR cru libconftest.a conftest.o" >&5
9175      $AR cru libconftest.a conftest.o 2>&5
9176      echo "$RANLIB libconftest.a" >&5
9177      $RANLIB libconftest.a 2>&5
9178      cat > conftest.c << _LT_EOF
9179int main() { return 0;}
9180_LT_EOF
9181      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9182      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9183      _lt_result=$?
9184      if test -s conftest.err && $GREP force_load conftest.err; then
9185	cat conftest.err >&5
9186      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9187	lt_cv_ld_force_load=yes
9188      else
9189	cat conftest.err >&5
9190      fi
9191        rm -f conftest.err libconftest.a conftest conftest.c
9192        rm -rf conftest.dSYM
9193
9194fi
9195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9196$as_echo "$lt_cv_ld_force_load" >&6; }
9197    case $host_os in
9198    rhapsody* | darwin1.[012])
9199      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9200    darwin1.*)
9201      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9202    darwin*) # darwin 5.x on
9203      # if running on 10.5 or later, the deployment target defaults
9204      # to the OS version, if on x86, and 10.4, the deployment
9205      # target defaults to 10.4. Don't you love it?
9206      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9207	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9208	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9209	10.[012][,.]*)
9210	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9211	10.*)
9212	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9213      esac
9214    ;;
9215  esac
9216    if test yes = "$lt_cv_apple_cc_single_mod"; then
9217      _lt_dar_single_mod='$single_module'
9218    fi
9219    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9220      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9221    else
9222      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9223    fi
9224    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9225      _lt_dsymutil='~$DSYMUTIL $lib || :'
9226    else
9227      _lt_dsymutil=
9228    fi
9229    ;;
9230  esac
9231
9232# func_munge_path_list VARIABLE PATH
9233# -----------------------------------
9234# VARIABLE is name of variable containing _space_ separated list of
9235# directories to be munged by the contents of PATH, which is string
9236# having a format:
9237# "DIR[:DIR]:"
9238#       string "DIR[ DIR]" will be prepended to VARIABLE
9239# ":DIR[:DIR]"
9240#       string "DIR[ DIR]" will be appended to VARIABLE
9241# "DIRP[:DIRP]::[DIRA:]DIRA"
9242#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9243#       "DIRA[ DIRA]" will be appended to VARIABLE
9244# "DIR[:DIR]"
9245#       VARIABLE will be replaced by "DIR[ DIR]"
9246func_munge_path_list ()
9247{
9248    case x$2 in
9249    x)
9250        ;;
9251    *:)
9252        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9253        ;;
9254    x:*)
9255        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9256        ;;
9257    *::*)
9258        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9259        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9260        ;;
9261    *)
9262        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9263        ;;
9264    esac
9265}
9266
9267for ac_header in dlfcn.h
9268do :
9269  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9270"
9271if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9272  cat >>confdefs.h <<_ACEOF
9273#define HAVE_DLFCN_H 1
9274_ACEOF
9275
9276fi
9277
9278done
9279
9280
9281
9282
9283func_stripname_cnf ()
9284{
9285  case $2 in
9286  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9287  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9288  esac
9289} # func_stripname_cnf
9290
9291
9292
9293
9294
9295# Set options
9296
9297
9298
9299        enable_dlopen=no
9300
9301
9302  enable_win32_dll=no
9303
9304
9305            # Check whether --enable-shared was given.
9306if test "${enable_shared+set}" = set; then :
9307  enableval=$enable_shared; p=${PACKAGE-default}
9308    case $enableval in
9309    yes) enable_shared=yes ;;
9310    no) enable_shared=no ;;
9311    *)
9312      enable_shared=no
9313      # Look at the argument we got.  We use all the common list separators.
9314      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9315      for pkg in $enableval; do
9316	IFS=$lt_save_ifs
9317	if test "X$pkg" = "X$p"; then
9318	  enable_shared=yes
9319	fi
9320      done
9321      IFS=$lt_save_ifs
9322      ;;
9323    esac
9324else
9325  enable_shared=yes
9326fi
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336  # Check whether --enable-static was given.
9337if test "${enable_static+set}" = set; then :
9338  enableval=$enable_static; p=${PACKAGE-default}
9339    case $enableval in
9340    yes) enable_static=yes ;;
9341    no) enable_static=no ;;
9342    *)
9343     enable_static=no
9344      # Look at the argument we got.  We use all the common list separators.
9345      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9346      for pkg in $enableval; do
9347	IFS=$lt_save_ifs
9348	if test "X$pkg" = "X$p"; then
9349	  enable_static=yes
9350	fi
9351      done
9352      IFS=$lt_save_ifs
9353      ;;
9354    esac
9355else
9356  enable_static=yes
9357fi
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368# Check whether --with-pic was given.
9369if test "${with_pic+set}" = set; then :
9370  withval=$with_pic; lt_p=${PACKAGE-default}
9371    case $withval in
9372    yes|no) pic_mode=$withval ;;
9373    *)
9374      pic_mode=default
9375      # Look at the argument we got.  We use all the common list separators.
9376      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9377      for lt_pkg in $withval; do
9378	IFS=$lt_save_ifs
9379	if test "X$lt_pkg" = "X$lt_p"; then
9380	  pic_mode=yes
9381	fi
9382      done
9383      IFS=$lt_save_ifs
9384      ;;
9385    esac
9386else
9387  pic_mode=default
9388fi
9389
9390
9391
9392
9393
9394
9395
9396
9397  # Check whether --enable-fast-install was given.
9398if test "${enable_fast_install+set}" = set; then :
9399  enableval=$enable_fast_install; p=${PACKAGE-default}
9400    case $enableval in
9401    yes) enable_fast_install=yes ;;
9402    no) enable_fast_install=no ;;
9403    *)
9404      enable_fast_install=no
9405      # Look at the argument we got.  We use all the common list separators.
9406      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9407      for pkg in $enableval; do
9408	IFS=$lt_save_ifs
9409	if test "X$pkg" = "X$p"; then
9410	  enable_fast_install=yes
9411	fi
9412      done
9413      IFS=$lt_save_ifs
9414      ;;
9415    esac
9416else
9417  enable_fast_install=yes
9418fi
9419
9420
9421
9422
9423
9424
9425
9426
9427  shared_archive_member_spec=
9428case $host,$enable_shared in
9429power*-*-aix[5-9]*,yes)
9430  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9431$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9432
9433# Check whether --with-aix-soname was given.
9434if test "${with_aix_soname+set}" = set; then :
9435  withval=$with_aix_soname; case $withval in
9436    aix|svr4|both)
9437      ;;
9438    *)
9439      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9440      ;;
9441    esac
9442    lt_cv_with_aix_soname=$with_aix_soname
9443else
9444  if ${lt_cv_with_aix_soname+:} false; then :
9445  $as_echo_n "(cached) " >&6
9446else
9447  lt_cv_with_aix_soname=aix
9448fi
9449
9450    with_aix_soname=$lt_cv_with_aix_soname
9451fi
9452
9453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9454$as_echo "$with_aix_soname" >&6; }
9455  if test aix != "$with_aix_soname"; then
9456    # For the AIX way of multilib, we name the shared archive member
9457    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9458    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9459    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9460    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9461    if test 64 = "${OBJECT_MODE-32}"; then
9462      shared_archive_member_spec=shr_64
9463    else
9464      shared_archive_member_spec=shr
9465    fi
9466  fi
9467  ;;
9468*)
9469  with_aix_soname=aix
9470  ;;
9471esac
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482# This can be used to rebuild libtool when needed
9483LIBTOOL_DEPS=$ltmain
9484
9485# Always use our own libtool.
9486LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517test -z "$LN_S" && LN_S="ln -s"
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532if test -n "${ZSH_VERSION+set}"; then
9533   setopt NO_GLOB_SUBST
9534fi
9535
9536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9537$as_echo_n "checking for objdir... " >&6; }
9538if ${lt_cv_objdir+:} false; then :
9539  $as_echo_n "(cached) " >&6
9540else
9541  rm -f .libs 2>/dev/null
9542mkdir .libs 2>/dev/null
9543if test -d .libs; then
9544  lt_cv_objdir=.libs
9545else
9546  # MS-DOS does not allow filenames that begin with a dot.
9547  lt_cv_objdir=_libs
9548fi
9549rmdir .libs 2>/dev/null
9550fi
9551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9552$as_echo "$lt_cv_objdir" >&6; }
9553objdir=$lt_cv_objdir
9554
9555
9556
9557
9558
9559cat >>confdefs.h <<_ACEOF
9560#define LT_OBJDIR "$lt_cv_objdir/"
9561_ACEOF
9562
9563
9564
9565
9566case $host_os in
9567aix3*)
9568  # AIX sometimes has problems with the GCC collect2 program.  For some
9569  # reason, if we set the COLLECT_NAMES environment variable, the problems
9570  # vanish in a puff of smoke.
9571  if test set != "${COLLECT_NAMES+set}"; then
9572    COLLECT_NAMES=
9573    export COLLECT_NAMES
9574  fi
9575  ;;
9576esac
9577
9578# Global variables:
9579ofile=libtool
9580can_build_shared=yes
9581
9582# All known linkers require a '.a' archive for static linking (except MSVC,
9583# which needs '.lib').
9584libext=a
9585
9586with_gnu_ld=$lt_cv_prog_gnu_ld
9587
9588old_CC=$CC
9589old_CFLAGS=$CFLAGS
9590
9591# Set sane defaults for various variables
9592test -z "$CC" && CC=cc
9593test -z "$LTCC" && LTCC=$CC
9594test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9595test -z "$LD" && LD=ld
9596test -z "$ac_objext" && ac_objext=o
9597
9598func_cc_basename $compiler
9599cc_basename=$func_cc_basename_result
9600
9601
9602# Only perform the check for file, if the check method requires it
9603test -z "$MAGIC_CMD" && MAGIC_CMD=file
9604case $deplibs_check_method in
9605file_magic*)
9606  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9607    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9608$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9609if ${lt_cv_path_MAGIC_CMD+:} false; then :
9610  $as_echo_n "(cached) " >&6
9611else
9612  case $MAGIC_CMD in
9613[\\/*] |  ?:[\\/]*)
9614  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9615  ;;
9616*)
9617  lt_save_MAGIC_CMD=$MAGIC_CMD
9618  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9619  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9620  for ac_dir in $ac_dummy; do
9621    IFS=$lt_save_ifs
9622    test -z "$ac_dir" && ac_dir=.
9623    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9624      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9625      if test -n "$file_magic_test_file"; then
9626	case $deplibs_check_method in
9627	"file_magic "*)
9628	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9629	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9630	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9631	    $EGREP "$file_magic_regex" > /dev/null; then
9632	    :
9633	  else
9634	    cat <<_LT_EOF 1>&2
9635
9636*** Warning: the command libtool uses to detect shared libraries,
9637*** $file_magic_cmd, produces output that libtool cannot recognize.
9638*** The result is that libtool may fail to recognize shared libraries
9639*** as such.  This will affect the creation of libtool libraries that
9640*** depend on shared libraries, but programs linked with such libtool
9641*** libraries will work regardless of this problem.  Nevertheless, you
9642*** may want to report the problem to your system manager and/or to
9643*** bug-libtool@gnu.org
9644
9645_LT_EOF
9646	  fi ;;
9647	esac
9648      fi
9649      break
9650    fi
9651  done
9652  IFS=$lt_save_ifs
9653  MAGIC_CMD=$lt_save_MAGIC_CMD
9654  ;;
9655esac
9656fi
9657
9658MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9659if test -n "$MAGIC_CMD"; then
9660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9661$as_echo "$MAGIC_CMD" >&6; }
9662else
9663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9664$as_echo "no" >&6; }
9665fi
9666
9667
9668
9669
9670
9671if test -z "$lt_cv_path_MAGIC_CMD"; then
9672  if test -n "$ac_tool_prefix"; then
9673    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9674$as_echo_n "checking for file... " >&6; }
9675if ${lt_cv_path_MAGIC_CMD+:} false; then :
9676  $as_echo_n "(cached) " >&6
9677else
9678  case $MAGIC_CMD in
9679[\\/*] |  ?:[\\/]*)
9680  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9681  ;;
9682*)
9683  lt_save_MAGIC_CMD=$MAGIC_CMD
9684  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9685  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9686  for ac_dir in $ac_dummy; do
9687    IFS=$lt_save_ifs
9688    test -z "$ac_dir" && ac_dir=.
9689    if test -f "$ac_dir/file"; then
9690      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9691      if test -n "$file_magic_test_file"; then
9692	case $deplibs_check_method in
9693	"file_magic "*)
9694	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9695	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9696	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9697	    $EGREP "$file_magic_regex" > /dev/null; then
9698	    :
9699	  else
9700	    cat <<_LT_EOF 1>&2
9701
9702*** Warning: the command libtool uses to detect shared libraries,
9703*** $file_magic_cmd, produces output that libtool cannot recognize.
9704*** The result is that libtool may fail to recognize shared libraries
9705*** as such.  This will affect the creation of libtool libraries that
9706*** depend on shared libraries, but programs linked with such libtool
9707*** libraries will work regardless of this problem.  Nevertheless, you
9708*** may want to report the problem to your system manager and/or to
9709*** bug-libtool@gnu.org
9710
9711_LT_EOF
9712	  fi ;;
9713	esac
9714      fi
9715      break
9716    fi
9717  done
9718  IFS=$lt_save_ifs
9719  MAGIC_CMD=$lt_save_MAGIC_CMD
9720  ;;
9721esac
9722fi
9723
9724MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9725if test -n "$MAGIC_CMD"; then
9726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9727$as_echo "$MAGIC_CMD" >&6; }
9728else
9729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9730$as_echo "no" >&6; }
9731fi
9732
9733
9734  else
9735    MAGIC_CMD=:
9736  fi
9737fi
9738
9739  fi
9740  ;;
9741esac
9742
9743# Use C for the default configuration in the libtool script
9744
9745lt_save_CC=$CC
9746ac_ext=c
9747ac_cpp='$CPP $CPPFLAGS'
9748ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9749ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9750ac_compiler_gnu=$ac_cv_c_compiler_gnu
9751
9752
9753# Source file extension for C test sources.
9754ac_ext=c
9755
9756# Object file extension for compiled C test sources.
9757objext=o
9758objext=$objext
9759
9760# Code to be used in simple compile tests
9761lt_simple_compile_test_code="int some_variable = 0;"
9762
9763# Code to be used in simple link tests
9764lt_simple_link_test_code='int main(){return(0);}'
9765
9766
9767
9768
9769
9770
9771
9772# If no C compiler was specified, use CC.
9773LTCC=${LTCC-"$CC"}
9774
9775# If no C compiler flags were specified, use CFLAGS.
9776LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9777
9778# Allow CC to be a program name with arguments.
9779compiler=$CC
9780
9781# Save the default compiler, since it gets overwritten when the other
9782# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9783compiler_DEFAULT=$CC
9784
9785# save warnings/boilerplate of simple test code
9786ac_outfile=conftest.$ac_objext
9787echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9788eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9789_lt_compiler_boilerplate=`cat conftest.err`
9790$RM conftest*
9791
9792ac_outfile=conftest.$ac_objext
9793echo "$lt_simple_link_test_code" >conftest.$ac_ext
9794eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9795_lt_linker_boilerplate=`cat conftest.err`
9796$RM -r conftest*
9797
9798
9799if test -n "$compiler"; then
9800
9801lt_prog_compiler_no_builtin_flag=
9802
9803if test yes = "$GCC"; then
9804  case $cc_basename in
9805  nvcc*)
9806    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9807  *)
9808    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9809  esac
9810
9811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9812$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9813if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9814  $as_echo_n "(cached) " >&6
9815else
9816  lt_cv_prog_compiler_rtti_exceptions=no
9817   ac_outfile=conftest.$ac_objext
9818   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9819   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9820   # Insert the option either (1) after the last *FLAGS variable, or
9821   # (2) before a word containing "conftest.", or (3) at the end.
9822   # Note that $ac_compile itself does not contain backslashes and begins
9823   # with a dollar sign (not a hyphen), so the echo should work correctly.
9824   # The option is referenced via a variable to avoid confusing sed.
9825   lt_compile=`echo "$ac_compile" | $SED \
9826   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9827   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9828   -e 's:$: $lt_compiler_flag:'`
9829   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9830   (eval "$lt_compile" 2>conftest.err)
9831   ac_status=$?
9832   cat conftest.err >&5
9833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834   if (exit $ac_status) && test -s "$ac_outfile"; then
9835     # The compiler can only warn and ignore the option if not recognized
9836     # So say no if there are warnings other than the usual output.
9837     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9838     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9839     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9840       lt_cv_prog_compiler_rtti_exceptions=yes
9841     fi
9842   fi
9843   $RM conftest*
9844
9845fi
9846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9847$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9848
9849if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9850    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9851else
9852    :
9853fi
9854
9855fi
9856
9857
9858
9859
9860
9861
9862  lt_prog_compiler_wl=
9863lt_prog_compiler_pic=
9864lt_prog_compiler_static=
9865
9866
9867  if test yes = "$GCC"; then
9868    lt_prog_compiler_wl='-Wl,'
9869    lt_prog_compiler_static='-static'
9870
9871    case $host_os in
9872      aix*)
9873      # All AIX code is PIC.
9874      if test ia64 = "$host_cpu"; then
9875	# AIX 5 now supports IA64 processor
9876	lt_prog_compiler_static='-Bstatic'
9877      fi
9878      lt_prog_compiler_pic='-fPIC'
9879      ;;
9880
9881    amigaos*)
9882      case $host_cpu in
9883      powerpc)
9884            # see comment about AmigaOS4 .so support
9885            lt_prog_compiler_pic='-fPIC'
9886        ;;
9887      m68k)
9888            # FIXME: we need at least 68020 code to build shared libraries, but
9889            # adding the '-m68020' flag to GCC prevents building anything better,
9890            # like '-m68040'.
9891            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9892        ;;
9893      esac
9894      ;;
9895
9896    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9897      # PIC is the default for these OSes.
9898      ;;
9899
9900    mingw* | cygwin* | pw32* | os2* | cegcc*)
9901      # This hack is so that the source file can tell whether it is being
9902      # built for inclusion in a dll (and should export symbols for example).
9903      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9904      # (--disable-auto-import) libraries
9905      lt_prog_compiler_pic='-DDLL_EXPORT'
9906      case $host_os in
9907      os2*)
9908	lt_prog_compiler_static='$wl-static'
9909	;;
9910      esac
9911      ;;
9912
9913    darwin* | rhapsody*)
9914      # PIC is the default on this platform
9915      # Common symbols not allowed in MH_DYLIB files
9916      lt_prog_compiler_pic='-fno-common'
9917      ;;
9918
9919    haiku*)
9920      # PIC is the default for Haiku.
9921      # The "-static" flag exists, but is broken.
9922      lt_prog_compiler_static=
9923      ;;
9924
9925    hpux*)
9926      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9927      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9928      # sets the default TLS model and affects inlining.
9929      case $host_cpu in
9930      hppa*64*)
9931	# +Z the default
9932	;;
9933      *)
9934	lt_prog_compiler_pic='-fPIC'
9935	;;
9936      esac
9937      ;;
9938
9939    interix[3-9]*)
9940      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9941      # Instead, we relocate shared libraries at runtime.
9942      ;;
9943
9944    msdosdjgpp*)
9945      # Just because we use GCC doesn't mean we suddenly get shared libraries
9946      # on systems that don't support them.
9947      lt_prog_compiler_can_build_shared=no
9948      enable_shared=no
9949      ;;
9950
9951    *nto* | *qnx*)
9952      # QNX uses GNU C++, but need to define -shared option too, otherwise
9953      # it will coredump.
9954      lt_prog_compiler_pic='-fPIC -shared'
9955      ;;
9956
9957    sysv4*MP*)
9958      if test -d /usr/nec; then
9959	lt_prog_compiler_pic=-Kconform_pic
9960      fi
9961      ;;
9962
9963    *)
9964      lt_prog_compiler_pic='-fPIC'
9965      ;;
9966    esac
9967
9968    case $cc_basename in
9969    nvcc*) # Cuda Compiler Driver 2.2
9970      lt_prog_compiler_wl='-Xlinker '
9971      if test -n "$lt_prog_compiler_pic"; then
9972        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9973      fi
9974      ;;
9975    esac
9976  else
9977    # PORTME Check for flag to pass linker flags through the system compiler.
9978    case $host_os in
9979    aix*)
9980      lt_prog_compiler_wl='-Wl,'
9981      if test ia64 = "$host_cpu"; then
9982	# AIX 5 now supports IA64 processor
9983	lt_prog_compiler_static='-Bstatic'
9984      else
9985	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9986      fi
9987      ;;
9988
9989    darwin* | rhapsody*)
9990      # PIC is the default on this platform
9991      # Common symbols not allowed in MH_DYLIB files
9992      lt_prog_compiler_pic='-fno-common'
9993      case $cc_basename in
9994      nagfor*)
9995        # NAG Fortran compiler
9996        lt_prog_compiler_wl='-Wl,-Wl,,'
9997        lt_prog_compiler_pic='-PIC'
9998        lt_prog_compiler_static='-Bstatic'
9999        ;;
10000      esac
10001      ;;
10002
10003    mingw* | cygwin* | pw32* | os2* | cegcc*)
10004      # This hack is so that the source file can tell whether it is being
10005      # built for inclusion in a dll (and should export symbols for example).
10006      lt_prog_compiler_pic='-DDLL_EXPORT'
10007      case $host_os in
10008      os2*)
10009	lt_prog_compiler_static='$wl-static'
10010	;;
10011      esac
10012      ;;
10013
10014    hpux9* | hpux10* | hpux11*)
10015      lt_prog_compiler_wl='-Wl,'
10016      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10017      # not for PA HP-UX.
10018      case $host_cpu in
10019      hppa*64*|ia64*)
10020	# +Z the default
10021	;;
10022      *)
10023	lt_prog_compiler_pic='+Z'
10024	;;
10025      esac
10026      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10027      lt_prog_compiler_static='$wl-a ${wl}archive'
10028      ;;
10029
10030    irix5* | irix6* | nonstopux*)
10031      lt_prog_compiler_wl='-Wl,'
10032      # PIC (with -KPIC) is the default.
10033      lt_prog_compiler_static='-non_shared'
10034      ;;
10035
10036    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10037      case $cc_basename in
10038      # old Intel for x86_64, which still supported -KPIC.
10039      ecc*)
10040	lt_prog_compiler_wl='-Wl,'
10041	lt_prog_compiler_pic='-KPIC'
10042	lt_prog_compiler_static='-static'
10043        ;;
10044      # icc used to be incompatible with GCC.
10045      # ICC 10 doesn't accept -KPIC any more.
10046      icc* | ifort*)
10047	lt_prog_compiler_wl='-Wl,'
10048	lt_prog_compiler_pic='-fPIC'
10049	lt_prog_compiler_static='-static'
10050        ;;
10051      # Lahey Fortran 8.1.
10052      lf95*)
10053	lt_prog_compiler_wl='-Wl,'
10054	lt_prog_compiler_pic='--shared'
10055	lt_prog_compiler_static='--static'
10056	;;
10057      nagfor*)
10058	# NAG Fortran compiler
10059	lt_prog_compiler_wl='-Wl,-Wl,,'
10060	lt_prog_compiler_pic='-PIC'
10061	lt_prog_compiler_static='-Bstatic'
10062	;;
10063      tcc*)
10064	# Fabrice Bellard et al's Tiny C Compiler
10065	lt_prog_compiler_wl='-Wl,'
10066	lt_prog_compiler_pic='-fPIC'
10067	lt_prog_compiler_static='-static'
10068	;;
10069      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10070        # Portland Group compilers (*not* the Pentium gcc compiler,
10071	# which looks to be a dead project)
10072	lt_prog_compiler_wl='-Wl,'
10073	lt_prog_compiler_pic='-fpic'
10074	lt_prog_compiler_static='-Bstatic'
10075        ;;
10076      ccc*)
10077        lt_prog_compiler_wl='-Wl,'
10078        # All Alpha code is PIC.
10079        lt_prog_compiler_static='-non_shared'
10080        ;;
10081      xl* | bgxl* | bgf* | mpixl*)
10082	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10083	lt_prog_compiler_wl='-Wl,'
10084	lt_prog_compiler_pic='-qpic'
10085	lt_prog_compiler_static='-qstaticlink'
10086	;;
10087      *)
10088	case `$CC -V 2>&1 | sed 5q` in
10089	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10090	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10091	  lt_prog_compiler_pic='-KPIC'
10092	  lt_prog_compiler_static='-Bstatic'
10093	  lt_prog_compiler_wl=''
10094	  ;;
10095	*Sun\ F* | *Sun*Fortran*)
10096	  lt_prog_compiler_pic='-KPIC'
10097	  lt_prog_compiler_static='-Bstatic'
10098	  lt_prog_compiler_wl='-Qoption ld '
10099	  ;;
10100	*Sun\ C*)
10101	  # Sun C 5.9
10102	  lt_prog_compiler_pic='-KPIC'
10103	  lt_prog_compiler_static='-Bstatic'
10104	  lt_prog_compiler_wl='-Wl,'
10105	  ;;
10106        *Intel*\ [CF]*Compiler*)
10107	  lt_prog_compiler_wl='-Wl,'
10108	  lt_prog_compiler_pic='-fPIC'
10109	  lt_prog_compiler_static='-static'
10110	  ;;
10111	*Portland\ Group*)
10112	  lt_prog_compiler_wl='-Wl,'
10113	  lt_prog_compiler_pic='-fpic'
10114	  lt_prog_compiler_static='-Bstatic'
10115	  ;;
10116	esac
10117	;;
10118      esac
10119      ;;
10120
10121    newsos6)
10122      lt_prog_compiler_pic='-KPIC'
10123      lt_prog_compiler_static='-Bstatic'
10124      ;;
10125
10126    *nto* | *qnx*)
10127      # QNX uses GNU C++, but need to define -shared option too, otherwise
10128      # it will coredump.
10129      lt_prog_compiler_pic='-fPIC -shared'
10130      ;;
10131
10132    osf3* | osf4* | osf5*)
10133      lt_prog_compiler_wl='-Wl,'
10134      # All OSF/1 code is PIC.
10135      lt_prog_compiler_static='-non_shared'
10136      ;;
10137
10138    rdos*)
10139      lt_prog_compiler_static='-non_shared'
10140      ;;
10141
10142    solaris*)
10143      lt_prog_compiler_pic='-KPIC'
10144      lt_prog_compiler_static='-Bstatic'
10145      case $cc_basename in
10146      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10147	lt_prog_compiler_wl='-Qoption ld ';;
10148      *)
10149	lt_prog_compiler_wl='-Wl,';;
10150      esac
10151      ;;
10152
10153    sunos4*)
10154      lt_prog_compiler_wl='-Qoption ld '
10155      lt_prog_compiler_pic='-PIC'
10156      lt_prog_compiler_static='-Bstatic'
10157      ;;
10158
10159    sysv4 | sysv4.2uw2* | sysv4.3*)
10160      lt_prog_compiler_wl='-Wl,'
10161      lt_prog_compiler_pic='-KPIC'
10162      lt_prog_compiler_static='-Bstatic'
10163      ;;
10164
10165    sysv4*MP*)
10166      if test -d /usr/nec; then
10167	lt_prog_compiler_pic='-Kconform_pic'
10168	lt_prog_compiler_static='-Bstatic'
10169      fi
10170      ;;
10171
10172    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10173      lt_prog_compiler_wl='-Wl,'
10174      lt_prog_compiler_pic='-KPIC'
10175      lt_prog_compiler_static='-Bstatic'
10176      ;;
10177
10178    unicos*)
10179      lt_prog_compiler_wl='-Wl,'
10180      lt_prog_compiler_can_build_shared=no
10181      ;;
10182
10183    uts4*)
10184      lt_prog_compiler_pic='-pic'
10185      lt_prog_compiler_static='-Bstatic'
10186      ;;
10187
10188    *)
10189      lt_prog_compiler_can_build_shared=no
10190      ;;
10191    esac
10192  fi
10193
10194case $host_os in
10195  # For platforms that do not support PIC, -DPIC is meaningless:
10196  *djgpp*)
10197    lt_prog_compiler_pic=
10198    ;;
10199  *)
10200    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10201    ;;
10202esac
10203
10204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10205$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10206if ${lt_cv_prog_compiler_pic+:} false; then :
10207  $as_echo_n "(cached) " >&6
10208else
10209  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10210fi
10211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10212$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10213lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10214
10215#
10216# Check to make sure the PIC flag actually works.
10217#
10218if test -n "$lt_prog_compiler_pic"; then
10219  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10220$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10221if ${lt_cv_prog_compiler_pic_works+:} false; then :
10222  $as_echo_n "(cached) " >&6
10223else
10224  lt_cv_prog_compiler_pic_works=no
10225   ac_outfile=conftest.$ac_objext
10226   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10227   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10228   # Insert the option either (1) after the last *FLAGS variable, or
10229   # (2) before a word containing "conftest.", or (3) at the end.
10230   # Note that $ac_compile itself does not contain backslashes and begins
10231   # with a dollar sign (not a hyphen), so the echo should work correctly.
10232   # The option is referenced via a variable to avoid confusing sed.
10233   lt_compile=`echo "$ac_compile" | $SED \
10234   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10235   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10236   -e 's:$: $lt_compiler_flag:'`
10237   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10238   (eval "$lt_compile" 2>conftest.err)
10239   ac_status=$?
10240   cat conftest.err >&5
10241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10242   if (exit $ac_status) && test -s "$ac_outfile"; then
10243     # The compiler can only warn and ignore the option if not recognized
10244     # So say no if there are warnings other than the usual output.
10245     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10246     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10247     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10248       lt_cv_prog_compiler_pic_works=yes
10249     fi
10250   fi
10251   $RM conftest*
10252
10253fi
10254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10255$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10256
10257if test yes = "$lt_cv_prog_compiler_pic_works"; then
10258    case $lt_prog_compiler_pic in
10259     "" | " "*) ;;
10260     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10261     esac
10262else
10263    lt_prog_compiler_pic=
10264     lt_prog_compiler_can_build_shared=no
10265fi
10266
10267fi
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279#
10280# Check to make sure the static flag actually works.
10281#
10282wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10284$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10285if ${lt_cv_prog_compiler_static_works+:} false; then :
10286  $as_echo_n "(cached) " >&6
10287else
10288  lt_cv_prog_compiler_static_works=no
10289   save_LDFLAGS=$LDFLAGS
10290   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10291   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10292   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10293     # The linker can only warn and ignore the option if not recognized
10294     # So say no if there are warnings
10295     if test -s conftest.err; then
10296       # Append any errors to the config.log.
10297       cat conftest.err 1>&5
10298       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10299       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10300       if diff conftest.exp conftest.er2 >/dev/null; then
10301         lt_cv_prog_compiler_static_works=yes
10302       fi
10303     else
10304       lt_cv_prog_compiler_static_works=yes
10305     fi
10306   fi
10307   $RM -r conftest*
10308   LDFLAGS=$save_LDFLAGS
10309
10310fi
10311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10312$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10313
10314if test yes = "$lt_cv_prog_compiler_static_works"; then
10315    :
10316else
10317    lt_prog_compiler_static=
10318fi
10319
10320
10321
10322
10323
10324
10325
10326  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10327$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10328if ${lt_cv_prog_compiler_c_o+:} false; then :
10329  $as_echo_n "(cached) " >&6
10330else
10331  lt_cv_prog_compiler_c_o=no
10332   $RM -r conftest 2>/dev/null
10333   mkdir conftest
10334   cd conftest
10335   mkdir out
10336   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10337
10338   lt_compiler_flag="-o out/conftest2.$ac_objext"
10339   # Insert the option either (1) after the last *FLAGS variable, or
10340   # (2) before a word containing "conftest.", or (3) at the end.
10341   # Note that $ac_compile itself does not contain backslashes and begins
10342   # with a dollar sign (not a hyphen), so the echo should work correctly.
10343   lt_compile=`echo "$ac_compile" | $SED \
10344   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10345   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10346   -e 's:$: $lt_compiler_flag:'`
10347   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10348   (eval "$lt_compile" 2>out/conftest.err)
10349   ac_status=$?
10350   cat out/conftest.err >&5
10351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10353   then
10354     # The compiler can only warn and ignore the option if not recognized
10355     # So say no if there are warnings
10356     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10357     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10358     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10359       lt_cv_prog_compiler_c_o=yes
10360     fi
10361   fi
10362   chmod u+w . 2>&5
10363   $RM conftest*
10364   # SGI C++ compiler will create directory out/ii_files/ for
10365   # template instantiation
10366   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10367   $RM out/* && rmdir out
10368   cd ..
10369   $RM -r conftest
10370   $RM conftest*
10371
10372fi
10373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10374$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10375
10376
10377
10378
10379
10380
10381  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10382$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10383if ${lt_cv_prog_compiler_c_o+:} false; then :
10384  $as_echo_n "(cached) " >&6
10385else
10386  lt_cv_prog_compiler_c_o=no
10387   $RM -r conftest 2>/dev/null
10388   mkdir conftest
10389   cd conftest
10390   mkdir out
10391   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10392
10393   lt_compiler_flag="-o out/conftest2.$ac_objext"
10394   # Insert the option either (1) after the last *FLAGS variable, or
10395   # (2) before a word containing "conftest.", or (3) at the end.
10396   # Note that $ac_compile itself does not contain backslashes and begins
10397   # with a dollar sign (not a hyphen), so the echo should work correctly.
10398   lt_compile=`echo "$ac_compile" | $SED \
10399   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10400   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10401   -e 's:$: $lt_compiler_flag:'`
10402   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10403   (eval "$lt_compile" 2>out/conftest.err)
10404   ac_status=$?
10405   cat out/conftest.err >&5
10406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10408   then
10409     # The compiler can only warn and ignore the option if not recognized
10410     # So say no if there are warnings
10411     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10412     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10413     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10414       lt_cv_prog_compiler_c_o=yes
10415     fi
10416   fi
10417   chmod u+w . 2>&5
10418   $RM conftest*
10419   # SGI C++ compiler will create directory out/ii_files/ for
10420   # template instantiation
10421   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10422   $RM out/* && rmdir out
10423   cd ..
10424   $RM -r conftest
10425   $RM conftest*
10426
10427fi
10428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10429$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10430
10431
10432
10433
10434hard_links=nottested
10435if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10436  # do not overwrite the value of need_locks provided by the user
10437  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10438$as_echo_n "checking if we can lock with hard links... " >&6; }
10439  hard_links=yes
10440  $RM conftest*
10441  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10442  touch conftest.a
10443  ln conftest.a conftest.b 2>&5 || hard_links=no
10444  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10446$as_echo "$hard_links" >&6; }
10447  if test no = "$hard_links"; then
10448    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10449$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10450    need_locks=warn
10451  fi
10452else
10453  need_locks=no
10454fi
10455
10456
10457
10458
10459
10460
10461  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10462$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10463
10464  runpath_var=
10465  allow_undefined_flag=
10466  always_export_symbols=no
10467  archive_cmds=
10468  archive_expsym_cmds=
10469  compiler_needs_object=no
10470  enable_shared_with_static_runtimes=no
10471  export_dynamic_flag_spec=
10472  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10473  hardcode_automatic=no
10474  hardcode_direct=no
10475  hardcode_direct_absolute=no
10476  hardcode_libdir_flag_spec=
10477  hardcode_libdir_separator=
10478  hardcode_minus_L=no
10479  hardcode_shlibpath_var=unsupported
10480  inherit_rpath=no
10481  link_all_deplibs=unknown
10482  module_cmds=
10483  module_expsym_cmds=
10484  old_archive_from_new_cmds=
10485  old_archive_from_expsyms_cmds=
10486  thread_safe_flag_spec=
10487  whole_archive_flag_spec=
10488  # include_expsyms should be a list of space-separated symbols to be *always*
10489  # included in the symbol list
10490  include_expsyms=
10491  # exclude_expsyms can be an extended regexp of symbols to exclude
10492  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10493  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10494  # as well as any symbol that contains 'd'.
10495  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10496  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10497  # platforms (ab)use it in PIC code, but their linkers get confused if
10498  # the symbol is explicitly referenced.  Since portable code cannot
10499  # rely on this symbol name, it's probably fine to never include it in
10500  # preloaded symbol tables.
10501  # Exclude shared library initialization/finalization symbols.
10502  extract_expsyms_cmds=
10503
10504  case $host_os in
10505  cygwin* | mingw* | pw32* | cegcc*)
10506    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10507    # When not using gcc, we currently assume that we are using
10508    # Microsoft Visual C++.
10509    if test yes != "$GCC"; then
10510      with_gnu_ld=no
10511    fi
10512    ;;
10513  interix*)
10514    # we just hope/assume this is gcc and not c89 (= MSVC++)
10515    with_gnu_ld=yes
10516    ;;
10517  openbsd* | bitrig*)
10518    with_gnu_ld=no
10519    ;;
10520  esac
10521
10522  ld_shlibs=yes
10523
10524  # On some targets, GNU ld is compatible enough with the native linker
10525  # that we're better off using the native interface for both.
10526  lt_use_gnu_ld_interface=no
10527  if test yes = "$with_gnu_ld"; then
10528    case $host_os in
10529      aix*)
10530	# The AIX port of GNU ld has always aspired to compatibility
10531	# with the native linker.  However, as the warning in the GNU ld
10532	# block says, versions before 2.19.5* couldn't really create working
10533	# shared libraries, regardless of the interface used.
10534	case `$LD -v 2>&1` in
10535	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10536	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10537	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10538	  *)
10539	    lt_use_gnu_ld_interface=yes
10540	    ;;
10541	esac
10542	;;
10543      *)
10544	lt_use_gnu_ld_interface=yes
10545	;;
10546    esac
10547  fi
10548
10549  if test yes = "$lt_use_gnu_ld_interface"; then
10550    # If archive_cmds runs LD, not CC, wlarc should be empty
10551    wlarc='$wl'
10552
10553    # Set some defaults for GNU ld with shared library support. These
10554    # are reset later if shared libraries are not supported. Putting them
10555    # here allows them to be overridden if necessary.
10556    runpath_var=LD_RUN_PATH
10557    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10558    export_dynamic_flag_spec='$wl--export-dynamic'
10559    # ancient GNU ld didn't support --whole-archive et. al.
10560    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10561      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10562    else
10563      whole_archive_flag_spec=
10564    fi
10565    supports_anon_versioning=no
10566    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10567      *GNU\ gold*) supports_anon_versioning=yes ;;
10568      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10569      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10570      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10571      *\ 2.11.*) ;; # other 2.11 versions
10572      *) supports_anon_versioning=yes ;;
10573    esac
10574
10575    # See if GNU ld supports shared libraries.
10576    case $host_os in
10577    aix[3-9]*)
10578      # On AIX/PPC, the GNU linker is very broken
10579      if test ia64 != "$host_cpu"; then
10580	ld_shlibs=no
10581	cat <<_LT_EOF 1>&2
10582
10583*** Warning: the GNU linker, at least up to release 2.19, is reported
10584*** to be unable to reliably create shared libraries on AIX.
10585*** Therefore, libtool is disabling shared libraries support.  If you
10586*** really care for shared libraries, you may want to install binutils
10587*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10588*** You will then need to restart the configuration process.
10589
10590_LT_EOF
10591      fi
10592      ;;
10593
10594    amigaos*)
10595      case $host_cpu in
10596      powerpc)
10597            # see comment about AmigaOS4 .so support
10598            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10599            archive_expsym_cmds=''
10600        ;;
10601      m68k)
10602            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)'
10603            hardcode_libdir_flag_spec='-L$libdir'
10604            hardcode_minus_L=yes
10605        ;;
10606      esac
10607      ;;
10608
10609    beos*)
10610      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10611	allow_undefined_flag=unsupported
10612	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10613	# support --undefined.  This deserves some investigation.  FIXME
10614	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10615      else
10616	ld_shlibs=no
10617      fi
10618      ;;
10619
10620    cygwin* | mingw* | pw32* | cegcc*)
10621      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10622      # as there is no search path for DLLs.
10623      hardcode_libdir_flag_spec='-L$libdir'
10624      export_dynamic_flag_spec='$wl--export-all-symbols'
10625      allow_undefined_flag=unsupported
10626      always_export_symbols=no
10627      enable_shared_with_static_runtimes=yes
10628      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10629      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10630
10631      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10632        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10633	# If the export-symbols file already is a .def file, use it as
10634	# is; otherwise, prepend EXPORTS...
10635	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10636          cp $export_symbols $output_objdir/$soname.def;
10637        else
10638          echo EXPORTS > $output_objdir/$soname.def;
10639          cat $export_symbols >> $output_objdir/$soname.def;
10640        fi~
10641        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10642      else
10643	ld_shlibs=no
10644      fi
10645      ;;
10646
10647    haiku*)
10648      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10649      link_all_deplibs=yes
10650      ;;
10651
10652    os2*)
10653      hardcode_libdir_flag_spec='-L$libdir'
10654      hardcode_minus_L=yes
10655      allow_undefined_flag=unsupported
10656      shrext_cmds=.dll
10657      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10658	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10659	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10660	$ECHO EXPORTS >> $output_objdir/$libname.def~
10661	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10662	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10663	emximp -o $lib $output_objdir/$libname.def'
10664      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10665	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10666	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10667	$ECHO EXPORTS >> $output_objdir/$libname.def~
10668	prefix_cmds="$SED"~
10669	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10670	  prefix_cmds="$prefix_cmds -e 1d";
10671	fi~
10672	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10673	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10674	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10675	emximp -o $lib $output_objdir/$libname.def'
10676      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10677      enable_shared_with_static_runtimes=yes
10678      ;;
10679
10680    interix[3-9]*)
10681      hardcode_direct=no
10682      hardcode_shlibpath_var=no
10683      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10684      export_dynamic_flag_spec='$wl-E'
10685      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10686      # Instead, shared libraries are loaded at an image base (0x10000000 by
10687      # default) and relocated if they conflict, which is a slow very memory
10688      # consuming and fragmenting process.  To avoid this, we pick a random,
10689      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10690      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10691      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10692      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'
10693      ;;
10694
10695    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10696      tmp_diet=no
10697      if test linux-dietlibc = "$host_os"; then
10698	case $cc_basename in
10699	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10700	esac
10701      fi
10702      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10703	 && test no = "$tmp_diet"
10704      then
10705	tmp_addflag=' $pic_flag'
10706	tmp_sharedflag='-shared'
10707	case $cc_basename,$host_cpu in
10708        pgcc*)				# Portland Group C compiler
10709	  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'
10710	  tmp_addflag=' $pic_flag'
10711	  ;;
10712	pgf77* | pgf90* | pgf95* | pgfortran*)
10713					# Portland Group f77 and f90 compilers
10714	  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'
10715	  tmp_addflag=' $pic_flag -Mnomain' ;;
10716	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10717	  tmp_addflag=' -i_dynamic' ;;
10718	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10719	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10720	ifc* | ifort*)			# Intel Fortran compiler
10721	  tmp_addflag=' -nofor_main' ;;
10722	lf95*)				# Lahey Fortran 8.1
10723	  whole_archive_flag_spec=
10724	  tmp_sharedflag='--shared' ;;
10725        nagfor*)                        # NAGFOR 5.3
10726          tmp_sharedflag='-Wl,-shared' ;;
10727	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10728	  tmp_sharedflag='-qmkshrobj'
10729	  tmp_addflag= ;;
10730	nvcc*)	# Cuda Compiler Driver 2.2
10731	  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'
10732	  compiler_needs_object=yes
10733	  ;;
10734	esac
10735	case `$CC -V 2>&1 | sed 5q` in
10736	*Sun\ C*)			# Sun C 5.9
10737	  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'
10738	  compiler_needs_object=yes
10739	  tmp_sharedflag='-G' ;;
10740	*Sun\ F*)			# Sun Fortran 8.3
10741	  tmp_sharedflag='-G' ;;
10742	esac
10743	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10744
10745        if test yes = "$supports_anon_versioning"; then
10746          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10747            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10748            echo "local: *; };" >> $output_objdir/$libname.ver~
10749            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10750        fi
10751
10752	case $cc_basename in
10753	tcc*)
10754	  export_dynamic_flag_spec='-rdynamic'
10755	  ;;
10756	xlf* | bgf* | bgxlf* | mpixlf*)
10757	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10758	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10759	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10760	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10761	  if test yes = "$supports_anon_versioning"; then
10762	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10763              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10764              echo "local: *; };" >> $output_objdir/$libname.ver~
10765              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10766	  fi
10767	  ;;
10768	esac
10769      else
10770        ld_shlibs=no
10771      fi
10772      ;;
10773
10774    netbsd*)
10775      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10776	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10777	wlarc=
10778      else
10779	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10780	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10781      fi
10782      ;;
10783
10784    solaris*)
10785      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10786	ld_shlibs=no
10787	cat <<_LT_EOF 1>&2
10788
10789*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10790*** create shared libraries on Solaris systems.  Therefore, libtool
10791*** is disabling shared libraries support.  We urge you to upgrade GNU
10792*** binutils to release 2.9.1 or newer.  Another option is to modify
10793*** your PATH or compiler configuration so that the native linker is
10794*** used, and then restart.
10795
10796_LT_EOF
10797      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10798	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10799	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10800      else
10801	ld_shlibs=no
10802      fi
10803      ;;
10804
10805    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10806      case `$LD -v 2>&1` in
10807        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10808	ld_shlibs=no
10809	cat <<_LT_EOF 1>&2
10810
10811*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10812*** reliably create shared libraries on SCO systems.  Therefore, libtool
10813*** is disabling shared libraries support.  We urge you to upgrade GNU
10814*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10815*** your PATH or compiler configuration so that the native linker is
10816*** used, and then restart.
10817
10818_LT_EOF
10819	;;
10820	*)
10821	  # For security reasons, it is highly recommended that you always
10822	  # use absolute paths for naming shared libraries, and exclude the
10823	  # DT_RUNPATH tag from executables and libraries.  But doing so
10824	  # requires that you compile everything twice, which is a pain.
10825	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10826	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10827	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10828	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10829	  else
10830	    ld_shlibs=no
10831	  fi
10832	;;
10833      esac
10834      ;;
10835
10836    sunos4*)
10837      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10838      wlarc=
10839      hardcode_direct=yes
10840      hardcode_shlibpath_var=no
10841      ;;
10842
10843    *)
10844      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10845	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10846	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10847      else
10848	ld_shlibs=no
10849      fi
10850      ;;
10851    esac
10852
10853    if test no = "$ld_shlibs"; then
10854      runpath_var=
10855      hardcode_libdir_flag_spec=
10856      export_dynamic_flag_spec=
10857      whole_archive_flag_spec=
10858    fi
10859  else
10860    # PORTME fill in a description of your system's linker (not GNU ld)
10861    case $host_os in
10862    aix3*)
10863      allow_undefined_flag=unsupported
10864      always_export_symbols=yes
10865      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'
10866      # Note: this linker hardcodes the directories in LIBPATH if there
10867      # are no directories specified by -L.
10868      hardcode_minus_L=yes
10869      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10870	# Neither direct hardcoding nor static linking is supported with a
10871	# broken collect2.
10872	hardcode_direct=unsupported
10873      fi
10874      ;;
10875
10876    aix[4-9]*)
10877      if test ia64 = "$host_cpu"; then
10878	# On IA64, the linker does run time linking by default, so we don't
10879	# have to do anything special.
10880	aix_use_runtimelinking=no
10881	exp_sym_flag='-Bexport'
10882	no_entry_flag=
10883      else
10884	# If we're using GNU nm, then we don't want the "-C" option.
10885	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10886	# Without the "-l" option, or with the "-B" option, AIX nm treats
10887	# weak defined symbols like other global defined symbols, whereas
10888	# GNU nm marks them as "W".
10889	# While the 'weak' keyword is ignored in the Export File, we need
10890	# it in the Import File for the 'aix-soname' feature, so we have
10891	# to replace the "-B" option with "-P" for AIX nm.
10892	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10893	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10894	else
10895	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10896	fi
10897	aix_use_runtimelinking=no
10898
10899	# Test if we are trying to use run time linking or normal
10900	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10901	# have runtime linking enabled, and use it for executables.
10902	# For shared libraries, we enable/disable runtime linking
10903	# depending on the kind of the shared library created -
10904	# when "with_aix_soname,aix_use_runtimelinking" is:
10905	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10906	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10907	#            lib.a           static archive
10908	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10909	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10910	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10911	#            lib.a(lib.so.V) shared, rtl:no
10912	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10913	#            lib.a           static archive
10914	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10915	  for ld_flag in $LDFLAGS; do
10916	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10917	    aix_use_runtimelinking=yes
10918	    break
10919	  fi
10920	  done
10921	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10922	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10923	    # so we don't have lib.a shared libs to link our executables.
10924	    # We have to force runtime linking in this case.
10925	    aix_use_runtimelinking=yes
10926	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10927	  fi
10928	  ;;
10929	esac
10930
10931	exp_sym_flag='-bexport'
10932	no_entry_flag='-bnoentry'
10933      fi
10934
10935      # When large executables or shared objects are built, AIX ld can
10936      # have problems creating the table of contents.  If linking a library
10937      # or program results in "error TOC overflow" add -mminimal-toc to
10938      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10939      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10940
10941      archive_cmds=''
10942      hardcode_direct=yes
10943      hardcode_direct_absolute=yes
10944      hardcode_libdir_separator=':'
10945      link_all_deplibs=yes
10946      file_list_spec='$wl-f,'
10947      case $with_aix_soname,$aix_use_runtimelinking in
10948      aix,*) ;; # traditional, no import file
10949      svr4,* | *,yes) # use import file
10950	# The Import File defines what to hardcode.
10951	hardcode_direct=no
10952	hardcode_direct_absolute=no
10953	;;
10954      esac
10955
10956      if test yes = "$GCC"; then
10957	case $host_os in aix4.[012]|aix4.[012].*)
10958	# We only want to do this on AIX 4.2 and lower, the check
10959	# below for broken collect2 doesn't work under 4.3+
10960	  collect2name=`$CC -print-prog-name=collect2`
10961	  if test -f "$collect2name" &&
10962	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10963	  then
10964	  # We have reworked collect2
10965	  :
10966	  else
10967	  # We have old collect2
10968	  hardcode_direct=unsupported
10969	  # It fails to find uninstalled libraries when the uninstalled
10970	  # path is not listed in the libpath.  Setting hardcode_minus_L
10971	  # to unsupported forces relinking
10972	  hardcode_minus_L=yes
10973	  hardcode_libdir_flag_spec='-L$libdir'
10974	  hardcode_libdir_separator=
10975	  fi
10976	  ;;
10977	esac
10978	shared_flag='-shared'
10979	if test yes = "$aix_use_runtimelinking"; then
10980	  shared_flag="$shared_flag "'$wl-G'
10981	fi
10982	# Need to ensure runtime linking is disabled for the traditional
10983	# shared library, or the linker may eventually find shared libraries
10984	# /with/ Import File - we do not want to mix them.
10985	shared_flag_aix='-shared'
10986	shared_flag_svr4='-shared $wl-G'
10987      else
10988	# not using gcc
10989	if test ia64 = "$host_cpu"; then
10990	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10991	# chokes on -Wl,-G. The following line is correct:
10992	  shared_flag='-G'
10993	else
10994	  if test yes = "$aix_use_runtimelinking"; then
10995	    shared_flag='$wl-G'
10996	  else
10997	    shared_flag='$wl-bM:SRE'
10998	  fi
10999	  shared_flag_aix='$wl-bM:SRE'
11000	  shared_flag_svr4='$wl-G'
11001	fi
11002      fi
11003
11004      export_dynamic_flag_spec='$wl-bexpall'
11005      # It seems that -bexpall does not export symbols beginning with
11006      # underscore (_), so it is better to generate a list of symbols to export.
11007      always_export_symbols=yes
11008      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11009	# Warning - without using the other runtime loading flags (-brtl),
11010	# -berok will link without error, but may produce a broken library.
11011	allow_undefined_flag='-berok'
11012        # Determine the default libpath from the value encoded in an
11013        # empty executable.
11014        if test set = "${lt_cv_aix_libpath+set}"; then
11015  aix_libpath=$lt_cv_aix_libpath
11016else
11017  if ${lt_cv_aix_libpath_+:} false; then :
11018  $as_echo_n "(cached) " >&6
11019else
11020  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11021/* end confdefs.h.  */
11022
11023int
11024main ()
11025{
11026
11027  ;
11028  return 0;
11029}
11030_ACEOF
11031if ac_fn_c_try_link "$LINENO"; then :
11032
11033  lt_aix_libpath_sed='
11034      /Import File Strings/,/^$/ {
11035	  /^0/ {
11036	      s/^0  *\([^ ]*\) *$/\1/
11037	      p
11038	  }
11039      }'
11040  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11041  # Check for a 64-bit object if we didn't find anything.
11042  if test -z "$lt_cv_aix_libpath_"; then
11043    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11044  fi
11045fi
11046rm -f core conftest.err conftest.$ac_objext \
11047    conftest$ac_exeext conftest.$ac_ext
11048  if test -z "$lt_cv_aix_libpath_"; then
11049    lt_cv_aix_libpath_=/usr/lib:/lib
11050  fi
11051
11052fi
11053
11054  aix_libpath=$lt_cv_aix_libpath_
11055fi
11056
11057        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11058        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
11059      else
11060	if test ia64 = "$host_cpu"; then
11061	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11062	  allow_undefined_flag="-z nodefs"
11063	  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"
11064	else
11065	 # Determine the default libpath from the value encoded in an
11066	 # empty executable.
11067	 if test set = "${lt_cv_aix_libpath+set}"; then
11068  aix_libpath=$lt_cv_aix_libpath
11069else
11070  if ${lt_cv_aix_libpath_+:} false; then :
11071  $as_echo_n "(cached) " >&6
11072else
11073  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11074/* end confdefs.h.  */
11075
11076int
11077main ()
11078{
11079
11080  ;
11081  return 0;
11082}
11083_ACEOF
11084if ac_fn_c_try_link "$LINENO"; then :
11085
11086  lt_aix_libpath_sed='
11087      /Import File Strings/,/^$/ {
11088	  /^0/ {
11089	      s/^0  *\([^ ]*\) *$/\1/
11090	      p
11091	  }
11092      }'
11093  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11094  # Check for a 64-bit object if we didn't find anything.
11095  if test -z "$lt_cv_aix_libpath_"; then
11096    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11097  fi
11098fi
11099rm -f core conftest.err conftest.$ac_objext \
11100    conftest$ac_exeext conftest.$ac_ext
11101  if test -z "$lt_cv_aix_libpath_"; then
11102    lt_cv_aix_libpath_=/usr/lib:/lib
11103  fi
11104
11105fi
11106
11107  aix_libpath=$lt_cv_aix_libpath_
11108fi
11109
11110	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11111	  # Warning - without using the other run time loading flags,
11112	  # -berok will link without error, but may produce a broken library.
11113	  no_undefined_flag=' $wl-bernotok'
11114	  allow_undefined_flag=' $wl-berok'
11115	  if test yes = "$with_gnu_ld"; then
11116	    # We only use this code for GNU lds that support --whole-archive.
11117	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11118	  else
11119	    # Exported symbols can be pulled into shared objects from archives
11120	    whole_archive_flag_spec='$convenience'
11121	  fi
11122	  archive_cmds_need_lc=yes
11123	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11124	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11125	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11126	  if test svr4 != "$with_aix_soname"; then
11127	    # This is similar to how AIX traditionally builds its shared libraries.
11128	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
11129	  fi
11130	  if test aix != "$with_aix_soname"; then
11131	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
11132	  else
11133	    # used by -dlpreopen to get the symbols
11134	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11135	  fi
11136	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11137	fi
11138      fi
11139      ;;
11140
11141    amigaos*)
11142      case $host_cpu in
11143      powerpc)
11144            # see comment about AmigaOS4 .so support
11145            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11146            archive_expsym_cmds=''
11147        ;;
11148      m68k)
11149            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)'
11150            hardcode_libdir_flag_spec='-L$libdir'
11151            hardcode_minus_L=yes
11152        ;;
11153      esac
11154      ;;
11155
11156    bsdi[45]*)
11157      export_dynamic_flag_spec=-rdynamic
11158      ;;
11159
11160    cygwin* | mingw* | pw32* | cegcc*)
11161      # When not using gcc, we currently assume that we are using
11162      # Microsoft Visual C++.
11163      # hardcode_libdir_flag_spec is actually meaningless, as there is
11164      # no search path for DLLs.
11165      case $cc_basename in
11166      cl*)
11167	# Native MSVC
11168	hardcode_libdir_flag_spec=' '
11169	allow_undefined_flag=unsupported
11170	always_export_symbols=yes
11171	file_list_spec='@'
11172	# Tell ltmain to make .lib files, not .a files.
11173	libext=lib
11174	# Tell ltmain to make .dll files, not .so files.
11175	shrext_cmds=.dll
11176	# FIXME: Setting linknames here is a bad hack.
11177	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11178	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11179            cp "$export_symbols" "$output_objdir/$soname.def";
11180            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11181          else
11182            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11183          fi~
11184          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11185          linknames='
11186	# The linker will not automatically build a static lib if we build a DLL.
11187	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11188	enable_shared_with_static_runtimes=yes
11189	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11190	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11191	# Don't use ranlib
11192	old_postinstall_cmds='chmod 644 $oldlib'
11193	postlink_cmds='lt_outputfile="@OUTPUT@"~
11194          lt_tool_outputfile="@TOOL_OUTPUT@"~
11195          case $lt_outputfile in
11196            *.exe|*.EXE) ;;
11197            *)
11198              lt_outputfile=$lt_outputfile.exe
11199              lt_tool_outputfile=$lt_tool_outputfile.exe
11200              ;;
11201          esac~
11202          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11203            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11204            $RM "$lt_outputfile.manifest";
11205          fi'
11206	;;
11207      *)
11208	# Assume MSVC wrapper
11209	hardcode_libdir_flag_spec=' '
11210	allow_undefined_flag=unsupported
11211	# Tell ltmain to make .lib files, not .a files.
11212	libext=lib
11213	# Tell ltmain to make .dll files, not .so files.
11214	shrext_cmds=.dll
11215	# FIXME: Setting linknames here is a bad hack.
11216	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11217	# The linker will automatically build a .lib file if we build a DLL.
11218	old_archive_from_new_cmds='true'
11219	# FIXME: Should let the user specify the lib program.
11220	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11221	enable_shared_with_static_runtimes=yes
11222	;;
11223      esac
11224      ;;
11225
11226    darwin* | rhapsody*)
11227
11228
11229  archive_cmds_need_lc=no
11230  hardcode_direct=no
11231  hardcode_automatic=yes
11232  hardcode_shlibpath_var=unsupported
11233  if test yes = "$lt_cv_ld_force_load"; then
11234    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\"`'
11235
11236  else
11237    whole_archive_flag_spec=''
11238  fi
11239  link_all_deplibs=yes
11240  allow_undefined_flag=$_lt_dar_allow_undefined
11241  case $cc_basename in
11242     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11243     *) _lt_dar_can_shared=$GCC ;;
11244  esac
11245  if test yes = "$_lt_dar_can_shared"; then
11246    output_verbose_link_cmd=func_echo_all
11247    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11248    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11249    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"
11250    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"
11251
11252  else
11253  ld_shlibs=no
11254  fi
11255
11256      ;;
11257
11258    dgux*)
11259      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11260      hardcode_libdir_flag_spec='-L$libdir'
11261      hardcode_shlibpath_var=no
11262      ;;
11263
11264    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11265    # support.  Future versions do this automatically, but an explicit c++rt0.o
11266    # does not break anything, and helps significantly (at the cost of a little
11267    # extra space).
11268    freebsd2.2*)
11269      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11270      hardcode_libdir_flag_spec='-R$libdir'
11271      hardcode_direct=yes
11272      hardcode_shlibpath_var=no
11273      ;;
11274
11275    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11276    freebsd2.*)
11277      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11278      hardcode_direct=yes
11279      hardcode_minus_L=yes
11280      hardcode_shlibpath_var=no
11281      ;;
11282
11283    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11284    freebsd* | dragonfly*)
11285      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11286      hardcode_libdir_flag_spec='-R$libdir'
11287      hardcode_direct=yes
11288      hardcode_shlibpath_var=no
11289      ;;
11290
11291    hpux9*)
11292      if test yes = "$GCC"; then
11293	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11294      else
11295	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11296      fi
11297      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11298      hardcode_libdir_separator=:
11299      hardcode_direct=yes
11300
11301      # hardcode_minus_L: Not really in the search PATH,
11302      # but as the default location of the library.
11303      hardcode_minus_L=yes
11304      export_dynamic_flag_spec='$wl-E'
11305      ;;
11306
11307    hpux10*)
11308      if test yes,no = "$GCC,$with_gnu_ld"; then
11309	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11310      else
11311	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11312      fi
11313      if test no = "$with_gnu_ld"; then
11314	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11315	hardcode_libdir_separator=:
11316	hardcode_direct=yes
11317	hardcode_direct_absolute=yes
11318	export_dynamic_flag_spec='$wl-E'
11319	# hardcode_minus_L: Not really in the search PATH,
11320	# but as the default location of the library.
11321	hardcode_minus_L=yes
11322      fi
11323      ;;
11324
11325    hpux11*)
11326      if test yes,no = "$GCC,$with_gnu_ld"; then
11327	case $host_cpu in
11328	hppa*64*)
11329	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11330	  ;;
11331	ia64*)
11332	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11333	  ;;
11334	*)
11335	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11336	  ;;
11337	esac
11338      else
11339	case $host_cpu in
11340	hppa*64*)
11341	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11342	  ;;
11343	ia64*)
11344	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11345	  ;;
11346	*)
11347
11348	  # Older versions of the 11.00 compiler do not understand -b yet
11349	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11350	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11351$as_echo_n "checking if $CC understands -b... " >&6; }
11352if ${lt_cv_prog_compiler__b+:} false; then :
11353  $as_echo_n "(cached) " >&6
11354else
11355  lt_cv_prog_compiler__b=no
11356   save_LDFLAGS=$LDFLAGS
11357   LDFLAGS="$LDFLAGS -b"
11358   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11359   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11360     # The linker can only warn and ignore the option if not recognized
11361     # So say no if there are warnings
11362     if test -s conftest.err; then
11363       # Append any errors to the config.log.
11364       cat conftest.err 1>&5
11365       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11366       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11367       if diff conftest.exp conftest.er2 >/dev/null; then
11368         lt_cv_prog_compiler__b=yes
11369       fi
11370     else
11371       lt_cv_prog_compiler__b=yes
11372     fi
11373   fi
11374   $RM -r conftest*
11375   LDFLAGS=$save_LDFLAGS
11376
11377fi
11378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11379$as_echo "$lt_cv_prog_compiler__b" >&6; }
11380
11381if test yes = "$lt_cv_prog_compiler__b"; then
11382    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11383else
11384    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11385fi
11386
11387	  ;;
11388	esac
11389      fi
11390      if test no = "$with_gnu_ld"; then
11391	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11392	hardcode_libdir_separator=:
11393
11394	case $host_cpu in
11395	hppa*64*|ia64*)
11396	  hardcode_direct=no
11397	  hardcode_shlibpath_var=no
11398	  ;;
11399	*)
11400	  hardcode_direct=yes
11401	  hardcode_direct_absolute=yes
11402	  export_dynamic_flag_spec='$wl-E'
11403
11404	  # hardcode_minus_L: Not really in the search PATH,
11405	  # but as the default location of the library.
11406	  hardcode_minus_L=yes
11407	  ;;
11408	esac
11409      fi
11410      ;;
11411
11412    irix5* | irix6* | nonstopux*)
11413      if test yes = "$GCC"; then
11414	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11415	# Try to use the -exported_symbol ld option, if it does not
11416	# work, assume that -exports_file does not work either and
11417	# implicitly export all symbols.
11418	# This should be the same for all languages, so no per-tag cache variable.
11419	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11420$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11421if ${lt_cv_irix_exported_symbol+:} false; then :
11422  $as_echo_n "(cached) " >&6
11423else
11424  save_LDFLAGS=$LDFLAGS
11425	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11426	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427/* end confdefs.h.  */
11428int foo (void) { return 0; }
11429_ACEOF
11430if ac_fn_c_try_link "$LINENO"; then :
11431  lt_cv_irix_exported_symbol=yes
11432else
11433  lt_cv_irix_exported_symbol=no
11434fi
11435rm -f core conftest.err conftest.$ac_objext \
11436    conftest$ac_exeext conftest.$ac_ext
11437           LDFLAGS=$save_LDFLAGS
11438fi
11439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11440$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11441	if test yes = "$lt_cv_irix_exported_symbol"; then
11442          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
11443	fi
11444      else
11445	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'
11446	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'
11447      fi
11448      archive_cmds_need_lc='no'
11449      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11450      hardcode_libdir_separator=:
11451      inherit_rpath=yes
11452      link_all_deplibs=yes
11453      ;;
11454
11455    linux*)
11456      case $cc_basename in
11457      tcc*)
11458	# Fabrice Bellard et al's Tiny C Compiler
11459	ld_shlibs=yes
11460	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11461	;;
11462      esac
11463      ;;
11464
11465    netbsd*)
11466      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11467	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11468      else
11469	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11470      fi
11471      hardcode_libdir_flag_spec='-R$libdir'
11472      hardcode_direct=yes
11473      hardcode_shlibpath_var=no
11474      ;;
11475
11476    newsos6)
11477      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11478      hardcode_direct=yes
11479      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11480      hardcode_libdir_separator=:
11481      hardcode_shlibpath_var=no
11482      ;;
11483
11484    *nto* | *qnx*)
11485      ;;
11486
11487    openbsd* | bitrig*)
11488      if test -f /usr/libexec/ld.so; then
11489	hardcode_direct=yes
11490	hardcode_shlibpath_var=no
11491	hardcode_direct_absolute=yes
11492	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11493	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11494	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11495	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11496	  export_dynamic_flag_spec='$wl-E'
11497	else
11498	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11499	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11500	fi
11501      else
11502	ld_shlibs=no
11503      fi
11504      ;;
11505
11506    os2*)
11507      hardcode_libdir_flag_spec='-L$libdir'
11508      hardcode_minus_L=yes
11509      allow_undefined_flag=unsupported
11510      shrext_cmds=.dll
11511      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11512	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11513	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11514	$ECHO EXPORTS >> $output_objdir/$libname.def~
11515	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11516	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11517	emximp -o $lib $output_objdir/$libname.def'
11518      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11519	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11520	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11521	$ECHO EXPORTS >> $output_objdir/$libname.def~
11522	prefix_cmds="$SED"~
11523	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11524	  prefix_cmds="$prefix_cmds -e 1d";
11525	fi~
11526	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11527	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11528	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11529	emximp -o $lib $output_objdir/$libname.def'
11530      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11531      enable_shared_with_static_runtimes=yes
11532      ;;
11533
11534    osf3*)
11535      if test yes = "$GCC"; then
11536	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11537	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'
11538      else
11539	allow_undefined_flag=' -expect_unresolved \*'
11540	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'
11541      fi
11542      archive_cmds_need_lc='no'
11543      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11544      hardcode_libdir_separator=:
11545      ;;
11546
11547    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11548      if test yes = "$GCC"; then
11549	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11550	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11551	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11552      else
11553	allow_undefined_flag=' -expect_unresolved \*'
11554	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'
11555	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~
11556          $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'
11557
11558	# Both c and cxx compiler support -rpath directly
11559	hardcode_libdir_flag_spec='-rpath $libdir'
11560      fi
11561      archive_cmds_need_lc='no'
11562      hardcode_libdir_separator=:
11563      ;;
11564
11565    solaris*)
11566      no_undefined_flag=' -z defs'
11567      if test yes = "$GCC"; then
11568	wlarc='$wl'
11569	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11570	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11571          $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11572      else
11573	case `$CC -V 2>&1` in
11574	*"Compilers 5.0"*)
11575	  wlarc=''
11576	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11577	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11578            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11579	  ;;
11580	*)
11581	  wlarc='$wl'
11582	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11583	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11584            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11585	  ;;
11586	esac
11587      fi
11588      hardcode_libdir_flag_spec='-R$libdir'
11589      hardcode_shlibpath_var=no
11590      case $host_os in
11591      solaris2.[0-5] | solaris2.[0-5].*) ;;
11592      *)
11593	# The compiler driver will combine and reorder linker options,
11594	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11595	# but is careful enough not to reorder.
11596	# Supported since Solaris 2.6 (maybe 2.5.1?)
11597	if test yes = "$GCC"; then
11598	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11599	else
11600	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11601	fi
11602	;;
11603      esac
11604      link_all_deplibs=yes
11605      ;;
11606
11607    sunos4*)
11608      if test sequent = "$host_vendor"; then
11609	# Use $CC to link under sequent, because it throws in some extra .o
11610	# files that make .init and .fini sections work.
11611	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11612      else
11613	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11614      fi
11615      hardcode_libdir_flag_spec='-L$libdir'
11616      hardcode_direct=yes
11617      hardcode_minus_L=yes
11618      hardcode_shlibpath_var=no
11619      ;;
11620
11621    sysv4)
11622      case $host_vendor in
11623	sni)
11624	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11625	  hardcode_direct=yes # is this really true???
11626	;;
11627	siemens)
11628	  ## LD is ld it makes a PLAMLIB
11629	  ## CC just makes a GrossModule.
11630	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11631	  reload_cmds='$CC -r -o $output$reload_objs'
11632	  hardcode_direct=no
11633        ;;
11634	motorola)
11635	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11636	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11637	;;
11638      esac
11639      runpath_var='LD_RUN_PATH'
11640      hardcode_shlibpath_var=no
11641      ;;
11642
11643    sysv4.3*)
11644      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11645      hardcode_shlibpath_var=no
11646      export_dynamic_flag_spec='-Bexport'
11647      ;;
11648
11649    sysv4*MP*)
11650      if test -d /usr/nec; then
11651	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11652	hardcode_shlibpath_var=no
11653	runpath_var=LD_RUN_PATH
11654	hardcode_runpath_var=yes
11655	ld_shlibs=yes
11656      fi
11657      ;;
11658
11659    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11660      no_undefined_flag='$wl-z,text'
11661      archive_cmds_need_lc=no
11662      hardcode_shlibpath_var=no
11663      runpath_var='LD_RUN_PATH'
11664
11665      if test yes = "$GCC"; then
11666	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11667	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11668      else
11669	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11670	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11671      fi
11672      ;;
11673
11674    sysv5* | sco3.2v5* | sco5v6*)
11675      # Note: We CANNOT use -z defs as we might desire, because we do not
11676      # link with -lc, and that would cause any symbols used from libc to
11677      # always be unresolved, which means just about no library would
11678      # ever link correctly.  If we're not using GNU ld we use -z text
11679      # though, which does catch some bad symbols but isn't as heavy-handed
11680      # as -z defs.
11681      no_undefined_flag='$wl-z,text'
11682      allow_undefined_flag='$wl-z,nodefs'
11683      archive_cmds_need_lc=no
11684      hardcode_shlibpath_var=no
11685      hardcode_libdir_flag_spec='$wl-R,$libdir'
11686      hardcode_libdir_separator=':'
11687      link_all_deplibs=yes
11688      export_dynamic_flag_spec='$wl-Bexport'
11689      runpath_var='LD_RUN_PATH'
11690
11691      if test yes = "$GCC"; then
11692	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11693	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11694      else
11695	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11696	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11697      fi
11698      ;;
11699
11700    uts4*)
11701      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11702      hardcode_libdir_flag_spec='-L$libdir'
11703      hardcode_shlibpath_var=no
11704      ;;
11705
11706    *)
11707      ld_shlibs=no
11708      ;;
11709    esac
11710
11711    if test sni = "$host_vendor"; then
11712      case $host in
11713      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11714	export_dynamic_flag_spec='$wl-Blargedynsym'
11715	;;
11716      esac
11717    fi
11718  fi
11719
11720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11721$as_echo "$ld_shlibs" >&6; }
11722test no = "$ld_shlibs" && can_build_shared=no
11723
11724with_gnu_ld=$with_gnu_ld
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740#
11741# Do we need to explicitly link libc?
11742#
11743case "x$archive_cmds_need_lc" in
11744x|xyes)
11745  # Assume -lc should be added
11746  archive_cmds_need_lc=yes
11747
11748  if test yes,yes = "$GCC,$enable_shared"; then
11749    case $archive_cmds in
11750    *'~'*)
11751      # FIXME: we may have to deal with multi-command sequences.
11752      ;;
11753    '$CC '*)
11754      # Test whether the compiler implicitly links with -lc since on some
11755      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11756      # to ld, don't add -lc before -lgcc.
11757      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11758$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11759if ${lt_cv_archive_cmds_need_lc+:} false; then :
11760  $as_echo_n "(cached) " >&6
11761else
11762  $RM conftest*
11763	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11764
11765	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11766  (eval $ac_compile) 2>&5
11767  ac_status=$?
11768  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11769  test $ac_status = 0; } 2>conftest.err; then
11770	  soname=conftest
11771	  lib=conftest
11772	  libobjs=conftest.$ac_objext
11773	  deplibs=
11774	  wl=$lt_prog_compiler_wl
11775	  pic_flag=$lt_prog_compiler_pic
11776	  compiler_flags=-v
11777	  linker_flags=-v
11778	  verstring=
11779	  output_objdir=.
11780	  libname=conftest
11781	  lt_save_allow_undefined_flag=$allow_undefined_flag
11782	  allow_undefined_flag=
11783	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11784  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11785  ac_status=$?
11786  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11787  test $ac_status = 0; }
11788	  then
11789	    lt_cv_archive_cmds_need_lc=no
11790	  else
11791	    lt_cv_archive_cmds_need_lc=yes
11792	  fi
11793	  allow_undefined_flag=$lt_save_allow_undefined_flag
11794	else
11795	  cat conftest.err 1>&5
11796	fi
11797	$RM conftest*
11798
11799fi
11800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11801$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11802      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11803      ;;
11804    esac
11805  fi
11806  ;;
11807esac
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11961$as_echo_n "checking dynamic linker characteristics... " >&6; }
11962
11963if test yes = "$GCC"; then
11964  case $host_os in
11965    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11966    *) lt_awk_arg='/^libraries:/' ;;
11967  esac
11968  case $host_os in
11969    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11970    *) lt_sed_strip_eq='s|=/|/|g' ;;
11971  esac
11972  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11973  case $lt_search_path_spec in
11974  *\;*)
11975    # if the path contains ";" then we assume it to be the separator
11976    # otherwise default to the standard path separator (i.e. ":") - it is
11977    # assumed that no part of a normal pathname contains ";" but that should
11978    # okay in the real world where ";" in dirpaths is itself problematic.
11979    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11980    ;;
11981  *)
11982    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11983    ;;
11984  esac
11985  # Ok, now we have the path, separated by spaces, we can step through it
11986  # and add multilib dir if necessary...
11987  lt_tmp_lt_search_path_spec=
11988  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11989  # ...but if some path component already ends with the multilib dir we assume
11990  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11991  case "$lt_multi_os_dir; $lt_search_path_spec " in
11992  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11993    lt_multi_os_dir=
11994    ;;
11995  esac
11996  for lt_sys_path in $lt_search_path_spec; do
11997    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11998      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11999    elif test -n "$lt_multi_os_dir"; then
12000      test -d "$lt_sys_path" && \
12001	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12002    fi
12003  done
12004  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12005BEGIN {RS = " "; FS = "/|\n";} {
12006  lt_foo = "";
12007  lt_count = 0;
12008  for (lt_i = NF; lt_i > 0; lt_i--) {
12009    if ($lt_i != "" && $lt_i != ".") {
12010      if ($lt_i == "..") {
12011        lt_count++;
12012      } else {
12013        if (lt_count == 0) {
12014          lt_foo = "/" $lt_i lt_foo;
12015        } else {
12016          lt_count--;
12017        }
12018      }
12019    }
12020  }
12021  if (lt_foo != "") { lt_freq[lt_foo]++; }
12022  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12023}'`
12024  # AWK program above erroneously prepends '/' to C:/dos/paths
12025  # for these hosts.
12026  case $host_os in
12027    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12028      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12029  esac
12030  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12031else
12032  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12033fi
12034library_names_spec=
12035libname_spec='lib$name'
12036soname_spec=
12037shrext_cmds=.so
12038postinstall_cmds=
12039postuninstall_cmds=
12040finish_cmds=
12041finish_eval=
12042shlibpath_var=
12043shlibpath_overrides_runpath=unknown
12044version_type=none
12045dynamic_linker="$host_os ld.so"
12046sys_lib_dlsearch_path_spec="/lib /usr/lib"
12047need_lib_prefix=unknown
12048hardcode_into_libs=no
12049
12050# when you set need_version to no, make sure it does not cause -set_version
12051# flags to be left without arguments
12052need_version=unknown
12053
12054
12055
12056case $host_os in
12057aix3*)
12058  version_type=linux # correct to gnu/linux during the next big refactor
12059  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12060  shlibpath_var=LIBPATH
12061
12062  # AIX 3 has no versioning support, so we append a major version to the name.
12063  soname_spec='$libname$release$shared_ext$major'
12064  ;;
12065
12066aix[4-9]*)
12067  version_type=linux # correct to gnu/linux during the next big refactor
12068  need_lib_prefix=no
12069  need_version=no
12070  hardcode_into_libs=yes
12071  if test ia64 = "$host_cpu"; then
12072    # AIX 5 supports IA64
12073    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12074    shlibpath_var=LD_LIBRARY_PATH
12075  else
12076    # With GCC up to 2.95.x, collect2 would create an import file
12077    # for dependence libraries.  The import file would start with
12078    # the line '#! .'.  This would cause the generated library to
12079    # depend on '.', always an invalid library.  This was fixed in
12080    # development snapshots of GCC prior to 3.0.
12081    case $host_os in
12082      aix4 | aix4.[01] | aix4.[01].*)
12083      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12084	   echo ' yes '
12085	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12086	:
12087      else
12088	can_build_shared=no
12089      fi
12090      ;;
12091    esac
12092    # Using Import Files as archive members, it is possible to support
12093    # filename-based versioning of shared library archives on AIX. While
12094    # this would work for both with and without runtime linking, it will
12095    # prevent static linking of such archives. So we do filename-based
12096    # shared library versioning with .so extension only, which is used
12097    # when both runtime linking and shared linking is enabled.
12098    # Unfortunately, runtime linking may impact performance, so we do
12099    # not want this to be the default eventually. Also, we use the
12100    # versioned .so libs for executables only if there is the -brtl
12101    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12102    # To allow for filename-based versioning support, we need to create
12103    # libNAME.so.V as an archive file, containing:
12104    # *) an Import File, referring to the versioned filename of the
12105    #    archive as well as the shared archive member, telling the
12106    #    bitwidth (32 or 64) of that shared object, and providing the
12107    #    list of exported symbols of that shared object, eventually
12108    #    decorated with the 'weak' keyword
12109    # *) the shared object with the F_LOADONLY flag set, to really avoid
12110    #    it being seen by the linker.
12111    # At run time we better use the real file rather than another symlink,
12112    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12113
12114    case $with_aix_soname,$aix_use_runtimelinking in
12115    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12116    # soname into executable. Probably we can add versioning support to
12117    # collect2, so additional links can be useful in future.
12118    aix,yes) # traditional libtool
12119      dynamic_linker='AIX unversionable lib.so'
12120      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12121      # instead of lib<name>.a to let people know that these are not
12122      # typical AIX shared libraries.
12123      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12124      ;;
12125    aix,no) # traditional AIX only
12126      dynamic_linker='AIX lib.a(lib.so.V)'
12127      # We preserve .a as extension for shared libraries through AIX4.2
12128      # and later when we are not doing run time linking.
12129      library_names_spec='$libname$release.a $libname.a'
12130      soname_spec='$libname$release$shared_ext$major'
12131      ;;
12132    svr4,*) # full svr4 only
12133      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12134      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12135      # We do not specify a path in Import Files, so LIBPATH fires.
12136      shlibpath_overrides_runpath=yes
12137      ;;
12138    *,yes) # both, prefer svr4
12139      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12140      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12141      # unpreferred sharedlib libNAME.a needs extra handling
12142      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
12143      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
12144      # We do not specify a path in Import Files, so LIBPATH fires.
12145      shlibpath_overrides_runpath=yes
12146      ;;
12147    *,no) # both, prefer aix
12148      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12149      library_names_spec='$libname$release.a $libname.a'
12150      soname_spec='$libname$release$shared_ext$major'
12151      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12152      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
12153      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
12154      ;;
12155    esac
12156    shlibpath_var=LIBPATH
12157  fi
12158  ;;
12159
12160amigaos*)
12161  case $host_cpu in
12162  powerpc)
12163    # Since July 2007 AmigaOS4 officially supports .so libraries.
12164    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12165    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12166    ;;
12167  m68k)
12168    library_names_spec='$libname.ixlibrary $libname.a'
12169    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12170    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12171    ;;
12172  esac
12173  ;;
12174
12175beos*)
12176  library_names_spec='$libname$shared_ext'
12177  dynamic_linker="$host_os ld.so"
12178  shlibpath_var=LIBRARY_PATH
12179  ;;
12180
12181bsdi[45]*)
12182  version_type=linux # correct to gnu/linux during the next big refactor
12183  need_version=no
12184  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12185  soname_spec='$libname$release$shared_ext$major'
12186  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12187  shlibpath_var=LD_LIBRARY_PATH
12188  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12189  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12190  # the default ld.so.conf also contains /usr/contrib/lib and
12191  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12192  # libtool to hard-code these into programs
12193  ;;
12194
12195cygwin* | mingw* | pw32* | cegcc*)
12196  version_type=windows
12197  shrext_cmds=.dll
12198  need_version=no
12199  need_lib_prefix=no
12200
12201  case $GCC,$cc_basename in
12202  yes,*)
12203    # gcc
12204    library_names_spec='$libname.dll.a'
12205    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12206    postinstall_cmds='base_file=`basename \$file`~
12207      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12208      dldir=$destdir/`dirname \$dlpath`~
12209      test -d \$dldir || mkdir -p \$dldir~
12210      $install_prog $dir/$dlname \$dldir/$dlname~
12211      chmod a+x \$dldir/$dlname~
12212      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12213        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12214      fi'
12215    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12216      dlpath=$dir/\$dldll~
12217       $RM \$dlpath'
12218    shlibpath_overrides_runpath=yes
12219
12220    case $host_os in
12221    cygwin*)
12222      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12223      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12224
12225      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12226      ;;
12227    mingw* | cegcc*)
12228      # MinGW DLLs use traditional 'lib' prefix
12229      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12230      ;;
12231    pw32*)
12232      # pw32 DLLs use 'pw' prefix rather than 'lib'
12233      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12234      ;;
12235    esac
12236    dynamic_linker='Win32 ld.exe'
12237    ;;
12238
12239  *,cl*)
12240    # Native MSVC
12241    libname_spec='$name'
12242    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12243    library_names_spec='$libname.dll.lib'
12244
12245    case $build_os in
12246    mingw*)
12247      sys_lib_search_path_spec=
12248      lt_save_ifs=$IFS
12249      IFS=';'
12250      for lt_path in $LIB
12251      do
12252        IFS=$lt_save_ifs
12253        # Let DOS variable expansion print the short 8.3 style file name.
12254        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12255        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12256      done
12257      IFS=$lt_save_ifs
12258      # Convert to MSYS style.
12259      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12260      ;;
12261    cygwin*)
12262      # Convert to unix form, then to dos form, then back to unix form
12263      # but this time dos style (no spaces!) so that the unix form looks
12264      # like /cygdrive/c/PROGRA~1:/cygdr...
12265      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12266      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12267      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12268      ;;
12269    *)
12270      sys_lib_search_path_spec=$LIB
12271      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12272        # It is most probably a Windows format PATH.
12273        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12274      else
12275        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12276      fi
12277      # FIXME: find the short name or the path components, as spaces are
12278      # common. (e.g. "Program Files" -> "PROGRA~1")
12279      ;;
12280    esac
12281
12282    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12283    postinstall_cmds='base_file=`basename \$file`~
12284      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12285      dldir=$destdir/`dirname \$dlpath`~
12286      test -d \$dldir || mkdir -p \$dldir~
12287      $install_prog $dir/$dlname \$dldir/$dlname'
12288    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12289      dlpath=$dir/\$dldll~
12290       $RM \$dlpath'
12291    shlibpath_overrides_runpath=yes
12292    dynamic_linker='Win32 link.exe'
12293    ;;
12294
12295  *)
12296    # Assume MSVC wrapper
12297    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12298    dynamic_linker='Win32 ld.exe'
12299    ;;
12300  esac
12301  # FIXME: first we should search . and the directory the executable is in
12302  shlibpath_var=PATH
12303  ;;
12304
12305darwin* | rhapsody*)
12306  dynamic_linker="$host_os dyld"
12307  version_type=darwin
12308  need_lib_prefix=no
12309  need_version=no
12310  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12311  soname_spec='$libname$release$major$shared_ext'
12312  shlibpath_overrides_runpath=yes
12313  shlibpath_var=DYLD_LIBRARY_PATH
12314  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12315
12316  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12317  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12318  ;;
12319
12320dgux*)
12321  version_type=linux # correct to gnu/linux during the next big refactor
12322  need_lib_prefix=no
12323  need_version=no
12324  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12325  soname_spec='$libname$release$shared_ext$major'
12326  shlibpath_var=LD_LIBRARY_PATH
12327  ;;
12328
12329freebsd* | dragonfly*)
12330  # DragonFly does not have aout.  When/if they implement a new
12331  # versioning mechanism, adjust this.
12332  if test -x /usr/bin/objformat; then
12333    objformat=`/usr/bin/objformat`
12334  else
12335    case $host_os in
12336    freebsd[23].*) objformat=aout ;;
12337    *) objformat=elf ;;
12338    esac
12339  fi
12340  version_type=freebsd-$objformat
12341  case $version_type in
12342    freebsd-elf*)
12343      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12344      soname_spec='$libname$release$shared_ext$major'
12345      need_version=no
12346      need_lib_prefix=no
12347      ;;
12348    freebsd-*)
12349      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12350      need_version=yes
12351      ;;
12352  esac
12353  shlibpath_var=LD_LIBRARY_PATH
12354  case $host_os in
12355  freebsd2.*)
12356    shlibpath_overrides_runpath=yes
12357    ;;
12358  freebsd3.[01]* | freebsdelf3.[01]*)
12359    shlibpath_overrides_runpath=yes
12360    hardcode_into_libs=yes
12361    ;;
12362  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12363  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12364    shlibpath_overrides_runpath=no
12365    hardcode_into_libs=yes
12366    ;;
12367  *) # from 4.6 on, and DragonFly
12368    shlibpath_overrides_runpath=yes
12369    hardcode_into_libs=yes
12370    ;;
12371  esac
12372  ;;
12373
12374haiku*)
12375  version_type=linux # correct to gnu/linux during the next big refactor
12376  need_lib_prefix=no
12377  need_version=no
12378  dynamic_linker="$host_os runtime_loader"
12379  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12380  soname_spec='$libname$release$shared_ext$major'
12381  shlibpath_var=LIBRARY_PATH
12382  shlibpath_overrides_runpath=no
12383  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12384  hardcode_into_libs=yes
12385  ;;
12386
12387hpux9* | hpux10* | hpux11*)
12388  # Give a soname corresponding to the major version so that dld.sl refuses to
12389  # link against other versions.
12390  version_type=sunos
12391  need_lib_prefix=no
12392  need_version=no
12393  case $host_cpu in
12394  ia64*)
12395    shrext_cmds='.so'
12396    hardcode_into_libs=yes
12397    dynamic_linker="$host_os dld.so"
12398    shlibpath_var=LD_LIBRARY_PATH
12399    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12400    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12401    soname_spec='$libname$release$shared_ext$major'
12402    if test 32 = "$HPUX_IA64_MODE"; then
12403      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12404      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12405    else
12406      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12407      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12408    fi
12409    ;;
12410  hppa*64*)
12411    shrext_cmds='.sl'
12412    hardcode_into_libs=yes
12413    dynamic_linker="$host_os dld.sl"
12414    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12415    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12416    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12417    soname_spec='$libname$release$shared_ext$major'
12418    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12419    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12420    ;;
12421  *)
12422    shrext_cmds='.sl'
12423    dynamic_linker="$host_os dld.sl"
12424    shlibpath_var=SHLIB_PATH
12425    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12426    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12427    soname_spec='$libname$release$shared_ext$major'
12428    ;;
12429  esac
12430  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12431  postinstall_cmds='chmod 555 $lib'
12432  # or fails outright, so override atomically:
12433  install_override_mode=555
12434  ;;
12435
12436interix[3-9]*)
12437  version_type=linux # correct to gnu/linux during the next big refactor
12438  need_lib_prefix=no
12439  need_version=no
12440  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12441  soname_spec='$libname$release$shared_ext$major'
12442  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12443  shlibpath_var=LD_LIBRARY_PATH
12444  shlibpath_overrides_runpath=no
12445  hardcode_into_libs=yes
12446  ;;
12447
12448irix5* | irix6* | nonstopux*)
12449  case $host_os in
12450    nonstopux*) version_type=nonstopux ;;
12451    *)
12452	if test yes = "$lt_cv_prog_gnu_ld"; then
12453		version_type=linux # correct to gnu/linux during the next big refactor
12454	else
12455		version_type=irix
12456	fi ;;
12457  esac
12458  need_lib_prefix=no
12459  need_version=no
12460  soname_spec='$libname$release$shared_ext$major'
12461  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12462  case $host_os in
12463  irix5* | nonstopux*)
12464    libsuff= shlibsuff=
12465    ;;
12466  *)
12467    case $LD in # libtool.m4 will add one of these switches to LD
12468    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12469      libsuff= shlibsuff= libmagic=32-bit;;
12470    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12471      libsuff=32 shlibsuff=N32 libmagic=N32;;
12472    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12473      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12474    *) libsuff= shlibsuff= libmagic=never-match;;
12475    esac
12476    ;;
12477  esac
12478  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12479  shlibpath_overrides_runpath=no
12480  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12481  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12482  hardcode_into_libs=yes
12483  ;;
12484
12485# No shared lib support for Linux oldld, aout, or coff.
12486linux*oldld* | linux*aout* | linux*coff*)
12487  dynamic_linker=no
12488  ;;
12489
12490linux*android*)
12491  version_type=none # Android doesn't support versioned libraries.
12492  need_lib_prefix=no
12493  need_version=no
12494  library_names_spec='$libname$release$shared_ext'
12495  soname_spec='$libname$release$shared_ext'
12496  finish_cmds=
12497  shlibpath_var=LD_LIBRARY_PATH
12498  shlibpath_overrides_runpath=yes
12499
12500  # This implies no fast_install, which is unacceptable.
12501  # Some rework will be needed to allow for fast_install
12502  # before this can be enabled.
12503  hardcode_into_libs=yes
12504
12505  dynamic_linker='Android linker'
12506  # Don't embed -rpath directories since the linker doesn't support them.
12507  hardcode_libdir_flag_spec='-L$libdir'
12508  ;;
12509
12510# This must be glibc/ELF.
12511linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12512  version_type=linux # correct to gnu/linux during the next big refactor
12513  need_lib_prefix=no
12514  need_version=no
12515  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12516  soname_spec='$libname$release$shared_ext$major'
12517  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12518  shlibpath_var=LD_LIBRARY_PATH
12519  shlibpath_overrides_runpath=no
12520
12521  # Some binutils ld are patched to set DT_RUNPATH
12522  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12523  $as_echo_n "(cached) " >&6
12524else
12525  lt_cv_shlibpath_overrides_runpath=no
12526    save_LDFLAGS=$LDFLAGS
12527    save_libdir=$libdir
12528    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12529	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12530    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12531/* end confdefs.h.  */
12532
12533int
12534main ()
12535{
12536
12537  ;
12538  return 0;
12539}
12540_ACEOF
12541if ac_fn_c_try_link "$LINENO"; then :
12542  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12543  lt_cv_shlibpath_overrides_runpath=yes
12544fi
12545fi
12546rm -f core conftest.err conftest.$ac_objext \
12547    conftest$ac_exeext conftest.$ac_ext
12548    LDFLAGS=$save_LDFLAGS
12549    libdir=$save_libdir
12550
12551fi
12552
12553  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12554
12555  # This implies no fast_install, which is unacceptable.
12556  # Some rework will be needed to allow for fast_install
12557  # before this can be enabled.
12558  hardcode_into_libs=yes
12559
12560  # Add ABI-specific directories to the system library path.
12561  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12562
12563  # Ideally, we could use ldconfig to report *all* directores which are
12564  # searched for libraries, however this is still not possible.  Aside from not
12565  # being certain /sbin/ldconfig is available, command
12566  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12567  # even though it is searched at run-time.  Try to do the best guess by
12568  # appending ld.so.conf contents (and includes) to the search path.
12569  if test -f /etc/ld.so.conf; then
12570    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' ' '`
12571    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12572  fi
12573
12574  # We used to test for /lib/ld.so.1 and disable shared libraries on
12575  # powerpc, because MkLinux only supported shared libraries with the
12576  # GNU dynamic linker.  Since this was broken with cross compilers,
12577  # most powerpc-linux boxes support dynamic linking these days and
12578  # people can always --disable-shared, the test was removed, and we
12579  # assume the GNU/Linux dynamic linker is in use.
12580  dynamic_linker='GNU/Linux ld.so'
12581  ;;
12582
12583netbsd*)
12584  version_type=sunos
12585  need_lib_prefix=no
12586  need_version=no
12587  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12588    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12589    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12590    dynamic_linker='NetBSD (a.out) ld.so'
12591  else
12592    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12593    soname_spec='$libname$release$shared_ext$major'
12594    dynamic_linker='NetBSD ld.elf_so'
12595  fi
12596  shlibpath_var=LD_LIBRARY_PATH
12597  shlibpath_overrides_runpath=yes
12598  hardcode_into_libs=yes
12599  ;;
12600
12601newsos6)
12602  version_type=linux # correct to gnu/linux during the next big refactor
12603  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12604  shlibpath_var=LD_LIBRARY_PATH
12605  shlibpath_overrides_runpath=yes
12606  ;;
12607
12608*nto* | *qnx*)
12609  version_type=qnx
12610  need_lib_prefix=no
12611  need_version=no
12612  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12613  soname_spec='$libname$release$shared_ext$major'
12614  shlibpath_var=LD_LIBRARY_PATH
12615  shlibpath_overrides_runpath=no
12616  hardcode_into_libs=yes
12617  dynamic_linker='ldqnx.so'
12618  ;;
12619
12620openbsd* | bitrig*)
12621  version_type=sunos
12622  sys_lib_dlsearch_path_spec=/usr/lib
12623  need_lib_prefix=no
12624  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12625    need_version=no
12626  else
12627    need_version=yes
12628  fi
12629  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12630  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12631  shlibpath_var=LD_LIBRARY_PATH
12632  shlibpath_overrides_runpath=yes
12633  ;;
12634
12635os2*)
12636  libname_spec='$name'
12637  version_type=windows
12638  shrext_cmds=.dll
12639  need_version=no
12640  need_lib_prefix=no
12641  # OS/2 can only load a DLL with a base name of 8 characters or less.
12642  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12643    v=$($ECHO $release$versuffix | tr -d .-);
12644    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12645    $ECHO $n$v`$shared_ext'
12646  library_names_spec='${libname}_dll.$libext'
12647  dynamic_linker='OS/2 ld.exe'
12648  shlibpath_var=BEGINLIBPATH
12649  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12650  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12651  postinstall_cmds='base_file=`basename \$file`~
12652    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12653    dldir=$destdir/`dirname \$dlpath`~
12654    test -d \$dldir || mkdir -p \$dldir~
12655    $install_prog $dir/$dlname \$dldir/$dlname~
12656    chmod a+x \$dldir/$dlname~
12657    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12658      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12659    fi'
12660  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12661    dlpath=$dir/\$dldll~
12662    $RM \$dlpath'
12663  ;;
12664
12665osf3* | osf4* | osf5*)
12666  version_type=osf
12667  need_lib_prefix=no
12668  need_version=no
12669  soname_spec='$libname$release$shared_ext$major'
12670  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12671  shlibpath_var=LD_LIBRARY_PATH
12672  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12673  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12674  ;;
12675
12676rdos*)
12677  dynamic_linker=no
12678  ;;
12679
12680solaris*)
12681  version_type=linux # correct to gnu/linux during the next big refactor
12682  need_lib_prefix=no
12683  need_version=no
12684  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12685  soname_spec='$libname$release$shared_ext$major'
12686  shlibpath_var=LD_LIBRARY_PATH
12687  shlibpath_overrides_runpath=yes
12688  hardcode_into_libs=yes
12689  # ldd complains unless libraries are executable
12690  postinstall_cmds='chmod +x $lib'
12691  ;;
12692
12693sunos4*)
12694  version_type=sunos
12695  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12696  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12697  shlibpath_var=LD_LIBRARY_PATH
12698  shlibpath_overrides_runpath=yes
12699  if test yes = "$with_gnu_ld"; then
12700    need_lib_prefix=no
12701  fi
12702  need_version=yes
12703  ;;
12704
12705sysv4 | sysv4.3*)
12706  version_type=linux # correct to gnu/linux during the next big refactor
12707  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12708  soname_spec='$libname$release$shared_ext$major'
12709  shlibpath_var=LD_LIBRARY_PATH
12710  case $host_vendor in
12711    sni)
12712      shlibpath_overrides_runpath=no
12713      need_lib_prefix=no
12714      runpath_var=LD_RUN_PATH
12715      ;;
12716    siemens)
12717      need_lib_prefix=no
12718      ;;
12719    motorola)
12720      need_lib_prefix=no
12721      need_version=no
12722      shlibpath_overrides_runpath=no
12723      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12724      ;;
12725  esac
12726  ;;
12727
12728sysv4*MP*)
12729  if test -d /usr/nec; then
12730    version_type=linux # correct to gnu/linux during the next big refactor
12731    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12732    soname_spec='$libname$shared_ext.$major'
12733    shlibpath_var=LD_LIBRARY_PATH
12734  fi
12735  ;;
12736
12737sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12738  version_type=sco
12739  need_lib_prefix=no
12740  need_version=no
12741  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12742  soname_spec='$libname$release$shared_ext$major'
12743  shlibpath_var=LD_LIBRARY_PATH
12744  shlibpath_overrides_runpath=yes
12745  hardcode_into_libs=yes
12746  if test yes = "$with_gnu_ld"; then
12747    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12748  else
12749    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12750    case $host_os in
12751      sco3.2v5*)
12752        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12753	;;
12754    esac
12755  fi
12756  sys_lib_dlsearch_path_spec='/usr/lib'
12757  ;;
12758
12759tpf*)
12760  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12761  version_type=linux # correct to gnu/linux during the next big refactor
12762  need_lib_prefix=no
12763  need_version=no
12764  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12765  shlibpath_var=LD_LIBRARY_PATH
12766  shlibpath_overrides_runpath=no
12767  hardcode_into_libs=yes
12768  ;;
12769
12770uts4*)
12771  version_type=linux # correct to gnu/linux during the next big refactor
12772  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12773  soname_spec='$libname$release$shared_ext$major'
12774  shlibpath_var=LD_LIBRARY_PATH
12775  ;;
12776
12777*)
12778  dynamic_linker=no
12779  ;;
12780esac
12781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12782$as_echo "$dynamic_linker" >&6; }
12783test no = "$dynamic_linker" && can_build_shared=no
12784
12785variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12786if test yes = "$GCC"; then
12787  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12788fi
12789
12790if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12791  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12792fi
12793
12794if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12795  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12796fi
12797
12798# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12799configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12800
12801# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12802func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12803
12804# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12805configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12904$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12905hardcode_action=
12906if test -n "$hardcode_libdir_flag_spec" ||
12907   test -n "$runpath_var" ||
12908   test yes = "$hardcode_automatic"; then
12909
12910  # We can hardcode non-existent directories.
12911  if test no != "$hardcode_direct" &&
12912     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12913     # have to relink, otherwise we might link with an installed library
12914     # when we should be linking with a yet-to-be-installed one
12915     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12916     test no != "$hardcode_minus_L"; then
12917    # Linking always hardcodes the temporary library directory.
12918    hardcode_action=relink
12919  else
12920    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12921    hardcode_action=immediate
12922  fi
12923else
12924  # We cannot hardcode anything, or else we can only hardcode existing
12925  # directories.
12926  hardcode_action=unsupported
12927fi
12928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12929$as_echo "$hardcode_action" >&6; }
12930
12931if test relink = "$hardcode_action" ||
12932   test yes = "$inherit_rpath"; then
12933  # Fast installation is not supported
12934  enable_fast_install=no
12935elif test yes = "$shlibpath_overrides_runpath" ||
12936     test no = "$enable_shared"; then
12937  # Fast installation is not necessary
12938  enable_fast_install=needless
12939fi
12940
12941
12942
12943
12944
12945
12946  if test yes != "$enable_dlopen"; then
12947  enable_dlopen=unknown
12948  enable_dlopen_self=unknown
12949  enable_dlopen_self_static=unknown
12950else
12951  lt_cv_dlopen=no
12952  lt_cv_dlopen_libs=
12953
12954  case $host_os in
12955  beos*)
12956    lt_cv_dlopen=load_add_on
12957    lt_cv_dlopen_libs=
12958    lt_cv_dlopen_self=yes
12959    ;;
12960
12961  mingw* | pw32* | cegcc*)
12962    lt_cv_dlopen=LoadLibrary
12963    lt_cv_dlopen_libs=
12964    ;;
12965
12966  cygwin*)
12967    lt_cv_dlopen=dlopen
12968    lt_cv_dlopen_libs=
12969    ;;
12970
12971  darwin*)
12972    # if libdl is installed we need to link against it
12973    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12974$as_echo_n "checking for dlopen in -ldl... " >&6; }
12975if ${ac_cv_lib_dl_dlopen+:} false; then :
12976  $as_echo_n "(cached) " >&6
12977else
12978  ac_check_lib_save_LIBS=$LIBS
12979LIBS="-ldl  $LIBS"
12980cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981/* end confdefs.h.  */
12982
12983/* Override any GCC internal prototype to avoid an error.
12984   Use char because int might match the return type of a GCC
12985   builtin and then its argument prototype would still apply.  */
12986#ifdef __cplusplus
12987extern "C"
12988#endif
12989char dlopen ();
12990int
12991main ()
12992{
12993return dlopen ();
12994  ;
12995  return 0;
12996}
12997_ACEOF
12998if ac_fn_c_try_link "$LINENO"; then :
12999  ac_cv_lib_dl_dlopen=yes
13000else
13001  ac_cv_lib_dl_dlopen=no
13002fi
13003rm -f core conftest.err conftest.$ac_objext \
13004    conftest$ac_exeext conftest.$ac_ext
13005LIBS=$ac_check_lib_save_LIBS
13006fi
13007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13008$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13009if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13010  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13011else
13012
13013    lt_cv_dlopen=dyld
13014    lt_cv_dlopen_libs=
13015    lt_cv_dlopen_self=yes
13016
13017fi
13018
13019    ;;
13020
13021  tpf*)
13022    # Don't try to run any link tests for TPF.  We know it's impossible
13023    # because TPF is a cross-compiler, and we know how we open DSOs.
13024    lt_cv_dlopen=dlopen
13025    lt_cv_dlopen_libs=
13026    lt_cv_dlopen_self=no
13027    ;;
13028
13029  *)
13030    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13031if test "x$ac_cv_func_shl_load" = xyes; then :
13032  lt_cv_dlopen=shl_load
13033else
13034  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13035$as_echo_n "checking for shl_load in -ldld... " >&6; }
13036if ${ac_cv_lib_dld_shl_load+:} false; then :
13037  $as_echo_n "(cached) " >&6
13038else
13039  ac_check_lib_save_LIBS=$LIBS
13040LIBS="-ldld  $LIBS"
13041cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13042/* end confdefs.h.  */
13043
13044/* Override any GCC internal prototype to avoid an error.
13045   Use char because int might match the return type of a GCC
13046   builtin and then its argument prototype would still apply.  */
13047#ifdef __cplusplus
13048extern "C"
13049#endif
13050char shl_load ();
13051int
13052main ()
13053{
13054return shl_load ();
13055  ;
13056  return 0;
13057}
13058_ACEOF
13059if ac_fn_c_try_link "$LINENO"; then :
13060  ac_cv_lib_dld_shl_load=yes
13061else
13062  ac_cv_lib_dld_shl_load=no
13063fi
13064rm -f core conftest.err conftest.$ac_objext \
13065    conftest$ac_exeext conftest.$ac_ext
13066LIBS=$ac_check_lib_save_LIBS
13067fi
13068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13069$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13070if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13071  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13072else
13073  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13074if test "x$ac_cv_func_dlopen" = xyes; then :
13075  lt_cv_dlopen=dlopen
13076else
13077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13078$as_echo_n "checking for dlopen in -ldl... " >&6; }
13079if ${ac_cv_lib_dl_dlopen+:} false; then :
13080  $as_echo_n "(cached) " >&6
13081else
13082  ac_check_lib_save_LIBS=$LIBS
13083LIBS="-ldl  $LIBS"
13084cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13085/* end confdefs.h.  */
13086
13087/* Override any GCC internal prototype to avoid an error.
13088   Use char because int might match the return type of a GCC
13089   builtin and then its argument prototype would still apply.  */
13090#ifdef __cplusplus
13091extern "C"
13092#endif
13093char dlopen ();
13094int
13095main ()
13096{
13097return dlopen ();
13098  ;
13099  return 0;
13100}
13101_ACEOF
13102if ac_fn_c_try_link "$LINENO"; then :
13103  ac_cv_lib_dl_dlopen=yes
13104else
13105  ac_cv_lib_dl_dlopen=no
13106fi
13107rm -f core conftest.err conftest.$ac_objext \
13108    conftest$ac_exeext conftest.$ac_ext
13109LIBS=$ac_check_lib_save_LIBS
13110fi
13111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13112$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13113if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13114  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13115else
13116  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13117$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13118if ${ac_cv_lib_svld_dlopen+:} false; then :
13119  $as_echo_n "(cached) " >&6
13120else
13121  ac_check_lib_save_LIBS=$LIBS
13122LIBS="-lsvld  $LIBS"
13123cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13124/* end confdefs.h.  */
13125
13126/* Override any GCC internal prototype to avoid an error.
13127   Use char because int might match the return type of a GCC
13128   builtin and then its argument prototype would still apply.  */
13129#ifdef __cplusplus
13130extern "C"
13131#endif
13132char dlopen ();
13133int
13134main ()
13135{
13136return dlopen ();
13137  ;
13138  return 0;
13139}
13140_ACEOF
13141if ac_fn_c_try_link "$LINENO"; then :
13142  ac_cv_lib_svld_dlopen=yes
13143else
13144  ac_cv_lib_svld_dlopen=no
13145fi
13146rm -f core conftest.err conftest.$ac_objext \
13147    conftest$ac_exeext conftest.$ac_ext
13148LIBS=$ac_check_lib_save_LIBS
13149fi
13150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13151$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13152if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13153  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13154else
13155  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13156$as_echo_n "checking for dld_link in -ldld... " >&6; }
13157if ${ac_cv_lib_dld_dld_link+:} false; then :
13158  $as_echo_n "(cached) " >&6
13159else
13160  ac_check_lib_save_LIBS=$LIBS
13161LIBS="-ldld  $LIBS"
13162cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13163/* end confdefs.h.  */
13164
13165/* Override any GCC internal prototype to avoid an error.
13166   Use char because int might match the return type of a GCC
13167   builtin and then its argument prototype would still apply.  */
13168#ifdef __cplusplus
13169extern "C"
13170#endif
13171char dld_link ();
13172int
13173main ()
13174{
13175return dld_link ();
13176  ;
13177  return 0;
13178}
13179_ACEOF
13180if ac_fn_c_try_link "$LINENO"; then :
13181  ac_cv_lib_dld_dld_link=yes
13182else
13183  ac_cv_lib_dld_dld_link=no
13184fi
13185rm -f core conftest.err conftest.$ac_objext \
13186    conftest$ac_exeext conftest.$ac_ext
13187LIBS=$ac_check_lib_save_LIBS
13188fi
13189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13190$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13191if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13192  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13193fi
13194
13195
13196fi
13197
13198
13199fi
13200
13201
13202fi
13203
13204
13205fi
13206
13207
13208fi
13209
13210    ;;
13211  esac
13212
13213  if test no = "$lt_cv_dlopen"; then
13214    enable_dlopen=no
13215  else
13216    enable_dlopen=yes
13217  fi
13218
13219  case $lt_cv_dlopen in
13220  dlopen)
13221    save_CPPFLAGS=$CPPFLAGS
13222    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13223
13224    save_LDFLAGS=$LDFLAGS
13225    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13226
13227    save_LIBS=$LIBS
13228    LIBS="$lt_cv_dlopen_libs $LIBS"
13229
13230    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13231$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13232if ${lt_cv_dlopen_self+:} false; then :
13233  $as_echo_n "(cached) " >&6
13234else
13235  	  if test yes = "$cross_compiling"; then :
13236  lt_cv_dlopen_self=cross
13237else
13238  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13239  lt_status=$lt_dlunknown
13240  cat > conftest.$ac_ext <<_LT_EOF
13241#line $LINENO "configure"
13242#include "confdefs.h"
13243
13244#if HAVE_DLFCN_H
13245#include <dlfcn.h>
13246#endif
13247
13248#include <stdio.h>
13249
13250#ifdef RTLD_GLOBAL
13251#  define LT_DLGLOBAL		RTLD_GLOBAL
13252#else
13253#  ifdef DL_GLOBAL
13254#    define LT_DLGLOBAL		DL_GLOBAL
13255#  else
13256#    define LT_DLGLOBAL		0
13257#  endif
13258#endif
13259
13260/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13261   find out it does not work in some platform. */
13262#ifndef LT_DLLAZY_OR_NOW
13263#  ifdef RTLD_LAZY
13264#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13265#  else
13266#    ifdef DL_LAZY
13267#      define LT_DLLAZY_OR_NOW		DL_LAZY
13268#    else
13269#      ifdef RTLD_NOW
13270#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13271#      else
13272#        ifdef DL_NOW
13273#          define LT_DLLAZY_OR_NOW	DL_NOW
13274#        else
13275#          define LT_DLLAZY_OR_NOW	0
13276#        endif
13277#      endif
13278#    endif
13279#  endif
13280#endif
13281
13282/* When -fvisibility=hidden is used, assume the code has been annotated
13283   correspondingly for the symbols needed.  */
13284#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13285int fnord () __attribute__((visibility("default")));
13286#endif
13287
13288int fnord () { return 42; }
13289int main ()
13290{
13291  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13292  int status = $lt_dlunknown;
13293
13294  if (self)
13295    {
13296      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13297      else
13298        {
13299	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13300          else puts (dlerror ());
13301	}
13302      /* dlclose (self); */
13303    }
13304  else
13305    puts (dlerror ());
13306
13307  return status;
13308}
13309_LT_EOF
13310  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13311  (eval $ac_link) 2>&5
13312  ac_status=$?
13313  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13314  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13315    (./conftest; exit; ) >&5 2>/dev/null
13316    lt_status=$?
13317    case x$lt_status in
13318      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13319      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13320      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13321    esac
13322  else :
13323    # compilation failed
13324    lt_cv_dlopen_self=no
13325  fi
13326fi
13327rm -fr conftest*
13328
13329
13330fi
13331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13332$as_echo "$lt_cv_dlopen_self" >&6; }
13333
13334    if test yes = "$lt_cv_dlopen_self"; then
13335      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13336      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13337$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13338if ${lt_cv_dlopen_self_static+:} false; then :
13339  $as_echo_n "(cached) " >&6
13340else
13341  	  if test yes = "$cross_compiling"; then :
13342  lt_cv_dlopen_self_static=cross
13343else
13344  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13345  lt_status=$lt_dlunknown
13346  cat > conftest.$ac_ext <<_LT_EOF
13347#line $LINENO "configure"
13348#include "confdefs.h"
13349
13350#if HAVE_DLFCN_H
13351#include <dlfcn.h>
13352#endif
13353
13354#include <stdio.h>
13355
13356#ifdef RTLD_GLOBAL
13357#  define LT_DLGLOBAL		RTLD_GLOBAL
13358#else
13359#  ifdef DL_GLOBAL
13360#    define LT_DLGLOBAL		DL_GLOBAL
13361#  else
13362#    define LT_DLGLOBAL		0
13363#  endif
13364#endif
13365
13366/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13367   find out it does not work in some platform. */
13368#ifndef LT_DLLAZY_OR_NOW
13369#  ifdef RTLD_LAZY
13370#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13371#  else
13372#    ifdef DL_LAZY
13373#      define LT_DLLAZY_OR_NOW		DL_LAZY
13374#    else
13375#      ifdef RTLD_NOW
13376#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13377#      else
13378#        ifdef DL_NOW
13379#          define LT_DLLAZY_OR_NOW	DL_NOW
13380#        else
13381#          define LT_DLLAZY_OR_NOW	0
13382#        endif
13383#      endif
13384#    endif
13385#  endif
13386#endif
13387
13388/* When -fvisibility=hidden is used, assume the code has been annotated
13389   correspondingly for the symbols needed.  */
13390#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13391int fnord () __attribute__((visibility("default")));
13392#endif
13393
13394int fnord () { return 42; }
13395int main ()
13396{
13397  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13398  int status = $lt_dlunknown;
13399
13400  if (self)
13401    {
13402      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13403      else
13404        {
13405	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13406          else puts (dlerror ());
13407	}
13408      /* dlclose (self); */
13409    }
13410  else
13411    puts (dlerror ());
13412
13413  return status;
13414}
13415_LT_EOF
13416  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13417  (eval $ac_link) 2>&5
13418  ac_status=$?
13419  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13420  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13421    (./conftest; exit; ) >&5 2>/dev/null
13422    lt_status=$?
13423    case x$lt_status in
13424      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13425      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13426      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13427    esac
13428  else :
13429    # compilation failed
13430    lt_cv_dlopen_self_static=no
13431  fi
13432fi
13433rm -fr conftest*
13434
13435
13436fi
13437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13438$as_echo "$lt_cv_dlopen_self_static" >&6; }
13439    fi
13440
13441    CPPFLAGS=$save_CPPFLAGS
13442    LDFLAGS=$save_LDFLAGS
13443    LIBS=$save_LIBS
13444    ;;
13445  esac
13446
13447  case $lt_cv_dlopen_self in
13448  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13449  *) enable_dlopen_self=unknown ;;
13450  esac
13451
13452  case $lt_cv_dlopen_self_static in
13453  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13454  *) enable_dlopen_self_static=unknown ;;
13455  esac
13456fi
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474striplib=
13475old_striplib=
13476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13477$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13478if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13479  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13480  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13482$as_echo "yes" >&6; }
13483else
13484# FIXME - insert some real tests, host_os isn't really good enough
13485  case $host_os in
13486  darwin*)
13487    if test -n "$STRIP"; then
13488      striplib="$STRIP -x"
13489      old_striplib="$STRIP -S"
13490      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13491$as_echo "yes" >&6; }
13492    else
13493      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13494$as_echo "no" >&6; }
13495    fi
13496    ;;
13497  *)
13498    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13499$as_echo "no" >&6; }
13500    ;;
13501  esac
13502fi
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515  # Report what library types will actually be built
13516  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13517$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13519$as_echo "$can_build_shared" >&6; }
13520
13521  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13522$as_echo_n "checking whether to build shared libraries... " >&6; }
13523  test no = "$can_build_shared" && enable_shared=no
13524
13525  # On AIX, shared libraries and static libraries use the same namespace, and
13526  # are all built from PIC.
13527  case $host_os in
13528  aix3*)
13529    test yes = "$enable_shared" && enable_static=no
13530    if test -n "$RANLIB"; then
13531      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13532      postinstall_cmds='$RANLIB $lib'
13533    fi
13534    ;;
13535
13536  aix[4-9]*)
13537    if test ia64 != "$host_cpu"; then
13538      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13539      yes,aix,yes) ;;			# shared object as lib.so file only
13540      yes,svr4,*) ;;			# shared object as lib.so archive member only
13541      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13542      esac
13543    fi
13544    ;;
13545  esac
13546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13547$as_echo "$enable_shared" >&6; }
13548
13549  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13550$as_echo_n "checking whether to build static libraries... " >&6; }
13551  # Make sure either enable_shared or enable_static is yes.
13552  test yes = "$enable_shared" || enable_static=yes
13553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13554$as_echo "$enable_static" >&6; }
13555
13556
13557
13558
13559fi
13560ac_ext=c
13561ac_cpp='$CPP $CPPFLAGS'
13562ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13563ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13564ac_compiler_gnu=$ac_cv_c_compiler_gnu
13565
13566CC=$lt_save_CC
13567
13568      if test -n "$CXX" && ( test no != "$CXX" &&
13569    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13570    (test g++ != "$CXX"))); then
13571  ac_ext=cpp
13572ac_cpp='$CXXCPP $CPPFLAGS'
13573ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13574ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13575ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13577$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13578if test -z "$CXXCPP"; then
13579  if ${ac_cv_prog_CXXCPP+:} false; then :
13580  $as_echo_n "(cached) " >&6
13581else
13582      # Double quotes because CXXCPP needs to be expanded
13583    for CXXCPP in "$CXX -E" "/lib/cpp"
13584    do
13585      ac_preproc_ok=false
13586for ac_cxx_preproc_warn_flag in '' yes
13587do
13588  # Use a header file that comes with gcc, so configuring glibc
13589  # with a fresh cross-compiler works.
13590  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13591  # <limits.h> exists even on freestanding compilers.
13592  # On the NeXT, cc -E runs the code through the compiler's parser,
13593  # not just through cpp. "Syntax error" is here to catch this case.
13594  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13595/* end confdefs.h.  */
13596#ifdef __STDC__
13597# include <limits.h>
13598#else
13599# include <assert.h>
13600#endif
13601		     Syntax error
13602_ACEOF
13603if ac_fn_cxx_try_cpp "$LINENO"; then :
13604
13605else
13606  # Broken: fails on valid input.
13607continue
13608fi
13609rm -f conftest.err conftest.i conftest.$ac_ext
13610
13611  # OK, works on sane cases.  Now check whether nonexistent headers
13612  # can be detected and how.
13613  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13614/* end confdefs.h.  */
13615#include <ac_nonexistent.h>
13616_ACEOF
13617if ac_fn_cxx_try_cpp "$LINENO"; then :
13618  # Broken: success on invalid input.
13619continue
13620else
13621  # Passes both tests.
13622ac_preproc_ok=:
13623break
13624fi
13625rm -f conftest.err conftest.i conftest.$ac_ext
13626
13627done
13628# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13629rm -f conftest.i conftest.err conftest.$ac_ext
13630if $ac_preproc_ok; then :
13631  break
13632fi
13633
13634    done
13635    ac_cv_prog_CXXCPP=$CXXCPP
13636
13637fi
13638  CXXCPP=$ac_cv_prog_CXXCPP
13639else
13640  ac_cv_prog_CXXCPP=$CXXCPP
13641fi
13642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13643$as_echo "$CXXCPP" >&6; }
13644ac_preproc_ok=false
13645for ac_cxx_preproc_warn_flag in '' yes
13646do
13647  # Use a header file that comes with gcc, so configuring glibc
13648  # with a fresh cross-compiler works.
13649  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13650  # <limits.h> exists even on freestanding compilers.
13651  # On the NeXT, cc -E runs the code through the compiler's parser,
13652  # not just through cpp. "Syntax error" is here to catch this case.
13653  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13654/* end confdefs.h.  */
13655#ifdef __STDC__
13656# include <limits.h>
13657#else
13658# include <assert.h>
13659#endif
13660		     Syntax error
13661_ACEOF
13662if ac_fn_cxx_try_cpp "$LINENO"; then :
13663
13664else
13665  # Broken: fails on valid input.
13666continue
13667fi
13668rm -f conftest.err conftest.i conftest.$ac_ext
13669
13670  # OK, works on sane cases.  Now check whether nonexistent headers
13671  # can be detected and how.
13672  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673/* end confdefs.h.  */
13674#include <ac_nonexistent.h>
13675_ACEOF
13676if ac_fn_cxx_try_cpp "$LINENO"; then :
13677  # Broken: success on invalid input.
13678continue
13679else
13680  # Passes both tests.
13681ac_preproc_ok=:
13682break
13683fi
13684rm -f conftest.err conftest.i conftest.$ac_ext
13685
13686done
13687# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13688rm -f conftest.i conftest.err conftest.$ac_ext
13689if $ac_preproc_ok; then :
13690
13691else
13692  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13693$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13694as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13695See \`config.log' for more details" "$LINENO" 5; }
13696fi
13697
13698ac_ext=c
13699ac_cpp='$CPP $CPPFLAGS'
13700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13702ac_compiler_gnu=$ac_cv_c_compiler_gnu
13703
13704else
13705  _lt_caught_CXX_error=yes
13706fi
13707
13708ac_ext=cpp
13709ac_cpp='$CXXCPP $CPPFLAGS'
13710ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13711ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13712ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13713
13714archive_cmds_need_lc_CXX=no
13715allow_undefined_flag_CXX=
13716always_export_symbols_CXX=no
13717archive_expsym_cmds_CXX=
13718compiler_needs_object_CXX=no
13719export_dynamic_flag_spec_CXX=
13720hardcode_direct_CXX=no
13721hardcode_direct_absolute_CXX=no
13722hardcode_libdir_flag_spec_CXX=
13723hardcode_libdir_separator_CXX=
13724hardcode_minus_L_CXX=no
13725hardcode_shlibpath_var_CXX=unsupported
13726hardcode_automatic_CXX=no
13727inherit_rpath_CXX=no
13728module_cmds_CXX=
13729module_expsym_cmds_CXX=
13730link_all_deplibs_CXX=unknown
13731old_archive_cmds_CXX=$old_archive_cmds
13732reload_flag_CXX=$reload_flag
13733reload_cmds_CXX=$reload_cmds
13734no_undefined_flag_CXX=
13735whole_archive_flag_spec_CXX=
13736enable_shared_with_static_runtimes_CXX=no
13737
13738# Source file extension for C++ test sources.
13739ac_ext=cpp
13740
13741# Object file extension for compiled C++ test sources.
13742objext=o
13743objext_CXX=$objext
13744
13745# No sense in running all these tests if we already determined that
13746# the CXX compiler isn't working.  Some variables (like enable_shared)
13747# are currently assumed to apply to all compilers on this platform,
13748# and will be corrupted by setting them based on a non-working compiler.
13749if test yes != "$_lt_caught_CXX_error"; then
13750  # Code to be used in simple compile tests
13751  lt_simple_compile_test_code="int some_variable = 0;"
13752
13753  # Code to be used in simple link tests
13754  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13755
13756  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13757
13758
13759
13760
13761
13762
13763# If no C compiler was specified, use CC.
13764LTCC=${LTCC-"$CC"}
13765
13766# If no C compiler flags were specified, use CFLAGS.
13767LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13768
13769# Allow CC to be a program name with arguments.
13770compiler=$CC
13771
13772
13773  # save warnings/boilerplate of simple test code
13774  ac_outfile=conftest.$ac_objext
13775echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13776eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13777_lt_compiler_boilerplate=`cat conftest.err`
13778$RM conftest*
13779
13780  ac_outfile=conftest.$ac_objext
13781echo "$lt_simple_link_test_code" >conftest.$ac_ext
13782eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13783_lt_linker_boilerplate=`cat conftest.err`
13784$RM -r conftest*
13785
13786
13787  # Allow CC to be a program name with arguments.
13788  lt_save_CC=$CC
13789  lt_save_CFLAGS=$CFLAGS
13790  lt_save_LD=$LD
13791  lt_save_GCC=$GCC
13792  GCC=$GXX
13793  lt_save_with_gnu_ld=$with_gnu_ld
13794  lt_save_path_LD=$lt_cv_path_LD
13795  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13796    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13797  else
13798    $as_unset lt_cv_prog_gnu_ld
13799  fi
13800  if test -n "${lt_cv_path_LDCXX+set}"; then
13801    lt_cv_path_LD=$lt_cv_path_LDCXX
13802  else
13803    $as_unset lt_cv_path_LD
13804  fi
13805  test -z "${LDCXX+set}" || LD=$LDCXX
13806  CC=${CXX-"c++"}
13807  CFLAGS=$CXXFLAGS
13808  compiler=$CC
13809  compiler_CXX=$CC
13810  func_cc_basename $compiler
13811cc_basename=$func_cc_basename_result
13812
13813
13814  if test -n "$compiler"; then
13815    # We don't want -fno-exception when compiling C++ code, so set the
13816    # no_builtin_flag separately
13817    if test yes = "$GXX"; then
13818      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13819    else
13820      lt_prog_compiler_no_builtin_flag_CXX=
13821    fi
13822
13823    if test yes = "$GXX"; then
13824      # Set up default GNU C++ configuration
13825
13826
13827
13828# Check whether --with-gnu-ld was given.
13829if test "${with_gnu_ld+set}" = set; then :
13830  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13831else
13832  with_gnu_ld=no
13833fi
13834
13835ac_prog=ld
13836if test yes = "$GCC"; then
13837  # Check if gcc -print-prog-name=ld gives a path.
13838  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13839$as_echo_n "checking for ld used by $CC... " >&6; }
13840  case $host in
13841  *-*-mingw*)
13842    # gcc leaves a trailing carriage return, which upsets mingw
13843    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13844  *)
13845    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13846  esac
13847  case $ac_prog in
13848    # Accept absolute paths.
13849    [\\/]* | ?:[\\/]*)
13850      re_direlt='/[^/][^/]*/\.\./'
13851      # Canonicalize the pathname of ld
13852      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13853      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13854	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13855      done
13856      test -z "$LD" && LD=$ac_prog
13857      ;;
13858  "")
13859    # If it fails, then pretend we aren't using GCC.
13860    ac_prog=ld
13861    ;;
13862  *)
13863    # If it is relative, then search for the first ld in PATH.
13864    with_gnu_ld=unknown
13865    ;;
13866  esac
13867elif test yes = "$with_gnu_ld"; then
13868  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13869$as_echo_n "checking for GNU ld... " >&6; }
13870else
13871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13872$as_echo_n "checking for non-GNU ld... " >&6; }
13873fi
13874if ${lt_cv_path_LD+:} false; then :
13875  $as_echo_n "(cached) " >&6
13876else
13877  if test -z "$LD"; then
13878  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13879  for ac_dir in $PATH; do
13880    IFS=$lt_save_ifs
13881    test -z "$ac_dir" && ac_dir=.
13882    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13883      lt_cv_path_LD=$ac_dir/$ac_prog
13884      # Check to see if the program is GNU ld.  I'd rather use --version,
13885      # but apparently some variants of GNU ld only accept -v.
13886      # Break only if it was the GNU/non-GNU ld that we prefer.
13887      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13888      *GNU* | *'with BFD'*)
13889	test no != "$with_gnu_ld" && break
13890	;;
13891      *)
13892	test yes != "$with_gnu_ld" && break
13893	;;
13894      esac
13895    fi
13896  done
13897  IFS=$lt_save_ifs
13898else
13899  lt_cv_path_LD=$LD # Let the user override the test with a path.
13900fi
13901fi
13902
13903LD=$lt_cv_path_LD
13904if test -n "$LD"; then
13905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13906$as_echo "$LD" >&6; }
13907else
13908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13909$as_echo "no" >&6; }
13910fi
13911test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13913$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13914if ${lt_cv_prog_gnu_ld+:} false; then :
13915  $as_echo_n "(cached) " >&6
13916else
13917  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13918case `$LD -v 2>&1 </dev/null` in
13919*GNU* | *'with BFD'*)
13920  lt_cv_prog_gnu_ld=yes
13921  ;;
13922*)
13923  lt_cv_prog_gnu_ld=no
13924  ;;
13925esac
13926fi
13927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13928$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13929with_gnu_ld=$lt_cv_prog_gnu_ld
13930
13931
13932
13933
13934
13935
13936
13937      # Check if GNU C++ uses GNU ld as the underlying linker, since the
13938      # archiving commands below assume that GNU ld is being used.
13939      if test yes = "$with_gnu_ld"; then
13940        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13941        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13942
13943        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13944        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13945
13946        # If archive_cmds runs LD, not CC, wlarc should be empty
13947        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13948        #     investigate it a little bit more. (MM)
13949        wlarc='$wl'
13950
13951        # ancient GNU ld didn't support --whole-archive et. al.
13952        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13953	  $GREP 'no-whole-archive' > /dev/null; then
13954          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13955        else
13956          whole_archive_flag_spec_CXX=
13957        fi
13958      else
13959        with_gnu_ld=no
13960        wlarc=
13961
13962        # A generic and very simple default shared library creation
13963        # command for GNU C++ for the case where it uses the native
13964        # linker, instead of GNU ld.  If possible, this setting should
13965        # overridden to take advantage of the native linker features on
13966        # the platform it is being used on.
13967        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13968      fi
13969
13970      # Commands to make compiler produce verbose output that lists
13971      # what "hidden" libraries, object files and flags are used when
13972      # linking a shared library.
13973      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13974
13975    else
13976      GXX=no
13977      with_gnu_ld=no
13978      wlarc=
13979    fi
13980
13981    # PORTME: fill in a description of your system's C++ link characteristics
13982    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13983$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13984    ld_shlibs_CXX=yes
13985    case $host_os in
13986      aix3*)
13987        # FIXME: insert proper C++ library support
13988        ld_shlibs_CXX=no
13989        ;;
13990      aix[4-9]*)
13991        if test ia64 = "$host_cpu"; then
13992          # On IA64, the linker does run time linking by default, so we don't
13993          # have to do anything special.
13994          aix_use_runtimelinking=no
13995          exp_sym_flag='-Bexport'
13996          no_entry_flag=
13997        else
13998          aix_use_runtimelinking=no
13999
14000          # Test if we are trying to use run time linking or normal
14001          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14002          # have runtime linking enabled, and use it for executables.
14003          # For shared libraries, we enable/disable runtime linking
14004          # depending on the kind of the shared library created -
14005          # when "with_aix_soname,aix_use_runtimelinking" is:
14006          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
14007          # "aix,yes"  lib.so          shared, rtl:yes, for executables
14008          #            lib.a           static archive
14009          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
14010          #            lib.a(lib.so.V) shared, rtl:no,  for executables
14011          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14012          #            lib.a(lib.so.V) shared, rtl:no
14013          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14014          #            lib.a           static archive
14015          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14016	    for ld_flag in $LDFLAGS; do
14017	      case $ld_flag in
14018	      *-brtl*)
14019	        aix_use_runtimelinking=yes
14020	        break
14021	        ;;
14022	      esac
14023	    done
14024	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14025	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
14026	      # so we don't have lib.a shared libs to link our executables.
14027	      # We have to force runtime linking in this case.
14028	      aix_use_runtimelinking=yes
14029	      LDFLAGS="$LDFLAGS -Wl,-brtl"
14030	    fi
14031	    ;;
14032          esac
14033
14034          exp_sym_flag='-bexport'
14035          no_entry_flag='-bnoentry'
14036        fi
14037
14038        # When large executables or shared objects are built, AIX ld can
14039        # have problems creating the table of contents.  If linking a library
14040        # or program results in "error TOC overflow" add -mminimal-toc to
14041        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14042        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14043
14044        archive_cmds_CXX=''
14045        hardcode_direct_CXX=yes
14046        hardcode_direct_absolute_CXX=yes
14047        hardcode_libdir_separator_CXX=':'
14048        link_all_deplibs_CXX=yes
14049        file_list_spec_CXX='$wl-f,'
14050        case $with_aix_soname,$aix_use_runtimelinking in
14051        aix,*) ;;	# no import file
14052        svr4,* | *,yes) # use import file
14053          # The Import File defines what to hardcode.
14054          hardcode_direct_CXX=no
14055          hardcode_direct_absolute_CXX=no
14056          ;;
14057        esac
14058
14059        if test yes = "$GXX"; then
14060          case $host_os in aix4.[012]|aix4.[012].*)
14061          # We only want to do this on AIX 4.2 and lower, the check
14062          # below for broken collect2 doesn't work under 4.3+
14063	  collect2name=`$CC -print-prog-name=collect2`
14064	  if test -f "$collect2name" &&
14065	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14066	  then
14067	    # We have reworked collect2
14068	    :
14069	  else
14070	    # We have old collect2
14071	    hardcode_direct_CXX=unsupported
14072	    # It fails to find uninstalled libraries when the uninstalled
14073	    # path is not listed in the libpath.  Setting hardcode_minus_L
14074	    # to unsupported forces relinking
14075	    hardcode_minus_L_CXX=yes
14076	    hardcode_libdir_flag_spec_CXX='-L$libdir'
14077	    hardcode_libdir_separator_CXX=
14078	  fi
14079          esac
14080          shared_flag='-shared'
14081	  if test yes = "$aix_use_runtimelinking"; then
14082	    shared_flag=$shared_flag' $wl-G'
14083	  fi
14084	  # Need to ensure runtime linking is disabled for the traditional
14085	  # shared library, or the linker may eventually find shared libraries
14086	  # /with/ Import File - we do not want to mix them.
14087	  shared_flag_aix='-shared'
14088	  shared_flag_svr4='-shared $wl-G'
14089        else
14090          # not using gcc
14091          if test ia64 = "$host_cpu"; then
14092	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14093	  # chokes on -Wl,-G. The following line is correct:
14094	  shared_flag='-G'
14095          else
14096	    if test yes = "$aix_use_runtimelinking"; then
14097	      shared_flag='$wl-G'
14098	    else
14099	      shared_flag='$wl-bM:SRE'
14100	    fi
14101	    shared_flag_aix='$wl-bM:SRE'
14102	    shared_flag_svr4='$wl-G'
14103          fi
14104        fi
14105
14106        export_dynamic_flag_spec_CXX='$wl-bexpall'
14107        # It seems that -bexpall does not export symbols beginning with
14108        # underscore (_), so it is better to generate a list of symbols to
14109	# export.
14110        always_export_symbols_CXX=yes
14111	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14112          # Warning - without using the other runtime loading flags (-brtl),
14113          # -berok will link without error, but may produce a broken library.
14114          # The "-G" linker flag allows undefined symbols.
14115          no_undefined_flag_CXX='-bernotok'
14116          # Determine the default libpath from the value encoded in an empty
14117          # executable.
14118          if test set = "${lt_cv_aix_libpath+set}"; then
14119  aix_libpath=$lt_cv_aix_libpath
14120else
14121  if ${lt_cv_aix_libpath__CXX+:} false; then :
14122  $as_echo_n "(cached) " >&6
14123else
14124  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14125/* end confdefs.h.  */
14126
14127int
14128main ()
14129{
14130
14131  ;
14132  return 0;
14133}
14134_ACEOF
14135if ac_fn_cxx_try_link "$LINENO"; then :
14136
14137  lt_aix_libpath_sed='
14138      /Import File Strings/,/^$/ {
14139	  /^0/ {
14140	      s/^0  *\([^ ]*\) *$/\1/
14141	      p
14142	  }
14143      }'
14144  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14145  # Check for a 64-bit object if we didn't find anything.
14146  if test -z "$lt_cv_aix_libpath__CXX"; then
14147    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14148  fi
14149fi
14150rm -f core conftest.err conftest.$ac_objext \
14151    conftest$ac_exeext conftest.$ac_ext
14152  if test -z "$lt_cv_aix_libpath__CXX"; then
14153    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14154  fi
14155
14156fi
14157
14158  aix_libpath=$lt_cv_aix_libpath__CXX
14159fi
14160
14161          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14162
14163          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
14164        else
14165          if test ia64 = "$host_cpu"; then
14166	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14167	    allow_undefined_flag_CXX="-z nodefs"
14168	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
14169          else
14170	    # Determine the default libpath from the value encoded in an
14171	    # empty executable.
14172	    if test set = "${lt_cv_aix_libpath+set}"; then
14173  aix_libpath=$lt_cv_aix_libpath
14174else
14175  if ${lt_cv_aix_libpath__CXX+:} false; then :
14176  $as_echo_n "(cached) " >&6
14177else
14178  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14179/* end confdefs.h.  */
14180
14181int
14182main ()
14183{
14184
14185  ;
14186  return 0;
14187}
14188_ACEOF
14189if ac_fn_cxx_try_link "$LINENO"; then :
14190
14191  lt_aix_libpath_sed='
14192      /Import File Strings/,/^$/ {
14193	  /^0/ {
14194	      s/^0  *\([^ ]*\) *$/\1/
14195	      p
14196	  }
14197      }'
14198  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14199  # Check for a 64-bit object if we didn't find anything.
14200  if test -z "$lt_cv_aix_libpath__CXX"; then
14201    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14202  fi
14203fi
14204rm -f core conftest.err conftest.$ac_objext \
14205    conftest$ac_exeext conftest.$ac_ext
14206  if test -z "$lt_cv_aix_libpath__CXX"; then
14207    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14208  fi
14209
14210fi
14211
14212  aix_libpath=$lt_cv_aix_libpath__CXX
14213fi
14214
14215	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14216	    # Warning - without using the other run time loading flags,
14217	    # -berok will link without error, but may produce a broken library.
14218	    no_undefined_flag_CXX=' $wl-bernotok'
14219	    allow_undefined_flag_CXX=' $wl-berok'
14220	    if test yes = "$with_gnu_ld"; then
14221	      # We only use this code for GNU lds that support --whole-archive.
14222	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14223	    else
14224	      # Exported symbols can be pulled into shared objects from archives
14225	      whole_archive_flag_spec_CXX='$convenience'
14226	    fi
14227	    archive_cmds_need_lc_CXX=yes
14228	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14229	    # -brtl affects multiple linker settings, -berok does not and is overridden later
14230	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14231	    if test svr4 != "$with_aix_soname"; then
14232	      # This is similar to how AIX traditionally builds its shared
14233	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14234	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
14235	    fi
14236	    if test aix != "$with_aix_soname"; then
14237	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
14238	    else
14239	      # used by -dlpreopen to get the symbols
14240	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14241	    fi
14242	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14243          fi
14244        fi
14245        ;;
14246
14247      beos*)
14248	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14249	  allow_undefined_flag_CXX=unsupported
14250	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14251	  # support --undefined.  This deserves some investigation.  FIXME
14252	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14253	else
14254	  ld_shlibs_CXX=no
14255	fi
14256	;;
14257
14258      chorus*)
14259        case $cc_basename in
14260          *)
14261	  # FIXME: insert proper C++ library support
14262	  ld_shlibs_CXX=no
14263	  ;;
14264        esac
14265        ;;
14266
14267      cygwin* | mingw* | pw32* | cegcc*)
14268	case $GXX,$cc_basename in
14269	,cl* | no,cl*)
14270	  # Native MSVC
14271	  # hardcode_libdir_flag_spec is actually meaningless, as there is
14272	  # no search path for DLLs.
14273	  hardcode_libdir_flag_spec_CXX=' '
14274	  allow_undefined_flag_CXX=unsupported
14275	  always_export_symbols_CXX=yes
14276	  file_list_spec_CXX='@'
14277	  # Tell ltmain to make .lib files, not .a files.
14278	  libext=lib
14279	  # Tell ltmain to make .dll files, not .so files.
14280	  shrext_cmds=.dll
14281	  # FIXME: Setting linknames here is a bad hack.
14282	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14283	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14284              cp "$export_symbols" "$output_objdir/$soname.def";
14285              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14286            else
14287              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14288            fi~
14289            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14290            linknames='
14291	  # The linker will not automatically build a static lib if we build a DLL.
14292	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14293	  enable_shared_with_static_runtimes_CXX=yes
14294	  # Don't use ranlib
14295	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
14296	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14297            lt_tool_outputfile="@TOOL_OUTPUT@"~
14298            case $lt_outputfile in
14299              *.exe|*.EXE) ;;
14300              *)
14301                lt_outputfile=$lt_outputfile.exe
14302                lt_tool_outputfile=$lt_tool_outputfile.exe
14303                ;;
14304            esac~
14305            func_to_tool_file "$lt_outputfile"~
14306            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14307              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14308              $RM "$lt_outputfile.manifest";
14309            fi'
14310	  ;;
14311	*)
14312	  # g++
14313	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14314	  # as there is no search path for DLLs.
14315	  hardcode_libdir_flag_spec_CXX='-L$libdir'
14316	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14317	  allow_undefined_flag_CXX=unsupported
14318	  always_export_symbols_CXX=no
14319	  enable_shared_with_static_runtimes_CXX=yes
14320
14321	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14322	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14323	    # If the export-symbols file already is a .def file, use it as
14324	    # is; otherwise, prepend EXPORTS...
14325	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14326              cp $export_symbols $output_objdir/$soname.def;
14327            else
14328              echo EXPORTS > $output_objdir/$soname.def;
14329              cat $export_symbols >> $output_objdir/$soname.def;
14330            fi~
14331            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14332	  else
14333	    ld_shlibs_CXX=no
14334	  fi
14335	  ;;
14336	esac
14337	;;
14338      darwin* | rhapsody*)
14339
14340
14341  archive_cmds_need_lc_CXX=no
14342  hardcode_direct_CXX=no
14343  hardcode_automatic_CXX=yes
14344  hardcode_shlibpath_var_CXX=unsupported
14345  if test yes = "$lt_cv_ld_force_load"; then
14346    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14347
14348  else
14349    whole_archive_flag_spec_CXX=''
14350  fi
14351  link_all_deplibs_CXX=yes
14352  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14353  case $cc_basename in
14354     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14355     *) _lt_dar_can_shared=$GCC ;;
14356  esac
14357  if test yes = "$_lt_dar_can_shared"; then
14358    output_verbose_link_cmd=func_echo_all
14359    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
14360    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14361    archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
14362    module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
14363       if test yes != "$lt_cv_apple_cc_single_mod"; then
14364      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
14365      archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
14366    fi
14367
14368  else
14369  ld_shlibs_CXX=no
14370  fi
14371
14372	;;
14373
14374      os2*)
14375	hardcode_libdir_flag_spec_CXX='-L$libdir'
14376	hardcode_minus_L_CXX=yes
14377	allow_undefined_flag_CXX=unsupported
14378	shrext_cmds=.dll
14379	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14380	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14381	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14382	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14383	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14384	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14385	  emximp -o $lib $output_objdir/$libname.def'
14386	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14387	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14388	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14389	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14390	  prefix_cmds="$SED"~
14391	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14392	    prefix_cmds="$prefix_cmds -e 1d";
14393	  fi~
14394	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14395	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14396	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14397	  emximp -o $lib $output_objdir/$libname.def'
14398	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14399	enable_shared_with_static_runtimes_CXX=yes
14400	;;
14401
14402      dgux*)
14403        case $cc_basename in
14404          ec++*)
14405	    # FIXME: insert proper C++ library support
14406	    ld_shlibs_CXX=no
14407	    ;;
14408          ghcx*)
14409	    # Green Hills C++ Compiler
14410	    # FIXME: insert proper C++ library support
14411	    ld_shlibs_CXX=no
14412	    ;;
14413          *)
14414	    # FIXME: insert proper C++ library support
14415	    ld_shlibs_CXX=no
14416	    ;;
14417        esac
14418        ;;
14419
14420      freebsd2.*)
14421        # C++ shared libraries reported to be fairly broken before
14422	# switch to ELF
14423        ld_shlibs_CXX=no
14424        ;;
14425
14426      freebsd-elf*)
14427        archive_cmds_need_lc_CXX=no
14428        ;;
14429
14430      freebsd* | dragonfly*)
14431        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14432        # conventions
14433        ld_shlibs_CXX=yes
14434        ;;
14435
14436      haiku*)
14437        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14438        link_all_deplibs_CXX=yes
14439        ;;
14440
14441      hpux9*)
14442        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14443        hardcode_libdir_separator_CXX=:
14444        export_dynamic_flag_spec_CXX='$wl-E'
14445        hardcode_direct_CXX=yes
14446        hardcode_minus_L_CXX=yes # Not in the search PATH,
14447				             # but as the default
14448				             # location of the library.
14449
14450        case $cc_basename in
14451          CC*)
14452            # FIXME: insert proper C++ library support
14453            ld_shlibs_CXX=no
14454            ;;
14455          aCC*)
14456            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14457            # Commands to make compiler produce verbose output that lists
14458            # what "hidden" libraries, object files and flags are used when
14459            # linking a shared library.
14460            #
14461            # There doesn't appear to be a way to prevent this compiler from
14462            # explicitly linking system object files so we need to strip them
14463            # from the output so that they don't get included in the library
14464            # dependencies.
14465            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14466            ;;
14467          *)
14468            if test yes = "$GXX"; then
14469              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14470            else
14471              # FIXME: insert proper C++ library support
14472              ld_shlibs_CXX=no
14473            fi
14474            ;;
14475        esac
14476        ;;
14477
14478      hpux10*|hpux11*)
14479        if test no = "$with_gnu_ld"; then
14480	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14481	  hardcode_libdir_separator_CXX=:
14482
14483          case $host_cpu in
14484            hppa*64*|ia64*)
14485              ;;
14486            *)
14487	      export_dynamic_flag_spec_CXX='$wl-E'
14488              ;;
14489          esac
14490        fi
14491        case $host_cpu in
14492          hppa*64*|ia64*)
14493            hardcode_direct_CXX=no
14494            hardcode_shlibpath_var_CXX=no
14495            ;;
14496          *)
14497            hardcode_direct_CXX=yes
14498            hardcode_direct_absolute_CXX=yes
14499            hardcode_minus_L_CXX=yes # Not in the search PATH,
14500					         # but as the default
14501					         # location of the library.
14502            ;;
14503        esac
14504
14505        case $cc_basename in
14506          CC*)
14507	    # FIXME: insert proper C++ library support
14508	    ld_shlibs_CXX=no
14509	    ;;
14510          aCC*)
14511	    case $host_cpu in
14512	      hppa*64*)
14513	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14514	        ;;
14515	      ia64*)
14516	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14517	        ;;
14518	      *)
14519	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14520	        ;;
14521	    esac
14522	    # Commands to make compiler produce verbose output that lists
14523	    # what "hidden" libraries, object files and flags are used when
14524	    # linking a shared library.
14525	    #
14526	    # There doesn't appear to be a way to prevent this compiler from
14527	    # explicitly linking system object files so we need to strip them
14528	    # from the output so that they don't get included in the library
14529	    # dependencies.
14530	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14531	    ;;
14532          *)
14533	    if test yes = "$GXX"; then
14534	      if test no = "$with_gnu_ld"; then
14535	        case $host_cpu in
14536	          hppa*64*)
14537	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14538	            ;;
14539	          ia64*)
14540	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14541	            ;;
14542	          *)
14543	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14544	            ;;
14545	        esac
14546	      fi
14547	    else
14548	      # FIXME: insert proper C++ library support
14549	      ld_shlibs_CXX=no
14550	    fi
14551	    ;;
14552        esac
14553        ;;
14554
14555      interix[3-9]*)
14556	hardcode_direct_CXX=no
14557	hardcode_shlibpath_var_CXX=no
14558	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14559	export_dynamic_flag_spec_CXX='$wl-E'
14560	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14561	# Instead, shared libraries are loaded at an image base (0x10000000 by
14562	# default) and relocated if they conflict, which is a slow very memory
14563	# consuming and fragmenting process.  To avoid this, we pick a random,
14564	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14565	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14566	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14567	archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14568	;;
14569      irix5* | irix6*)
14570        case $cc_basename in
14571          CC*)
14572	    # SGI C++
14573	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14574
14575	    # Archives containing C++ object files must be created using
14576	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14577	    # necessary to make sure instantiated templates are included
14578	    # in the archive.
14579	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14580	    ;;
14581          *)
14582	    if test yes = "$GXX"; then
14583	      if test no = "$with_gnu_ld"; then
14584	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14585	      else
14586	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
14587	      fi
14588	    fi
14589	    link_all_deplibs_CXX=yes
14590	    ;;
14591        esac
14592        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14593        hardcode_libdir_separator_CXX=:
14594        inherit_rpath_CXX=yes
14595        ;;
14596
14597      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14598        case $cc_basename in
14599          KCC*)
14600	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14601
14602	    # KCC will only create a shared library if the output file
14603	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14604	    # to its proper name (with version) after linking.
14605	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14606	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
14607	    # Commands to make compiler produce verbose output that lists
14608	    # what "hidden" libraries, object files and flags are used when
14609	    # linking a shared library.
14610	    #
14611	    # There doesn't appear to be a way to prevent this compiler from
14612	    # explicitly linking system object files so we need to strip them
14613	    # from the output so that they don't get included in the library
14614	    # dependencies.
14615	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14616
14617	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14618	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14619
14620	    # Archives containing C++ object files must be created using
14621	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14622	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14623	    ;;
14624	  icpc* | ecpc* )
14625	    # Intel C++
14626	    with_gnu_ld=yes
14627	    # version 8.0 and above of icpc choke on multiply defined symbols
14628	    # if we add $predep_objects and $postdep_objects, however 7.1 and
14629	    # earlier do not add the objects themselves.
14630	    case `$CC -V 2>&1` in
14631	      *"Version 7."*)
14632	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14633		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14634		;;
14635	      *)  # Version 8.0 or newer
14636	        tmp_idyn=
14637	        case $host_cpu in
14638		  ia64*) tmp_idyn=' -i_dynamic';;
14639		esac
14640	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14641		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14642		;;
14643	    esac
14644	    archive_cmds_need_lc_CXX=no
14645	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14646	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14647	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14648	    ;;
14649          pgCC* | pgcpp*)
14650            # Portland Group C++ compiler
14651	    case `$CC -V` in
14652	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14653	      prelink_cmds_CXX='tpldir=Template.dir~
14654               rm -rf $tpldir~
14655               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14656               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14657	      old_archive_cmds_CXX='tpldir=Template.dir~
14658                rm -rf $tpldir~
14659                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14660                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14661                $RANLIB $oldlib'
14662	      archive_cmds_CXX='tpldir=Template.dir~
14663                rm -rf $tpldir~
14664                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14665                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14666	      archive_expsym_cmds_CXX='tpldir=Template.dir~
14667                rm -rf $tpldir~
14668                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14669                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14670	      ;;
14671	    *) # Version 6 and above use weak symbols
14672	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14673	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14674	      ;;
14675	    esac
14676
14677	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14678	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14679	    whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14680            ;;
14681	  cxx*)
14682	    # Compaq C++
14683	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14684	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
14685
14686	    runpath_var=LD_RUN_PATH
14687	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14688	    hardcode_libdir_separator_CXX=:
14689
14690	    # Commands to make compiler produce verbose output that lists
14691	    # what "hidden" libraries, object files and flags are used when
14692	    # linking a shared library.
14693	    #
14694	    # There doesn't appear to be a way to prevent this compiler from
14695	    # explicitly linking system object files so we need to strip them
14696	    # from the output so that they don't get included in the library
14697	    # dependencies.
14698	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14699	    ;;
14700	  xl* | mpixl* | bgxl*)
14701	    # IBM XL 8.0 on PPC, with GNU ld
14702	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14703	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14704	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14705	    if test yes = "$supports_anon_versioning"; then
14706	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14707                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14708                echo "local: *; };" >> $output_objdir/$libname.ver~
14709                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14710	    fi
14711	    ;;
14712	  *)
14713	    case `$CC -V 2>&1 | sed 5q` in
14714	    *Sun\ C*)
14715	      # Sun C++ 5.9
14716	      no_undefined_flag_CXX=' -zdefs'
14717	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14718	      archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
14719	      hardcode_libdir_flag_spec_CXX='-R$libdir'
14720	      whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14721	      compiler_needs_object_CXX=yes
14722
14723	      # Not sure whether something based on
14724	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14725	      # would be better.
14726	      output_verbose_link_cmd='func_echo_all'
14727
14728	      # Archives containing C++ object files must be created using
14729	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14730	      # necessary to make sure instantiated templates are included
14731	      # in the archive.
14732	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14733	      ;;
14734	    esac
14735	    ;;
14736	esac
14737	;;
14738
14739      lynxos*)
14740        # FIXME: insert proper C++ library support
14741	ld_shlibs_CXX=no
14742	;;
14743
14744      m88k*)
14745        # FIXME: insert proper C++ library support
14746        ld_shlibs_CXX=no
14747	;;
14748
14749      mvs*)
14750        case $cc_basename in
14751          cxx*)
14752	    # FIXME: insert proper C++ library support
14753	    ld_shlibs_CXX=no
14754	    ;;
14755	  *)
14756	    # FIXME: insert proper C++ library support
14757	    ld_shlibs_CXX=no
14758	    ;;
14759	esac
14760	;;
14761
14762      netbsd*)
14763        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14764	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14765	  wlarc=
14766	  hardcode_libdir_flag_spec_CXX='-R$libdir'
14767	  hardcode_direct_CXX=yes
14768	  hardcode_shlibpath_var_CXX=no
14769	fi
14770	# Workaround some broken pre-1.5 toolchains
14771	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14772	;;
14773
14774      *nto* | *qnx*)
14775        ld_shlibs_CXX=yes
14776	;;
14777
14778      openbsd* | bitrig*)
14779	if test -f /usr/libexec/ld.so; then
14780	  hardcode_direct_CXX=yes
14781	  hardcode_shlibpath_var_CXX=no
14782	  hardcode_direct_absolute_CXX=yes
14783	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14784	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14785	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14786	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14787	    export_dynamic_flag_spec_CXX='$wl-E'
14788	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14789	  fi
14790	  output_verbose_link_cmd=func_echo_all
14791	else
14792	  ld_shlibs_CXX=no
14793	fi
14794	;;
14795
14796      osf3* | osf4* | osf5*)
14797        case $cc_basename in
14798          KCC*)
14799	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14800
14801	    # KCC will only create a shared library if the output file
14802	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14803	    # to its proper name (with version) after linking.
14804	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14805
14806	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14807	    hardcode_libdir_separator_CXX=:
14808
14809	    # Archives containing C++ object files must be created using
14810	    # the KAI C++ compiler.
14811	    case $host in
14812	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14813	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14814	    esac
14815	    ;;
14816          RCC*)
14817	    # Rational C++ 2.4.1
14818	    # FIXME: insert proper C++ library support
14819	    ld_shlibs_CXX=no
14820	    ;;
14821          cxx*)
14822	    case $host in
14823	      osf3*)
14824	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14825	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14826	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14827		;;
14828	      *)
14829	        allow_undefined_flag_CXX=' -expect_unresolved \*'
14830	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14831	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14832                  echo "-hidden">> $lib.exp~
14833                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
14834                  $RM $lib.exp'
14835	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14836		;;
14837	    esac
14838
14839	    hardcode_libdir_separator_CXX=:
14840
14841	    # Commands to make compiler produce verbose output that lists
14842	    # what "hidden" libraries, object files and flags are used when
14843	    # linking a shared library.
14844	    #
14845	    # There doesn't appear to be a way to prevent this compiler from
14846	    # explicitly linking system object files so we need to strip them
14847	    # from the output so that they don't get included in the library
14848	    # dependencies.
14849	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14850	    ;;
14851	  *)
14852	    if test yes,no = "$GXX,$with_gnu_ld"; then
14853	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14854	      case $host in
14855	        osf3*)
14856	          archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14857		  ;;
14858	        *)
14859	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14860		  ;;
14861	      esac
14862
14863	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14864	      hardcode_libdir_separator_CXX=:
14865
14866	      # Commands to make compiler produce verbose output that lists
14867	      # what "hidden" libraries, object files and flags are used when
14868	      # linking a shared library.
14869	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14870
14871	    else
14872	      # FIXME: insert proper C++ library support
14873	      ld_shlibs_CXX=no
14874	    fi
14875	    ;;
14876        esac
14877        ;;
14878
14879      psos*)
14880        # FIXME: insert proper C++ library support
14881        ld_shlibs_CXX=no
14882        ;;
14883
14884      sunos4*)
14885        case $cc_basename in
14886          CC*)
14887	    # Sun C++ 4.x
14888	    # FIXME: insert proper C++ library support
14889	    ld_shlibs_CXX=no
14890	    ;;
14891          lcc*)
14892	    # Lucid
14893	    # FIXME: insert proper C++ library support
14894	    ld_shlibs_CXX=no
14895	    ;;
14896          *)
14897	    # FIXME: insert proper C++ library support
14898	    ld_shlibs_CXX=no
14899	    ;;
14900        esac
14901        ;;
14902
14903      solaris*)
14904        case $cc_basename in
14905          CC* | sunCC*)
14906	    # Sun C++ 4.2, 5.x and Centerline C++
14907            archive_cmds_need_lc_CXX=yes
14908	    no_undefined_flag_CXX=' -zdefs'
14909	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14910	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14911              $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14912
14913	    hardcode_libdir_flag_spec_CXX='-R$libdir'
14914	    hardcode_shlibpath_var_CXX=no
14915	    case $host_os in
14916	      solaris2.[0-5] | solaris2.[0-5].*) ;;
14917	      *)
14918		# The compiler driver will combine and reorder linker options,
14919		# but understands '-z linker_flag'.
14920	        # Supported since Solaris 2.6 (maybe 2.5.1?)
14921		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14922	        ;;
14923	    esac
14924	    link_all_deplibs_CXX=yes
14925
14926	    output_verbose_link_cmd='func_echo_all'
14927
14928	    # Archives containing C++ object files must be created using
14929	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14930	    # necessary to make sure instantiated templates are included
14931	    # in the archive.
14932	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14933	    ;;
14934          gcx*)
14935	    # Green Hills C++ Compiler
14936	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14937
14938	    # The C++ compiler must be used to create the archive.
14939	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14940	    ;;
14941          *)
14942	    # GNU C++ compiler with Solaris linker
14943	    if test yes,no = "$GXX,$with_gnu_ld"; then
14944	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
14945	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14946	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14947	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14948                  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14949
14950	        # Commands to make compiler produce verbose output that lists
14951	        # what "hidden" libraries, object files and flags are used when
14952	        # linking a shared library.
14953	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14954	      else
14955	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
14956	        # platform.
14957	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14958	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14959                  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14960
14961	        # Commands to make compiler produce verbose output that lists
14962	        # what "hidden" libraries, object files and flags are used when
14963	        # linking a shared library.
14964	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14965	      fi
14966
14967	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14968	      case $host_os in
14969		solaris2.[0-5] | solaris2.[0-5].*) ;;
14970		*)
14971		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14972		  ;;
14973	      esac
14974	    fi
14975	    ;;
14976        esac
14977        ;;
14978
14979    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14980      no_undefined_flag_CXX='$wl-z,text'
14981      archive_cmds_need_lc_CXX=no
14982      hardcode_shlibpath_var_CXX=no
14983      runpath_var='LD_RUN_PATH'
14984
14985      case $cc_basename in
14986        CC*)
14987	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14988	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14989	  ;;
14990	*)
14991	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14992	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14993	  ;;
14994      esac
14995      ;;
14996
14997      sysv5* | sco3.2v5* | sco5v6*)
14998	# Note: We CANNOT use -z defs as we might desire, because we do not
14999	# link with -lc, and that would cause any symbols used from libc to
15000	# always be unresolved, which means just about no library would
15001	# ever link correctly.  If we're not using GNU ld we use -z text
15002	# though, which does catch some bad symbols but isn't as heavy-handed
15003	# as -z defs.
15004	no_undefined_flag_CXX='$wl-z,text'
15005	allow_undefined_flag_CXX='$wl-z,nodefs'
15006	archive_cmds_need_lc_CXX=no
15007	hardcode_shlibpath_var_CXX=no
15008	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15009	hardcode_libdir_separator_CXX=':'
15010	link_all_deplibs_CXX=yes
15011	export_dynamic_flag_spec_CXX='$wl-Bexport'
15012	runpath_var='LD_RUN_PATH'
15013
15014	case $cc_basename in
15015          CC*)
15016	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15017	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15018	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15019              '"$old_archive_cmds_CXX"
15020	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15021              '"$reload_cmds_CXX"
15022	    ;;
15023	  *)
15024	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15025	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15026	    ;;
15027	esac
15028      ;;
15029
15030      tandem*)
15031        case $cc_basename in
15032          NCC*)
15033	    # NonStop-UX NCC 3.20
15034	    # FIXME: insert proper C++ library support
15035	    ld_shlibs_CXX=no
15036	    ;;
15037          *)
15038	    # FIXME: insert proper C++ library support
15039	    ld_shlibs_CXX=no
15040	    ;;
15041        esac
15042        ;;
15043
15044      vxworks*)
15045        # FIXME: insert proper C++ library support
15046        ld_shlibs_CXX=no
15047        ;;
15048
15049      *)
15050        # FIXME: insert proper C++ library support
15051        ld_shlibs_CXX=no
15052        ;;
15053    esac
15054
15055    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15056$as_echo "$ld_shlibs_CXX" >&6; }
15057    test no = "$ld_shlibs_CXX" && can_build_shared=no
15058
15059    GCC_CXX=$GXX
15060    LD_CXX=$LD
15061
15062    ## CAVEAT EMPTOR:
15063    ## There is no encapsulation within the following macros, do not change
15064    ## the running order or otherwise move them around unless you know exactly
15065    ## what you are doing...
15066    # Dependencies to place before and after the object being linked:
15067predep_objects_CXX=
15068postdep_objects_CXX=
15069predeps_CXX=
15070postdeps_CXX=
15071compiler_lib_search_path_CXX=
15072
15073cat > conftest.$ac_ext <<_LT_EOF
15074class Foo
15075{
15076public:
15077  Foo (void) { a = 0; }
15078private:
15079  int a;
15080};
15081_LT_EOF
15082
15083
15084_lt_libdeps_save_CFLAGS=$CFLAGS
15085case "$CC $CFLAGS " in #(
15086*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15087*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15088*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15089esac
15090
15091if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15092  (eval $ac_compile) 2>&5
15093  ac_status=$?
15094  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15095  test $ac_status = 0; }; then
15096  # Parse the compiler output and extract the necessary
15097  # objects, libraries and library flags.
15098
15099  # Sentinel used to keep track of whether or not we are before
15100  # the conftest object file.
15101  pre_test_object_deps_done=no
15102
15103  for p in `eval "$output_verbose_link_cmd"`; do
15104    case $prev$p in
15105
15106    -L* | -R* | -l*)
15107       # Some compilers place space between "-{L,R}" and the path.
15108       # Remove the space.
15109       if test x-L = "$p" ||
15110          test x-R = "$p"; then
15111	 prev=$p
15112	 continue
15113       fi
15114
15115       # Expand the sysroot to ease extracting the directories later.
15116       if test -z "$prev"; then
15117         case $p in
15118         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15119         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15120         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15121         esac
15122       fi
15123       case $p in
15124       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15125       esac
15126       if test no = "$pre_test_object_deps_done"; then
15127	 case $prev in
15128	 -L | -R)
15129	   # Internal compiler library paths should come after those
15130	   # provided the user.  The postdeps already come after the
15131	   # user supplied libs so there is no need to process them.
15132	   if test -z "$compiler_lib_search_path_CXX"; then
15133	     compiler_lib_search_path_CXX=$prev$p
15134	   else
15135	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15136	   fi
15137	   ;;
15138	 # The "-l" case would never come before the object being
15139	 # linked, so don't bother handling this case.
15140	 esac
15141       else
15142	 if test -z "$postdeps_CXX"; then
15143	   postdeps_CXX=$prev$p
15144	 else
15145	   postdeps_CXX="${postdeps_CXX} $prev$p"
15146	 fi
15147       fi
15148       prev=
15149       ;;
15150
15151    *.lto.$objext) ;; # Ignore GCC LTO objects
15152    *.$objext)
15153       # This assumes that the test object file only shows up
15154       # once in the compiler output.
15155       if test "$p" = "conftest.$objext"; then
15156	 pre_test_object_deps_done=yes
15157	 continue
15158       fi
15159
15160       if test no = "$pre_test_object_deps_done"; then
15161	 if test -z "$predep_objects_CXX"; then
15162	   predep_objects_CXX=$p
15163	 else
15164	   predep_objects_CXX="$predep_objects_CXX $p"
15165	 fi
15166       else
15167	 if test -z "$postdep_objects_CXX"; then
15168	   postdep_objects_CXX=$p
15169	 else
15170	   postdep_objects_CXX="$postdep_objects_CXX $p"
15171	 fi
15172       fi
15173       ;;
15174
15175    *) ;; # Ignore the rest.
15176
15177    esac
15178  done
15179
15180  # Clean up.
15181  rm -f a.out a.exe
15182else
15183  echo "libtool.m4: error: problem compiling CXX test program"
15184fi
15185
15186$RM -f confest.$objext
15187CFLAGS=$_lt_libdeps_save_CFLAGS
15188
15189# PORTME: override above test on systems where it is broken
15190case $host_os in
15191interix[3-9]*)
15192  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15193  # hack all around it, let's just trust "g++" to DTRT.
15194  predep_objects_CXX=
15195  postdep_objects_CXX=
15196  postdeps_CXX=
15197  ;;
15198esac
15199
15200
15201case " $postdeps_CXX " in
15202*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15203esac
15204 compiler_lib_search_dirs_CXX=
15205if test -n "${compiler_lib_search_path_CXX}"; then
15206 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15207fi
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239    lt_prog_compiler_wl_CXX=
15240lt_prog_compiler_pic_CXX=
15241lt_prog_compiler_static_CXX=
15242
15243
15244  # C++ specific cases for pic, static, wl, etc.
15245  if test yes = "$GXX"; then
15246    lt_prog_compiler_wl_CXX='-Wl,'
15247    lt_prog_compiler_static_CXX='-static'
15248
15249    case $host_os in
15250    aix*)
15251      # All AIX code is PIC.
15252      if test ia64 = "$host_cpu"; then
15253	# AIX 5 now supports IA64 processor
15254	lt_prog_compiler_static_CXX='-Bstatic'
15255      fi
15256      lt_prog_compiler_pic_CXX='-fPIC'
15257      ;;
15258
15259    amigaos*)
15260      case $host_cpu in
15261      powerpc)
15262            # see comment about AmigaOS4 .so support
15263            lt_prog_compiler_pic_CXX='-fPIC'
15264        ;;
15265      m68k)
15266            # FIXME: we need at least 68020 code to build shared libraries, but
15267            # adding the '-m68020' flag to GCC prevents building anything better,
15268            # like '-m68040'.
15269            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15270        ;;
15271      esac
15272      ;;
15273
15274    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15275      # PIC is the default for these OSes.
15276      ;;
15277    mingw* | cygwin* | os2* | pw32* | cegcc*)
15278      # This hack is so that the source file can tell whether it is being
15279      # built for inclusion in a dll (and should export symbols for example).
15280      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15281      # (--disable-auto-import) libraries
15282      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15283      case $host_os in
15284      os2*)
15285	lt_prog_compiler_static_CXX='$wl-static'
15286	;;
15287      esac
15288      ;;
15289    darwin* | rhapsody*)
15290      # PIC is the default on this platform
15291      # Common symbols not allowed in MH_DYLIB files
15292      lt_prog_compiler_pic_CXX='-fno-common'
15293      ;;
15294    *djgpp*)
15295      # DJGPP does not support shared libraries at all
15296      lt_prog_compiler_pic_CXX=
15297      ;;
15298    haiku*)
15299      # PIC is the default for Haiku.
15300      # The "-static" flag exists, but is broken.
15301      lt_prog_compiler_static_CXX=
15302      ;;
15303    interix[3-9]*)
15304      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15305      # Instead, we relocate shared libraries at runtime.
15306      ;;
15307    sysv4*MP*)
15308      if test -d /usr/nec; then
15309	lt_prog_compiler_pic_CXX=-Kconform_pic
15310      fi
15311      ;;
15312    hpux*)
15313      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15314      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15315      # sets the default TLS model and affects inlining.
15316      case $host_cpu in
15317      hppa*64*)
15318	;;
15319      *)
15320	lt_prog_compiler_pic_CXX='-fPIC'
15321	;;
15322      esac
15323      ;;
15324    *qnx* | *nto*)
15325      # QNX uses GNU C++, but need to define -shared option too, otherwise
15326      # it will coredump.
15327      lt_prog_compiler_pic_CXX='-fPIC -shared'
15328      ;;
15329    *)
15330      lt_prog_compiler_pic_CXX='-fPIC'
15331      ;;
15332    esac
15333  else
15334    case $host_os in
15335      aix[4-9]*)
15336	# All AIX code is PIC.
15337	if test ia64 = "$host_cpu"; then
15338	  # AIX 5 now supports IA64 processor
15339	  lt_prog_compiler_static_CXX='-Bstatic'
15340	else
15341	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15342	fi
15343	;;
15344      chorus*)
15345	case $cc_basename in
15346	cxch68*)
15347	  # Green Hills C++ Compiler
15348	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15349	  ;;
15350	esac
15351	;;
15352      mingw* | cygwin* | os2* | pw32* | cegcc*)
15353	# This hack is so that the source file can tell whether it is being
15354	# built for inclusion in a dll (and should export symbols for example).
15355	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15356	;;
15357      dgux*)
15358	case $cc_basename in
15359	  ec++*)
15360	    lt_prog_compiler_pic_CXX='-KPIC'
15361	    ;;
15362	  ghcx*)
15363	    # Green Hills C++ Compiler
15364	    lt_prog_compiler_pic_CXX='-pic'
15365	    ;;
15366	  *)
15367	    ;;
15368	esac
15369	;;
15370      freebsd* | dragonfly*)
15371	# FreeBSD uses GNU C++
15372	;;
15373      hpux9* | hpux10* | hpux11*)
15374	case $cc_basename in
15375	  CC*)
15376	    lt_prog_compiler_wl_CXX='-Wl,'
15377	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15378	    if test ia64 != "$host_cpu"; then
15379	      lt_prog_compiler_pic_CXX='+Z'
15380	    fi
15381	    ;;
15382	  aCC*)
15383	    lt_prog_compiler_wl_CXX='-Wl,'
15384	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15385	    case $host_cpu in
15386	    hppa*64*|ia64*)
15387	      # +Z the default
15388	      ;;
15389	    *)
15390	      lt_prog_compiler_pic_CXX='+Z'
15391	      ;;
15392	    esac
15393	    ;;
15394	  *)
15395	    ;;
15396	esac
15397	;;
15398      interix*)
15399	# This is c89, which is MS Visual C++ (no shared libs)
15400	# Anyone wants to do a port?
15401	;;
15402      irix5* | irix6* | nonstopux*)
15403	case $cc_basename in
15404	  CC*)
15405	    lt_prog_compiler_wl_CXX='-Wl,'
15406	    lt_prog_compiler_static_CXX='-non_shared'
15407	    # CC pic flag -KPIC is the default.
15408	    ;;
15409	  *)
15410	    ;;
15411	esac
15412	;;
15413      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15414	case $cc_basename in
15415	  KCC*)
15416	    # KAI C++ Compiler
15417	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15418	    lt_prog_compiler_pic_CXX='-fPIC'
15419	    ;;
15420	  ecpc* )
15421	    # old Intel C++ for x86_64, which still supported -KPIC.
15422	    lt_prog_compiler_wl_CXX='-Wl,'
15423	    lt_prog_compiler_pic_CXX='-KPIC'
15424	    lt_prog_compiler_static_CXX='-static'
15425	    ;;
15426	  icpc* )
15427	    # Intel C++, used to be incompatible with GCC.
15428	    # ICC 10 doesn't accept -KPIC any more.
15429	    lt_prog_compiler_wl_CXX='-Wl,'
15430	    lt_prog_compiler_pic_CXX='-fPIC'
15431	    lt_prog_compiler_static_CXX='-static'
15432	    ;;
15433	  pgCC* | pgcpp*)
15434	    # Portland Group C++ compiler
15435	    lt_prog_compiler_wl_CXX='-Wl,'
15436	    lt_prog_compiler_pic_CXX='-fpic'
15437	    lt_prog_compiler_static_CXX='-Bstatic'
15438	    ;;
15439	  cxx*)
15440	    # Compaq C++
15441	    # Make sure the PIC flag is empty.  It appears that all Alpha
15442	    # Linux and Compaq Tru64 Unix objects are PIC.
15443	    lt_prog_compiler_pic_CXX=
15444	    lt_prog_compiler_static_CXX='-non_shared'
15445	    ;;
15446	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15447	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15448	    lt_prog_compiler_wl_CXX='-Wl,'
15449	    lt_prog_compiler_pic_CXX='-qpic'
15450	    lt_prog_compiler_static_CXX='-qstaticlink'
15451	    ;;
15452	  *)
15453	    case `$CC -V 2>&1 | sed 5q` in
15454	    *Sun\ C*)
15455	      # Sun C++ 5.9
15456	      lt_prog_compiler_pic_CXX='-KPIC'
15457	      lt_prog_compiler_static_CXX='-Bstatic'
15458	      lt_prog_compiler_wl_CXX='-Qoption ld '
15459	      ;;
15460	    esac
15461	    ;;
15462	esac
15463	;;
15464      lynxos*)
15465	;;
15466      m88k*)
15467	;;
15468      mvs*)
15469	case $cc_basename in
15470	  cxx*)
15471	    lt_prog_compiler_pic_CXX='-W c,exportall'
15472	    ;;
15473	  *)
15474	    ;;
15475	esac
15476	;;
15477      netbsd*)
15478	;;
15479      *qnx* | *nto*)
15480        # QNX uses GNU C++, but need to define -shared option too, otherwise
15481        # it will coredump.
15482        lt_prog_compiler_pic_CXX='-fPIC -shared'
15483        ;;
15484      osf3* | osf4* | osf5*)
15485	case $cc_basename in
15486	  KCC*)
15487	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15488	    ;;
15489	  RCC*)
15490	    # Rational C++ 2.4.1
15491	    lt_prog_compiler_pic_CXX='-pic'
15492	    ;;
15493	  cxx*)
15494	    # Digital/Compaq C++
15495	    lt_prog_compiler_wl_CXX='-Wl,'
15496	    # Make sure the PIC flag is empty.  It appears that all Alpha
15497	    # Linux and Compaq Tru64 Unix objects are PIC.
15498	    lt_prog_compiler_pic_CXX=
15499	    lt_prog_compiler_static_CXX='-non_shared'
15500	    ;;
15501	  *)
15502	    ;;
15503	esac
15504	;;
15505      psos*)
15506	;;
15507      solaris*)
15508	case $cc_basename in
15509	  CC* | sunCC*)
15510	    # Sun C++ 4.2, 5.x and Centerline C++
15511	    lt_prog_compiler_pic_CXX='-KPIC'
15512	    lt_prog_compiler_static_CXX='-Bstatic'
15513	    lt_prog_compiler_wl_CXX='-Qoption ld '
15514	    ;;
15515	  gcx*)
15516	    # Green Hills C++ Compiler
15517	    lt_prog_compiler_pic_CXX='-PIC'
15518	    ;;
15519	  *)
15520	    ;;
15521	esac
15522	;;
15523      sunos4*)
15524	case $cc_basename in
15525	  CC*)
15526	    # Sun C++ 4.x
15527	    lt_prog_compiler_pic_CXX='-pic'
15528	    lt_prog_compiler_static_CXX='-Bstatic'
15529	    ;;
15530	  lcc*)
15531	    # Lucid
15532	    lt_prog_compiler_pic_CXX='-pic'
15533	    ;;
15534	  *)
15535	    ;;
15536	esac
15537	;;
15538      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15539	case $cc_basename in
15540	  CC*)
15541	    lt_prog_compiler_wl_CXX='-Wl,'
15542	    lt_prog_compiler_pic_CXX='-KPIC'
15543	    lt_prog_compiler_static_CXX='-Bstatic'
15544	    ;;
15545	esac
15546	;;
15547      tandem*)
15548	case $cc_basename in
15549	  NCC*)
15550	    # NonStop-UX NCC 3.20
15551	    lt_prog_compiler_pic_CXX='-KPIC'
15552	    ;;
15553	  *)
15554	    ;;
15555	esac
15556	;;
15557      vxworks*)
15558	;;
15559      *)
15560	lt_prog_compiler_can_build_shared_CXX=no
15561	;;
15562    esac
15563  fi
15564
15565case $host_os in
15566  # For platforms that do not support PIC, -DPIC is meaningless:
15567  *djgpp*)
15568    lt_prog_compiler_pic_CXX=
15569    ;;
15570  *)
15571    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15572    ;;
15573esac
15574
15575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15576$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15577if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15578  $as_echo_n "(cached) " >&6
15579else
15580  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15581fi
15582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15583$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15584lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15585
15586#
15587# Check to make sure the PIC flag actually works.
15588#
15589if test -n "$lt_prog_compiler_pic_CXX"; then
15590  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15591$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15592if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15593  $as_echo_n "(cached) " >&6
15594else
15595  lt_cv_prog_compiler_pic_works_CXX=no
15596   ac_outfile=conftest.$ac_objext
15597   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15598   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15599   # Insert the option either (1) after the last *FLAGS variable, or
15600   # (2) before a word containing "conftest.", or (3) at the end.
15601   # Note that $ac_compile itself does not contain backslashes and begins
15602   # with a dollar sign (not a hyphen), so the echo should work correctly.
15603   # The option is referenced via a variable to avoid confusing sed.
15604   lt_compile=`echo "$ac_compile" | $SED \
15605   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15606   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15607   -e 's:$: $lt_compiler_flag:'`
15608   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15609   (eval "$lt_compile" 2>conftest.err)
15610   ac_status=$?
15611   cat conftest.err >&5
15612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613   if (exit $ac_status) && test -s "$ac_outfile"; then
15614     # The compiler can only warn and ignore the option if not recognized
15615     # So say no if there are warnings other than the usual output.
15616     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15617     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15618     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15619       lt_cv_prog_compiler_pic_works_CXX=yes
15620     fi
15621   fi
15622   $RM conftest*
15623
15624fi
15625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15626$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15627
15628if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15629    case $lt_prog_compiler_pic_CXX in
15630     "" | " "*) ;;
15631     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15632     esac
15633else
15634    lt_prog_compiler_pic_CXX=
15635     lt_prog_compiler_can_build_shared_CXX=no
15636fi
15637
15638fi
15639
15640
15641
15642
15643
15644#
15645# Check to make sure the static flag actually works.
15646#
15647wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15649$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15650if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15651  $as_echo_n "(cached) " >&6
15652else
15653  lt_cv_prog_compiler_static_works_CXX=no
15654   save_LDFLAGS=$LDFLAGS
15655   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15656   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15657   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15658     # The linker can only warn and ignore the option if not recognized
15659     # So say no if there are warnings
15660     if test -s conftest.err; then
15661       # Append any errors to the config.log.
15662       cat conftest.err 1>&5
15663       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15664       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15665       if diff conftest.exp conftest.er2 >/dev/null; then
15666         lt_cv_prog_compiler_static_works_CXX=yes
15667       fi
15668     else
15669       lt_cv_prog_compiler_static_works_CXX=yes
15670     fi
15671   fi
15672   $RM -r conftest*
15673   LDFLAGS=$save_LDFLAGS
15674
15675fi
15676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15677$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15678
15679if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15680    :
15681else
15682    lt_prog_compiler_static_CXX=
15683fi
15684
15685
15686
15687
15688    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15689$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15690if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15691  $as_echo_n "(cached) " >&6
15692else
15693  lt_cv_prog_compiler_c_o_CXX=no
15694   $RM -r conftest 2>/dev/null
15695   mkdir conftest
15696   cd conftest
15697   mkdir out
15698   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15699
15700   lt_compiler_flag="-o out/conftest2.$ac_objext"
15701   # Insert the option either (1) after the last *FLAGS variable, or
15702   # (2) before a word containing "conftest.", or (3) at the end.
15703   # Note that $ac_compile itself does not contain backslashes and begins
15704   # with a dollar sign (not a hyphen), so the echo should work correctly.
15705   lt_compile=`echo "$ac_compile" | $SED \
15706   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15707   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15708   -e 's:$: $lt_compiler_flag:'`
15709   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15710   (eval "$lt_compile" 2>out/conftest.err)
15711   ac_status=$?
15712   cat out/conftest.err >&5
15713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15715   then
15716     # The compiler can only warn and ignore the option if not recognized
15717     # So say no if there are warnings
15718     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15719     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15720     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15721       lt_cv_prog_compiler_c_o_CXX=yes
15722     fi
15723   fi
15724   chmod u+w . 2>&5
15725   $RM conftest*
15726   # SGI C++ compiler will create directory out/ii_files/ for
15727   # template instantiation
15728   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15729   $RM out/* && rmdir out
15730   cd ..
15731   $RM -r conftest
15732   $RM conftest*
15733
15734fi
15735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15736$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15737
15738
15739
15740    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15741$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15742if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15743  $as_echo_n "(cached) " >&6
15744else
15745  lt_cv_prog_compiler_c_o_CXX=no
15746   $RM -r conftest 2>/dev/null
15747   mkdir conftest
15748   cd conftest
15749   mkdir out
15750   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15751
15752   lt_compiler_flag="-o out/conftest2.$ac_objext"
15753   # Insert the option either (1) after the last *FLAGS variable, or
15754   # (2) before a word containing "conftest.", or (3) at the end.
15755   # Note that $ac_compile itself does not contain backslashes and begins
15756   # with a dollar sign (not a hyphen), so the echo should work correctly.
15757   lt_compile=`echo "$ac_compile" | $SED \
15758   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15759   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15760   -e 's:$: $lt_compiler_flag:'`
15761   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15762   (eval "$lt_compile" 2>out/conftest.err)
15763   ac_status=$?
15764   cat out/conftest.err >&5
15765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15767   then
15768     # The compiler can only warn and ignore the option if not recognized
15769     # So say no if there are warnings
15770     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15771     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15772     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15773       lt_cv_prog_compiler_c_o_CXX=yes
15774     fi
15775   fi
15776   chmod u+w . 2>&5
15777   $RM conftest*
15778   # SGI C++ compiler will create directory out/ii_files/ for
15779   # template instantiation
15780   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15781   $RM out/* && rmdir out
15782   cd ..
15783   $RM -r conftest
15784   $RM conftest*
15785
15786fi
15787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15788$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15789
15790
15791
15792
15793hard_links=nottested
15794if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15795  # do not overwrite the value of need_locks provided by the user
15796  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15797$as_echo_n "checking if we can lock with hard links... " >&6; }
15798  hard_links=yes
15799  $RM conftest*
15800  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15801  touch conftest.a
15802  ln conftest.a conftest.b 2>&5 || hard_links=no
15803  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15805$as_echo "$hard_links" >&6; }
15806  if test no = "$hard_links"; then
15807    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15808$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15809    need_locks=warn
15810  fi
15811else
15812  need_locks=no
15813fi
15814
15815
15816
15817    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15818$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15819
15820  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15821  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15822  case $host_os in
15823  aix[4-9]*)
15824    # If we're using GNU nm, then we don't want the "-C" option.
15825    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15826    # Without the "-l" option, or with the "-B" option, AIX nm treats
15827    # weak defined symbols like other global defined symbols, whereas
15828    # GNU nm marks them as "W".
15829    # While the 'weak' keyword is ignored in the Export File, we need
15830    # it in the Import File for the 'aix-soname' feature, so we have
15831    # to replace the "-B" option with "-P" for AIX nm.
15832    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15833      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
15834    else
15835      export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
15836    fi
15837    ;;
15838  pw32*)
15839    export_symbols_cmds_CXX=$ltdll_cmds
15840    ;;
15841  cygwin* | mingw* | cegcc*)
15842    case $cc_basename in
15843    cl*)
15844      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15845      ;;
15846    *)
15847      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15848      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15849      ;;
15850    esac
15851    ;;
15852  *)
15853    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15854    ;;
15855  esac
15856
15857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15858$as_echo "$ld_shlibs_CXX" >&6; }
15859test no = "$ld_shlibs_CXX" && can_build_shared=no
15860
15861with_gnu_ld_CXX=$with_gnu_ld
15862
15863
15864
15865
15866
15867
15868#
15869# Do we need to explicitly link libc?
15870#
15871case "x$archive_cmds_need_lc_CXX" in
15872x|xyes)
15873  # Assume -lc should be added
15874  archive_cmds_need_lc_CXX=yes
15875
15876  if test yes,yes = "$GCC,$enable_shared"; then
15877    case $archive_cmds_CXX in
15878    *'~'*)
15879      # FIXME: we may have to deal with multi-command sequences.
15880      ;;
15881    '$CC '*)
15882      # Test whether the compiler implicitly links with -lc since on some
15883      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15884      # to ld, don't add -lc before -lgcc.
15885      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15886$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15887if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15888  $as_echo_n "(cached) " >&6
15889else
15890  $RM conftest*
15891	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15892
15893	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15894  (eval $ac_compile) 2>&5
15895  ac_status=$?
15896  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15897  test $ac_status = 0; } 2>conftest.err; then
15898	  soname=conftest
15899	  lib=conftest
15900	  libobjs=conftest.$ac_objext
15901	  deplibs=
15902	  wl=$lt_prog_compiler_wl_CXX
15903	  pic_flag=$lt_prog_compiler_pic_CXX
15904	  compiler_flags=-v
15905	  linker_flags=-v
15906	  verstring=
15907	  output_objdir=.
15908	  libname=conftest
15909	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15910	  allow_undefined_flag_CXX=
15911	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15912  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15913  ac_status=$?
15914  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15915  test $ac_status = 0; }
15916	  then
15917	    lt_cv_archive_cmds_need_lc_CXX=no
15918	  else
15919	    lt_cv_archive_cmds_need_lc_CXX=yes
15920	  fi
15921	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15922	else
15923	  cat conftest.err 1>&5
15924	fi
15925	$RM conftest*
15926
15927fi
15928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15929$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15930      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15931      ;;
15932    esac
15933  fi
15934  ;;
15935esac
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15999$as_echo_n "checking dynamic linker characteristics... " >&6; }
16000
16001library_names_spec=
16002libname_spec='lib$name'
16003soname_spec=
16004shrext_cmds=.so
16005postinstall_cmds=
16006postuninstall_cmds=
16007finish_cmds=
16008finish_eval=
16009shlibpath_var=
16010shlibpath_overrides_runpath=unknown
16011version_type=none
16012dynamic_linker="$host_os ld.so"
16013sys_lib_dlsearch_path_spec="/lib /usr/lib"
16014need_lib_prefix=unknown
16015hardcode_into_libs=no
16016
16017# when you set need_version to no, make sure it does not cause -set_version
16018# flags to be left without arguments
16019need_version=unknown
16020
16021
16022
16023case $host_os in
16024aix3*)
16025  version_type=linux # correct to gnu/linux during the next big refactor
16026  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16027  shlibpath_var=LIBPATH
16028
16029  # AIX 3 has no versioning support, so we append a major version to the name.
16030  soname_spec='$libname$release$shared_ext$major'
16031  ;;
16032
16033aix[4-9]*)
16034  version_type=linux # correct to gnu/linux during the next big refactor
16035  need_lib_prefix=no
16036  need_version=no
16037  hardcode_into_libs=yes
16038  if test ia64 = "$host_cpu"; then
16039    # AIX 5 supports IA64
16040    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16041    shlibpath_var=LD_LIBRARY_PATH
16042  else
16043    # With GCC up to 2.95.x, collect2 would create an import file
16044    # for dependence libraries.  The import file would start with
16045    # the line '#! .'.  This would cause the generated library to
16046    # depend on '.', always an invalid library.  This was fixed in
16047    # development snapshots of GCC prior to 3.0.
16048    case $host_os in
16049      aix4 | aix4.[01] | aix4.[01].*)
16050      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16051	   echo ' yes '
16052	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16053	:
16054      else
16055	can_build_shared=no
16056      fi
16057      ;;
16058    esac
16059    # Using Import Files as archive members, it is possible to support
16060    # filename-based versioning of shared library archives on AIX. While
16061    # this would work for both with and without runtime linking, it will
16062    # prevent static linking of such archives. So we do filename-based
16063    # shared library versioning with .so extension only, which is used
16064    # when both runtime linking and shared linking is enabled.
16065    # Unfortunately, runtime linking may impact performance, so we do
16066    # not want this to be the default eventually. Also, we use the
16067    # versioned .so libs for executables only if there is the -brtl
16068    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16069    # To allow for filename-based versioning support, we need to create
16070    # libNAME.so.V as an archive file, containing:
16071    # *) an Import File, referring to the versioned filename of the
16072    #    archive as well as the shared archive member, telling the
16073    #    bitwidth (32 or 64) of that shared object, and providing the
16074    #    list of exported symbols of that shared object, eventually
16075    #    decorated with the 'weak' keyword
16076    # *) the shared object with the F_LOADONLY flag set, to really avoid
16077    #    it being seen by the linker.
16078    # At run time we better use the real file rather than another symlink,
16079    # but for link time we create the symlink libNAME.so -> libNAME.so.V
16080
16081    case $with_aix_soname,$aix_use_runtimelinking in
16082    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16083    # soname into executable. Probably we can add versioning support to
16084    # collect2, so additional links can be useful in future.
16085    aix,yes) # traditional libtool
16086      dynamic_linker='AIX unversionable lib.so'
16087      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16088      # instead of lib<name>.a to let people know that these are not
16089      # typical AIX shared libraries.
16090      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16091      ;;
16092    aix,no) # traditional AIX only
16093      dynamic_linker='AIX lib.a(lib.so.V)'
16094      # We preserve .a as extension for shared libraries through AIX4.2
16095      # and later when we are not doing run time linking.
16096      library_names_spec='$libname$release.a $libname.a'
16097      soname_spec='$libname$release$shared_ext$major'
16098      ;;
16099    svr4,*) # full svr4 only
16100      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16101      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16102      # We do not specify a path in Import Files, so LIBPATH fires.
16103      shlibpath_overrides_runpath=yes
16104      ;;
16105    *,yes) # both, prefer svr4
16106      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16107      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16108      # unpreferred sharedlib libNAME.a needs extra handling
16109      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
16110      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
16111      # We do not specify a path in Import Files, so LIBPATH fires.
16112      shlibpath_overrides_runpath=yes
16113      ;;
16114    *,no) # both, prefer aix
16115      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16116      library_names_spec='$libname$release.a $libname.a'
16117      soname_spec='$libname$release$shared_ext$major'
16118      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16119      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
16120      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
16121      ;;
16122    esac
16123    shlibpath_var=LIBPATH
16124  fi
16125  ;;
16126
16127amigaos*)
16128  case $host_cpu in
16129  powerpc)
16130    # Since July 2007 AmigaOS4 officially supports .so libraries.
16131    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16132    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16133    ;;
16134  m68k)
16135    library_names_spec='$libname.ixlibrary $libname.a'
16136    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16137    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16138    ;;
16139  esac
16140  ;;
16141
16142beos*)
16143  library_names_spec='$libname$shared_ext'
16144  dynamic_linker="$host_os ld.so"
16145  shlibpath_var=LIBRARY_PATH
16146  ;;
16147
16148bsdi[45]*)
16149  version_type=linux # correct to gnu/linux during the next big refactor
16150  need_version=no
16151  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16152  soname_spec='$libname$release$shared_ext$major'
16153  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16154  shlibpath_var=LD_LIBRARY_PATH
16155  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16156  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16157  # the default ld.so.conf also contains /usr/contrib/lib and
16158  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16159  # libtool to hard-code these into programs
16160  ;;
16161
16162cygwin* | mingw* | pw32* | cegcc*)
16163  version_type=windows
16164  shrext_cmds=.dll
16165  need_version=no
16166  need_lib_prefix=no
16167
16168  case $GCC,$cc_basename in
16169  yes,*)
16170    # gcc
16171    library_names_spec='$libname.dll.a'
16172    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16173    postinstall_cmds='base_file=`basename \$file`~
16174      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16175      dldir=$destdir/`dirname \$dlpath`~
16176      test -d \$dldir || mkdir -p \$dldir~
16177      $install_prog $dir/$dlname \$dldir/$dlname~
16178      chmod a+x \$dldir/$dlname~
16179      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16180        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16181      fi'
16182    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16183      dlpath=$dir/\$dldll~
16184       $RM \$dlpath'
16185    shlibpath_overrides_runpath=yes
16186
16187    case $host_os in
16188    cygwin*)
16189      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16190      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16191
16192      ;;
16193    mingw* | cegcc*)
16194      # MinGW DLLs use traditional 'lib' prefix
16195      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16196      ;;
16197    pw32*)
16198      # pw32 DLLs use 'pw' prefix rather than 'lib'
16199      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16200      ;;
16201    esac
16202    dynamic_linker='Win32 ld.exe'
16203    ;;
16204
16205  *,cl*)
16206    # Native MSVC
16207    libname_spec='$name'
16208    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16209    library_names_spec='$libname.dll.lib'
16210
16211    case $build_os in
16212    mingw*)
16213      sys_lib_search_path_spec=
16214      lt_save_ifs=$IFS
16215      IFS=';'
16216      for lt_path in $LIB
16217      do
16218        IFS=$lt_save_ifs
16219        # Let DOS variable expansion print the short 8.3 style file name.
16220        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16221        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16222      done
16223      IFS=$lt_save_ifs
16224      # Convert to MSYS style.
16225      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16226      ;;
16227    cygwin*)
16228      # Convert to unix form, then to dos form, then back to unix form
16229      # but this time dos style (no spaces!) so that the unix form looks
16230      # like /cygdrive/c/PROGRA~1:/cygdr...
16231      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16232      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16233      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16234      ;;
16235    *)
16236      sys_lib_search_path_spec=$LIB
16237      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16238        # It is most probably a Windows format PATH.
16239        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16240      else
16241        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16242      fi
16243      # FIXME: find the short name or the path components, as spaces are
16244      # common. (e.g. "Program Files" -> "PROGRA~1")
16245      ;;
16246    esac
16247
16248    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16249    postinstall_cmds='base_file=`basename \$file`~
16250      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16251      dldir=$destdir/`dirname \$dlpath`~
16252      test -d \$dldir || mkdir -p \$dldir~
16253      $install_prog $dir/$dlname \$dldir/$dlname'
16254    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16255      dlpath=$dir/\$dldll~
16256       $RM \$dlpath'
16257    shlibpath_overrides_runpath=yes
16258    dynamic_linker='Win32 link.exe'
16259    ;;
16260
16261  *)
16262    # Assume MSVC wrapper
16263    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16264    dynamic_linker='Win32 ld.exe'
16265    ;;
16266  esac
16267  # FIXME: first we should search . and the directory the executable is in
16268  shlibpath_var=PATH
16269  ;;
16270
16271darwin* | rhapsody*)
16272  dynamic_linker="$host_os dyld"
16273  version_type=darwin
16274  need_lib_prefix=no
16275  need_version=no
16276  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16277  soname_spec='$libname$release$major$shared_ext'
16278  shlibpath_overrides_runpath=yes
16279  shlibpath_var=DYLD_LIBRARY_PATH
16280  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16281
16282  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16283  ;;
16284
16285dgux*)
16286  version_type=linux # correct to gnu/linux during the next big refactor
16287  need_lib_prefix=no
16288  need_version=no
16289  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16290  soname_spec='$libname$release$shared_ext$major'
16291  shlibpath_var=LD_LIBRARY_PATH
16292  ;;
16293
16294freebsd* | dragonfly*)
16295  # DragonFly does not have aout.  When/if they implement a new
16296  # versioning mechanism, adjust this.
16297  if test -x /usr/bin/objformat; then
16298    objformat=`/usr/bin/objformat`
16299  else
16300    case $host_os in
16301    freebsd[23].*) objformat=aout ;;
16302    *) objformat=elf ;;
16303    esac
16304  fi
16305  version_type=freebsd-$objformat
16306  case $version_type in
16307    freebsd-elf*)
16308      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16309      soname_spec='$libname$release$shared_ext$major'
16310      need_version=no
16311      need_lib_prefix=no
16312      ;;
16313    freebsd-*)
16314      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16315      need_version=yes
16316      ;;
16317  esac
16318  shlibpath_var=LD_LIBRARY_PATH
16319  case $host_os in
16320  freebsd2.*)
16321    shlibpath_overrides_runpath=yes
16322    ;;
16323  freebsd3.[01]* | freebsdelf3.[01]*)
16324    shlibpath_overrides_runpath=yes
16325    hardcode_into_libs=yes
16326    ;;
16327  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16328  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16329    shlibpath_overrides_runpath=no
16330    hardcode_into_libs=yes
16331    ;;
16332  *) # from 4.6 on, and DragonFly
16333    shlibpath_overrides_runpath=yes
16334    hardcode_into_libs=yes
16335    ;;
16336  esac
16337  ;;
16338
16339haiku*)
16340  version_type=linux # correct to gnu/linux during the next big refactor
16341  need_lib_prefix=no
16342  need_version=no
16343  dynamic_linker="$host_os runtime_loader"
16344  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16345  soname_spec='$libname$release$shared_ext$major'
16346  shlibpath_var=LIBRARY_PATH
16347  shlibpath_overrides_runpath=no
16348  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16349  hardcode_into_libs=yes
16350  ;;
16351
16352hpux9* | hpux10* | hpux11*)
16353  # Give a soname corresponding to the major version so that dld.sl refuses to
16354  # link against other versions.
16355  version_type=sunos
16356  need_lib_prefix=no
16357  need_version=no
16358  case $host_cpu in
16359  ia64*)
16360    shrext_cmds='.so'
16361    hardcode_into_libs=yes
16362    dynamic_linker="$host_os dld.so"
16363    shlibpath_var=LD_LIBRARY_PATH
16364    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16365    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16366    soname_spec='$libname$release$shared_ext$major'
16367    if test 32 = "$HPUX_IA64_MODE"; then
16368      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16369      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16370    else
16371      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16372      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16373    fi
16374    ;;
16375  hppa*64*)
16376    shrext_cmds='.sl'
16377    hardcode_into_libs=yes
16378    dynamic_linker="$host_os dld.sl"
16379    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16380    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16381    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16382    soname_spec='$libname$release$shared_ext$major'
16383    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16384    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16385    ;;
16386  *)
16387    shrext_cmds='.sl'
16388    dynamic_linker="$host_os dld.sl"
16389    shlibpath_var=SHLIB_PATH
16390    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16391    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16392    soname_spec='$libname$release$shared_ext$major'
16393    ;;
16394  esac
16395  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16396  postinstall_cmds='chmod 555 $lib'
16397  # or fails outright, so override atomically:
16398  install_override_mode=555
16399  ;;
16400
16401interix[3-9]*)
16402  version_type=linux # correct to gnu/linux during the next big refactor
16403  need_lib_prefix=no
16404  need_version=no
16405  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16406  soname_spec='$libname$release$shared_ext$major'
16407  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16408  shlibpath_var=LD_LIBRARY_PATH
16409  shlibpath_overrides_runpath=no
16410  hardcode_into_libs=yes
16411  ;;
16412
16413irix5* | irix6* | nonstopux*)
16414  case $host_os in
16415    nonstopux*) version_type=nonstopux ;;
16416    *)
16417	if test yes = "$lt_cv_prog_gnu_ld"; then
16418		version_type=linux # correct to gnu/linux during the next big refactor
16419	else
16420		version_type=irix
16421	fi ;;
16422  esac
16423  need_lib_prefix=no
16424  need_version=no
16425  soname_spec='$libname$release$shared_ext$major'
16426  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16427  case $host_os in
16428  irix5* | nonstopux*)
16429    libsuff= shlibsuff=
16430    ;;
16431  *)
16432    case $LD in # libtool.m4 will add one of these switches to LD
16433    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16434      libsuff= shlibsuff= libmagic=32-bit;;
16435    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16436      libsuff=32 shlibsuff=N32 libmagic=N32;;
16437    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16438      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16439    *) libsuff= shlibsuff= libmagic=never-match;;
16440    esac
16441    ;;
16442  esac
16443  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16444  shlibpath_overrides_runpath=no
16445  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16446  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16447  hardcode_into_libs=yes
16448  ;;
16449
16450# No shared lib support for Linux oldld, aout, or coff.
16451linux*oldld* | linux*aout* | linux*coff*)
16452  dynamic_linker=no
16453  ;;
16454
16455linux*android*)
16456  version_type=none # Android doesn't support versioned libraries.
16457  need_lib_prefix=no
16458  need_version=no
16459  library_names_spec='$libname$release$shared_ext'
16460  soname_spec='$libname$release$shared_ext'
16461  finish_cmds=
16462  shlibpath_var=LD_LIBRARY_PATH
16463  shlibpath_overrides_runpath=yes
16464
16465  # This implies no fast_install, which is unacceptable.
16466  # Some rework will be needed to allow for fast_install
16467  # before this can be enabled.
16468  hardcode_into_libs=yes
16469
16470  dynamic_linker='Android linker'
16471  # Don't embed -rpath directories since the linker doesn't support them.
16472  hardcode_libdir_flag_spec_CXX='-L$libdir'
16473  ;;
16474
16475# This must be glibc/ELF.
16476linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16477  version_type=linux # correct to gnu/linux during the next big refactor
16478  need_lib_prefix=no
16479  need_version=no
16480  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16481  soname_spec='$libname$release$shared_ext$major'
16482  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16483  shlibpath_var=LD_LIBRARY_PATH
16484  shlibpath_overrides_runpath=no
16485
16486  # Some binutils ld are patched to set DT_RUNPATH
16487  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16488  $as_echo_n "(cached) " >&6
16489else
16490  lt_cv_shlibpath_overrides_runpath=no
16491    save_LDFLAGS=$LDFLAGS
16492    save_libdir=$libdir
16493    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16494	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16495    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16496/* end confdefs.h.  */
16497
16498int
16499main ()
16500{
16501
16502  ;
16503  return 0;
16504}
16505_ACEOF
16506if ac_fn_cxx_try_link "$LINENO"; then :
16507  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16508  lt_cv_shlibpath_overrides_runpath=yes
16509fi
16510fi
16511rm -f core conftest.err conftest.$ac_objext \
16512    conftest$ac_exeext conftest.$ac_ext
16513    LDFLAGS=$save_LDFLAGS
16514    libdir=$save_libdir
16515
16516fi
16517
16518  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16519
16520  # This implies no fast_install, which is unacceptable.
16521  # Some rework will be needed to allow for fast_install
16522  # before this can be enabled.
16523  hardcode_into_libs=yes
16524
16525  # Add ABI-specific directories to the system library path.
16526  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16527
16528  # Ideally, we could use ldconfig to report *all* directores which are
16529  # searched for libraries, however this is still not possible.  Aside from not
16530  # being certain /sbin/ldconfig is available, command
16531  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16532  # even though it is searched at run-time.  Try to do the best guess by
16533  # appending ld.so.conf contents (and includes) to the search path.
16534  if test -f /etc/ld.so.conf; then
16535    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' ' '`
16536    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16537  fi
16538
16539  # We used to test for /lib/ld.so.1 and disable shared libraries on
16540  # powerpc, because MkLinux only supported shared libraries with the
16541  # GNU dynamic linker.  Since this was broken with cross compilers,
16542  # most powerpc-linux boxes support dynamic linking these days and
16543  # people can always --disable-shared, the test was removed, and we
16544  # assume the GNU/Linux dynamic linker is in use.
16545  dynamic_linker='GNU/Linux ld.so'
16546  ;;
16547
16548netbsd*)
16549  version_type=sunos
16550  need_lib_prefix=no
16551  need_version=no
16552  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16553    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16554    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16555    dynamic_linker='NetBSD (a.out) ld.so'
16556  else
16557    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16558    soname_spec='$libname$release$shared_ext$major'
16559    dynamic_linker='NetBSD ld.elf_so'
16560  fi
16561  shlibpath_var=LD_LIBRARY_PATH
16562  shlibpath_overrides_runpath=yes
16563  hardcode_into_libs=yes
16564  ;;
16565
16566newsos6)
16567  version_type=linux # correct to gnu/linux during the next big refactor
16568  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16569  shlibpath_var=LD_LIBRARY_PATH
16570  shlibpath_overrides_runpath=yes
16571  ;;
16572
16573*nto* | *qnx*)
16574  version_type=qnx
16575  need_lib_prefix=no
16576  need_version=no
16577  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16578  soname_spec='$libname$release$shared_ext$major'
16579  shlibpath_var=LD_LIBRARY_PATH
16580  shlibpath_overrides_runpath=no
16581  hardcode_into_libs=yes
16582  dynamic_linker='ldqnx.so'
16583  ;;
16584
16585openbsd* | bitrig*)
16586  version_type=sunos
16587  sys_lib_dlsearch_path_spec=/usr/lib
16588  need_lib_prefix=no
16589  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16590    need_version=no
16591  else
16592    need_version=yes
16593  fi
16594  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16595  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16596  shlibpath_var=LD_LIBRARY_PATH
16597  shlibpath_overrides_runpath=yes
16598  ;;
16599
16600os2*)
16601  libname_spec='$name'
16602  version_type=windows
16603  shrext_cmds=.dll
16604  need_version=no
16605  need_lib_prefix=no
16606  # OS/2 can only load a DLL with a base name of 8 characters or less.
16607  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16608    v=$($ECHO $release$versuffix | tr -d .-);
16609    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16610    $ECHO $n$v`$shared_ext'
16611  library_names_spec='${libname}_dll.$libext'
16612  dynamic_linker='OS/2 ld.exe'
16613  shlibpath_var=BEGINLIBPATH
16614  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16615  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16616  postinstall_cmds='base_file=`basename \$file`~
16617    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16618    dldir=$destdir/`dirname \$dlpath`~
16619    test -d \$dldir || mkdir -p \$dldir~
16620    $install_prog $dir/$dlname \$dldir/$dlname~
16621    chmod a+x \$dldir/$dlname~
16622    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16623      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16624    fi'
16625  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16626    dlpath=$dir/\$dldll~
16627    $RM \$dlpath'
16628  ;;
16629
16630osf3* | osf4* | osf5*)
16631  version_type=osf
16632  need_lib_prefix=no
16633  need_version=no
16634  soname_spec='$libname$release$shared_ext$major'
16635  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16636  shlibpath_var=LD_LIBRARY_PATH
16637  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16638  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16639  ;;
16640
16641rdos*)
16642  dynamic_linker=no
16643  ;;
16644
16645solaris*)
16646  version_type=linux # correct to gnu/linux during the next big refactor
16647  need_lib_prefix=no
16648  need_version=no
16649  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16650  soname_spec='$libname$release$shared_ext$major'
16651  shlibpath_var=LD_LIBRARY_PATH
16652  shlibpath_overrides_runpath=yes
16653  hardcode_into_libs=yes
16654  # ldd complains unless libraries are executable
16655  postinstall_cmds='chmod +x $lib'
16656  ;;
16657
16658sunos4*)
16659  version_type=sunos
16660  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16661  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16662  shlibpath_var=LD_LIBRARY_PATH
16663  shlibpath_overrides_runpath=yes
16664  if test yes = "$with_gnu_ld"; then
16665    need_lib_prefix=no
16666  fi
16667  need_version=yes
16668  ;;
16669
16670sysv4 | sysv4.3*)
16671  version_type=linux # correct to gnu/linux during the next big refactor
16672  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16673  soname_spec='$libname$release$shared_ext$major'
16674  shlibpath_var=LD_LIBRARY_PATH
16675  case $host_vendor in
16676    sni)
16677      shlibpath_overrides_runpath=no
16678      need_lib_prefix=no
16679      runpath_var=LD_RUN_PATH
16680      ;;
16681    siemens)
16682      need_lib_prefix=no
16683      ;;
16684    motorola)
16685      need_lib_prefix=no
16686      need_version=no
16687      shlibpath_overrides_runpath=no
16688      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16689      ;;
16690  esac
16691  ;;
16692
16693sysv4*MP*)
16694  if test -d /usr/nec; then
16695    version_type=linux # correct to gnu/linux during the next big refactor
16696    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16697    soname_spec='$libname$shared_ext.$major'
16698    shlibpath_var=LD_LIBRARY_PATH
16699  fi
16700  ;;
16701
16702sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16703  version_type=sco
16704  need_lib_prefix=no
16705  need_version=no
16706  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16707  soname_spec='$libname$release$shared_ext$major'
16708  shlibpath_var=LD_LIBRARY_PATH
16709  shlibpath_overrides_runpath=yes
16710  hardcode_into_libs=yes
16711  if test yes = "$with_gnu_ld"; then
16712    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16713  else
16714    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16715    case $host_os in
16716      sco3.2v5*)
16717        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16718	;;
16719    esac
16720  fi
16721  sys_lib_dlsearch_path_spec='/usr/lib'
16722  ;;
16723
16724tpf*)
16725  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16726  version_type=linux # correct to gnu/linux during the next big refactor
16727  need_lib_prefix=no
16728  need_version=no
16729  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16730  shlibpath_var=LD_LIBRARY_PATH
16731  shlibpath_overrides_runpath=no
16732  hardcode_into_libs=yes
16733  ;;
16734
16735uts4*)
16736  version_type=linux # correct to gnu/linux during the next big refactor
16737  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16738  soname_spec='$libname$release$shared_ext$major'
16739  shlibpath_var=LD_LIBRARY_PATH
16740  ;;
16741
16742*)
16743  dynamic_linker=no
16744  ;;
16745esac
16746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16747$as_echo "$dynamic_linker" >&6; }
16748test no = "$dynamic_linker" && can_build_shared=no
16749
16750variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16751if test yes = "$GCC"; then
16752  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16753fi
16754
16755if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16756  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16757fi
16758
16759if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16760  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16761fi
16762
16763# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16764configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16765
16766# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16767func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16768
16769# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16770configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16812$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16813hardcode_action_CXX=
16814if test -n "$hardcode_libdir_flag_spec_CXX" ||
16815   test -n "$runpath_var_CXX" ||
16816   test yes = "$hardcode_automatic_CXX"; then
16817
16818  # We can hardcode non-existent directories.
16819  if test no != "$hardcode_direct_CXX" &&
16820     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16821     # have to relink, otherwise we might link with an installed library
16822     # when we should be linking with a yet-to-be-installed one
16823     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16824     test no != "$hardcode_minus_L_CXX"; then
16825    # Linking always hardcodes the temporary library directory.
16826    hardcode_action_CXX=relink
16827  else
16828    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16829    hardcode_action_CXX=immediate
16830  fi
16831else
16832  # We cannot hardcode anything, or else we can only hardcode existing
16833  # directories.
16834  hardcode_action_CXX=unsupported
16835fi
16836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16837$as_echo "$hardcode_action_CXX" >&6; }
16838
16839if test relink = "$hardcode_action_CXX" ||
16840   test yes = "$inherit_rpath_CXX"; then
16841  # Fast installation is not supported
16842  enable_fast_install=no
16843elif test yes = "$shlibpath_overrides_runpath" ||
16844     test no = "$enable_shared"; then
16845  # Fast installation is not necessary
16846  enable_fast_install=needless
16847fi
16848
16849
16850
16851
16852
16853
16854
16855  fi # test -n "$compiler"
16856
16857  CC=$lt_save_CC
16858  CFLAGS=$lt_save_CFLAGS
16859  LDCXX=$LD
16860  LD=$lt_save_LD
16861  GCC=$lt_save_GCC
16862  with_gnu_ld=$lt_save_with_gnu_ld
16863  lt_cv_path_LDCXX=$lt_cv_path_LD
16864  lt_cv_path_LD=$lt_save_path_LD
16865  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16866  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16867fi # test yes != "$_lt_caught_CXX_error"
16868
16869ac_ext=c
16870ac_cpp='$CPP $CPPFLAGS'
16871ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16872ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16873ac_compiler_gnu=$ac_cv_c_compiler_gnu
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889        ac_config_commands="$ac_config_commands libtool"
16890
16891
16892
16893
16894# Only expand once:
16895
16896
16897
16898
16899saveLIBS="$LIBS"
16900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
16901$as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
16902if ${ac_cv_lib_gdbm_gdbm_open+:} false; then :
16903  $as_echo_n "(cached) " >&6
16904else
16905  ac_check_lib_save_LIBS=$LIBS
16906LIBS="-lgdbm  $LIBS"
16907cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908/* end confdefs.h.  */
16909
16910/* Override any GCC internal prototype to avoid an error.
16911   Use char because int might match the return type of a GCC
16912   builtin and then its argument prototype would still apply.  */
16913#ifdef __cplusplus
16914extern "C"
16915#endif
16916char gdbm_open ();
16917int
16918main ()
16919{
16920return gdbm_open ();
16921  ;
16922  return 0;
16923}
16924_ACEOF
16925if ac_fn_c_try_link "$LINENO"; then :
16926  ac_cv_lib_gdbm_gdbm_open=yes
16927else
16928  ac_cv_lib_gdbm_gdbm_open=no
16929fi
16930rm -f core conftest.err conftest.$ac_objext \
16931    conftest$ac_exeext conftest.$ac_ext
16932LIBS=$ac_check_lib_save_LIBS
16933fi
16934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
16935$as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
16936if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes; then :
16937   LIBGDBM=-lgdbm ; LIBS="-lgdbm $LIBS"
16938fi
16939
16940
16941ac_fn_c_check_func "$LINENO" "gdbm_open" "ac_cv_func_gdbm_open"
16942if test "x$ac_cv_func_gdbm_open" = xyes; then :
16943  FOUND_GDBM=1
16944else
16945  FOUND_GDBM=0
16946fi
16947
16948
16949if test "$FOUND_GDBM" = 1
16950then
16951	for ac_func in gdbm_fdesc
16952do :
16953  ac_fn_c_check_func "$LINENO" "gdbm_fdesc" "ac_cv_func_gdbm_fdesc"
16954if test "x$ac_cv_func_gdbm_fdesc" = xyes; then :
16955  cat >>confdefs.h <<_ACEOF
16956#define HAVE_GDBM_FDESC 1
16957_ACEOF
16958
16959fi
16960done
16961
16962fi
16963for ac_header in unistd.h fcntl.h
16964do :
16965  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16966ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16967if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16968  cat >>confdefs.h <<_ACEOF
16969#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16970_ACEOF
16971
16972fi
16973
16974done
16975
16976
16977LIBS="$saveLIBS"
16978
16979
16980
16981 if test "$FOUND_GDBM" = 1; then
16982  FOUND_GDBM_TRUE=
16983  FOUND_GDBM_FALSE='#'
16984else
16985  FOUND_GDBM_TRUE='#'
16986  FOUND_GDBM_FALSE=
16987fi
16988
16989
16990
16991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16992$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16993if ${ac_cv_c_const+:} false; then :
16994  $as_echo_n "(cached) " >&6
16995else
16996  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16997/* end confdefs.h.  */
16998
16999int
17000main ()
17001{
17002
17003#ifndef __cplusplus
17004  /* Ultrix mips cc rejects this sort of thing.  */
17005  typedef int charset[2];
17006  const charset cs = { 0, 0 };
17007  /* SunOS 4.1.1 cc rejects this.  */
17008  char const *const *pcpcc;
17009  char **ppc;
17010  /* NEC SVR4.0.2 mips cc rejects this.  */
17011  struct point {int x, y;};
17012  static struct point const zero = {0,0};
17013  /* AIX XL C 1.02.0.0 rejects this.
17014     It does not let you subtract one const X* pointer from another in
17015     an arm of an if-expression whose if-part is not a constant
17016     expression */
17017  const char *g = "string";
17018  pcpcc = &g + (g ? g-g : 0);
17019  /* HPUX 7.0 cc rejects these. */
17020  ++pcpcc;
17021  ppc = (char**) pcpcc;
17022  pcpcc = (char const *const *) ppc;
17023  { /* SCO 3.2v4 cc rejects this sort of thing.  */
17024    char tx;
17025    char *t = &tx;
17026    char const *s = 0 ? (char *) 0 : (char const *) 0;
17027
17028    *t++ = 0;
17029    if (s) return 0;
17030  }
17031  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
17032    int x[] = {25, 17};
17033    const int *foo = &x[0];
17034    ++foo;
17035  }
17036  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17037    typedef const int *iptr;
17038    iptr p = 0;
17039    ++p;
17040  }
17041  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
17042       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17043    struct s { int j; const int *ap[3]; } bx;
17044    struct s *b = &bx; b->j = 5;
17045  }
17046  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17047    const int foo = 10;
17048    if (!foo) return 0;
17049  }
17050  return !cs[0] && !zero.x;
17051#endif
17052
17053  ;
17054  return 0;
17055}
17056_ACEOF
17057if ac_fn_c_try_compile "$LINENO"; then :
17058  ac_cv_c_const=yes
17059else
17060  ac_cv_c_const=no
17061fi
17062rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17063fi
17064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17065$as_echo "$ac_cv_c_const" >&6; }
17066if test $ac_cv_c_const = no; then
17067
17068$as_echo "#define const /**/" >>confdefs.h
17069
17070fi
17071
17072ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17073if test "x$ac_cv_type_size_t" = xyes; then :
17074
17075else
17076
17077cat >>confdefs.h <<_ACEOF
17078#define size_t unsigned int
17079_ACEOF
17080
17081fi
17082
17083# Check whether --enable-largefile was given.
17084if test "${enable_largefile+set}" = set; then :
17085  enableval=$enable_largefile;
17086fi
17087
17088if test "$enable_largefile" != no; then
17089
17090  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
17091$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
17092if ${ac_cv_sys_largefile_CC+:} false; then :
17093  $as_echo_n "(cached) " >&6
17094else
17095  ac_cv_sys_largefile_CC=no
17096     if test "$GCC" != yes; then
17097       ac_save_CC=$CC
17098       while :; do
17099	 # IRIX 6.2 and later do not support large files by default,
17100	 # so use the C compiler's -n32 option if that helps.
17101	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17102/* end confdefs.h.  */
17103#include <sys/types.h>
17104 /* Check that off_t can represent 2**63 - 1 correctly.
17105    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17106    since some C++ compilers masquerading as C compilers
17107    incorrectly reject 9223372036854775807.  */
17108#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17109  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17110		       && LARGE_OFF_T % 2147483647 == 1)
17111		      ? 1 : -1];
17112int
17113main ()
17114{
17115
17116  ;
17117  return 0;
17118}
17119_ACEOF
17120	 if ac_fn_c_try_compile "$LINENO"; then :
17121  break
17122fi
17123rm -f core conftest.err conftest.$ac_objext
17124	 CC="$CC -n32"
17125	 if ac_fn_c_try_compile "$LINENO"; then :
17126  ac_cv_sys_largefile_CC=' -n32'; break
17127fi
17128rm -f core conftest.err conftest.$ac_objext
17129	 break
17130       done
17131       CC=$ac_save_CC
17132       rm -f conftest.$ac_ext
17133    fi
17134fi
17135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
17136$as_echo "$ac_cv_sys_largefile_CC" >&6; }
17137  if test "$ac_cv_sys_largefile_CC" != no; then
17138    CC=$CC$ac_cv_sys_largefile_CC
17139  fi
17140
17141  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17142$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
17143if ${ac_cv_sys_file_offset_bits+:} false; then :
17144  $as_echo_n "(cached) " >&6
17145else
17146  while :; do
17147  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17148/* end confdefs.h.  */
17149#include <sys/types.h>
17150 /* Check that off_t can represent 2**63 - 1 correctly.
17151    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17152    since some C++ compilers masquerading as C compilers
17153    incorrectly reject 9223372036854775807.  */
17154#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17155  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17156		       && LARGE_OFF_T % 2147483647 == 1)
17157		      ? 1 : -1];
17158int
17159main ()
17160{
17161
17162  ;
17163  return 0;
17164}
17165_ACEOF
17166if ac_fn_c_try_compile "$LINENO"; then :
17167  ac_cv_sys_file_offset_bits=no; break
17168fi
17169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17170  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17171/* end confdefs.h.  */
17172#define _FILE_OFFSET_BITS 64
17173#include <sys/types.h>
17174 /* Check that off_t can represent 2**63 - 1 correctly.
17175    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17176    since some C++ compilers masquerading as C compilers
17177    incorrectly reject 9223372036854775807.  */
17178#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17179  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17180		       && LARGE_OFF_T % 2147483647 == 1)
17181		      ? 1 : -1];
17182int
17183main ()
17184{
17185
17186  ;
17187  return 0;
17188}
17189_ACEOF
17190if ac_fn_c_try_compile "$LINENO"; then :
17191  ac_cv_sys_file_offset_bits=64; break
17192fi
17193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17194  ac_cv_sys_file_offset_bits=unknown
17195  break
17196done
17197fi
17198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
17199$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
17200case $ac_cv_sys_file_offset_bits in #(
17201  no | unknown) ;;
17202  *)
17203cat >>confdefs.h <<_ACEOF
17204#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17205_ACEOF
17206;;
17207esac
17208rm -rf conftest*
17209  if test $ac_cv_sys_file_offset_bits = unknown; then
17210    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
17211$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
17212if ${ac_cv_sys_large_files+:} false; then :
17213  $as_echo_n "(cached) " >&6
17214else
17215  while :; do
17216  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17217/* end confdefs.h.  */
17218#include <sys/types.h>
17219 /* Check that off_t can represent 2**63 - 1 correctly.
17220    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17221    since some C++ compilers masquerading as C compilers
17222    incorrectly reject 9223372036854775807.  */
17223#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17224  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17225		       && LARGE_OFF_T % 2147483647 == 1)
17226		      ? 1 : -1];
17227int
17228main ()
17229{
17230
17231  ;
17232  return 0;
17233}
17234_ACEOF
17235if ac_fn_c_try_compile "$LINENO"; then :
17236  ac_cv_sys_large_files=no; break
17237fi
17238rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17239  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17240/* end confdefs.h.  */
17241#define _LARGE_FILES 1
17242#include <sys/types.h>
17243 /* Check that off_t can represent 2**63 - 1 correctly.
17244    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17245    since some C++ compilers masquerading as C compilers
17246    incorrectly reject 9223372036854775807.  */
17247#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17248  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17249		       && LARGE_OFF_T % 2147483647 == 1)
17250		      ? 1 : -1];
17251int
17252main ()
17253{
17254
17255  ;
17256  return 0;
17257}
17258_ACEOF
17259if ac_fn_c_try_compile "$LINENO"; then :
17260  ac_cv_sys_large_files=1; break
17261fi
17262rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17263  ac_cv_sys_large_files=unknown
17264  break
17265done
17266fi
17267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
17268$as_echo "$ac_cv_sys_large_files" >&6; }
17269case $ac_cv_sys_large_files in #(
17270  no | unknown) ;;
17271  *)
17272cat >>confdefs.h <<_ACEOF
17273#define _LARGE_FILES $ac_cv_sys_large_files
17274_ACEOF
17275;;
17276esac
17277rm -rf conftest*
17278  fi
17279
17280
17281fi
17282
17283
17284
17285ac_config_files="$ac_config_files Makefile"
17286
17287cat >confcache <<\_ACEOF
17288# This file is a shell script that caches the results of configure
17289# tests run on this system so they can be shared between configure
17290# scripts and configure runs, see configure's option --config-cache.
17291# It is not useful on other systems.  If it contains results you don't
17292# want to keep, you may remove or edit it.
17293#
17294# config.status only pays attention to the cache file if you give it
17295# the --recheck option to rerun configure.
17296#
17297# `ac_cv_env_foo' variables (set or unset) will be overridden when
17298# loading this file, other *unset* `ac_cv_foo' will be assigned the
17299# following values.
17300
17301_ACEOF
17302
17303# The following way of writing the cache mishandles newlines in values,
17304# but we know of no workaround that is simple, portable, and efficient.
17305# So, we kill variables containing newlines.
17306# Ultrix sh set writes to stderr and can't be redirected directly,
17307# and sets the high bit in the cache file unless we assign to the vars.
17308(
17309  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17310    eval ac_val=\$$ac_var
17311    case $ac_val in #(
17312    *${as_nl}*)
17313      case $ac_var in #(
17314      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17315$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17316      esac
17317      case $ac_var in #(
17318      _ | IFS | as_nl) ;; #(
17319      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17320      *) { eval $ac_var=; unset $ac_var;} ;;
17321      esac ;;
17322    esac
17323  done
17324
17325  (set) 2>&1 |
17326    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17327    *${as_nl}ac_space=\ *)
17328      # `set' does not quote correctly, so add quotes: double-quote
17329      # substitution turns \\\\ into \\, and sed turns \\ into \.
17330      sed -n \
17331	"s/'/'\\\\''/g;
17332	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17333      ;; #(
17334    *)
17335      # `set' quotes correctly as required by POSIX, so do not add quotes.
17336      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17337      ;;
17338    esac |
17339    sort
17340) |
17341  sed '
17342     /^ac_cv_env_/b end
17343     t clear
17344     :clear
17345     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17346     t end
17347     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17348     :end' >>confcache
17349if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17350  if test -w "$cache_file"; then
17351    if test "x$cache_file" != "x/dev/null"; then
17352      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17353$as_echo "$as_me: updating cache $cache_file" >&6;}
17354      if test ! -f "$cache_file" || test -h "$cache_file"; then
17355	cat confcache >"$cache_file"
17356      else
17357        case $cache_file in #(
17358        */* | ?:*)
17359	  mv -f confcache "$cache_file"$$ &&
17360	  mv -f "$cache_file"$$ "$cache_file" ;; #(
17361        *)
17362	  mv -f confcache "$cache_file" ;;
17363	esac
17364      fi
17365    fi
17366  else
17367    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17368$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17369  fi
17370fi
17371rm -f confcache
17372
17373test "x$prefix" = xNONE && prefix=$ac_default_prefix
17374# Let make expand exec_prefix.
17375test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17376
17377DEFS=-DHAVE_CONFIG_H
17378
17379ac_libobjs=
17380ac_ltlibobjs=
17381U=
17382for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17383  # 1. Remove the extension, and $U if already installed.
17384  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17385  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17386  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17387  #    will be set to the directory where LIBOBJS objects are built.
17388  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17389  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17390done
17391LIBOBJS=$ac_libobjs
17392
17393LTLIBOBJS=$ac_ltlibobjs
17394
17395
17396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17397$as_echo_n "checking that generated files are newer than configure... " >&6; }
17398   if test -n "$am_sleep_pid"; then
17399     # Hide warnings about reused PIDs.
17400     wait $am_sleep_pid 2>/dev/null
17401   fi
17402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17403$as_echo "done" >&6; }
17404 if test -n "$EXEEXT"; then
17405  am__EXEEXT_TRUE=
17406  am__EXEEXT_FALSE='#'
17407else
17408  am__EXEEXT_TRUE='#'
17409  am__EXEEXT_FALSE=
17410fi
17411
17412if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17413  as_fn_error $? "conditional \"AMDEP\" was never defined.
17414Usually this means the macro was only invoked conditionally." "$LINENO" 5
17415fi
17416if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17417  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17418Usually this means the macro was only invoked conditionally." "$LINENO" 5
17419fi
17420if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17421  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17422Usually this means the macro was only invoked conditionally." "$LINENO" 5
17423fi
17424if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17425  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17426Usually this means the macro was only invoked conditionally." "$LINENO" 5
17427fi
17428if test -z "${FOUND_GDBM_TRUE}" && test -z "${FOUND_GDBM_FALSE}"; then
17429  as_fn_error $? "conditional \"FOUND_GDBM\" was never defined.
17430Usually this means the macro was only invoked conditionally." "$LINENO" 5
17431fi
17432
17433: "${CONFIG_STATUS=./config.status}"
17434ac_write_fail=0
17435ac_clean_files_save=$ac_clean_files
17436ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17437{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17438$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17439as_write_fail=0
17440cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17441#! $SHELL
17442# Generated by $as_me.
17443# Run this file to recreate the current configuration.
17444# Compiler output produced by configure, useful for debugging
17445# configure, is in config.log if it exists.
17446
17447debug=false
17448ac_cs_recheck=false
17449ac_cs_silent=false
17450
17451SHELL=\${CONFIG_SHELL-$SHELL}
17452export SHELL
17453_ASEOF
17454cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17455## -------------------- ##
17456## M4sh Initialization. ##
17457## -------------------- ##
17458
17459# Be more Bourne compatible
17460DUALCASE=1; export DUALCASE # for MKS sh
17461if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17462  emulate sh
17463  NULLCMD=:
17464  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17465  # is contrary to our usage.  Disable this feature.
17466  alias -g '${1+"$@"}'='"$@"'
17467  setopt NO_GLOB_SUBST
17468else
17469  case `(set -o) 2>/dev/null` in #(
17470  *posix*) :
17471    set -o posix ;; #(
17472  *) :
17473     ;;
17474esac
17475fi
17476
17477
17478as_nl='
17479'
17480export as_nl
17481# Printing a long string crashes Solaris 7 /usr/bin/printf.
17482as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17483as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17484as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17485# Prefer a ksh shell builtin over an external printf program on Solaris,
17486# but without wasting forks for bash or zsh.
17487if test -z "$BASH_VERSION$ZSH_VERSION" \
17488    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17489  as_echo='print -r --'
17490  as_echo_n='print -rn --'
17491elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17492  as_echo='printf %s\n'
17493  as_echo_n='printf %s'
17494else
17495  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17496    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17497    as_echo_n='/usr/ucb/echo -n'
17498  else
17499    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17500    as_echo_n_body='eval
17501      arg=$1;
17502      case $arg in #(
17503      *"$as_nl"*)
17504	expr "X$arg" : "X\\(.*\\)$as_nl";
17505	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17506      esac;
17507      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17508    '
17509    export as_echo_n_body
17510    as_echo_n='sh -c $as_echo_n_body as_echo'
17511  fi
17512  export as_echo_body
17513  as_echo='sh -c $as_echo_body as_echo'
17514fi
17515
17516# The user is always right.
17517if test "${PATH_SEPARATOR+set}" != set; then
17518  PATH_SEPARATOR=:
17519  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17520    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17521      PATH_SEPARATOR=';'
17522  }
17523fi
17524
17525
17526# IFS
17527# We need space, tab and new line, in precisely that order.  Quoting is
17528# there to prevent editors from complaining about space-tab.
17529# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17530# splitting by setting IFS to empty value.)
17531IFS=" ""	$as_nl"
17532
17533# Find who we are.  Look in the path if we contain no directory separator.
17534as_myself=
17535case $0 in #((
17536  *[\\/]* ) as_myself=$0 ;;
17537  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17538for as_dir in $PATH
17539do
17540  IFS=$as_save_IFS
17541  test -z "$as_dir" && as_dir=.
17542    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17543  done
17544IFS=$as_save_IFS
17545
17546     ;;
17547esac
17548# We did not find ourselves, most probably we were run as `sh COMMAND'
17549# in which case we are not to be found in the path.
17550if test "x$as_myself" = x; then
17551  as_myself=$0
17552fi
17553if test ! -f "$as_myself"; then
17554  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17555  exit 1
17556fi
17557
17558# Unset variables that we do not need and which cause bugs (e.g. in
17559# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17560# suppresses any "Segmentation fault" message there.  '((' could
17561# trigger a bug in pdksh 5.2.14.
17562for as_var in BASH_ENV ENV MAIL MAILPATH
17563do eval test x\${$as_var+set} = xset \
17564  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17565done
17566PS1='$ '
17567PS2='> '
17568PS4='+ '
17569
17570# NLS nuisances.
17571LC_ALL=C
17572export LC_ALL
17573LANGUAGE=C
17574export LANGUAGE
17575
17576# CDPATH.
17577(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17578
17579
17580# as_fn_error STATUS ERROR [LINENO LOG_FD]
17581# ----------------------------------------
17582# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17583# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17584# script with STATUS, using 1 if that was 0.
17585as_fn_error ()
17586{
17587  as_status=$1; test $as_status -eq 0 && as_status=1
17588  if test "$4"; then
17589    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17590    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17591  fi
17592  $as_echo "$as_me: error: $2" >&2
17593  as_fn_exit $as_status
17594} # as_fn_error
17595
17596
17597# as_fn_set_status STATUS
17598# -----------------------
17599# Set $? to STATUS, without forking.
17600as_fn_set_status ()
17601{
17602  return $1
17603} # as_fn_set_status
17604
17605# as_fn_exit STATUS
17606# -----------------
17607# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17608as_fn_exit ()
17609{
17610  set +e
17611  as_fn_set_status $1
17612  exit $1
17613} # as_fn_exit
17614
17615# as_fn_unset VAR
17616# ---------------
17617# Portably unset VAR.
17618as_fn_unset ()
17619{
17620  { eval $1=; unset $1;}
17621}
17622as_unset=as_fn_unset
17623# as_fn_append VAR VALUE
17624# ----------------------
17625# Append the text in VALUE to the end of the definition contained in VAR. Take
17626# advantage of any shell optimizations that allow amortized linear growth over
17627# repeated appends, instead of the typical quadratic growth present in naive
17628# implementations.
17629if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17630  eval 'as_fn_append ()
17631  {
17632    eval $1+=\$2
17633  }'
17634else
17635  as_fn_append ()
17636  {
17637    eval $1=\$$1\$2
17638  }
17639fi # as_fn_append
17640
17641# as_fn_arith ARG...
17642# ------------------
17643# Perform arithmetic evaluation on the ARGs, and store the result in the
17644# global $as_val. Take advantage of shells that can avoid forks. The arguments
17645# must be portable across $(()) and expr.
17646if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17647  eval 'as_fn_arith ()
17648  {
17649    as_val=$(( $* ))
17650  }'
17651else
17652  as_fn_arith ()
17653  {
17654    as_val=`expr "$@" || test $? -eq 1`
17655  }
17656fi # as_fn_arith
17657
17658
17659if expr a : '\(a\)' >/dev/null 2>&1 &&
17660   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17661  as_expr=expr
17662else
17663  as_expr=false
17664fi
17665
17666if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17667  as_basename=basename
17668else
17669  as_basename=false
17670fi
17671
17672if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17673  as_dirname=dirname
17674else
17675  as_dirname=false
17676fi
17677
17678as_me=`$as_basename -- "$0" ||
17679$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17680	 X"$0" : 'X\(//\)$' \| \
17681	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17682$as_echo X/"$0" |
17683    sed '/^.*\/\([^/][^/]*\)\/*$/{
17684	    s//\1/
17685	    q
17686	  }
17687	  /^X\/\(\/\/\)$/{
17688	    s//\1/
17689	    q
17690	  }
17691	  /^X\/\(\/\).*/{
17692	    s//\1/
17693	    q
17694	  }
17695	  s/.*/./; q'`
17696
17697# Avoid depending upon Character Ranges.
17698as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17699as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17700as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17701as_cr_digits='0123456789'
17702as_cr_alnum=$as_cr_Letters$as_cr_digits
17703
17704ECHO_C= ECHO_N= ECHO_T=
17705case `echo -n x` in #(((((
17706-n*)
17707  case `echo 'xy\c'` in
17708  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
17709  xy)  ECHO_C='\c';;
17710  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17711       ECHO_T='	';;
17712  esac;;
17713*)
17714  ECHO_N='-n';;
17715esac
17716
17717rm -f conf$$ conf$$.exe conf$$.file
17718if test -d conf$$.dir; then
17719  rm -f conf$$.dir/conf$$.file
17720else
17721  rm -f conf$$.dir
17722  mkdir conf$$.dir 2>/dev/null
17723fi
17724if (echo >conf$$.file) 2>/dev/null; then
17725  if ln -s conf$$.file conf$$ 2>/dev/null; then
17726    as_ln_s='ln -s'
17727    # ... but there are two gotchas:
17728    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17729    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17730    # In both cases, we have to default to `cp -pR'.
17731    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17732      as_ln_s='cp -pR'
17733  elif ln conf$$.file conf$$ 2>/dev/null; then
17734    as_ln_s=ln
17735  else
17736    as_ln_s='cp -pR'
17737  fi
17738else
17739  as_ln_s='cp -pR'
17740fi
17741rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17742rmdir conf$$.dir 2>/dev/null
17743
17744
17745# as_fn_mkdir_p
17746# -------------
17747# Create "$as_dir" as a directory, including parents if necessary.
17748as_fn_mkdir_p ()
17749{
17750
17751  case $as_dir in #(
17752  -*) as_dir=./$as_dir;;
17753  esac
17754  test -d "$as_dir" || eval $as_mkdir_p || {
17755    as_dirs=
17756    while :; do
17757      case $as_dir in #(
17758      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17759      *) as_qdir=$as_dir;;
17760      esac
17761      as_dirs="'$as_qdir' $as_dirs"
17762      as_dir=`$as_dirname -- "$as_dir" ||
17763$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17764	 X"$as_dir" : 'X\(//\)[^/]' \| \
17765	 X"$as_dir" : 'X\(//\)$' \| \
17766	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17767$as_echo X"$as_dir" |
17768    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17769	    s//\1/
17770	    q
17771	  }
17772	  /^X\(\/\/\)[^/].*/{
17773	    s//\1/
17774	    q
17775	  }
17776	  /^X\(\/\/\)$/{
17777	    s//\1/
17778	    q
17779	  }
17780	  /^X\(\/\).*/{
17781	    s//\1/
17782	    q
17783	  }
17784	  s/.*/./; q'`
17785      test -d "$as_dir" && break
17786    done
17787    test -z "$as_dirs" || eval "mkdir $as_dirs"
17788  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17789
17790
17791} # as_fn_mkdir_p
17792if mkdir -p . 2>/dev/null; then
17793  as_mkdir_p='mkdir -p "$as_dir"'
17794else
17795  test -d ./-p && rmdir ./-p
17796  as_mkdir_p=false
17797fi
17798
17799
17800# as_fn_executable_p FILE
17801# -----------------------
17802# Test if FILE is an executable regular file.
17803as_fn_executable_p ()
17804{
17805  test -f "$1" && test -x "$1"
17806} # as_fn_executable_p
17807as_test_x='test -x'
17808as_executable_p=as_fn_executable_p
17809
17810# Sed expression to map a string onto a valid CPP name.
17811as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17812
17813# Sed expression to map a string onto a valid variable name.
17814as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17815
17816
17817exec 6>&1
17818## ----------------------------------- ##
17819## Main body of $CONFIG_STATUS script. ##
17820## ----------------------------------- ##
17821_ASEOF
17822test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17823
17824cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17825# Save the log message, to keep $0 and so on meaningful, and to
17826# report actual input values of CONFIG_FILES etc. instead of their
17827# values after options handling.
17828ac_log="
17829This file was extended by gdbmobj $as_me 0.10, which was
17830generated by GNU Autoconf 2.69.  Invocation command line was
17831
17832  CONFIG_FILES    = $CONFIG_FILES
17833  CONFIG_HEADERS  = $CONFIG_HEADERS
17834  CONFIG_LINKS    = $CONFIG_LINKS
17835  CONFIG_COMMANDS = $CONFIG_COMMANDS
17836  $ $0 $@
17837
17838on `(hostname || uname -n) 2>/dev/null | sed 1q`
17839"
17840
17841_ACEOF
17842
17843case $ac_config_files in *"
17844"*) set x $ac_config_files; shift; ac_config_files=$*;;
17845esac
17846
17847case $ac_config_headers in *"
17848"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17849esac
17850
17851
17852cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17853# Files that config.status was made for.
17854config_files="$ac_config_files"
17855config_headers="$ac_config_headers"
17856config_commands="$ac_config_commands"
17857
17858_ACEOF
17859
17860cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17861ac_cs_usage="\
17862\`$as_me' instantiates files and other configuration actions
17863from templates according to the current configuration.  Unless the files
17864and actions are specified as TAGs, all are instantiated by default.
17865
17866Usage: $0 [OPTION]... [TAG]...
17867
17868  -h, --help       print this help, then exit
17869  -V, --version    print version number and configuration settings, then exit
17870      --config     print configuration, then exit
17871  -q, --quiet, --silent
17872                   do not print progress messages
17873  -d, --debug      don't remove temporary files
17874      --recheck    update $as_me by reconfiguring in the same conditions
17875      --file=FILE[:TEMPLATE]
17876                   instantiate the configuration file FILE
17877      --header=FILE[:TEMPLATE]
17878                   instantiate the configuration header FILE
17879
17880Configuration files:
17881$config_files
17882
17883Configuration headers:
17884$config_headers
17885
17886Configuration commands:
17887$config_commands
17888
17889Report bugs to <courier-users@lists.sourceforge.net>."
17890
17891_ACEOF
17892cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17893ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17894ac_cs_version="\\
17895gdbmobj config.status 0.10
17896configured by $0, generated by GNU Autoconf 2.69,
17897  with options \\"\$ac_cs_config\\"
17898
17899Copyright (C) 2012 Free Software Foundation, Inc.
17900This config.status script is free software; the Free Software Foundation
17901gives unlimited permission to copy, distribute and modify it."
17902
17903ac_pwd='$ac_pwd'
17904srcdir='$srcdir'
17905INSTALL='$INSTALL'
17906MKDIR_P='$MKDIR_P'
17907AWK='$AWK'
17908test -n "\$AWK" || AWK=awk
17909_ACEOF
17910
17911cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17912# The default lists apply if the user does not specify any file.
17913ac_need_defaults=:
17914while test $# != 0
17915do
17916  case $1 in
17917  --*=?*)
17918    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17919    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17920    ac_shift=:
17921    ;;
17922  --*=)
17923    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17924    ac_optarg=
17925    ac_shift=:
17926    ;;
17927  *)
17928    ac_option=$1
17929    ac_optarg=$2
17930    ac_shift=shift
17931    ;;
17932  esac
17933
17934  case $ac_option in
17935  # Handling of the options.
17936  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17937    ac_cs_recheck=: ;;
17938  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17939    $as_echo "$ac_cs_version"; exit ;;
17940  --config | --confi | --conf | --con | --co | --c )
17941    $as_echo "$ac_cs_config"; exit ;;
17942  --debug | --debu | --deb | --de | --d | -d )
17943    debug=: ;;
17944  --file | --fil | --fi | --f )
17945    $ac_shift
17946    case $ac_optarg in
17947    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17948    '') as_fn_error $? "missing file argument" ;;
17949    esac
17950    as_fn_append CONFIG_FILES " '$ac_optarg'"
17951    ac_need_defaults=false;;
17952  --header | --heade | --head | --hea )
17953    $ac_shift
17954    case $ac_optarg in
17955    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17956    esac
17957    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17958    ac_need_defaults=false;;
17959  --he | --h)
17960    # Conflict between --help and --header
17961    as_fn_error $? "ambiguous option: \`$1'
17962Try \`$0 --help' for more information.";;
17963  --help | --hel | -h )
17964    $as_echo "$ac_cs_usage"; exit ;;
17965  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17966  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17967    ac_cs_silent=: ;;
17968
17969  # This is an error.
17970  -*) as_fn_error $? "unrecognized option: \`$1'
17971Try \`$0 --help' for more information." ;;
17972
17973  *) as_fn_append ac_config_targets " $1"
17974     ac_need_defaults=false ;;
17975
17976  esac
17977  shift
17978done
17979
17980ac_configure_extra_args=
17981
17982if $ac_cs_silent; then
17983  exec 6>/dev/null
17984  ac_configure_extra_args="$ac_configure_extra_args --silent"
17985fi
17986
17987_ACEOF
17988cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17989if \$ac_cs_recheck; then
17990  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17991  shift
17992  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17993  CONFIG_SHELL='$SHELL'
17994  export CONFIG_SHELL
17995  exec "\$@"
17996fi
17997
17998_ACEOF
17999cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18000exec 5>>config.log
18001{
18002  echo
18003  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18004## Running $as_me. ##
18005_ASBOX
18006  $as_echo "$ac_log"
18007} >&5
18008
18009_ACEOF
18010cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18011#
18012# INIT-COMMANDS
18013#
18014AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
18015
18016
18017# The HP-UX ksh and POSIX shell print the target directory to stdout
18018# if CDPATH is set.
18019(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18020
18021sed_quote_subst='$sed_quote_subst'
18022double_quote_subst='$double_quote_subst'
18023delay_variable_subst='$delay_variable_subst'
18024macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18025macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18026enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18027enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18028pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18029enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18030shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18031SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18032ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18033PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18034host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18035host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18036host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18037build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18038build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18039build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18040SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18041Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18042GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18043EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18044FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18045LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18046NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18047LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18048max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18049ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18050exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18051lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18052lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18053lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18054lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18055lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18056reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18057reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18058OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18059deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18060file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18061file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18062want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18063DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18064sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18065AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18066AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18067archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18068STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18069RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18070old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18071old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18072old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18073lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18074CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18075CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18076compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18077GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18078lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18079lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18080lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18081lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18082lt_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"`'
18083lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18084nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18085lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18086lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18087objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18088MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18089lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18090lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18091lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18092lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18093lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18094need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18095MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18096DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18097NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18098LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18099OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18100OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18101libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18102shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18103extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18104archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18105enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18106export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18107whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18108compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18109old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18110old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18111archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18112archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18113module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18114module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18115with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18116allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18117no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18118hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18119hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18120hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18121hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18122hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18123hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18124hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18125inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18126link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18127always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18128export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18129exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18130include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18131prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18132postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18133file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18134variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18135need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18136need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18137version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18138runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18139shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18140shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18141libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18142library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18143soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18144install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18145postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18146postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18147finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18148finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18149hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18150sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18151configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18152configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18153hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18154enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18155enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18156enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18157old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18158striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18159compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18160predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18161postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18162predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18163postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18164compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18165LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18166reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18167reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18168old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18169compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18170GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18171lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18172lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18173lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18174lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18175lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18176archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18177enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18178export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18179whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18180compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18181old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18182old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18183archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18184archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18185module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18186module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18187with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18188allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18189no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18190hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18191hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18192hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18193hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18194hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18195hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18196hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18197inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18198link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18199always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18200export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18201exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18202include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18203prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18204postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18205file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18206hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18207compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18208predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18209postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18210predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18211postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18212compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18213
18214LTCC='$LTCC'
18215LTCFLAGS='$LTCFLAGS'
18216compiler='$compiler_DEFAULT'
18217
18218# A function that is used when there is no print builtin or printf.
18219func_fallback_echo ()
18220{
18221  eval 'cat <<_LTECHO_EOF
18222\$1
18223_LTECHO_EOF'
18224}
18225
18226# Quote evaled strings.
18227for var in SHELL \
18228ECHO \
18229PATH_SEPARATOR \
18230SED \
18231GREP \
18232EGREP \
18233FGREP \
18234LD \
18235NM \
18236LN_S \
18237lt_SP2NL \
18238lt_NL2SP \
18239reload_flag \
18240OBJDUMP \
18241deplibs_check_method \
18242file_magic_cmd \
18243file_magic_glob \
18244want_nocaseglob \
18245DLLTOOL \
18246sharedlib_from_linklib_cmd \
18247AR \
18248AR_FLAGS \
18249archiver_list_spec \
18250STRIP \
18251RANLIB \
18252CC \
18253CFLAGS \
18254compiler \
18255lt_cv_sys_global_symbol_pipe \
18256lt_cv_sys_global_symbol_to_cdecl \
18257lt_cv_sys_global_symbol_to_import \
18258lt_cv_sys_global_symbol_to_c_name_address \
18259lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18260lt_cv_nm_interface \
18261nm_file_list_spec \
18262lt_cv_truncate_bin \
18263lt_prog_compiler_no_builtin_flag \
18264lt_prog_compiler_pic \
18265lt_prog_compiler_wl \
18266lt_prog_compiler_static \
18267lt_cv_prog_compiler_c_o \
18268need_locks \
18269MANIFEST_TOOL \
18270DSYMUTIL \
18271NMEDIT \
18272LIPO \
18273OTOOL \
18274OTOOL64 \
18275shrext_cmds \
18276export_dynamic_flag_spec \
18277whole_archive_flag_spec \
18278compiler_needs_object \
18279with_gnu_ld \
18280allow_undefined_flag \
18281no_undefined_flag \
18282hardcode_libdir_flag_spec \
18283hardcode_libdir_separator \
18284exclude_expsyms \
18285include_expsyms \
18286file_list_spec \
18287variables_saved_for_relink \
18288libname_spec \
18289library_names_spec \
18290soname_spec \
18291install_override_mode \
18292finish_eval \
18293old_striplib \
18294striplib \
18295compiler_lib_search_dirs \
18296predep_objects \
18297postdep_objects \
18298predeps \
18299postdeps \
18300compiler_lib_search_path \
18301LD_CXX \
18302reload_flag_CXX \
18303compiler_CXX \
18304lt_prog_compiler_no_builtin_flag_CXX \
18305lt_prog_compiler_pic_CXX \
18306lt_prog_compiler_wl_CXX \
18307lt_prog_compiler_static_CXX \
18308lt_cv_prog_compiler_c_o_CXX \
18309export_dynamic_flag_spec_CXX \
18310whole_archive_flag_spec_CXX \
18311compiler_needs_object_CXX \
18312with_gnu_ld_CXX \
18313allow_undefined_flag_CXX \
18314no_undefined_flag_CXX \
18315hardcode_libdir_flag_spec_CXX \
18316hardcode_libdir_separator_CXX \
18317exclude_expsyms_CXX \
18318include_expsyms_CXX \
18319file_list_spec_CXX \
18320compiler_lib_search_dirs_CXX \
18321predep_objects_CXX \
18322postdep_objects_CXX \
18323predeps_CXX \
18324postdeps_CXX \
18325compiler_lib_search_path_CXX; do
18326    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18327    *[\\\\\\\`\\"\\\$]*)
18328      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18329      ;;
18330    *)
18331      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18332      ;;
18333    esac
18334done
18335
18336# Double-quote double-evaled strings.
18337for var in reload_cmds \
18338old_postinstall_cmds \
18339old_postuninstall_cmds \
18340old_archive_cmds \
18341extract_expsyms_cmds \
18342old_archive_from_new_cmds \
18343old_archive_from_expsyms_cmds \
18344archive_cmds \
18345archive_expsym_cmds \
18346module_cmds \
18347module_expsym_cmds \
18348export_symbols_cmds \
18349prelink_cmds \
18350postlink_cmds \
18351postinstall_cmds \
18352postuninstall_cmds \
18353finish_cmds \
18354sys_lib_search_path_spec \
18355configure_time_dlsearch_path \
18356configure_time_lt_sys_library_path \
18357reload_cmds_CXX \
18358old_archive_cmds_CXX \
18359old_archive_from_new_cmds_CXX \
18360old_archive_from_expsyms_cmds_CXX \
18361archive_cmds_CXX \
18362archive_expsym_cmds_CXX \
18363module_cmds_CXX \
18364module_expsym_cmds_CXX \
18365export_symbols_cmds_CXX \
18366prelink_cmds_CXX \
18367postlink_cmds_CXX; do
18368    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18369    *[\\\\\\\`\\"\\\$]*)
18370      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18371      ;;
18372    *)
18373      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18374      ;;
18375    esac
18376done
18377
18378ac_aux_dir='$ac_aux_dir'
18379
18380# See if we are running on zsh, and set the options that allow our
18381# commands through without removal of \ escapes INIT.
18382if test -n "\${ZSH_VERSION+set}"; then
18383   setopt NO_GLOB_SUBST
18384fi
18385
18386
18387    PACKAGE='$PACKAGE'
18388    VERSION='$VERSION'
18389    RM='$RM'
18390    ofile='$ofile'
18391
18392
18393
18394
18395
18396
18397_ACEOF
18398
18399cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18400
18401# Handling of arguments.
18402for ac_config_target in $ac_config_targets
18403do
18404  case $ac_config_target in
18405    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18406    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18407    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18408    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18409
18410  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18411  esac
18412done
18413
18414
18415# If the user did not use the arguments to specify the items to instantiate,
18416# then the envvar interface is used.  Set only those that are not.
18417# We use the long form for the default assignment because of an extremely
18418# bizarre bug on SunOS 4.1.3.
18419if $ac_need_defaults; then
18420  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18421  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18422  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18423fi
18424
18425# Have a temporary directory for convenience.  Make it in the build tree
18426# simply because there is no reason against having it here, and in addition,
18427# creating and moving files from /tmp can sometimes cause problems.
18428# Hook for its removal unless debugging.
18429# Note that there is a small window in which the directory will not be cleaned:
18430# after its creation but before its name has been assigned to `$tmp'.
18431$debug ||
18432{
18433  tmp= ac_tmp=
18434  trap 'exit_status=$?
18435  : "${ac_tmp:=$tmp}"
18436  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18437' 0
18438  trap 'as_fn_exit 1' 1 2 13 15
18439}
18440# Create a (secure) tmp directory for tmp files.
18441
18442{
18443  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18444  test -d "$tmp"
18445}  ||
18446{
18447  tmp=./conf$$-$RANDOM
18448  (umask 077 && mkdir "$tmp")
18449} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18450ac_tmp=$tmp
18451
18452# Set up the scripts for CONFIG_FILES section.
18453# No need to generate them if there are no CONFIG_FILES.
18454# This happens for instance with `./config.status config.h'.
18455if test -n "$CONFIG_FILES"; then
18456
18457
18458ac_cr=`echo X | tr X '\015'`
18459# On cygwin, bash can eat \r inside `` if the user requested igncr.
18460# But we know of no other shell where ac_cr would be empty at this
18461# point, so we can use a bashism as a fallback.
18462if test "x$ac_cr" = x; then
18463  eval ac_cr=\$\'\\r\'
18464fi
18465ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18466if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18467  ac_cs_awk_cr='\\r'
18468else
18469  ac_cs_awk_cr=$ac_cr
18470fi
18471
18472echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18473_ACEOF
18474
18475
18476{
18477  echo "cat >conf$$subs.awk <<_ACEOF" &&
18478  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18479  echo "_ACEOF"
18480} >conf$$subs.sh ||
18481  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18482ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18483ac_delim='%!_!# '
18484for ac_last_try in false false false false false :; do
18485  . ./conf$$subs.sh ||
18486    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18487
18488  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18489  if test $ac_delim_n = $ac_delim_num; then
18490    break
18491  elif $ac_last_try; then
18492    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18493  else
18494    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18495  fi
18496done
18497rm -f conf$$subs.sh
18498
18499cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18500cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18501_ACEOF
18502sed -n '
18503h
18504s/^/S["/; s/!.*/"]=/
18505p
18506g
18507s/^[^!]*!//
18508:repl
18509t repl
18510s/'"$ac_delim"'$//
18511t delim
18512:nl
18513h
18514s/\(.\{148\}\)..*/\1/
18515t more1
18516s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18517p
18518n
18519b repl
18520:more1
18521s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18522p
18523g
18524s/.\{148\}//
18525t nl
18526:delim
18527h
18528s/\(.\{148\}\)..*/\1/
18529t more2
18530s/["\\]/\\&/g; s/^/"/; s/$/"/
18531p
18532b
18533:more2
18534s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18535p
18536g
18537s/.\{148\}//
18538t delim
18539' <conf$$subs.awk | sed '
18540/^[^""]/{
18541  N
18542  s/\n//
18543}
18544' >>$CONFIG_STATUS || ac_write_fail=1
18545rm -f conf$$subs.awk
18546cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18547_ACAWK
18548cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18549  for (key in S) S_is_set[key] = 1
18550  FS = ""
18551
18552}
18553{
18554  line = $ 0
18555  nfields = split(line, field, "@")
18556  substed = 0
18557  len = length(field[1])
18558  for (i = 2; i < nfields; i++) {
18559    key = field[i]
18560    keylen = length(key)
18561    if (S_is_set[key]) {
18562      value = S[key]
18563      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18564      len += length(value) + length(field[++i])
18565      substed = 1
18566    } else
18567      len += 1 + keylen
18568  }
18569
18570  print line
18571}
18572
18573_ACAWK
18574_ACEOF
18575cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18576if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18577  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18578else
18579  cat
18580fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18581  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18582_ACEOF
18583
18584# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18585# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18586# trailing colons and then remove the whole line if VPATH becomes empty
18587# (actually we leave an empty line to preserve line numbers).
18588if test "x$srcdir" = x.; then
18589  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
18590h
18591s///
18592s/^/:/
18593s/[	 ]*$/:/
18594s/:\$(srcdir):/:/g
18595s/:\${srcdir}:/:/g
18596s/:@srcdir@:/:/g
18597s/^:*//
18598s/:*$//
18599x
18600s/\(=[	 ]*\).*/\1/
18601G
18602s/\n//
18603s/^[^=]*=[	 ]*$//
18604}'
18605fi
18606
18607cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18608fi # test -n "$CONFIG_FILES"
18609
18610# Set up the scripts for CONFIG_HEADERS section.
18611# No need to generate them if there are no CONFIG_HEADERS.
18612# This happens for instance with `./config.status Makefile'.
18613if test -n "$CONFIG_HEADERS"; then
18614cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18615BEGIN {
18616_ACEOF
18617
18618# Transform confdefs.h into an awk script `defines.awk', embedded as
18619# here-document in config.status, that substitutes the proper values into
18620# config.h.in to produce config.h.
18621
18622# Create a delimiter string that does not exist in confdefs.h, to ease
18623# handling of long lines.
18624ac_delim='%!_!# '
18625for ac_last_try in false false :; do
18626  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18627  if test -z "$ac_tt"; then
18628    break
18629  elif $ac_last_try; then
18630    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18631  else
18632    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18633  fi
18634done
18635
18636# For the awk script, D is an array of macro values keyed by name,
18637# likewise P contains macro parameters if any.  Preserve backslash
18638# newline sequences.
18639
18640ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18641sed -n '
18642s/.\{148\}/&'"$ac_delim"'/g
18643t rset
18644:rset
18645s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
18646t def
18647d
18648:def
18649s/\\$//
18650t bsnl
18651s/["\\]/\\&/g
18652s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18653D["\1"]=" \3"/p
18654s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
18655d
18656:bsnl
18657s/["\\]/\\&/g
18658s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18659D["\1"]=" \3\\\\\\n"\\/p
18660t cont
18661s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18662t cont
18663d
18664:cont
18665n
18666s/.\{148\}/&'"$ac_delim"'/g
18667t clear
18668:clear
18669s/\\$//
18670t bsnlc
18671s/["\\]/\\&/g; s/^/"/; s/$/"/p
18672d
18673:bsnlc
18674s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18675b cont
18676' <confdefs.h | sed '
18677s/'"$ac_delim"'/"\\\
18678"/g' >>$CONFIG_STATUS || ac_write_fail=1
18679
18680cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18681  for (key in D) D_is_set[key] = 1
18682  FS = ""
18683}
18684/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18685  line = \$ 0
18686  split(line, arg, " ")
18687  if (arg[1] == "#") {
18688    defundef = arg[2]
18689    mac1 = arg[3]
18690  } else {
18691    defundef = substr(arg[1], 2)
18692    mac1 = arg[2]
18693  }
18694  split(mac1, mac2, "(") #)
18695  macro = mac2[1]
18696  prefix = substr(line, 1, index(line, defundef) - 1)
18697  if (D_is_set[macro]) {
18698    # Preserve the white space surrounding the "#".
18699    print prefix "define", macro P[macro] D[macro]
18700    next
18701  } else {
18702    # Replace #undef with comments.  This is necessary, for example,
18703    # in the case of _POSIX_SOURCE, which is predefined and required
18704    # on some systems where configure will not decide to define it.
18705    if (defundef == "undef") {
18706      print "/*", prefix defundef, macro, "*/"
18707      next
18708    }
18709  }
18710}
18711{ print }
18712_ACAWK
18713_ACEOF
18714cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18715  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18716fi # test -n "$CONFIG_HEADERS"
18717
18718
18719eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18720shift
18721for ac_tag
18722do
18723  case $ac_tag in
18724  :[FHLC]) ac_mode=$ac_tag; continue;;
18725  esac
18726  case $ac_mode$ac_tag in
18727  :[FHL]*:*);;
18728  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18729  :[FH]-) ac_tag=-:-;;
18730  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18731  esac
18732  ac_save_IFS=$IFS
18733  IFS=:
18734  set x $ac_tag
18735  IFS=$ac_save_IFS
18736  shift
18737  ac_file=$1
18738  shift
18739
18740  case $ac_mode in
18741  :L) ac_source=$1;;
18742  :[FH])
18743    ac_file_inputs=
18744    for ac_f
18745    do
18746      case $ac_f in
18747      -) ac_f="$ac_tmp/stdin";;
18748      *) # Look for the file first in the build tree, then in the source tree
18749	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
18750	 # because $ac_f cannot contain `:'.
18751	 test -f "$ac_f" ||
18752	   case $ac_f in
18753	   [\\/$]*) false;;
18754	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18755	   esac ||
18756	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18757      esac
18758      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18759      as_fn_append ac_file_inputs " '$ac_f'"
18760    done
18761
18762    # Let's still pretend it is `configure' which instantiates (i.e., don't
18763    # use $as_me), people would be surprised to read:
18764    #    /* config.h.  Generated by config.status.  */
18765    configure_input='Generated from '`
18766	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18767	`' by configure.'
18768    if test x"$ac_file" != x-; then
18769      configure_input="$ac_file.  $configure_input"
18770      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18771$as_echo "$as_me: creating $ac_file" >&6;}
18772    fi
18773    # Neutralize special characters interpreted by sed in replacement strings.
18774    case $configure_input in #(
18775    *\&* | *\|* | *\\* )
18776       ac_sed_conf_input=`$as_echo "$configure_input" |
18777       sed 's/[\\\\&|]/\\\\&/g'`;; #(
18778    *) ac_sed_conf_input=$configure_input;;
18779    esac
18780
18781    case $ac_tag in
18782    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18783      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18784    esac
18785    ;;
18786  esac
18787
18788  ac_dir=`$as_dirname -- "$ac_file" ||
18789$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18790	 X"$ac_file" : 'X\(//\)[^/]' \| \
18791	 X"$ac_file" : 'X\(//\)$' \| \
18792	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18793$as_echo X"$ac_file" |
18794    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18795	    s//\1/
18796	    q
18797	  }
18798	  /^X\(\/\/\)[^/].*/{
18799	    s//\1/
18800	    q
18801	  }
18802	  /^X\(\/\/\)$/{
18803	    s//\1/
18804	    q
18805	  }
18806	  /^X\(\/\).*/{
18807	    s//\1/
18808	    q
18809	  }
18810	  s/.*/./; q'`
18811  as_dir="$ac_dir"; as_fn_mkdir_p
18812  ac_builddir=.
18813
18814case "$ac_dir" in
18815.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18816*)
18817  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18818  # A ".." for each directory in $ac_dir_suffix.
18819  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18820  case $ac_top_builddir_sub in
18821  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18822  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18823  esac ;;
18824esac
18825ac_abs_top_builddir=$ac_pwd
18826ac_abs_builddir=$ac_pwd$ac_dir_suffix
18827# for backward compatibility:
18828ac_top_builddir=$ac_top_build_prefix
18829
18830case $srcdir in
18831  .)  # We are building in place.
18832    ac_srcdir=.
18833    ac_top_srcdir=$ac_top_builddir_sub
18834    ac_abs_top_srcdir=$ac_pwd ;;
18835  [\\/]* | ?:[\\/]* )  # Absolute name.
18836    ac_srcdir=$srcdir$ac_dir_suffix;
18837    ac_top_srcdir=$srcdir
18838    ac_abs_top_srcdir=$srcdir ;;
18839  *) # Relative name.
18840    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18841    ac_top_srcdir=$ac_top_build_prefix$srcdir
18842    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18843esac
18844ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18845
18846
18847  case $ac_mode in
18848  :F)
18849  #
18850  # CONFIG_FILE
18851  #
18852
18853  case $INSTALL in
18854  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18855  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18856  esac
18857  ac_MKDIR_P=$MKDIR_P
18858  case $MKDIR_P in
18859  [\\/$]* | ?:[\\/]* ) ;;
18860  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18861  esac
18862_ACEOF
18863
18864cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18865# If the template does not know about datarootdir, expand it.
18866# FIXME: This hack should be removed a few years after 2.60.
18867ac_datarootdir_hack=; ac_datarootdir_seen=
18868ac_sed_dataroot='
18869/datarootdir/ {
18870  p
18871  q
18872}
18873/@datadir@/p
18874/@docdir@/p
18875/@infodir@/p
18876/@localedir@/p
18877/@mandir@/p'
18878case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18879*datarootdir*) ac_datarootdir_seen=yes;;
18880*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18881  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18882$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18883_ACEOF
18884cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18885  ac_datarootdir_hack='
18886  s&@datadir@&$datadir&g
18887  s&@docdir@&$docdir&g
18888  s&@infodir@&$infodir&g
18889  s&@localedir@&$localedir&g
18890  s&@mandir@&$mandir&g
18891  s&\\\${datarootdir}&$datarootdir&g' ;;
18892esac
18893_ACEOF
18894
18895# Neutralize VPATH when `$srcdir' = `.'.
18896# Shell code in configure.ac might set extrasub.
18897# FIXME: do we really want to maintain this feature?
18898cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18899ac_sed_extra="$ac_vpsub
18900$extrasub
18901_ACEOF
18902cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18903:t
18904/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18905s|@configure_input@|$ac_sed_conf_input|;t t
18906s&@top_builddir@&$ac_top_builddir_sub&;t t
18907s&@top_build_prefix@&$ac_top_build_prefix&;t t
18908s&@srcdir@&$ac_srcdir&;t t
18909s&@abs_srcdir@&$ac_abs_srcdir&;t t
18910s&@top_srcdir@&$ac_top_srcdir&;t t
18911s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18912s&@builddir@&$ac_builddir&;t t
18913s&@abs_builddir@&$ac_abs_builddir&;t t
18914s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18915s&@INSTALL@&$ac_INSTALL&;t t
18916s&@MKDIR_P@&$ac_MKDIR_P&;t t
18917$ac_datarootdir_hack
18918"
18919eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18920  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18921
18922test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18923  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18924  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
18925      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18926  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18927which seems to be undefined.  Please make sure it is defined" >&5
18928$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18929which seems to be undefined.  Please make sure it is defined" >&2;}
18930
18931  rm -f "$ac_tmp/stdin"
18932  case $ac_file in
18933  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18934  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18935  esac \
18936  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18937 ;;
18938  :H)
18939  #
18940  # CONFIG_HEADER
18941  #
18942  if test x"$ac_file" != x-; then
18943    {
18944      $as_echo "/* $configure_input  */" \
18945      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18946    } >"$ac_tmp/config.h" \
18947      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18948    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18949      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18950$as_echo "$as_me: $ac_file is unchanged" >&6;}
18951    else
18952      rm -f "$ac_file"
18953      mv "$ac_tmp/config.h" "$ac_file" \
18954	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18955    fi
18956  else
18957    $as_echo "/* $configure_input  */" \
18958      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18959      || as_fn_error $? "could not create -" "$LINENO" 5
18960  fi
18961# Compute "$ac_file"'s index in $config_headers.
18962_am_arg="$ac_file"
18963_am_stamp_count=1
18964for _am_header in $config_headers :; do
18965  case $_am_header in
18966    $_am_arg | $_am_arg:* )
18967      break ;;
18968    * )
18969      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18970  esac
18971done
18972echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18973$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18974	 X"$_am_arg" : 'X\(//\)[^/]' \| \
18975	 X"$_am_arg" : 'X\(//\)$' \| \
18976	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18977$as_echo X"$_am_arg" |
18978    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18979	    s//\1/
18980	    q
18981	  }
18982	  /^X\(\/\/\)[^/].*/{
18983	    s//\1/
18984	    q
18985	  }
18986	  /^X\(\/\/\)$/{
18987	    s//\1/
18988	    q
18989	  }
18990	  /^X\(\/\).*/{
18991	    s//\1/
18992	    q
18993	  }
18994	  s/.*/./; q'`/stamp-h$_am_stamp_count
18995 ;;
18996
18997  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18998$as_echo "$as_me: executing $ac_file commands" >&6;}
18999 ;;
19000  esac
19001
19002
19003  case $ac_file$ac_mode in
19004    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19005  # Older Autoconf quotes --file arguments for eval, but not when files
19006  # are listed without --file.  Let's play safe and only enable the eval
19007  # if we detect the quoting.
19008  # TODO: see whether this extra hack can be removed once we start
19009  # requiring Autoconf 2.70 or later.
19010  case $CONFIG_FILES in #(
19011  *\'*) :
19012    eval set x "$CONFIG_FILES" ;; #(
19013  *) :
19014    set x $CONFIG_FILES ;; #(
19015  *) :
19016     ;;
19017esac
19018  shift
19019  # Used to flag and report bootstrapping failures.
19020  am_rc=0
19021  for am_mf
19022  do
19023    # Strip MF so we end up with the name of the file.
19024    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
19025    # Check whether this is an Automake generated Makefile which includes
19026    # dependency-tracking related rules and includes.
19027    # Grep'ing the whole file directly is not great: AIX grep has a line
19028    # limit of 2048, but all sed's we know have understand at least 4000.
19029    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
19030      || continue
19031    am_dirpart=`$as_dirname -- "$am_mf" ||
19032$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19033	 X"$am_mf" : 'X\(//\)[^/]' \| \
19034	 X"$am_mf" : 'X\(//\)$' \| \
19035	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19036$as_echo X"$am_mf" |
19037    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19038	    s//\1/
19039	    q
19040	  }
19041	  /^X\(\/\/\)[^/].*/{
19042	    s//\1/
19043	    q
19044	  }
19045	  /^X\(\/\/\)$/{
19046	    s//\1/
19047	    q
19048	  }
19049	  /^X\(\/\).*/{
19050	    s//\1/
19051	    q
19052	  }
19053	  s/.*/./; q'`
19054    am_filepart=`$as_basename -- "$am_mf" ||
19055$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
19056	 X"$am_mf" : 'X\(//\)$' \| \
19057	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19058$as_echo X/"$am_mf" |
19059    sed '/^.*\/\([^/][^/]*\)\/*$/{
19060	    s//\1/
19061	    q
19062	  }
19063	  /^X\/\(\/\/\)$/{
19064	    s//\1/
19065	    q
19066	  }
19067	  /^X\/\(\/\).*/{
19068	    s//\1/
19069	    q
19070	  }
19071	  s/.*/./; q'`
19072    { echo "$as_me:$LINENO: cd "$am_dirpart" \
19073      && sed -e '/# am--include-marker/d' "$am_filepart" \
19074        | $MAKE -f - am--depfiles" >&5
19075   (cd "$am_dirpart" \
19076      && sed -e '/# am--include-marker/d' "$am_filepart" \
19077        | $MAKE -f - am--depfiles) >&5 2>&5
19078   ac_status=$?
19079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080   (exit $ac_status); } || am_rc=$?
19081  done
19082  if test $am_rc -ne 0; then
19083    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19084$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19085as_fn_error $? "Something went wrong bootstrapping makefile fragments
19086    for automatic dependency tracking.  If GNU make was not used, consider
19087    re-running the configure script with MAKE=\"gmake\" (or whatever is
19088    necessary).  You can also try re-running configure with the
19089    '--disable-dependency-tracking' option to at least be able to build
19090    the package (albeit without support for automatic dependency tracking).
19091See \`config.log' for more details" "$LINENO" 5; }
19092  fi
19093  { am_dirpart=; unset am_dirpart;}
19094  { am_filepart=; unset am_filepart;}
19095  { am_mf=; unset am_mf;}
19096  { am_rc=; unset am_rc;}
19097  rm -f conftest-deps.mk
19098}
19099 ;;
19100    "libtool":C)
19101
19102    # See if we are running on zsh, and set the options that allow our
19103    # commands through without removal of \ escapes.
19104    if test -n "${ZSH_VERSION+set}"; then
19105      setopt NO_GLOB_SUBST
19106    fi
19107
19108    cfgfile=${ofile}T
19109    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19110    $RM "$cfgfile"
19111
19112    cat <<_LT_EOF >> "$cfgfile"
19113#! $SHELL
19114# Generated automatically by $as_me ($PACKAGE) $VERSION
19115# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19116# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19117
19118# Provide generalized library-building support services.
19119# Written by Gordon Matzigkeit, 1996
19120
19121# Copyright (C) 2014 Free Software Foundation, Inc.
19122# This is free software; see the source for copying conditions.  There is NO
19123# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19124
19125# GNU Libtool is free software; you can redistribute it and/or modify
19126# it under the terms of the GNU General Public License as published by
19127# the Free Software Foundation; either version 2 of of the License, or
19128# (at your option) any later version.
19129#
19130# As a special exception to the GNU General Public License, if you
19131# distribute this file as part of a program or library that is built
19132# using GNU Libtool, you may include this file under the  same
19133# distribution terms that you use for the rest of that program.
19134#
19135# GNU Libtool is distributed in the hope that it will be useful, but
19136# WITHOUT ANY WARRANTY; without even the implied warranty of
19137# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19138# GNU General Public License for more details.
19139#
19140# You should have received a copy of the GNU General Public License
19141# along with this program.  If not, see <http://www.gnu.org/licenses/>.
19142
19143
19144# The names of the tagged configurations supported by this script.
19145available_tags='CXX '
19146
19147# Configured defaults for sys_lib_dlsearch_path munging.
19148: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19149
19150# ### BEGIN LIBTOOL CONFIG
19151
19152# Which release of libtool.m4 was used?
19153macro_version=$macro_version
19154macro_revision=$macro_revision
19155
19156# Whether or not to build shared libraries.
19157build_libtool_libs=$enable_shared
19158
19159# Whether or not to build static libraries.
19160build_old_libs=$enable_static
19161
19162# What type of objects to build.
19163pic_mode=$pic_mode
19164
19165# Whether or not to optimize for fast installation.
19166fast_install=$enable_fast_install
19167
19168# Shared archive member basename,for filename based shared library versioning on AIX.
19169shared_archive_member_spec=$shared_archive_member_spec
19170
19171# Shell to use when invoking shell scripts.
19172SHELL=$lt_SHELL
19173
19174# An echo program that protects backslashes.
19175ECHO=$lt_ECHO
19176
19177# The PATH separator for the build system.
19178PATH_SEPARATOR=$lt_PATH_SEPARATOR
19179
19180# The host system.
19181host_alias=$host_alias
19182host=$host
19183host_os=$host_os
19184
19185# The build system.
19186build_alias=$build_alias
19187build=$build
19188build_os=$build_os
19189
19190# A sed program that does not truncate output.
19191SED=$lt_SED
19192
19193# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19194Xsed="\$SED -e 1s/^X//"
19195
19196# A grep program that handles long lines.
19197GREP=$lt_GREP
19198
19199# An ERE matcher.
19200EGREP=$lt_EGREP
19201
19202# A literal string matcher.
19203FGREP=$lt_FGREP
19204
19205# A BSD- or MS-compatible name lister.
19206NM=$lt_NM
19207
19208# Whether we need soft or hard links.
19209LN_S=$lt_LN_S
19210
19211# What is the maximum length of a command?
19212max_cmd_len=$max_cmd_len
19213
19214# Object file suffix (normally "o").
19215objext=$ac_objext
19216
19217# Executable file suffix (normally "").
19218exeext=$exeext
19219
19220# whether the shell understands "unset".
19221lt_unset=$lt_unset
19222
19223# turn spaces into newlines.
19224SP2NL=$lt_lt_SP2NL
19225
19226# turn newlines into spaces.
19227NL2SP=$lt_lt_NL2SP
19228
19229# convert \$build file names to \$host format.
19230to_host_file_cmd=$lt_cv_to_host_file_cmd
19231
19232# convert \$build files to toolchain format.
19233to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19234
19235# An object symbol dumper.
19236OBJDUMP=$lt_OBJDUMP
19237
19238# Method to check whether dependent libraries are shared objects.
19239deplibs_check_method=$lt_deplibs_check_method
19240
19241# Command to use when deplibs_check_method = "file_magic".
19242file_magic_cmd=$lt_file_magic_cmd
19243
19244# How to find potential files when deplibs_check_method = "file_magic".
19245file_magic_glob=$lt_file_magic_glob
19246
19247# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19248want_nocaseglob=$lt_want_nocaseglob
19249
19250# DLL creation program.
19251DLLTOOL=$lt_DLLTOOL
19252
19253# Command to associate shared and link libraries.
19254sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19255
19256# The archiver.
19257AR=$lt_AR
19258
19259# Flags to create an archive.
19260AR_FLAGS=$lt_AR_FLAGS
19261
19262# How to feed a file listing to the archiver.
19263archiver_list_spec=$lt_archiver_list_spec
19264
19265# A symbol stripping program.
19266STRIP=$lt_STRIP
19267
19268# Commands used to install an old-style archive.
19269RANLIB=$lt_RANLIB
19270old_postinstall_cmds=$lt_old_postinstall_cmds
19271old_postuninstall_cmds=$lt_old_postuninstall_cmds
19272
19273# Whether to use a lock for old archive extraction.
19274lock_old_archive_extraction=$lock_old_archive_extraction
19275
19276# A C compiler.
19277LTCC=$lt_CC
19278
19279# LTCC compiler flags.
19280LTCFLAGS=$lt_CFLAGS
19281
19282# Take the output of nm and produce a listing of raw symbols and C names.
19283global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19284
19285# Transform the output of nm in a proper C declaration.
19286global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19287
19288# Transform the output of nm into a list of symbols to manually relocate.
19289global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19290
19291# Transform the output of nm in a C name address pair.
19292global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19293
19294# Transform the output of nm in a C name address pair when lib prefix is needed.
19295global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19296
19297# The name lister interface.
19298nm_interface=$lt_lt_cv_nm_interface
19299
19300# Specify filename containing input files for \$NM.
19301nm_file_list_spec=$lt_nm_file_list_spec
19302
19303# The root where to search for dependent libraries,and where our libraries should be installed.
19304lt_sysroot=$lt_sysroot
19305
19306# Command to truncate a binary pipe.
19307lt_truncate_bin=$lt_lt_cv_truncate_bin
19308
19309# The name of the directory that contains temporary libtool files.
19310objdir=$objdir
19311
19312# Used to examine libraries when file_magic_cmd begins with "file".
19313MAGIC_CMD=$MAGIC_CMD
19314
19315# Must we lock files when doing compilation?
19316need_locks=$lt_need_locks
19317
19318# Manifest tool.
19319MANIFEST_TOOL=$lt_MANIFEST_TOOL
19320
19321# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19322DSYMUTIL=$lt_DSYMUTIL
19323
19324# Tool to change global to local symbols on Mac OS X.
19325NMEDIT=$lt_NMEDIT
19326
19327# Tool to manipulate fat objects and archives on Mac OS X.
19328LIPO=$lt_LIPO
19329
19330# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19331OTOOL=$lt_OTOOL
19332
19333# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19334OTOOL64=$lt_OTOOL64
19335
19336# Old archive suffix (normally "a").
19337libext=$libext
19338
19339# Shared library suffix (normally ".so").
19340shrext_cmds=$lt_shrext_cmds
19341
19342# The commands to extract the exported symbol list from a shared archive.
19343extract_expsyms_cmds=$lt_extract_expsyms_cmds
19344
19345# Variables whose values should be saved in libtool wrapper scripts and
19346# restored at link time.
19347variables_saved_for_relink=$lt_variables_saved_for_relink
19348
19349# Do we need the "lib" prefix for modules?
19350need_lib_prefix=$need_lib_prefix
19351
19352# Do we need a version for libraries?
19353need_version=$need_version
19354
19355# Library versioning type.
19356version_type=$version_type
19357
19358# Shared library runtime path variable.
19359runpath_var=$runpath_var
19360
19361# Shared library path variable.
19362shlibpath_var=$shlibpath_var
19363
19364# Is shlibpath searched before the hard-coded library search path?
19365shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19366
19367# Format of library name prefix.
19368libname_spec=$lt_libname_spec
19369
19370# List of archive names.  First name is the real one, the rest are links.
19371# The last name is the one that the linker finds with -lNAME
19372library_names_spec=$lt_library_names_spec
19373
19374# The coded name of the library, if different from the real name.
19375soname_spec=$lt_soname_spec
19376
19377# Permission mode override for installation of shared libraries.
19378install_override_mode=$lt_install_override_mode
19379
19380# Command to use after installation of a shared archive.
19381postinstall_cmds=$lt_postinstall_cmds
19382
19383# Command to use after uninstallation of a shared archive.
19384postuninstall_cmds=$lt_postuninstall_cmds
19385
19386# Commands used to finish a libtool library installation in a directory.
19387finish_cmds=$lt_finish_cmds
19388
19389# As "finish_cmds", except a single script fragment to be evaled but
19390# not shown.
19391finish_eval=$lt_finish_eval
19392
19393# Whether we should hardcode library paths into libraries.
19394hardcode_into_libs=$hardcode_into_libs
19395
19396# Compile-time system search path for libraries.
19397sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19398
19399# Detected run-time system search path for libraries.
19400sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19401
19402# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19403configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19404
19405# Whether dlopen is supported.
19406dlopen_support=$enable_dlopen
19407
19408# Whether dlopen of programs is supported.
19409dlopen_self=$enable_dlopen_self
19410
19411# Whether dlopen of statically linked programs is supported.
19412dlopen_self_static=$enable_dlopen_self_static
19413
19414# Commands to strip libraries.
19415old_striplib=$lt_old_striplib
19416striplib=$lt_striplib
19417
19418
19419# The linker used to build libraries.
19420LD=$lt_LD
19421
19422# How to create reloadable object files.
19423reload_flag=$lt_reload_flag
19424reload_cmds=$lt_reload_cmds
19425
19426# Commands used to build an old-style archive.
19427old_archive_cmds=$lt_old_archive_cmds
19428
19429# A language specific compiler.
19430CC=$lt_compiler
19431
19432# Is the compiler the GNU compiler?
19433with_gcc=$GCC
19434
19435# Compiler flag to turn off builtin functions.
19436no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19437
19438# Additional compiler flags for building library objects.
19439pic_flag=$lt_lt_prog_compiler_pic
19440
19441# How to pass a linker flag through the compiler.
19442wl=$lt_lt_prog_compiler_wl
19443
19444# Compiler flag to prevent dynamic linking.
19445link_static_flag=$lt_lt_prog_compiler_static
19446
19447# Does compiler simultaneously support -c and -o options?
19448compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19449
19450# Whether or not to add -lc for building shared libraries.
19451build_libtool_need_lc=$archive_cmds_need_lc
19452
19453# Whether or not to disallow shared libs when runtime libs are static.
19454allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19455
19456# Compiler flag to allow reflexive dlopens.
19457export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19458
19459# Compiler flag to generate shared objects directly from archives.
19460whole_archive_flag_spec=$lt_whole_archive_flag_spec
19461
19462# Whether the compiler copes with passing no objects directly.
19463compiler_needs_object=$lt_compiler_needs_object
19464
19465# Create an old-style archive from a shared archive.
19466old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19467
19468# Create a temporary old-style archive to link instead of a shared archive.
19469old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19470
19471# Commands used to build a shared archive.
19472archive_cmds=$lt_archive_cmds
19473archive_expsym_cmds=$lt_archive_expsym_cmds
19474
19475# Commands used to build a loadable module if different from building
19476# a shared archive.
19477module_cmds=$lt_module_cmds
19478module_expsym_cmds=$lt_module_expsym_cmds
19479
19480# Whether we are building with GNU ld or not.
19481with_gnu_ld=$lt_with_gnu_ld
19482
19483# Flag that allows shared libraries with undefined symbols to be built.
19484allow_undefined_flag=$lt_allow_undefined_flag
19485
19486# Flag that enforces no undefined symbols.
19487no_undefined_flag=$lt_no_undefined_flag
19488
19489# Flag to hardcode \$libdir into a binary during linking.
19490# This must work even if \$libdir does not exist
19491hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19492
19493# Whether we need a single "-rpath" flag with a separated argument.
19494hardcode_libdir_separator=$lt_hardcode_libdir_separator
19495
19496# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19497# DIR into the resulting binary.
19498hardcode_direct=$hardcode_direct
19499
19500# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19501# DIR into the resulting binary and the resulting library dependency is
19502# "absolute",i.e impossible to change by setting \$shlibpath_var if the
19503# library is relocated.
19504hardcode_direct_absolute=$hardcode_direct_absolute
19505
19506# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19507# into the resulting binary.
19508hardcode_minus_L=$hardcode_minus_L
19509
19510# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19511# into the resulting binary.
19512hardcode_shlibpath_var=$hardcode_shlibpath_var
19513
19514# Set to "yes" if building a shared library automatically hardcodes DIR
19515# into the library and all subsequent libraries and executables linked
19516# against it.
19517hardcode_automatic=$hardcode_automatic
19518
19519# Set to yes if linker adds runtime paths of dependent libraries
19520# to runtime path list.
19521inherit_rpath=$inherit_rpath
19522
19523# Whether libtool must link a program against all its dependency libraries.
19524link_all_deplibs=$link_all_deplibs
19525
19526# Set to "yes" if exported symbols are required.
19527always_export_symbols=$always_export_symbols
19528
19529# The commands to list exported symbols.
19530export_symbols_cmds=$lt_export_symbols_cmds
19531
19532# Symbols that should not be listed in the preloaded symbols.
19533exclude_expsyms=$lt_exclude_expsyms
19534
19535# Symbols that must always be exported.
19536include_expsyms=$lt_include_expsyms
19537
19538# Commands necessary for linking programs (against libraries) with templates.
19539prelink_cmds=$lt_prelink_cmds
19540
19541# Commands necessary for finishing linking programs.
19542postlink_cmds=$lt_postlink_cmds
19543
19544# Specify filename containing input files.
19545file_list_spec=$lt_file_list_spec
19546
19547# How to hardcode a shared library path into an executable.
19548hardcode_action=$hardcode_action
19549
19550# The directories searched by this compiler when creating a shared library.
19551compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19552
19553# Dependencies to place before and after the objects being linked to
19554# create a shared library.
19555predep_objects=$lt_predep_objects
19556postdep_objects=$lt_postdep_objects
19557predeps=$lt_predeps
19558postdeps=$lt_postdeps
19559
19560# The library search path used internally by the compiler when linking
19561# a shared library.
19562compiler_lib_search_path=$lt_compiler_lib_search_path
19563
19564# ### END LIBTOOL CONFIG
19565
19566_LT_EOF
19567
19568    cat <<'_LT_EOF' >> "$cfgfile"
19569
19570# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19571
19572# func_munge_path_list VARIABLE PATH
19573# -----------------------------------
19574# VARIABLE is name of variable containing _space_ separated list of
19575# directories to be munged by the contents of PATH, which is string
19576# having a format:
19577# "DIR[:DIR]:"
19578#       string "DIR[ DIR]" will be prepended to VARIABLE
19579# ":DIR[:DIR]"
19580#       string "DIR[ DIR]" will be appended to VARIABLE
19581# "DIRP[:DIRP]::[DIRA:]DIRA"
19582#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19583#       "DIRA[ DIRA]" will be appended to VARIABLE
19584# "DIR[:DIR]"
19585#       VARIABLE will be replaced by "DIR[ DIR]"
19586func_munge_path_list ()
19587{
19588    case x$2 in
19589    x)
19590        ;;
19591    *:)
19592        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19593        ;;
19594    x:*)
19595        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19596        ;;
19597    *::*)
19598        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19599        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19600        ;;
19601    *)
19602        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19603        ;;
19604    esac
19605}
19606
19607
19608# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19609func_cc_basename ()
19610{
19611    for cc_temp in $*""; do
19612      case $cc_temp in
19613        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19614        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19615        \-*) ;;
19616        *) break;;
19617      esac
19618    done
19619    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19620}
19621
19622
19623# ### END FUNCTIONS SHARED WITH CONFIGURE
19624
19625_LT_EOF
19626
19627  case $host_os in
19628  aix3*)
19629    cat <<\_LT_EOF >> "$cfgfile"
19630# AIX sometimes has problems with the GCC collect2 program.  For some
19631# reason, if we set the COLLECT_NAMES environment variable, the problems
19632# vanish in a puff of smoke.
19633if test set != "${COLLECT_NAMES+set}"; then
19634  COLLECT_NAMES=
19635  export COLLECT_NAMES
19636fi
19637_LT_EOF
19638    ;;
19639  esac
19640
19641
19642ltmain=$ac_aux_dir/ltmain.sh
19643
19644
19645  # We use sed instead of cat because bash on DJGPP gets confused if
19646  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19647  # text mode, it properly converts lines to CR/LF.  This bash problem
19648  # is reportedly fixed, but why not run on old versions too?
19649  sed '$q' "$ltmain" >> "$cfgfile" \
19650     || (rm -f "$cfgfile"; exit 1)
19651
19652   mv -f "$cfgfile" "$ofile" ||
19653    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19654  chmod +x "$ofile"
19655
19656
19657    cat <<_LT_EOF >> "$ofile"
19658
19659# ### BEGIN LIBTOOL TAG CONFIG: CXX
19660
19661# The linker used to build libraries.
19662LD=$lt_LD_CXX
19663
19664# How to create reloadable object files.
19665reload_flag=$lt_reload_flag_CXX
19666reload_cmds=$lt_reload_cmds_CXX
19667
19668# Commands used to build an old-style archive.
19669old_archive_cmds=$lt_old_archive_cmds_CXX
19670
19671# A language specific compiler.
19672CC=$lt_compiler_CXX
19673
19674# Is the compiler the GNU compiler?
19675with_gcc=$GCC_CXX
19676
19677# Compiler flag to turn off builtin functions.
19678no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19679
19680# Additional compiler flags for building library objects.
19681pic_flag=$lt_lt_prog_compiler_pic_CXX
19682
19683# How to pass a linker flag through the compiler.
19684wl=$lt_lt_prog_compiler_wl_CXX
19685
19686# Compiler flag to prevent dynamic linking.
19687link_static_flag=$lt_lt_prog_compiler_static_CXX
19688
19689# Does compiler simultaneously support -c and -o options?
19690compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19691
19692# Whether or not to add -lc for building shared libraries.
19693build_libtool_need_lc=$archive_cmds_need_lc_CXX
19694
19695# Whether or not to disallow shared libs when runtime libs are static.
19696allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19697
19698# Compiler flag to allow reflexive dlopens.
19699export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19700
19701# Compiler flag to generate shared objects directly from archives.
19702whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19703
19704# Whether the compiler copes with passing no objects directly.
19705compiler_needs_object=$lt_compiler_needs_object_CXX
19706
19707# Create an old-style archive from a shared archive.
19708old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19709
19710# Create a temporary old-style archive to link instead of a shared archive.
19711old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19712
19713# Commands used to build a shared archive.
19714archive_cmds=$lt_archive_cmds_CXX
19715archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19716
19717# Commands used to build a loadable module if different from building
19718# a shared archive.
19719module_cmds=$lt_module_cmds_CXX
19720module_expsym_cmds=$lt_module_expsym_cmds_CXX
19721
19722# Whether we are building with GNU ld or not.
19723with_gnu_ld=$lt_with_gnu_ld_CXX
19724
19725# Flag that allows shared libraries with undefined symbols to be built.
19726allow_undefined_flag=$lt_allow_undefined_flag_CXX
19727
19728# Flag that enforces no undefined symbols.
19729no_undefined_flag=$lt_no_undefined_flag_CXX
19730
19731# Flag to hardcode \$libdir into a binary during linking.
19732# This must work even if \$libdir does not exist
19733hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19734
19735# Whether we need a single "-rpath" flag with a separated argument.
19736hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19737
19738# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19739# DIR into the resulting binary.
19740hardcode_direct=$hardcode_direct_CXX
19741
19742# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19743# DIR into the resulting binary and the resulting library dependency is
19744# "absolute",i.e impossible to change by setting \$shlibpath_var if the
19745# library is relocated.
19746hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19747
19748# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19749# into the resulting binary.
19750hardcode_minus_L=$hardcode_minus_L_CXX
19751
19752# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19753# into the resulting binary.
19754hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19755
19756# Set to "yes" if building a shared library automatically hardcodes DIR
19757# into the library and all subsequent libraries and executables linked
19758# against it.
19759hardcode_automatic=$hardcode_automatic_CXX
19760
19761# Set to yes if linker adds runtime paths of dependent libraries
19762# to runtime path list.
19763inherit_rpath=$inherit_rpath_CXX
19764
19765# Whether libtool must link a program against all its dependency libraries.
19766link_all_deplibs=$link_all_deplibs_CXX
19767
19768# Set to "yes" if exported symbols are required.
19769always_export_symbols=$always_export_symbols_CXX
19770
19771# The commands to list exported symbols.
19772export_symbols_cmds=$lt_export_symbols_cmds_CXX
19773
19774# Symbols that should not be listed in the preloaded symbols.
19775exclude_expsyms=$lt_exclude_expsyms_CXX
19776
19777# Symbols that must always be exported.
19778include_expsyms=$lt_include_expsyms_CXX
19779
19780# Commands necessary for linking programs (against libraries) with templates.
19781prelink_cmds=$lt_prelink_cmds_CXX
19782
19783# Commands necessary for finishing linking programs.
19784postlink_cmds=$lt_postlink_cmds_CXX
19785
19786# Specify filename containing input files.
19787file_list_spec=$lt_file_list_spec_CXX
19788
19789# How to hardcode a shared library path into an executable.
19790hardcode_action=$hardcode_action_CXX
19791
19792# The directories searched by this compiler when creating a shared library.
19793compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19794
19795# Dependencies to place before and after the objects being linked to
19796# create a shared library.
19797predep_objects=$lt_predep_objects_CXX
19798postdep_objects=$lt_postdep_objects_CXX
19799predeps=$lt_predeps_CXX
19800postdeps=$lt_postdeps_CXX
19801
19802# The library search path used internally by the compiler when linking
19803# a shared library.
19804compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19805
19806# ### END LIBTOOL TAG CONFIG: CXX
19807_LT_EOF
19808
19809 ;;
19810
19811  esac
19812done # for ac_tag
19813
19814
19815as_fn_exit 0
19816_ACEOF
19817ac_clean_files=$ac_clean_files_save
19818
19819test $ac_write_fail = 0 ||
19820  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19821
19822
19823# configure is writing to config.log, and then calls config.status.
19824# config.status does its own redirection, appending to config.log.
19825# Unfortunately, on DOS this fails, as config.log is still kept open
19826# by configure, so config.status won't be able to write to it; its
19827# output is simply discarded.  So we exec the FD to /dev/null,
19828# effectively closing config.log, so it can be properly (re)opened and
19829# appended to by config.status.  When coming back to configure, we
19830# need to make the FD available again.
19831if test "$no_create" != yes; then
19832  ac_cs_success=:
19833  ac_config_status_args=
19834  test "$silent" = yes &&
19835    ac_config_status_args="$ac_config_status_args --quiet"
19836  exec 5>/dev/null
19837  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19838  exec 5>>config.log
19839  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19840  # would make configure fail if this is the last instruction.
19841  $ac_cs_success || as_fn_exit 1
19842fi
19843if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19844  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19845$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19846fi
19847
19848