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
742localstatedir
743sharedstatedir
744sysconfdir
745datadir
746datarootdir
747libexecdir
748sbindir
749bindir
750program_transform_name
751prefix
752exec_prefix
753PACKAGE_URL
754PACKAGE_BUGREPORT
755PACKAGE_STRING
756PACKAGE_VERSION
757PACKAGE_TARNAME
758PACKAGE_NAME
759PATH_SEPARATOR
760SHELL
761am__quote'
762ac_subst_files=''
763ac_user_opts='
764enable_option_checking
765enable_silent_rules
766enable_dependency_tracking
767enable_shared
768enable_static
769with_pic
770enable_fast_install
771with_aix_soname
772with_gnu_ld
773with_sysroot
774enable_libtool_lock
775enable_largefile
776'
777      ac_precious_vars='build_alias
778host_alias
779target_alias
780CC
781CFLAGS
782LDFLAGS
783LIBS
784CPPFLAGS
785CPP
786CXX
787CXXFLAGS
788CCC
789LT_SYS_LIBRARY_PATH
790CXXCPP'
791
792
793# Initialize some variables set by options.
794ac_init_help=
795ac_init_version=false
796ac_unrecognized_opts=
797ac_unrecognized_sep=
798# The variables have the same names as the options, with
799# dashes changed to underlines.
800cache_file=/dev/null
801exec_prefix=NONE
802no_create=
803no_recursion=
804prefix=NONE
805program_prefix=NONE
806program_suffix=NONE
807program_transform_name=s,x,x,
808silent=
809site=
810srcdir=
811verbose=
812x_includes=NONE
813x_libraries=NONE
814
815# Installation directory options.
816# These are left unexpanded so users can "make install exec_prefix=/foo"
817# and all the variables that are supposed to be based on exec_prefix
818# by default will actually change.
819# Use braces instead of parens because sh, perl, etc. also accept them.
820# (The list follows the same order as the GNU Coding Standards.)
821bindir='${exec_prefix}/bin'
822sbindir='${exec_prefix}/sbin'
823libexecdir='${exec_prefix}/libexec'
824datarootdir='${prefix}/share'
825datadir='${datarootdir}'
826sysconfdir='${prefix}/etc'
827sharedstatedir='${prefix}/com'
828localstatedir='${prefix}/var'
829includedir='${prefix}/include'
830oldincludedir='/usr/include'
831docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
832infodir='${datarootdir}/info'
833htmldir='${docdir}'
834dvidir='${docdir}'
835pdfdir='${docdir}'
836psdir='${docdir}'
837libdir='${exec_prefix}/lib'
838localedir='${datarootdir}/locale'
839mandir='${datarootdir}/man'
840
841ac_prev=
842ac_dashdash=
843for ac_option
844do
845  # If the previous option needs an argument, assign it.
846  if test -n "$ac_prev"; then
847    eval $ac_prev=\$ac_option
848    ac_prev=
849    continue
850  fi
851
852  case $ac_option in
853  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854  *=)   ac_optarg= ;;
855  *)    ac_optarg=yes ;;
856  esac
857
858  # Accept the important Cygnus configure options, so we can diagnose typos.
859
860  case $ac_dashdash$ac_option in
861  --)
862    ac_dashdash=yes ;;
863
864  -bindir | --bindir | --bindi | --bind | --bin | --bi)
865    ac_prev=bindir ;;
866  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867    bindir=$ac_optarg ;;
868
869  -build | --build | --buil | --bui | --bu)
870    ac_prev=build_alias ;;
871  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872    build_alias=$ac_optarg ;;
873
874  -cache-file | --cache-file | --cache-fil | --cache-fi \
875  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876    ac_prev=cache_file ;;
877  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879    cache_file=$ac_optarg ;;
880
881  --config-cache | -C)
882    cache_file=config.cache ;;
883
884  -datadir | --datadir | --datadi | --datad)
885    ac_prev=datadir ;;
886  -datadir=* | --datadir=* | --datadi=* | --datad=*)
887    datadir=$ac_optarg ;;
888
889  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890  | --dataroo | --dataro | --datar)
891    ac_prev=datarootdir ;;
892  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894    datarootdir=$ac_optarg ;;
895
896  -disable-* | --disable-*)
897    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898    # Reject names that are not valid shell variable names.
899    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
900      as_fn_error $? "invalid feature name: $ac_useropt"
901    ac_useropt_orig=$ac_useropt
902    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903    case $ac_user_opts in
904      *"
905"enable_$ac_useropt"
906"*) ;;
907      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
908	 ac_unrecognized_sep=', ';;
909    esac
910    eval enable_$ac_useropt=no ;;
911
912  -docdir | --docdir | --docdi | --doc | --do)
913    ac_prev=docdir ;;
914  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
915    docdir=$ac_optarg ;;
916
917  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
918    ac_prev=dvidir ;;
919  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
920    dvidir=$ac_optarg ;;
921
922  -enable-* | --enable-*)
923    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
924    # Reject names that are not valid shell variable names.
925    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
926      as_fn_error $? "invalid feature name: $ac_useropt"
927    ac_useropt_orig=$ac_useropt
928    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929    case $ac_user_opts in
930      *"
931"enable_$ac_useropt"
932"*) ;;
933      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
934	 ac_unrecognized_sep=', ';;
935    esac
936    eval enable_$ac_useropt=\$ac_optarg ;;
937
938  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
939  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
940  | --exec | --exe | --ex)
941    ac_prev=exec_prefix ;;
942  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
943  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
944  | --exec=* | --exe=* | --ex=*)
945    exec_prefix=$ac_optarg ;;
946
947  -gas | --gas | --ga | --g)
948    # Obsolete; use --with-gas.
949    with_gas=yes ;;
950
951  -help | --help | --hel | --he | -h)
952    ac_init_help=long ;;
953  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
954    ac_init_help=recursive ;;
955  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
956    ac_init_help=short ;;
957
958  -host | --host | --hos | --ho)
959    ac_prev=host_alias ;;
960  -host=* | --host=* | --hos=* | --ho=*)
961    host_alias=$ac_optarg ;;
962
963  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
964    ac_prev=htmldir ;;
965  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
966  | --ht=*)
967    htmldir=$ac_optarg ;;
968
969  -includedir | --includedir | --includedi | --included | --include \
970  | --includ | --inclu | --incl | --inc)
971    ac_prev=includedir ;;
972  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
973  | --includ=* | --inclu=* | --incl=* | --inc=*)
974    includedir=$ac_optarg ;;
975
976  -infodir | --infodir | --infodi | --infod | --info | --inf)
977    ac_prev=infodir ;;
978  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
979    infodir=$ac_optarg ;;
980
981  -libdir | --libdir | --libdi | --libd)
982    ac_prev=libdir ;;
983  -libdir=* | --libdir=* | --libdi=* | --libd=*)
984    libdir=$ac_optarg ;;
985
986  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
987  | --libexe | --libex | --libe)
988    ac_prev=libexecdir ;;
989  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
990  | --libexe=* | --libex=* | --libe=*)
991    libexecdir=$ac_optarg ;;
992
993  -localedir | --localedir | --localedi | --localed | --locale)
994    ac_prev=localedir ;;
995  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
996    localedir=$ac_optarg ;;
997
998  -localstatedir | --localstatedir | --localstatedi | --localstated \
999  | --localstate | --localstat | --localsta | --localst | --locals)
1000    ac_prev=localstatedir ;;
1001  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1002  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1003    localstatedir=$ac_optarg ;;
1004
1005  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1006    ac_prev=mandir ;;
1007  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1008    mandir=$ac_optarg ;;
1009
1010  -nfp | --nfp | --nf)
1011    # Obsolete; use --without-fp.
1012    with_fp=no ;;
1013
1014  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1015  | --no-cr | --no-c | -n)
1016    no_create=yes ;;
1017
1018  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1019  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1020    no_recursion=yes ;;
1021
1022  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1023  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1024  | --oldin | --oldi | --old | --ol | --o)
1025    ac_prev=oldincludedir ;;
1026  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1027  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1028  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1029    oldincludedir=$ac_optarg ;;
1030
1031  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1032    ac_prev=prefix ;;
1033  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1034    prefix=$ac_optarg ;;
1035
1036  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1037  | --program-pre | --program-pr | --program-p)
1038    ac_prev=program_prefix ;;
1039  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1040  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1041    program_prefix=$ac_optarg ;;
1042
1043  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1044  | --program-suf | --program-su | --program-s)
1045    ac_prev=program_suffix ;;
1046  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1047  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1048    program_suffix=$ac_optarg ;;
1049
1050  -program-transform-name | --program-transform-name \
1051  | --program-transform-nam | --program-transform-na \
1052  | --program-transform-n | --program-transform- \
1053  | --program-transform | --program-transfor \
1054  | --program-transfo | --program-transf \
1055  | --program-trans | --program-tran \
1056  | --progr-tra | --program-tr | --program-t)
1057    ac_prev=program_transform_name ;;
1058  -program-transform-name=* | --program-transform-name=* \
1059  | --program-transform-nam=* | --program-transform-na=* \
1060  | --program-transform-n=* | --program-transform-=* \
1061  | --program-transform=* | --program-transfor=* \
1062  | --program-transfo=* | --program-transf=* \
1063  | --program-trans=* | --program-tran=* \
1064  | --progr-tra=* | --program-tr=* | --program-t=*)
1065    program_transform_name=$ac_optarg ;;
1066
1067  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1068    ac_prev=pdfdir ;;
1069  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1070    pdfdir=$ac_optarg ;;
1071
1072  -psdir | --psdir | --psdi | --psd | --ps)
1073    ac_prev=psdir ;;
1074  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1075    psdir=$ac_optarg ;;
1076
1077  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1078  | -silent | --silent | --silen | --sile | --sil)
1079    silent=yes ;;
1080
1081  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1082    ac_prev=sbindir ;;
1083  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1084  | --sbi=* | --sb=*)
1085    sbindir=$ac_optarg ;;
1086
1087  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1088  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1089  | --sharedst | --shareds | --shared | --share | --shar \
1090  | --sha | --sh)
1091    ac_prev=sharedstatedir ;;
1092  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1093  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1094  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1095  | --sha=* | --sh=*)
1096    sharedstatedir=$ac_optarg ;;
1097
1098  -site | --site | --sit)
1099    ac_prev=site ;;
1100  -site=* | --site=* | --sit=*)
1101    site=$ac_optarg ;;
1102
1103  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1104    ac_prev=srcdir ;;
1105  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1106    srcdir=$ac_optarg ;;
1107
1108  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1109  | --syscon | --sysco | --sysc | --sys | --sy)
1110    ac_prev=sysconfdir ;;
1111  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1112  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1113    sysconfdir=$ac_optarg ;;
1114
1115  -target | --target | --targe | --targ | --tar | --ta | --t)
1116    ac_prev=target_alias ;;
1117  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1118    target_alias=$ac_optarg ;;
1119
1120  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1121    verbose=yes ;;
1122
1123  -version | --version | --versio | --versi | --vers | -V)
1124    ac_init_version=: ;;
1125
1126  -with-* | --with-*)
1127    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1128    # Reject names that are not valid shell variable names.
1129    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130      as_fn_error $? "invalid package name: $ac_useropt"
1131    ac_useropt_orig=$ac_useropt
1132    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133    case $ac_user_opts in
1134      *"
1135"with_$ac_useropt"
1136"*) ;;
1137      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1138	 ac_unrecognized_sep=', ';;
1139    esac
1140    eval with_$ac_useropt=\$ac_optarg ;;
1141
1142  -without-* | --without-*)
1143    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1144    # Reject names that are not valid shell variable names.
1145    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1146      as_fn_error $? "invalid package name: $ac_useropt"
1147    ac_useropt_orig=$ac_useropt
1148    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1149    case $ac_user_opts in
1150      *"
1151"with_$ac_useropt"
1152"*) ;;
1153      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1154	 ac_unrecognized_sep=', ';;
1155    esac
1156    eval with_$ac_useropt=no ;;
1157
1158  --x)
1159    # Obsolete; use --with-x.
1160    with_x=yes ;;
1161
1162  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1163  | --x-incl | --x-inc | --x-in | --x-i)
1164    ac_prev=x_includes ;;
1165  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1166  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1167    x_includes=$ac_optarg ;;
1168
1169  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1170  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1171    ac_prev=x_libraries ;;
1172  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1173  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1174    x_libraries=$ac_optarg ;;
1175
1176  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1177Try \`$0 --help' for more information"
1178    ;;
1179
1180  *=*)
1181    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1182    # Reject names that are not valid shell variable names.
1183    case $ac_envvar in #(
1184      '' | [0-9]* | *[!_$as_cr_alnum]* )
1185      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1186    esac
1187    eval $ac_envvar=\$ac_optarg
1188    export $ac_envvar ;;
1189
1190  *)
1191    # FIXME: should be removed in autoconf 3.0.
1192    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1193    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1194      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1195    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1196    ;;
1197
1198  esac
1199done
1200
1201if test -n "$ac_prev"; then
1202  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1203  as_fn_error $? "missing argument to $ac_option"
1204fi
1205
1206if test -n "$ac_unrecognized_opts"; then
1207  case $enable_option_checking in
1208    no) ;;
1209    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1210    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1211  esac
1212fi
1213
1214# Check all directory arguments for consistency.
1215for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1216		datadir sysconfdir sharedstatedir localstatedir includedir \
1217		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1218		libdir localedir mandir
1219do
1220  eval ac_val=\$$ac_var
1221  # Remove trailing slashes.
1222  case $ac_val in
1223    */ )
1224      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1225      eval $ac_var=\$ac_val;;
1226  esac
1227  # Be sure to have absolute directory names.
1228  case $ac_val in
1229    [\\/$]* | ?:[\\/]* )  continue;;
1230    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1231  esac
1232  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1233done
1234
1235# There might be people who depend on the old broken behavior: `$host'
1236# used to hold the argument of --host etc.
1237# FIXME: To remove some day.
1238build=$build_alias
1239host=$host_alias
1240target=$target_alias
1241
1242# FIXME: To remove some day.
1243if test "x$host_alias" != x; then
1244  if test "x$build_alias" = x; then
1245    cross_compiling=maybe
1246  elif test "x$build_alias" != "x$host_alias"; then
1247    cross_compiling=yes
1248  fi
1249fi
1250
1251ac_tool_prefix=
1252test -n "$host_alias" && ac_tool_prefix=$host_alias-
1253
1254test "$silent" = yes && exec 6>/dev/null
1255
1256
1257ac_pwd=`pwd` && test -n "$ac_pwd" &&
1258ac_ls_di=`ls -di .` &&
1259ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1260  as_fn_error $? "working directory cannot be determined"
1261test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1262  as_fn_error $? "pwd does not report name of working directory"
1263
1264
1265# Find the source files, if location was not specified.
1266if test -z "$srcdir"; then
1267  ac_srcdir_defaulted=yes
1268  # Try the directory containing this script, then the parent directory.
1269  ac_confdir=`$as_dirname -- "$as_myself" ||
1270$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1271	 X"$as_myself" : 'X\(//\)[^/]' \| \
1272	 X"$as_myself" : 'X\(//\)$' \| \
1273	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1274$as_echo X"$as_myself" |
1275    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1276	    s//\1/
1277	    q
1278	  }
1279	  /^X\(\/\/\)[^/].*/{
1280	    s//\1/
1281	    q
1282	  }
1283	  /^X\(\/\/\)$/{
1284	    s//\1/
1285	    q
1286	  }
1287	  /^X\(\/\).*/{
1288	    s//\1/
1289	    q
1290	  }
1291	  s/.*/./; q'`
1292  srcdir=$ac_confdir
1293  if test ! -r "$srcdir/$ac_unique_file"; then
1294    srcdir=..
1295  fi
1296else
1297  ac_srcdir_defaulted=no
1298fi
1299if test ! -r "$srcdir/$ac_unique_file"; then
1300  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1301  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1302fi
1303ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1304ac_abs_confdir=`(
1305	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1306	pwd)`
1307# When building in place, set srcdir=.
1308if test "$ac_abs_confdir" = "$ac_pwd"; then
1309  srcdir=.
1310fi
1311# Remove unnecessary trailing slashes from srcdir.
1312# Double slashes in file names in object file debugging info
1313# mess up M-x gdb in Emacs.
1314case $srcdir in
1315*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1316esac
1317for ac_var in $ac_precious_vars; do
1318  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1319  eval ac_env_${ac_var}_value=\$${ac_var}
1320  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1321  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1322done
1323
1324#
1325# Report the --help message.
1326#
1327if test "$ac_init_help" = "long"; then
1328  # Omit some internal or obsolete options to make the list less imposing.
1329  # This message is too long to be a string in the A/UX 3.1 sh.
1330  cat <<_ACEOF
1331\`configure' configures gdbmobj 0.10 to adapt to many kinds of systems.
1332
1333Usage: $0 [OPTION]... [VAR=VALUE]...
1334
1335To assign environment variables (e.g., CC, CFLAGS...), specify them as
1336VAR=VALUE.  See below for descriptions of some of the useful variables.
1337
1338Defaults for the options are specified in brackets.
1339
1340Configuration:
1341  -h, --help              display this help and exit
1342      --help=short        display options specific to this package
1343      --help=recursive    display the short help of all the included packages
1344  -V, --version           display version information and exit
1345  -q, --quiet, --silent   do not print \`checking ...' messages
1346      --cache-file=FILE   cache test results in FILE [disabled]
1347  -C, --config-cache      alias for \`--cache-file=config.cache'
1348  -n, --no-create         do not create output files
1349      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1350
1351Installation directories:
1352  --prefix=PREFIX         install architecture-independent files in PREFIX
1353                          [$ac_default_prefix]
1354  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1355                          [PREFIX]
1356
1357By default, \`make install' will install all the files in
1358\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1359an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1360for instance \`--prefix=\$HOME'.
1361
1362For better control, use the options below.
1363
1364Fine tuning of the installation directories:
1365  --bindir=DIR            user executables [EPREFIX/bin]
1366  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1367  --libexecdir=DIR        program executables [EPREFIX/libexec]
1368  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1369  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1370  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1371  --libdir=DIR            object code libraries [EPREFIX/lib]
1372  --includedir=DIR        C header files [PREFIX/include]
1373  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1374  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1375  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1376  --infodir=DIR           info documentation [DATAROOTDIR/info]
1377  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1378  --mandir=DIR            man documentation [DATAROOTDIR/man]
1379  --docdir=DIR            documentation root [DATAROOTDIR/doc/gdbmobj]
1380  --htmldir=DIR           html documentation [DOCDIR]
1381  --dvidir=DIR            dvi documentation [DOCDIR]
1382  --pdfdir=DIR            pdf documentation [DOCDIR]
1383  --psdir=DIR             ps documentation [DOCDIR]
1384_ACEOF
1385
1386  cat <<\_ACEOF
1387
1388Program names:
1389  --program-prefix=PREFIX            prepend PREFIX to installed program names
1390  --program-suffix=SUFFIX            append SUFFIX to installed program names
1391  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1392
1393System types:
1394  --build=BUILD     configure for building on BUILD [guessed]
1395  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1396_ACEOF
1397fi
1398
1399if test -n "$ac_init_help"; then
1400  case $ac_init_help in
1401     short | recursive ) echo "Configuration of gdbmobj 0.10:";;
1402   esac
1403  cat <<\_ACEOF
1404
1405Optional Features:
1406  --disable-option-checking  ignore unrecognized --enable/--with options
1407  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1408  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1409  --enable-silent-rules   less verbose build output (undo: "make V=1")
1410  --disable-silent-rules  verbose build output (undo: "make V=0")
1411  --enable-dependency-tracking
1412                          do not reject slow dependency extractors
1413  --disable-dependency-tracking
1414                          speeds up one-time build
1415  --enable-shared[=PKGS]  build shared libraries [default=yes]
1416  --enable-static[=PKGS]  build static libraries [default=yes]
1417  --enable-fast-install[=PKGS]
1418                          optimize for fast installation [default=yes]
1419  --disable-libtool-lock  avoid locking (might break parallel builds)
1420  --disable-largefile     omit support for large files
1421
1422Optional Packages:
1423  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1424  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1425  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1426                          both]
1427  --with-aix-soname=aix|svr4|both
1428                          shared library versioning (aka "SONAME") variant to
1429                          provide on AIX, [default=aix].
1430  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1431  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1432                          compiler's sysroot if not specified).
1433
1434Some influential environment variables:
1435  CC          C compiler command
1436  CFLAGS      C compiler flags
1437  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1438              nonstandard directory <lib dir>
1439  LIBS        libraries to pass to the linker, e.g. -l<library>
1440  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1441              you have headers in a nonstandard directory <include dir>
1442  CPP         C preprocessor
1443  CXX         C++ compiler command
1444  CXXFLAGS    C++ compiler flags
1445  LT_SYS_LIBRARY_PATH
1446              User-defined run-time library search path.
1447  CXXCPP      C++ preprocessor
1448
1449Use these variables to override the choices made by `configure' or to help
1450it to find libraries and programs with nonstandard names/locations.
1451
1452Report bugs to <courier-users@lists.sourceforge.net>.
1453_ACEOF
1454ac_status=$?
1455fi
1456
1457if test "$ac_init_help" = "recursive"; then
1458  # If there are subdirs, report their specific --help.
1459  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1460    test -d "$ac_dir" ||
1461      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1462      continue
1463    ac_builddir=.
1464
1465case "$ac_dir" in
1466.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1467*)
1468  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1469  # A ".." for each directory in $ac_dir_suffix.
1470  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1471  case $ac_top_builddir_sub in
1472  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1474  esac ;;
1475esac
1476ac_abs_top_builddir=$ac_pwd
1477ac_abs_builddir=$ac_pwd$ac_dir_suffix
1478# for backward compatibility:
1479ac_top_builddir=$ac_top_build_prefix
1480
1481case $srcdir in
1482  .)  # We are building in place.
1483    ac_srcdir=.
1484    ac_top_srcdir=$ac_top_builddir_sub
1485    ac_abs_top_srcdir=$ac_pwd ;;
1486  [\\/]* | ?:[\\/]* )  # Absolute name.
1487    ac_srcdir=$srcdir$ac_dir_suffix;
1488    ac_top_srcdir=$srcdir
1489    ac_abs_top_srcdir=$srcdir ;;
1490  *) # Relative name.
1491    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1492    ac_top_srcdir=$ac_top_build_prefix$srcdir
1493    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1494esac
1495ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1496
1497    cd "$ac_dir" || { ac_status=$?; continue; }
1498    # Check for guested configure.
1499    if test -f "$ac_srcdir/configure.gnu"; then
1500      echo &&
1501      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1502    elif test -f "$ac_srcdir/configure"; then
1503      echo &&
1504      $SHELL "$ac_srcdir/configure" --help=recursive
1505    else
1506      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1507    fi || ac_status=$?
1508    cd "$ac_pwd" || { ac_status=$?; break; }
1509  done
1510fi
1511
1512test -n "$ac_init_help" && exit $ac_status
1513if $ac_init_version; then
1514  cat <<\_ACEOF
1515gdbmobj configure 0.10
1516generated by GNU Autoconf 2.69
1517
1518Copyright (C) 2012 Free Software Foundation, Inc.
1519This configure script is free software; the Free Software Foundation
1520gives unlimited permission to copy, distribute and modify it.
1521_ACEOF
1522  exit
1523fi
1524
1525## ------------------------ ##
1526## Autoconf initialization. ##
1527## ------------------------ ##
1528
1529# ac_fn_c_try_compile LINENO
1530# --------------------------
1531# Try to compile conftest.$ac_ext, and return whether this succeeded.
1532ac_fn_c_try_compile ()
1533{
1534  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535  rm -f conftest.$ac_objext
1536  if { { ac_try="$ac_compile"
1537case "(($ac_try" in
1538  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539  *) ac_try_echo=$ac_try;;
1540esac
1541eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542$as_echo "$ac_try_echo"; } >&5
1543  (eval "$ac_compile") 2>conftest.err
1544  ac_status=$?
1545  if test -s conftest.err; then
1546    grep -v '^ *+' conftest.err >conftest.er1
1547    cat conftest.er1 >&5
1548    mv -f conftest.er1 conftest.err
1549  fi
1550  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551  test $ac_status = 0; } && {
1552	 test -z "$ac_c_werror_flag" ||
1553	 test ! -s conftest.err
1554       } && test -s conftest.$ac_objext; then :
1555  ac_retval=0
1556else
1557  $as_echo "$as_me: failed program was:" >&5
1558sed 's/^/| /' conftest.$ac_ext >&5
1559
1560	ac_retval=1
1561fi
1562  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1563  as_fn_set_status $ac_retval
1564
1565} # ac_fn_c_try_compile
1566
1567# ac_fn_c_try_cpp LINENO
1568# ----------------------
1569# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1570ac_fn_c_try_cpp ()
1571{
1572  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573  if { { ac_try="$ac_cpp conftest.$ac_ext"
1574case "(($ac_try" in
1575  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576  *) ac_try_echo=$ac_try;;
1577esac
1578eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579$as_echo "$ac_try_echo"; } >&5
1580  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1581  ac_status=$?
1582  if test -s conftest.err; then
1583    grep -v '^ *+' conftest.err >conftest.er1
1584    cat conftest.er1 >&5
1585    mv -f conftest.er1 conftest.err
1586  fi
1587  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588  test $ac_status = 0; } > conftest.i && {
1589	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1590	 test ! -s conftest.err
1591       }; then :
1592  ac_retval=0
1593else
1594  $as_echo "$as_me: failed program was:" >&5
1595sed 's/^/| /' conftest.$ac_ext >&5
1596
1597    ac_retval=1
1598fi
1599  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600  as_fn_set_status $ac_retval
1601
1602} # ac_fn_c_try_cpp
1603
1604# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1605# -------------------------------------------------------
1606# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1607# the include files in INCLUDES and setting the cache variable VAR
1608# accordingly.
1609ac_fn_c_check_header_mongrel ()
1610{
1611  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612  if eval \${$3+:} false; then :
1613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614$as_echo_n "checking for $2... " >&6; }
1615if eval \${$3+:} false; then :
1616  $as_echo_n "(cached) " >&6
1617fi
1618eval ac_res=\$$3
1619	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1620$as_echo "$ac_res" >&6; }
1621else
1622  # Is the header compilable?
1623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1624$as_echo_n "checking $2 usability... " >&6; }
1625cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626/* end confdefs.h.  */
1627$4
1628#include <$2>
1629_ACEOF
1630if ac_fn_c_try_compile "$LINENO"; then :
1631  ac_header_compiler=yes
1632else
1633  ac_header_compiler=no
1634fi
1635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1637$as_echo "$ac_header_compiler" >&6; }
1638
1639# Is the header present?
1640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1641$as_echo_n "checking $2 presence... " >&6; }
1642cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643/* end confdefs.h.  */
1644#include <$2>
1645_ACEOF
1646if ac_fn_c_try_cpp "$LINENO"; then :
1647  ac_header_preproc=yes
1648else
1649  ac_header_preproc=no
1650fi
1651rm -f conftest.err conftest.i conftest.$ac_ext
1652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1653$as_echo "$ac_header_preproc" >&6; }
1654
1655# So?  What about this header?
1656case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1657  yes:no: )
1658    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1659$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1660    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1662    ;;
1663  no:yes:* )
1664    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1665$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1666    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1667$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1668    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1669$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1670    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1671$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&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( $as_echo "## -------------------------------------------------- ##
1675## Report this to courier-users@lists.sourceforge.net ##
1676## -------------------------------------------------- ##"
1677     ) | sed "s/^/$as_me: WARNING:     /" >&2
1678    ;;
1679esac
1680  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1681$as_echo_n "checking for $2... " >&6; }
1682if eval \${$3+:} false; then :
1683  $as_echo_n "(cached) " >&6
1684else
1685  eval "$3=\$ac_header_compiler"
1686fi
1687eval ac_res=\$$3
1688	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689$as_echo "$ac_res" >&6; }
1690fi
1691  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692
1693} # ac_fn_c_check_header_mongrel
1694
1695# ac_fn_c_try_run LINENO
1696# ----------------------
1697# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1698# that executables *can* be run.
1699ac_fn_c_try_run ()
1700{
1701  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702  if { { ac_try="$ac_link"
1703case "(($ac_try" in
1704  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1705  *) ac_try_echo=$ac_try;;
1706esac
1707eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708$as_echo "$ac_try_echo"; } >&5
1709  (eval "$ac_link") 2>&5
1710  ac_status=$?
1711  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1713  { { case "(($ac_try" in
1714  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715  *) ac_try_echo=$ac_try;;
1716esac
1717eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718$as_echo "$ac_try_echo"; } >&5
1719  (eval "$ac_try") 2>&5
1720  ac_status=$?
1721  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722  test $ac_status = 0; }; }; then :
1723  ac_retval=0
1724else
1725  $as_echo "$as_me: program exited with status $ac_status" >&5
1726       $as_echo "$as_me: failed program was:" >&5
1727sed 's/^/| /' conftest.$ac_ext >&5
1728
1729       ac_retval=$ac_status
1730fi
1731  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1732  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733  as_fn_set_status $ac_retval
1734
1735} # ac_fn_c_try_run
1736
1737# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1738# -------------------------------------------------------
1739# Tests whether HEADER exists and can be compiled using the include files in
1740# INCLUDES, setting the cache variable VAR accordingly.
1741ac_fn_c_check_header_compile ()
1742{
1743  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1745$as_echo_n "checking for $2... " >&6; }
1746if eval \${$3+:} false; then :
1747  $as_echo_n "(cached) " >&6
1748else
1749  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750/* end confdefs.h.  */
1751$4
1752#include <$2>
1753_ACEOF
1754if ac_fn_c_try_compile "$LINENO"; then :
1755  eval "$3=yes"
1756else
1757  eval "$3=no"
1758fi
1759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1760fi
1761eval ac_res=\$$3
1762	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1763$as_echo "$ac_res" >&6; }
1764  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765
1766} # ac_fn_c_check_header_compile
1767
1768# ac_fn_c_try_link LINENO
1769# -----------------------
1770# Try to link conftest.$ac_ext, and return whether this succeeded.
1771ac_fn_c_try_link ()
1772{
1773  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774  rm -f conftest.$ac_objext conftest$ac_exeext
1775  if { { ac_try="$ac_link"
1776case "(($ac_try" in
1777  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778  *) ac_try_echo=$ac_try;;
1779esac
1780eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781$as_echo "$ac_try_echo"; } >&5
1782  (eval "$ac_link") 2>conftest.err
1783  ac_status=$?
1784  if test -s conftest.err; then
1785    grep -v '^ *+' conftest.err >conftest.er1
1786    cat conftest.er1 >&5
1787    mv -f conftest.er1 conftest.err
1788  fi
1789  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790  test $ac_status = 0; } && {
1791	 test -z "$ac_c_werror_flag" ||
1792	 test ! -s conftest.err
1793       } && test -s conftest$ac_exeext && {
1794	 test "$cross_compiling" = yes ||
1795	 test -x conftest$ac_exeext
1796       }; then :
1797  ac_retval=0
1798else
1799  $as_echo "$as_me: failed program was:" >&5
1800sed 's/^/| /' conftest.$ac_ext >&5
1801
1802	ac_retval=1
1803fi
1804  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1805  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1806  # interfere with the next link command; also delete a directory that is
1807  # left behind by Apple's compiler.  We do this before executing the actions.
1808  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1809  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810  as_fn_set_status $ac_retval
1811
1812} # ac_fn_c_try_link
1813
1814# ac_fn_cxx_try_compile LINENO
1815# ----------------------------
1816# Try to compile conftest.$ac_ext, and return whether this succeeded.
1817ac_fn_cxx_try_compile ()
1818{
1819  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820  rm -f conftest.$ac_objext
1821  if { { ac_try="$ac_compile"
1822case "(($ac_try" in
1823  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824  *) ac_try_echo=$ac_try;;
1825esac
1826eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827$as_echo "$ac_try_echo"; } >&5
1828  (eval "$ac_compile") 2>conftest.err
1829  ac_status=$?
1830  if test -s conftest.err; then
1831    grep -v '^ *+' conftest.err >conftest.er1
1832    cat conftest.er1 >&5
1833    mv -f conftest.er1 conftest.err
1834  fi
1835  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836  test $ac_status = 0; } && {
1837	 test -z "$ac_cxx_werror_flag" ||
1838	 test ! -s conftest.err
1839       } && test -s conftest.$ac_objext; then :
1840  ac_retval=0
1841else
1842  $as_echo "$as_me: failed program was:" >&5
1843sed 's/^/| /' conftest.$ac_ext >&5
1844
1845	ac_retval=1
1846fi
1847  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848  as_fn_set_status $ac_retval
1849
1850} # ac_fn_cxx_try_compile
1851
1852# ac_fn_c_check_func LINENO FUNC VAR
1853# ----------------------------------
1854# Tests whether FUNC exists, setting the cache variable VAR accordingly
1855ac_fn_c_check_func ()
1856{
1857  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859$as_echo_n "checking for $2... " >&6; }
1860if eval \${$3+:} false; then :
1861  $as_echo_n "(cached) " >&6
1862else
1863  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864/* end confdefs.h.  */
1865/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1866   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1867#define $2 innocuous_$2
1868
1869/* System header to define __stub macros and hopefully few prototypes,
1870    which can conflict with char $2 (); below.
1871    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1872    <limits.h> exists even on freestanding compilers.  */
1873
1874#ifdef __STDC__
1875# include <limits.h>
1876#else
1877# include <assert.h>
1878#endif
1879
1880#undef $2
1881
1882/* Override any GCC internal prototype to avoid an error.
1883   Use char because int might match the return type of a GCC
1884   builtin and then its argument prototype would still apply.  */
1885#ifdef __cplusplus
1886extern "C"
1887#endif
1888char $2 ();
1889/* The GNU C library defines this for functions which it implements
1890    to always fail with ENOSYS.  Some functions are actually named
1891    something starting with __ and the normal name is an alias.  */
1892#if defined __stub_$2 || defined __stub___$2
1893choke me
1894#endif
1895
1896int
1897main ()
1898{
1899return $2 ();
1900  ;
1901  return 0;
1902}
1903_ACEOF
1904if ac_fn_c_try_link "$LINENO"; then :
1905  eval "$3=yes"
1906else
1907  eval "$3=no"
1908fi
1909rm -f core conftest.err conftest.$ac_objext \
1910    conftest$ac_exeext conftest.$ac_ext
1911fi
1912eval ac_res=\$$3
1913	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914$as_echo "$ac_res" >&6; }
1915  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916
1917} # ac_fn_c_check_func
1918
1919# ac_fn_cxx_try_cpp LINENO
1920# ------------------------
1921# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1922ac_fn_cxx_try_cpp ()
1923{
1924  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925  if { { ac_try="$ac_cpp conftest.$ac_ext"
1926case "(($ac_try" in
1927  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1928  *) ac_try_echo=$ac_try;;
1929esac
1930eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931$as_echo "$ac_try_echo"; } >&5
1932  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1933  ac_status=$?
1934  if test -s conftest.err; then
1935    grep -v '^ *+' conftest.err >conftest.er1
1936    cat conftest.er1 >&5
1937    mv -f conftest.er1 conftest.err
1938  fi
1939  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940  test $ac_status = 0; } > conftest.i && {
1941	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1942	 test ! -s conftest.err
1943       }; then :
1944  ac_retval=0
1945else
1946  $as_echo "$as_me: failed program was:" >&5
1947sed 's/^/| /' conftest.$ac_ext >&5
1948
1949    ac_retval=1
1950fi
1951  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952  as_fn_set_status $ac_retval
1953
1954} # ac_fn_cxx_try_cpp
1955
1956# ac_fn_cxx_try_link LINENO
1957# -------------------------
1958# Try to link conftest.$ac_ext, and return whether this succeeded.
1959ac_fn_cxx_try_link ()
1960{
1961  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962  rm -f conftest.$ac_objext conftest$ac_exeext
1963  if { { ac_try="$ac_link"
1964case "(($ac_try" in
1965  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1966  *) ac_try_echo=$ac_try;;
1967esac
1968eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1969$as_echo "$ac_try_echo"; } >&5
1970  (eval "$ac_link") 2>conftest.err
1971  ac_status=$?
1972  if test -s conftest.err; then
1973    grep -v '^ *+' conftest.err >conftest.er1
1974    cat conftest.er1 >&5
1975    mv -f conftest.er1 conftest.err
1976  fi
1977  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1978  test $ac_status = 0; } && {
1979	 test -z "$ac_cxx_werror_flag" ||
1980	 test ! -s conftest.err
1981       } && test -s conftest$ac_exeext && {
1982	 test "$cross_compiling" = yes ||
1983	 test -x conftest$ac_exeext
1984       }; then :
1985  ac_retval=0
1986else
1987  $as_echo "$as_me: failed program was:" >&5
1988sed 's/^/| /' conftest.$ac_ext >&5
1989
1990	ac_retval=1
1991fi
1992  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1993  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1994  # interfere with the next link command; also delete a directory that is
1995  # left behind by Apple's compiler.  We do this before executing the actions.
1996  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1997  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998  as_fn_set_status $ac_retval
1999
2000} # ac_fn_cxx_try_link
2001
2002# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2003# -------------------------------------------
2004# Tests whether TYPE exists after having included INCLUDES, setting cache
2005# variable VAR accordingly.
2006ac_fn_c_check_type ()
2007{
2008  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2010$as_echo_n "checking for $2... " >&6; }
2011if eval \${$3+:} false; then :
2012  $as_echo_n "(cached) " >&6
2013else
2014  eval "$3=no"
2015  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2016/* end confdefs.h.  */
2017$4
2018int
2019main ()
2020{
2021if (sizeof ($2))
2022	 return 0;
2023  ;
2024  return 0;
2025}
2026_ACEOF
2027if ac_fn_c_try_compile "$LINENO"; then :
2028  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029/* end confdefs.h.  */
2030$4
2031int
2032main ()
2033{
2034if (sizeof (($2)))
2035	    return 0;
2036  ;
2037  return 0;
2038}
2039_ACEOF
2040if ac_fn_c_try_compile "$LINENO"; then :
2041
2042else
2043  eval "$3=yes"
2044fi
2045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2046fi
2047rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2048fi
2049eval ac_res=\$$3
2050	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051$as_echo "$ac_res" >&6; }
2052  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2053
2054} # ac_fn_c_check_type
2055cat >config.log <<_ACEOF
2056This file contains any messages produced by compilers while
2057running configure, to aid debugging if configure makes a mistake.
2058
2059It was created by gdbmobj $as_me 0.10, which was
2060generated by GNU Autoconf 2.69.  Invocation command line was
2061
2062  $ $0 $@
2063
2064_ACEOF
2065exec 5>>config.log
2066{
2067cat <<_ASUNAME
2068## --------- ##
2069## Platform. ##
2070## --------- ##
2071
2072hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2073uname -m = `(uname -m) 2>/dev/null || echo unknown`
2074uname -r = `(uname -r) 2>/dev/null || echo unknown`
2075uname -s = `(uname -s) 2>/dev/null || echo unknown`
2076uname -v = `(uname -v) 2>/dev/null || echo unknown`
2077
2078/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2079/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2080
2081/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2082/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2083/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2084/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2085/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2086/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2087/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2088
2089_ASUNAME
2090
2091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092for as_dir in $PATH
2093do
2094  IFS=$as_save_IFS
2095  test -z "$as_dir" && as_dir=.
2096    $as_echo "PATH: $as_dir"
2097  done
2098IFS=$as_save_IFS
2099
2100} >&5
2101
2102cat >&5 <<_ACEOF
2103
2104
2105## ----------- ##
2106## Core tests. ##
2107## ----------- ##
2108
2109_ACEOF
2110
2111
2112# Keep a trace of the command line.
2113# Strip out --no-create and --no-recursion so they do not pile up.
2114# Strip out --silent because we don't want to record it for future runs.
2115# Also quote any args containing shell meta-characters.
2116# Make two passes to allow for proper duplicate-argument suppression.
2117ac_configure_args=
2118ac_configure_args0=
2119ac_configure_args1=
2120ac_must_keep_next=false
2121for ac_pass in 1 2
2122do
2123  for ac_arg
2124  do
2125    case $ac_arg in
2126    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2127    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2128    | -silent | --silent | --silen | --sile | --sil)
2129      continue ;;
2130    *\'*)
2131      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2132    esac
2133    case $ac_pass in
2134    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2135    2)
2136      as_fn_append ac_configure_args1 " '$ac_arg'"
2137      if test $ac_must_keep_next = true; then
2138	ac_must_keep_next=false # Got value, back to normal.
2139      else
2140	case $ac_arg in
2141	  *=* | --config-cache | -C | -disable-* | --disable-* \
2142	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2143	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2144	  | -with-* | --with-* | -without-* | --without-* | --x)
2145	    case "$ac_configure_args0 " in
2146	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2147	    esac
2148	    ;;
2149	  -* ) ac_must_keep_next=true ;;
2150	esac
2151      fi
2152      as_fn_append ac_configure_args " '$ac_arg'"
2153      ;;
2154    esac
2155  done
2156done
2157{ ac_configure_args0=; unset ac_configure_args0;}
2158{ ac_configure_args1=; unset ac_configure_args1;}
2159
2160# When interrupted or exit'd, cleanup temporary files, and complete
2161# config.log.  We remove comments because anyway the quotes in there
2162# would cause problems or look ugly.
2163# WARNING: Use '\'' to represent an apostrophe within the trap.
2164# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2165trap 'exit_status=$?
2166  # Save into config.log some information that might help in debugging.
2167  {
2168    echo
2169
2170    $as_echo "## ---------------- ##
2171## Cache variables. ##
2172## ---------------- ##"
2173    echo
2174    # The following way of writing the cache mishandles newlines in values,
2175(
2176  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2177    eval ac_val=\$$ac_var
2178    case $ac_val in #(
2179    *${as_nl}*)
2180      case $ac_var in #(
2181      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2182$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2183      esac
2184      case $ac_var in #(
2185      _ | IFS | as_nl) ;; #(
2186      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2187      *) { eval $ac_var=; unset $ac_var;} ;;
2188      esac ;;
2189    esac
2190  done
2191  (set) 2>&1 |
2192    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2193    *${as_nl}ac_space=\ *)
2194      sed -n \
2195	"s/'\''/'\''\\\\'\'''\''/g;
2196	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2197      ;; #(
2198    *)
2199      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2200      ;;
2201    esac |
2202    sort
2203)
2204    echo
2205
2206    $as_echo "## ----------------- ##
2207## Output variables. ##
2208## ----------------- ##"
2209    echo
2210    for ac_var in $ac_subst_vars
2211    do
2212      eval ac_val=\$$ac_var
2213      case $ac_val in
2214      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2215      esac
2216      $as_echo "$ac_var='\''$ac_val'\''"
2217    done | sort
2218    echo
2219
2220    if test -n "$ac_subst_files"; then
2221      $as_echo "## ------------------- ##
2222## File substitutions. ##
2223## ------------------- ##"
2224      echo
2225      for ac_var in $ac_subst_files
2226      do
2227	eval ac_val=\$$ac_var
2228	case $ac_val in
2229	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2230	esac
2231	$as_echo "$ac_var='\''$ac_val'\''"
2232      done | sort
2233      echo
2234    fi
2235
2236    if test -s confdefs.h; then
2237      $as_echo "## ----------- ##
2238## confdefs.h. ##
2239## ----------- ##"
2240      echo
2241      cat confdefs.h
2242      echo
2243    fi
2244    test "$ac_signal" != 0 &&
2245      $as_echo "$as_me: caught signal $ac_signal"
2246    $as_echo "$as_me: exit $exit_status"
2247  } >&5
2248  rm -f core *.core core.conftest.* &&
2249    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2250    exit $exit_status
2251' 0
2252for ac_signal in 1 2 13 15; do
2253  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2254done
2255ac_signal=0
2256
2257# confdefs.h avoids OS command line length limits that DEFS can exceed.
2258rm -f -r conftest* confdefs.h
2259
2260$as_echo "/* confdefs.h */" > confdefs.h
2261
2262# Predefined preprocessor variables.
2263
2264cat >>confdefs.h <<_ACEOF
2265#define PACKAGE_NAME "$PACKAGE_NAME"
2266_ACEOF
2267
2268cat >>confdefs.h <<_ACEOF
2269#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2270_ACEOF
2271
2272cat >>confdefs.h <<_ACEOF
2273#define PACKAGE_VERSION "$PACKAGE_VERSION"
2274_ACEOF
2275
2276cat >>confdefs.h <<_ACEOF
2277#define PACKAGE_STRING "$PACKAGE_STRING"
2278_ACEOF
2279
2280cat >>confdefs.h <<_ACEOF
2281#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2282_ACEOF
2283
2284cat >>confdefs.h <<_ACEOF
2285#define PACKAGE_URL "$PACKAGE_URL"
2286_ACEOF
2287
2288
2289# Let the site file select an alternate cache file if it wants to.
2290# Prefer an explicitly selected file to automatically selected ones.
2291ac_site_file1=NONE
2292ac_site_file2=NONE
2293if test -n "$CONFIG_SITE"; then
2294  # We do not want a PATH search for config.site.
2295  case $CONFIG_SITE in #((
2296    -*)  ac_site_file1=./$CONFIG_SITE;;
2297    */*) ac_site_file1=$CONFIG_SITE;;
2298    *)   ac_site_file1=./$CONFIG_SITE;;
2299  esac
2300elif test "x$prefix" != xNONE; then
2301  ac_site_file1=$prefix/share/config.site
2302  ac_site_file2=$prefix/etc/config.site
2303else
2304  ac_site_file1=$ac_default_prefix/share/config.site
2305  ac_site_file2=$ac_default_prefix/etc/config.site
2306fi
2307for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2308do
2309  test "x$ac_site_file" = xNONE && continue
2310  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2311    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2312$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2313    sed 's/^/| /' "$ac_site_file" >&5
2314    . "$ac_site_file" \
2315      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2316$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2317as_fn_error $? "failed to load site script $ac_site_file
2318See \`config.log' for more details" "$LINENO" 5; }
2319  fi
2320done
2321
2322if test -r "$cache_file"; then
2323  # Some versions of bash will fail to source /dev/null (special files
2324  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2325  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2326    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2327$as_echo "$as_me: loading cache $cache_file" >&6;}
2328    case $cache_file in
2329      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2330      *)                      . "./$cache_file";;
2331    esac
2332  fi
2333else
2334  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2335$as_echo "$as_me: creating cache $cache_file" >&6;}
2336  >$cache_file
2337fi
2338
2339# Check that the precious variables saved in the cache have kept the same
2340# value.
2341ac_cache_corrupted=false
2342for ac_var in $ac_precious_vars; do
2343  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2344  eval ac_new_set=\$ac_env_${ac_var}_set
2345  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2346  eval ac_new_val=\$ac_env_${ac_var}_value
2347  case $ac_old_set,$ac_new_set in
2348    set,)
2349      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2350$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2351      ac_cache_corrupted=: ;;
2352    ,set)
2353      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2354$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2355      ac_cache_corrupted=: ;;
2356    ,);;
2357    *)
2358      if test "x$ac_old_val" != "x$ac_new_val"; then
2359	# differences in whitespace do not lead to failure.
2360	ac_old_val_w=`echo x $ac_old_val`
2361	ac_new_val_w=`echo x $ac_new_val`
2362	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2363	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2364$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2365	  ac_cache_corrupted=:
2366	else
2367	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2368$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2369	  eval $ac_var=\$ac_old_val
2370	fi
2371	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2372$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2373	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2374$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2375      fi;;
2376  esac
2377  # Pass precious variables to config.status.
2378  if test "$ac_new_set" = set; then
2379    case $ac_new_val in
2380    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2381    *) ac_arg=$ac_var=$ac_new_val ;;
2382    esac
2383    case " $ac_configure_args " in
2384      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2385      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2386    esac
2387  fi
2388done
2389if $ac_cache_corrupted; then
2390  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2391$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2392  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2393$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2394  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2395fi
2396## -------------------- ##
2397## Main body of script. ##
2398## -------------------- ##
2399
2400ac_ext=c
2401ac_cpp='$CPP $CPPFLAGS'
2402ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2403ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2404ac_compiler_gnu=$ac_cv_c_compiler_gnu
2405
2406
2407
2408>confdefs.h  # Kill PACKAGE_ macros
2409
2410
2411ac_aux_dir=
2412for ac_dir in ../.. "$srcdir"/../..; do
2413  if test -f "$ac_dir/install-sh"; then
2414    ac_aux_dir=$ac_dir
2415    ac_install_sh="$ac_aux_dir/install-sh -c"
2416    break
2417  elif test -f "$ac_dir/install.sh"; then
2418    ac_aux_dir=$ac_dir
2419    ac_install_sh="$ac_aux_dir/install.sh -c"
2420    break
2421  elif test -f "$ac_dir/shtool"; then
2422    ac_aux_dir=$ac_dir
2423    ac_install_sh="$ac_aux_dir/shtool install -c"
2424    break
2425  fi
2426done
2427if test -z "$ac_aux_dir"; then
2428  as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2429fi
2430
2431# These three variables are undocumented and unsupported,
2432# and are intended to be withdrawn in a future Autoconf release.
2433# They can cause serious problems if a builder's source tree is in a directory
2434# whose full name contains unusual characters.
2435ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2436ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2437ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2438
2439
2440am__api_version='1.16'
2441
2442# Find a good install program.  We prefer a C program (faster),
2443# so one script is as good as another.  But avoid the broken or
2444# incompatible versions:
2445# SysV /etc/install, /usr/sbin/install
2446# SunOS /usr/etc/install
2447# IRIX /sbin/install
2448# AIX /bin/install
2449# AmigaOS /C/install, which installs bootblocks on floppy discs
2450# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2451# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2452# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2453# OS/2's system install, which has a completely different semantic
2454# ./install, which can be erroneously created by make from ./install.sh.
2455# Reject install programs that cannot install multiple files.
2456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2457$as_echo_n "checking for a BSD-compatible install... " >&6; }
2458if test -z "$INSTALL"; then
2459if ${ac_cv_path_install+:} false; then :
2460  $as_echo_n "(cached) " >&6
2461else
2462  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463for as_dir in $PATH
2464do
2465  IFS=$as_save_IFS
2466  test -z "$as_dir" && as_dir=.
2467    # Account for people who put trailing slashes in PATH elements.
2468case $as_dir/ in #((
2469  ./ | .// | /[cC]/* | \
2470  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2471  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2472  /usr/ucb/* ) ;;
2473  *)
2474    # OSF1 and SCO ODT 3.0 have their own names for install.
2475    # Don't use installbsd from OSF since it installs stuff as root
2476    # by default.
2477    for ac_prog in ginstall scoinst install; do
2478      for ac_exec_ext in '' $ac_executable_extensions; do
2479	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2480	  if test $ac_prog = install &&
2481	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2482	    # AIX install.  It has an incompatible calling convention.
2483	    :
2484	  elif test $ac_prog = install &&
2485	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2486	    # program-specific install script used by HP pwplus--don't use.
2487	    :
2488	  else
2489	    rm -rf conftest.one conftest.two conftest.dir
2490	    echo one > conftest.one
2491	    echo two > conftest.two
2492	    mkdir conftest.dir
2493	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2494	      test -s conftest.one && test -s conftest.two &&
2495	      test -s conftest.dir/conftest.one &&
2496	      test -s conftest.dir/conftest.two
2497	    then
2498	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2499	      break 3
2500	    fi
2501	  fi
2502	fi
2503      done
2504    done
2505    ;;
2506esac
2507
2508  done
2509IFS=$as_save_IFS
2510
2511rm -rf conftest.one conftest.two conftest.dir
2512
2513fi
2514  if test "${ac_cv_path_install+set}" = set; then
2515    INSTALL=$ac_cv_path_install
2516  else
2517    # As a last resort, use the slow shell script.  Don't cache a
2518    # value for INSTALL within a source directory, because that will
2519    # break other packages using the cache if that directory is
2520    # removed, or if the value is a relative name.
2521    INSTALL=$ac_install_sh
2522  fi
2523fi
2524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2525$as_echo "$INSTALL" >&6; }
2526
2527# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2528# It thinks the first close brace ends the variable substitution.
2529test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2530
2531test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2532
2533test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2534
2535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2536$as_echo_n "checking whether build environment is sane... " >&6; }
2537# Reject unsafe characters in $srcdir or the absolute working directory
2538# name.  Accept space and tab only in the latter.
2539am_lf='
2540'
2541case `pwd` in
2542  *[\\\"\#\$\&\'\`$am_lf]*)
2543    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2544esac
2545case $srcdir in
2546  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2547    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2548esac
2549
2550# Do 'set' in a subshell so we don't clobber the current shell's
2551# arguments.  Must try -L first in case configure is actually a
2552# symlink; some systems play weird games with the mod time of symlinks
2553# (eg FreeBSD returns the mod time of the symlink's containing
2554# directory).
2555if (
2556   am_has_slept=no
2557   for am_try in 1 2; do
2558     echo "timestamp, slept: $am_has_slept" > conftest.file
2559     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2560     if test "$*" = "X"; then
2561	# -L didn't work.
2562	set X `ls -t "$srcdir/configure" conftest.file`
2563     fi
2564     if test "$*" != "X $srcdir/configure conftest.file" \
2565	&& test "$*" != "X conftest.file $srcdir/configure"; then
2566
2567	# If neither matched, then we have a broken ls.  This can happen
2568	# if, for instance, CONFIG_SHELL is bash and it inherits a
2569	# broken ls alias from the environment.  This has actually
2570	# happened.  Such a system could not be considered "sane".
2571	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2572  alias in your environment" "$LINENO" 5
2573     fi
2574     if test "$2" = conftest.file || test $am_try -eq 2; then
2575       break
2576     fi
2577     # Just in case.
2578     sleep 1
2579     am_has_slept=yes
2580   done
2581   test "$2" = conftest.file
2582   )
2583then
2584   # Ok.
2585   :
2586else
2587   as_fn_error $? "newly created file is older than distributed files!
2588Check your system clock" "$LINENO" 5
2589fi
2590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2591$as_echo "yes" >&6; }
2592# If we didn't sleep, we still need to ensure time stamps of config.status and
2593# generated files are strictly newer.
2594am_sleep_pid=
2595if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2596  ( sleep 1 ) &
2597  am_sleep_pid=$!
2598fi
2599
2600rm -f conftest.file
2601
2602test "$program_prefix" != NONE &&
2603  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2604# Use a double $ so make ignores it.
2605test "$program_suffix" != NONE &&
2606  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2607# Double any \ or $.
2608# By default was `s,x,x', remove it if useless.
2609ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2610program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2611
2612# Expand $ac_aux_dir to an absolute path.
2613am_aux_dir=`cd "$ac_aux_dir" && pwd`
2614
2615if test x"${MISSING+set}" != xset; then
2616  case $am_aux_dir in
2617  *\ * | *\	*)
2618    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2619  *)
2620    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2621  esac
2622fi
2623# Use eval to expand $SHELL
2624if eval "$MISSING --is-lightweight"; then
2625  am_missing_run="$MISSING "
2626else
2627  am_missing_run=
2628  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2629$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2630fi
2631
2632if test x"${install_sh+set}" != xset; then
2633  case $am_aux_dir in
2634  *\ * | *\	*)
2635    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2636  *)
2637    install_sh="\${SHELL} $am_aux_dir/install-sh"
2638  esac
2639fi
2640
2641# Installed binaries are usually stripped using 'strip' when the user
2642# run "make install-strip".  However 'strip' might not be the right
2643# tool to use in cross-compilation environments, therefore Automake
2644# will honor the 'STRIP' environment variable to overrule this program.
2645if test "$cross_compiling" != no; then
2646  if test -n "$ac_tool_prefix"; then
2647  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2648set dummy ${ac_tool_prefix}strip; ac_word=$2
2649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2650$as_echo_n "checking for $ac_word... " >&6; }
2651if ${ac_cv_prog_STRIP+:} false; then :
2652  $as_echo_n "(cached) " >&6
2653else
2654  if test -n "$STRIP"; then
2655  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2656else
2657as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658for as_dir in $PATH
2659do
2660  IFS=$as_save_IFS
2661  test -z "$as_dir" && as_dir=.
2662    for ac_exec_ext in '' $ac_executable_extensions; do
2663  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2664    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2665    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2666    break 2
2667  fi
2668done
2669  done
2670IFS=$as_save_IFS
2671
2672fi
2673fi
2674STRIP=$ac_cv_prog_STRIP
2675if test -n "$STRIP"; then
2676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2677$as_echo "$STRIP" >&6; }
2678else
2679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2680$as_echo "no" >&6; }
2681fi
2682
2683
2684fi
2685if test -z "$ac_cv_prog_STRIP"; then
2686  ac_ct_STRIP=$STRIP
2687  # Extract the first word of "strip", so it can be a program name with args.
2688set dummy strip; ac_word=$2
2689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2690$as_echo_n "checking for $ac_word... " >&6; }
2691if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2692  $as_echo_n "(cached) " >&6
2693else
2694  if test -n "$ac_ct_STRIP"; then
2695  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2696else
2697as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698for as_dir in $PATH
2699do
2700  IFS=$as_save_IFS
2701  test -z "$as_dir" && as_dir=.
2702    for ac_exec_ext in '' $ac_executable_extensions; do
2703  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2704    ac_cv_prog_ac_ct_STRIP="strip"
2705    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706    break 2
2707  fi
2708done
2709  done
2710IFS=$as_save_IFS
2711
2712fi
2713fi
2714ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2715if test -n "$ac_ct_STRIP"; then
2716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2717$as_echo "$ac_ct_STRIP" >&6; }
2718else
2719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720$as_echo "no" >&6; }
2721fi
2722
2723  if test "x$ac_ct_STRIP" = x; then
2724    STRIP=":"
2725  else
2726    case $cross_compiling:$ac_tool_warned in
2727yes:)
2728{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2729$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2730ac_tool_warned=yes ;;
2731esac
2732    STRIP=$ac_ct_STRIP
2733  fi
2734else
2735  STRIP="$ac_cv_prog_STRIP"
2736fi
2737
2738fi
2739INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2740
2741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2742$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2743if test -z "$MKDIR_P"; then
2744  if ${ac_cv_path_mkdir+:} false; then :
2745  $as_echo_n "(cached) " >&6
2746else
2747  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2748for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2749do
2750  IFS=$as_save_IFS
2751  test -z "$as_dir" && as_dir=.
2752    for ac_prog in mkdir gmkdir; do
2753	 for ac_exec_ext in '' $ac_executable_extensions; do
2754	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2755	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2756	     'mkdir (GNU coreutils) '* | \
2757	     'mkdir (coreutils) '* | \
2758	     'mkdir (fileutils) '4.1*)
2759	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2760	       break 3;;
2761	   esac
2762	 done
2763       done
2764  done
2765IFS=$as_save_IFS
2766
2767fi
2768
2769  test -d ./--version && rmdir ./--version
2770  if test "${ac_cv_path_mkdir+set}" = set; then
2771    MKDIR_P="$ac_cv_path_mkdir -p"
2772  else
2773    # As a last resort, use the slow shell script.  Don't cache a
2774    # value for MKDIR_P within a source directory, because that will
2775    # break other packages using the cache if that directory is
2776    # removed, or if the value is a relative name.
2777    MKDIR_P="$ac_install_sh -d"
2778  fi
2779fi
2780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2781$as_echo "$MKDIR_P" >&6; }
2782
2783for ac_prog in gawk mawk nawk awk
2784do
2785  # Extract the first word of "$ac_prog", so it can be a program name with args.
2786set dummy $ac_prog; ac_word=$2
2787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2788$as_echo_n "checking for $ac_word... " >&6; }
2789if ${ac_cv_prog_AWK+:} false; then :
2790  $as_echo_n "(cached) " >&6
2791else
2792  if test -n "$AWK"; then
2793  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2794else
2795as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796for as_dir in $PATH
2797do
2798  IFS=$as_save_IFS
2799  test -z "$as_dir" && as_dir=.
2800    for ac_exec_ext in '' $ac_executable_extensions; do
2801  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2802    ac_cv_prog_AWK="$ac_prog"
2803    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2804    break 2
2805  fi
2806done
2807  done
2808IFS=$as_save_IFS
2809
2810fi
2811fi
2812AWK=$ac_cv_prog_AWK
2813if test -n "$AWK"; then
2814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2815$as_echo "$AWK" >&6; }
2816else
2817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2818$as_echo "no" >&6; }
2819fi
2820
2821
2822  test -n "$AWK" && break
2823done
2824
2825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2826$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2827set x ${MAKE-make}
2828ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2829if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2830  $as_echo_n "(cached) " >&6
2831else
2832  cat >conftest.make <<\_ACEOF
2833SHELL = /bin/sh
2834all:
2835	@echo '@@@%%%=$(MAKE)=@@@%%%'
2836_ACEOF
2837# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2838case `${MAKE-make} -f conftest.make 2>/dev/null` in
2839  *@@@%%%=?*=@@@%%%*)
2840    eval ac_cv_prog_make_${ac_make}_set=yes;;
2841  *)
2842    eval ac_cv_prog_make_${ac_make}_set=no;;
2843esac
2844rm -f conftest.make
2845fi
2846if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2848$as_echo "yes" >&6; }
2849  SET_MAKE=
2850else
2851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2852$as_echo "no" >&6; }
2853  SET_MAKE="MAKE=${MAKE-make}"
2854fi
2855
2856rm -rf .tst 2>/dev/null
2857mkdir .tst 2>/dev/null
2858if test -d .tst; then
2859  am__leading_dot=.
2860else
2861  am__leading_dot=_
2862fi
2863rmdir .tst 2>/dev/null
2864
2865# Check whether --enable-silent-rules was given.
2866if test "${enable_silent_rules+set}" = set; then :
2867  enableval=$enable_silent_rules;
2868fi
2869
2870case $enable_silent_rules in # (((
2871  yes) AM_DEFAULT_VERBOSITY=0;;
2872   no) AM_DEFAULT_VERBOSITY=1;;
2873    *) AM_DEFAULT_VERBOSITY=1;;
2874esac
2875am_make=${MAKE-make}
2876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2877$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2878if ${am_cv_make_support_nested_variables+:} false; then :
2879  $as_echo_n "(cached) " >&6
2880else
2881  if $as_echo 'TRUE=$(BAR$(V))
2882BAR0=false
2883BAR1=true
2884V=1
2885am__doit:
2886	@$(TRUE)
2887.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2888  am_cv_make_support_nested_variables=yes
2889else
2890  am_cv_make_support_nested_variables=no
2891fi
2892fi
2893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2894$as_echo "$am_cv_make_support_nested_variables" >&6; }
2895if test $am_cv_make_support_nested_variables = yes; then
2896    AM_V='$(V)'
2897  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2898else
2899  AM_V=$AM_DEFAULT_VERBOSITY
2900  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2901fi
2902AM_BACKSLASH='\'
2903
2904if test "`cd $srcdir && pwd`" != "`pwd`"; then
2905  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2906  # is not polluted with repeated "-I."
2907  am__isrc=' -I$(srcdir)'
2908  # test to see if srcdir already configured
2909  if test -f $srcdir/config.status; then
2910    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2911  fi
2912fi
2913
2914# test whether we have cygpath
2915if test -z "$CYGPATH_W"; then
2916  if (cygpath --version) >/dev/null 2>/dev/null; then
2917    CYGPATH_W='cygpath -w'
2918  else
2919    CYGPATH_W=echo
2920  fi
2921fi
2922
2923
2924# Define the identity of the package.
2925 PACKAGE='gdbmobj'
2926 VERSION='0.10'
2927
2928
2929# Some tools Automake needs.
2930
2931ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2932
2933
2934AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2935
2936
2937AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2938
2939
2940AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2941
2942
2943MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2944
2945# For better backward compatibility.  To be removed once Automake 1.9.x
2946# dies out for good.  For more background, see:
2947# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2948# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2949mkdir_p='$(MKDIR_P)'
2950
2951# We need awk for the "check" target (and possibly the TAP driver).  The
2952# system "awk" is bad on some platforms.
2953# Always define AMTAR for backward compatibility.  Yes, it's still used
2954# in the wild :-(  We should find a proper way to deprecate it ...
2955AMTAR='$${TAR-tar}'
2956
2957
2958# We'll loop over all known methods to create a tar archive until one works.
2959_am_tools='gnutar  pax cpio none'
2960
2961am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2962
2963
2964
2965
2966
2967
2968# POSIX will say in a future version that running "rm -f" with no argument
2969# is OK; and we want to be able to make that assumption in our Makefile
2970# recipes.  So use an aggressive probe to check that the usage we want is
2971# actually supported "in the wild" to an acceptable degree.
2972# See automake bug#10828.
2973# To make any issue more visible, cause the running configure to be aborted
2974# by default if the 'rm' program in use doesn't match our expectations; the
2975# user can still override this though.
2976if rm -f && rm -fr && rm -rf; then : OK; else
2977  cat >&2 <<'END'
2978Oops!
2979
2980Your 'rm' program seems unable to run without file operands specified
2981on the command line, even when the '-f' option is present.  This is contrary
2982to the behaviour of most rm programs out there, and not conforming with
2983the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2984
2985Please tell bug-automake@gnu.org about your system, including the value
2986of your $PATH and any error possibly output before this message.  This
2987can help us improve future automake versions.
2988
2989END
2990  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2991    echo 'Configuration will proceed anyway, since you have set the' >&2
2992    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2993    echo >&2
2994  else
2995    cat >&2 <<'END'
2996Aborting the configuration process, to ensure you take notice of the issue.
2997
2998You can download and install GNU coreutils to get an 'rm' implementation
2999that behaves properly: <https://www.gnu.org/software/coreutils/>.
3000
3001If you want to complete the configuration process using your problematic
3002'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3003to "yes", and re-run configure.
3004
3005END
3006    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3007  fi
3008fi
3009
3010ac_config_headers="$ac_config_headers config.h"
3011
3012
3013DEPDIR="${am__leading_dot}deps"
3014
3015ac_config_commands="$ac_config_commands depfiles"
3016
3017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3018$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3019cat > confinc.mk << 'END'
3020am__doit:
3021	@echo this is the am__doit target >confinc.out
3022.PHONY: am__doit
3023END
3024am__include="#"
3025am__quote=
3026# BSD make does it like this.
3027echo '.include "confinc.mk" # ignored' > confmf.BSD
3028# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3029echo 'include confinc.mk # ignored' > confmf.GNU
3030_am_result=no
3031for s in GNU BSD; do
3032  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3033   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3034   ac_status=$?
3035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036   (exit $ac_status); }
3037  case $?:`cat confinc.out 2>/dev/null` in #(
3038  '0:this is the am__doit target') :
3039    case $s in #(
3040  BSD) :
3041    am__include='.include' am__quote='"' ;; #(
3042  *) :
3043    am__include='include' am__quote='' ;;
3044esac ;; #(
3045  *) :
3046     ;;
3047esac
3048  if test "$am__include" != "#"; then
3049    _am_result="yes ($s style)"
3050    break
3051  fi
3052done
3053rm -f confinc.* confmf.*
3054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3055$as_echo "${_am_result}" >&6; }
3056
3057# Check whether --enable-dependency-tracking was given.
3058if test "${enable_dependency_tracking+set}" = set; then :
3059  enableval=$enable_dependency_tracking;
3060fi
3061
3062if test "x$enable_dependency_tracking" != xno; then
3063  am_depcomp="$ac_aux_dir/depcomp"
3064  AMDEPBACKSLASH='\'
3065  am__nodep='_no'
3066fi
3067 if test "x$enable_dependency_tracking" != xno; then
3068  AMDEP_TRUE=
3069  AMDEP_FALSE='#'
3070else
3071  AMDEP_TRUE='#'
3072  AMDEP_FALSE=
3073fi
3074
3075
3076ac_ext=c
3077ac_cpp='$CPP $CPPFLAGS'
3078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3080ac_compiler_gnu=$ac_cv_c_compiler_gnu
3081if test -n "$ac_tool_prefix"; then
3082  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3083set dummy ${ac_tool_prefix}gcc; ac_word=$2
3084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085$as_echo_n "checking for $ac_word... " >&6; }
3086if ${ac_cv_prog_CC+:} false; then :
3087  $as_echo_n "(cached) " >&6
3088else
3089  if test -n "$CC"; then
3090  ac_cv_prog_CC="$CC" # Let the user override the test.
3091else
3092as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093for as_dir in $PATH
3094do
3095  IFS=$as_save_IFS
3096  test -z "$as_dir" && as_dir=.
3097    for ac_exec_ext in '' $ac_executable_extensions; do
3098  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3099    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3100    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3101    break 2
3102  fi
3103done
3104  done
3105IFS=$as_save_IFS
3106
3107fi
3108fi
3109CC=$ac_cv_prog_CC
3110if test -n "$CC"; then
3111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3112$as_echo "$CC" >&6; }
3113else
3114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115$as_echo "no" >&6; }
3116fi
3117
3118
3119fi
3120if test -z "$ac_cv_prog_CC"; then
3121  ac_ct_CC=$CC
3122  # Extract the first word of "gcc", so it can be a program name with args.
3123set dummy gcc; ac_word=$2
3124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3125$as_echo_n "checking for $ac_word... " >&6; }
3126if ${ac_cv_prog_ac_ct_CC+:} false; then :
3127  $as_echo_n "(cached) " >&6
3128else
3129  if test -n "$ac_ct_CC"; then
3130  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3131else
3132as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3133for as_dir in $PATH
3134do
3135  IFS=$as_save_IFS
3136  test -z "$as_dir" && as_dir=.
3137    for ac_exec_ext in '' $ac_executable_extensions; do
3138  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3139    ac_cv_prog_ac_ct_CC="gcc"
3140    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3141    break 2
3142  fi
3143done
3144  done
3145IFS=$as_save_IFS
3146
3147fi
3148fi
3149ac_ct_CC=$ac_cv_prog_ac_ct_CC
3150if test -n "$ac_ct_CC"; then
3151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3152$as_echo "$ac_ct_CC" >&6; }
3153else
3154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3155$as_echo "no" >&6; }
3156fi
3157
3158  if test "x$ac_ct_CC" = x; then
3159    CC=""
3160  else
3161    case $cross_compiling:$ac_tool_warned in
3162yes:)
3163{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3164$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3165ac_tool_warned=yes ;;
3166esac
3167    CC=$ac_ct_CC
3168  fi
3169else
3170  CC="$ac_cv_prog_CC"
3171fi
3172
3173if test -z "$CC"; then
3174          if test -n "$ac_tool_prefix"; then
3175    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3176set dummy ${ac_tool_prefix}cc; ac_word=$2
3177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178$as_echo_n "checking for $ac_word... " >&6; }
3179if ${ac_cv_prog_CC+:} false; then :
3180  $as_echo_n "(cached) " >&6
3181else
3182  if test -n "$CC"; then
3183  ac_cv_prog_CC="$CC" # Let the user override the test.
3184else
3185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186for as_dir in $PATH
3187do
3188  IFS=$as_save_IFS
3189  test -z "$as_dir" && as_dir=.
3190    for ac_exec_ext in '' $ac_executable_extensions; do
3191  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3192    ac_cv_prog_CC="${ac_tool_prefix}cc"
3193    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3194    break 2
3195  fi
3196done
3197  done
3198IFS=$as_save_IFS
3199
3200fi
3201fi
3202CC=$ac_cv_prog_CC
3203if test -n "$CC"; then
3204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3205$as_echo "$CC" >&6; }
3206else
3207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208$as_echo "no" >&6; }
3209fi
3210
3211
3212  fi
3213fi
3214if test -z "$CC"; then
3215  # Extract the first word of "cc", so it can be a program name with args.
3216set dummy cc; ac_word=$2
3217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3218$as_echo_n "checking for $ac_word... " >&6; }
3219if ${ac_cv_prog_CC+:} false; then :
3220  $as_echo_n "(cached) " >&6
3221else
3222  if test -n "$CC"; then
3223  ac_cv_prog_CC="$CC" # Let the user override the test.
3224else
3225  ac_prog_rejected=no
3226as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227for as_dir in $PATH
3228do
3229  IFS=$as_save_IFS
3230  test -z "$as_dir" && as_dir=.
3231    for ac_exec_ext in '' $ac_executable_extensions; do
3232  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3233    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3234       ac_prog_rejected=yes
3235       continue
3236     fi
3237    ac_cv_prog_CC="cc"
3238    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3239    break 2
3240  fi
3241done
3242  done
3243IFS=$as_save_IFS
3244
3245if test $ac_prog_rejected = yes; then
3246  # We found a bogon in the path, so make sure we never use it.
3247  set dummy $ac_cv_prog_CC
3248  shift
3249  if test $# != 0; then
3250    # We chose a different compiler from the bogus one.
3251    # However, it has the same basename, so the bogon will be chosen
3252    # first if we set CC to just the basename; use the full file name.
3253    shift
3254    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3255  fi
3256fi
3257fi
3258fi
3259CC=$ac_cv_prog_CC
3260if test -n "$CC"; then
3261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3262$as_echo "$CC" >&6; }
3263else
3264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265$as_echo "no" >&6; }
3266fi
3267
3268
3269fi
3270if test -z "$CC"; then
3271  if test -n "$ac_tool_prefix"; then
3272  for ac_prog in cl.exe
3273  do
3274    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3275set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3277$as_echo_n "checking for $ac_word... " >&6; }
3278if ${ac_cv_prog_CC+:} false; then :
3279  $as_echo_n "(cached) " >&6
3280else
3281  if test -n "$CC"; then
3282  ac_cv_prog_CC="$CC" # Let the user override the test.
3283else
3284as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3285for as_dir in $PATH
3286do
3287  IFS=$as_save_IFS
3288  test -z "$as_dir" && as_dir=.
3289    for ac_exec_ext in '' $ac_executable_extensions; do
3290  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3291    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3292    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3293    break 2
3294  fi
3295done
3296  done
3297IFS=$as_save_IFS
3298
3299fi
3300fi
3301CC=$ac_cv_prog_CC
3302if test -n "$CC"; then
3303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3304$as_echo "$CC" >&6; }
3305else
3306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307$as_echo "no" >&6; }
3308fi
3309
3310
3311    test -n "$CC" && break
3312  done
3313fi
3314if test -z "$CC"; then
3315  ac_ct_CC=$CC
3316  for ac_prog in cl.exe
3317do
3318  # Extract the first word of "$ac_prog", so it can be a program name with args.
3319set dummy $ac_prog; ac_word=$2
3320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3321$as_echo_n "checking for $ac_word... " >&6; }
3322if ${ac_cv_prog_ac_ct_CC+:} false; then :
3323  $as_echo_n "(cached) " >&6
3324else
3325  if test -n "$ac_ct_CC"; then
3326  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3327else
3328as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329for as_dir in $PATH
3330do
3331  IFS=$as_save_IFS
3332  test -z "$as_dir" && as_dir=.
3333    for ac_exec_ext in '' $ac_executable_extensions; do
3334  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3335    ac_cv_prog_ac_ct_CC="$ac_prog"
3336    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3337    break 2
3338  fi
3339done
3340  done
3341IFS=$as_save_IFS
3342
3343fi
3344fi
3345ac_ct_CC=$ac_cv_prog_ac_ct_CC
3346if test -n "$ac_ct_CC"; then
3347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3348$as_echo "$ac_ct_CC" >&6; }
3349else
3350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351$as_echo "no" >&6; }
3352fi
3353
3354
3355  test -n "$ac_ct_CC" && break
3356done
3357
3358  if test "x$ac_ct_CC" = x; then
3359    CC=""
3360  else
3361    case $cross_compiling:$ac_tool_warned in
3362yes:)
3363{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3364$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3365ac_tool_warned=yes ;;
3366esac
3367    CC=$ac_ct_CC
3368  fi
3369fi
3370
3371fi
3372
3373
3374test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376as_fn_error $? "no acceptable C compiler found in \$PATH
3377See \`config.log' for more details" "$LINENO" 5; }
3378
3379# Provide some information about the compiler.
3380$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3381set X $ac_compile
3382ac_compiler=$2
3383for ac_option in --version -v -V -qversion; do
3384  { { ac_try="$ac_compiler $ac_option >&5"
3385case "(($ac_try" in
3386  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3387  *) ac_try_echo=$ac_try;;
3388esac
3389eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3390$as_echo "$ac_try_echo"; } >&5
3391  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3392  ac_status=$?
3393  if test -s conftest.err; then
3394    sed '10a\
3395... rest of stderr output deleted ...
3396         10q' conftest.err >conftest.er1
3397    cat conftest.er1 >&5
3398  fi
3399  rm -f conftest.er1 conftest.err
3400  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3401  test $ac_status = 0; }
3402done
3403
3404cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405/* end confdefs.h.  */
3406
3407int
3408main ()
3409{
3410
3411  ;
3412  return 0;
3413}
3414_ACEOF
3415ac_clean_files_save=$ac_clean_files
3416ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3417# Try to create an executable without -o first, disregard a.out.
3418# It will help us diagnose broken compilers, and finding out an intuition
3419# of exeext.
3420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3421$as_echo_n "checking whether the C compiler works... " >&6; }
3422ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3423
3424# The possible output files:
3425ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3426
3427ac_rmfiles=
3428for ac_file in $ac_files
3429do
3430  case $ac_file in
3431    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3432    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3433  esac
3434done
3435rm -f $ac_rmfiles
3436
3437if { { ac_try="$ac_link_default"
3438case "(($ac_try" in
3439  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3440  *) ac_try_echo=$ac_try;;
3441esac
3442eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3443$as_echo "$ac_try_echo"; } >&5
3444  (eval "$ac_link_default") 2>&5
3445  ac_status=$?
3446  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3447  test $ac_status = 0; }; then :
3448  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3449# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3450# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3451# so that the user can short-circuit this test for compilers unknown to
3452# Autoconf.
3453for ac_file in $ac_files ''
3454do
3455  test -f "$ac_file" || continue
3456  case $ac_file in
3457    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3458	;;
3459    [ab].out )
3460	# We found the default executable, but exeext='' is most
3461	# certainly right.
3462	break;;
3463    *.* )
3464	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3465	then :; else
3466	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3467	fi
3468	# We set ac_cv_exeext here because the later test for it is not
3469	# safe: cross compilers may not add the suffix if given an `-o'
3470	# argument, so we may need to know it at that point already.
3471	# Even if this section looks crufty: it has the advantage of
3472	# actually working.
3473	break;;
3474    * )
3475	break;;
3476  esac
3477done
3478test "$ac_cv_exeext" = no && ac_cv_exeext=
3479
3480else
3481  ac_file=''
3482fi
3483if test -z "$ac_file"; then :
3484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3485$as_echo "no" >&6; }
3486$as_echo "$as_me: failed program was:" >&5
3487sed 's/^/| /' conftest.$ac_ext >&5
3488
3489{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3490$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3491as_fn_error 77 "C compiler cannot create executables
3492See \`config.log' for more details" "$LINENO" 5; }
3493else
3494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3495$as_echo "yes" >&6; }
3496fi
3497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3498$as_echo_n "checking for C compiler default output file name... " >&6; }
3499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3500$as_echo "$ac_file" >&6; }
3501ac_exeext=$ac_cv_exeext
3502
3503rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3504ac_clean_files=$ac_clean_files_save
3505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3506$as_echo_n "checking for suffix of executables... " >&6; }
3507if { { ac_try="$ac_link"
3508case "(($ac_try" in
3509  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3510  *) ac_try_echo=$ac_try;;
3511esac
3512eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3513$as_echo "$ac_try_echo"; } >&5
3514  (eval "$ac_link") 2>&5
3515  ac_status=$?
3516  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3517  test $ac_status = 0; }; then :
3518  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3519# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3520# work properly (i.e., refer to `conftest.exe'), while it won't with
3521# `rm'.
3522for ac_file in conftest.exe conftest conftest.*; do
3523  test -f "$ac_file" || continue
3524  case $ac_file in
3525    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3526    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3527	  break;;
3528    * ) break;;
3529  esac
3530done
3531else
3532  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3533$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3534as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3535See \`config.log' for more details" "$LINENO" 5; }
3536fi
3537rm -f conftest conftest$ac_cv_exeext
3538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3539$as_echo "$ac_cv_exeext" >&6; }
3540
3541rm -f conftest.$ac_ext
3542EXEEXT=$ac_cv_exeext
3543ac_exeext=$EXEEXT
3544cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545/* end confdefs.h.  */
3546#include <stdio.h>
3547int
3548main ()
3549{
3550FILE *f = fopen ("conftest.out", "w");
3551 return ferror (f) || fclose (f) != 0;
3552
3553  ;
3554  return 0;
3555}
3556_ACEOF
3557ac_clean_files="$ac_clean_files conftest.out"
3558# Check that the compiler produces executables we can run.  If not, either
3559# the compiler is broken, or we cross compile.
3560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3561$as_echo_n "checking whether we are cross compiling... " >&6; }
3562if test "$cross_compiling" != yes; then
3563  { { ac_try="$ac_link"
3564case "(($ac_try" in
3565  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3566  *) ac_try_echo=$ac_try;;
3567esac
3568eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3569$as_echo "$ac_try_echo"; } >&5
3570  (eval "$ac_link") 2>&5
3571  ac_status=$?
3572  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3573  test $ac_status = 0; }
3574  if { ac_try='./conftest$ac_cv_exeext'
3575  { { case "(($ac_try" in
3576  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3577  *) ac_try_echo=$ac_try;;
3578esac
3579eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3580$as_echo "$ac_try_echo"; } >&5
3581  (eval "$ac_try") 2>&5
3582  ac_status=$?
3583  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3584  test $ac_status = 0; }; }; then
3585    cross_compiling=no
3586  else
3587    if test "$cross_compiling" = maybe; then
3588	cross_compiling=yes
3589    else
3590	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3591$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3592as_fn_error $? "cannot run C compiled programs.
3593If you meant to cross compile, use \`--host'.
3594See \`config.log' for more details" "$LINENO" 5; }
3595    fi
3596  fi
3597fi
3598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3599$as_echo "$cross_compiling" >&6; }
3600
3601rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3602ac_clean_files=$ac_clean_files_save
3603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3604$as_echo_n "checking for suffix of object files... " >&6; }
3605if ${ac_cv_objext+:} false; then :
3606  $as_echo_n "(cached) " >&6
3607else
3608  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3609/* end confdefs.h.  */
3610
3611int
3612main ()
3613{
3614
3615  ;
3616  return 0;
3617}
3618_ACEOF
3619rm -f conftest.o conftest.obj
3620if { { ac_try="$ac_compile"
3621case "(($ac_try" in
3622  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3623  *) ac_try_echo=$ac_try;;
3624esac
3625eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3626$as_echo "$ac_try_echo"; } >&5
3627  (eval "$ac_compile") 2>&5
3628  ac_status=$?
3629  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3630  test $ac_status = 0; }; then :
3631  for ac_file in conftest.o conftest.obj conftest.*; do
3632  test -f "$ac_file" || continue;
3633  case $ac_file in
3634    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3635    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3636       break;;
3637  esac
3638done
3639else
3640  $as_echo "$as_me: failed program was:" >&5
3641sed 's/^/| /' conftest.$ac_ext >&5
3642
3643{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3644$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3645as_fn_error $? "cannot compute suffix of object files: cannot compile
3646See \`config.log' for more details" "$LINENO" 5; }
3647fi
3648rm -f conftest.$ac_cv_objext conftest.$ac_ext
3649fi
3650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3651$as_echo "$ac_cv_objext" >&6; }
3652OBJEXT=$ac_cv_objext
3653ac_objext=$OBJEXT
3654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3655$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3656if ${ac_cv_c_compiler_gnu+:} false; then :
3657  $as_echo_n "(cached) " >&6
3658else
3659  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660/* end confdefs.h.  */
3661
3662int
3663main ()
3664{
3665#ifndef __GNUC__
3666       choke me
3667#endif
3668
3669  ;
3670  return 0;
3671}
3672_ACEOF
3673if ac_fn_c_try_compile "$LINENO"; then :
3674  ac_compiler_gnu=yes
3675else
3676  ac_compiler_gnu=no
3677fi
3678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3679ac_cv_c_compiler_gnu=$ac_compiler_gnu
3680
3681fi
3682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3683$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3684if test $ac_compiler_gnu = yes; then
3685  GCC=yes
3686else
3687  GCC=
3688fi
3689ac_test_CFLAGS=${CFLAGS+set}
3690ac_save_CFLAGS=$CFLAGS
3691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3692$as_echo_n "checking whether $CC accepts -g... " >&6; }
3693if ${ac_cv_prog_cc_g+:} false; then :
3694  $as_echo_n "(cached) " >&6
3695else
3696  ac_save_c_werror_flag=$ac_c_werror_flag
3697   ac_c_werror_flag=yes
3698   ac_cv_prog_cc_g=no
3699   CFLAGS="-g"
3700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3701/* end confdefs.h.  */
3702
3703int
3704main ()
3705{
3706
3707  ;
3708  return 0;
3709}
3710_ACEOF
3711if ac_fn_c_try_compile "$LINENO"; then :
3712  ac_cv_prog_cc_g=yes
3713else
3714  CFLAGS=""
3715      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716/* end confdefs.h.  */
3717
3718int
3719main ()
3720{
3721
3722  ;
3723  return 0;
3724}
3725_ACEOF
3726if ac_fn_c_try_compile "$LINENO"; then :
3727
3728else
3729  ac_c_werror_flag=$ac_save_c_werror_flag
3730	 CFLAGS="-g"
3731	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3732/* end confdefs.h.  */
3733
3734int
3735main ()
3736{
3737
3738  ;
3739  return 0;
3740}
3741_ACEOF
3742if ac_fn_c_try_compile "$LINENO"; then :
3743  ac_cv_prog_cc_g=yes
3744fi
3745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3746fi
3747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3748fi
3749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3750   ac_c_werror_flag=$ac_save_c_werror_flag
3751fi
3752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3753$as_echo "$ac_cv_prog_cc_g" >&6; }
3754if test "$ac_test_CFLAGS" = set; then
3755  CFLAGS=$ac_save_CFLAGS
3756elif test $ac_cv_prog_cc_g = yes; then
3757  if test "$GCC" = yes; then
3758    CFLAGS="-g -O2"
3759  else
3760    CFLAGS="-g"
3761  fi
3762else
3763  if test "$GCC" = yes; then
3764    CFLAGS="-O2"
3765  else
3766    CFLAGS=
3767  fi
3768fi
3769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3770$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3771if ${ac_cv_prog_cc_c89+:} false; then :
3772  $as_echo_n "(cached) " >&6
3773else
3774  ac_cv_prog_cc_c89=no
3775ac_save_CC=$CC
3776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777/* end confdefs.h.  */
3778#include <stdarg.h>
3779#include <stdio.h>
3780struct stat;
3781/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3782struct buf { int x; };
3783FILE * (*rcsopen) (struct buf *, struct stat *, int);
3784static char *e (p, i)
3785     char **p;
3786     int i;
3787{
3788  return p[i];
3789}
3790static char *f (char * (*g) (char **, int), char **p, ...)
3791{
3792  char *s;
3793  va_list v;
3794  va_start (v,p);
3795  s = g (p, va_arg (v,int));
3796  va_end (v);
3797  return s;
3798}
3799
3800/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3801   function prototypes and stuff, but not '\xHH' hex character constants.
3802   These don't provoke an error unfortunately, instead are silently treated
3803   as 'x'.  The following induces an error, until -std is added to get
3804   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3805   array size at least.  It's necessary to write '\x00'==0 to get something
3806   that's true only with -std.  */
3807int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3808
3809/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3810   inside strings and character constants.  */
3811#define FOO(x) 'x'
3812int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3813
3814int test (int i, double x);
3815struct s1 {int (*f) (int a);};
3816struct s2 {int (*f) (double a);};
3817int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3818int argc;
3819char **argv;
3820int
3821main ()
3822{
3823return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3824  ;
3825  return 0;
3826}
3827_ACEOF
3828for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3829	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3830do
3831  CC="$ac_save_CC $ac_arg"
3832  if ac_fn_c_try_compile "$LINENO"; then :
3833  ac_cv_prog_cc_c89=$ac_arg
3834fi
3835rm -f core conftest.err conftest.$ac_objext
3836  test "x$ac_cv_prog_cc_c89" != "xno" && break
3837done
3838rm -f conftest.$ac_ext
3839CC=$ac_save_CC
3840
3841fi
3842# AC_CACHE_VAL
3843case "x$ac_cv_prog_cc_c89" in
3844  x)
3845    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3846$as_echo "none needed" >&6; } ;;
3847  xno)
3848    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3849$as_echo "unsupported" >&6; } ;;
3850  *)
3851    CC="$CC $ac_cv_prog_cc_c89"
3852    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3853$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3854esac
3855if test "x$ac_cv_prog_cc_c89" != xno; then :
3856
3857fi
3858
3859ac_ext=c
3860ac_cpp='$CPP $CPPFLAGS'
3861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3863ac_compiler_gnu=$ac_cv_c_compiler_gnu
3864
3865ac_ext=c
3866ac_cpp='$CPP $CPPFLAGS'
3867ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3868ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3869ac_compiler_gnu=$ac_cv_c_compiler_gnu
3870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3871$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3872if ${am_cv_prog_cc_c_o+:} false; then :
3873  $as_echo_n "(cached) " >&6
3874else
3875  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876/* end confdefs.h.  */
3877
3878int
3879main ()
3880{
3881
3882  ;
3883  return 0;
3884}
3885_ACEOF
3886  # Make sure it works both with $CC and with simple cc.
3887  # Following AC_PROG_CC_C_O, we do the test twice because some
3888  # compilers refuse to overwrite an existing .o file with -o,
3889  # though they will create one.
3890  am_cv_prog_cc_c_o=yes
3891  for am_i in 1 2; do
3892    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3893   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3894   ac_status=$?
3895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896   (exit $ac_status); } \
3897         && test -f conftest2.$ac_objext; then
3898      : OK
3899    else
3900      am_cv_prog_cc_c_o=no
3901      break
3902    fi
3903  done
3904  rm -f core conftest*
3905  unset am_i
3906fi
3907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3908$as_echo "$am_cv_prog_cc_c_o" >&6; }
3909if test "$am_cv_prog_cc_c_o" != yes; then
3910   # Losing compiler, so override with the script.
3911   # FIXME: It is wrong to rewrite CC.
3912   # But if we don't then we get into trouble of one sort or another.
3913   # A longer-term fix would be to have automake use am__CC in this case,
3914   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3915   CC="$am_aux_dir/compile $CC"
3916fi
3917ac_ext=c
3918ac_cpp='$CPP $CPPFLAGS'
3919ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3920ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3921ac_compiler_gnu=$ac_cv_c_compiler_gnu
3922
3923
3924depcc="$CC"   am_compiler_list=
3925
3926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3927$as_echo_n "checking dependency style of $depcc... " >&6; }
3928if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3929  $as_echo_n "(cached) " >&6
3930else
3931  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3932  # We make a subdir and do the tests there.  Otherwise we can end up
3933  # making bogus files that we don't know about and never remove.  For
3934  # instance it was reported that on HP-UX the gcc test will end up
3935  # making a dummy file named 'D' -- because '-MD' means "put the output
3936  # in D".
3937  rm -rf conftest.dir
3938  mkdir conftest.dir
3939  # Copy depcomp to subdir because otherwise we won't find it if we're
3940  # using a relative directory.
3941  cp "$am_depcomp" conftest.dir
3942  cd conftest.dir
3943  # We will build objects and dependencies in a subdirectory because
3944  # it helps to detect inapplicable dependency modes.  For instance
3945  # both Tru64's cc and ICC support -MD to output dependencies as a
3946  # side effect of compilation, but ICC will put the dependencies in
3947  # the current directory while Tru64 will put them in the object
3948  # directory.
3949  mkdir sub
3950
3951  am_cv_CC_dependencies_compiler_type=none
3952  if test "$am_compiler_list" = ""; then
3953     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3954  fi
3955  am__universal=false
3956  case " $depcc " in #(
3957     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3958     esac
3959
3960  for depmode in $am_compiler_list; do
3961    # Setup a source with many dependencies, because some compilers
3962    # like to wrap large dependency lists on column 80 (with \), and
3963    # we should not choose a depcomp mode which is confused by this.
3964    #
3965    # We need to recreate these files for each test, as the compiler may
3966    # overwrite some of them when testing with obscure command lines.
3967    # This happens at least with the AIX C compiler.
3968    : > sub/conftest.c
3969    for i in 1 2 3 4 5 6; do
3970      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3971      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3972      # Solaris 10 /bin/sh.
3973      echo '/* dummy */' > sub/conftst$i.h
3974    done
3975    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3976
3977    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3978    # mode.  It turns out that the SunPro C++ compiler does not properly
3979    # handle '-M -o', and we need to detect this.  Also, some Intel
3980    # versions had trouble with output in subdirs.
3981    am__obj=sub/conftest.${OBJEXT-o}
3982    am__minus_obj="-o $am__obj"
3983    case $depmode in
3984    gcc)
3985      # This depmode causes a compiler race in universal mode.
3986      test "$am__universal" = false || continue
3987      ;;
3988    nosideeffect)
3989      # After this tag, mechanisms are not by side-effect, so they'll
3990      # only be used when explicitly requested.
3991      if test "x$enable_dependency_tracking" = xyes; then
3992	continue
3993      else
3994	break
3995      fi
3996      ;;
3997    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3998      # This compiler won't grok '-c -o', but also, the minuso test has
3999      # not run yet.  These depmodes are late enough in the game, and
4000      # so weak that their functioning should not be impacted.
4001      am__obj=conftest.${OBJEXT-o}
4002      am__minus_obj=
4003      ;;
4004    none) break ;;
4005    esac
4006    if depmode=$depmode \
4007       source=sub/conftest.c object=$am__obj \
4008       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4009       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4010         >/dev/null 2>conftest.err &&
4011       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4012       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4013       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4014       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4015      # icc doesn't choke on unknown options, it will just issue warnings
4016      # or remarks (even with -Werror).  So we grep stderr for any message
4017      # that says an option was ignored or not supported.
4018      # When given -MP, icc 7.0 and 7.1 complain thusly:
4019      #   icc: Command line warning: ignoring option '-M'; no argument required
4020      # The diagnosis changed in icc 8.0:
4021      #   icc: Command line remark: option '-MP' not supported
4022      if (grep 'ignoring option' conftest.err ||
4023          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4024        am_cv_CC_dependencies_compiler_type=$depmode
4025        break
4026      fi
4027    fi
4028  done
4029
4030  cd ..
4031  rm -rf conftest.dir
4032else
4033  am_cv_CC_dependencies_compiler_type=none
4034fi
4035
4036fi
4037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4038$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4039CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4040
4041 if
4042  test "x$enable_dependency_tracking" != xno \
4043  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4044  am__fastdepCC_TRUE=
4045  am__fastdepCC_FALSE='#'
4046else
4047  am__fastdepCC_TRUE='#'
4048  am__fastdepCC_FALSE=
4049fi
4050
4051
4052
4053ac_ext=c
4054ac_cpp='$CPP $CPPFLAGS'
4055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4057ac_compiler_gnu=$ac_cv_c_compiler_gnu
4058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4059$as_echo_n "checking how to run the C preprocessor... " >&6; }
4060# On Suns, sometimes $CPP names a directory.
4061if test -n "$CPP" && test -d "$CPP"; then
4062  CPP=
4063fi
4064if test -z "$CPP"; then
4065  if ${ac_cv_prog_CPP+:} false; then :
4066  $as_echo_n "(cached) " >&6
4067else
4068      # Double quotes because CPP needs to be expanded
4069    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4070    do
4071      ac_preproc_ok=false
4072for ac_c_preproc_warn_flag in '' yes
4073do
4074  # Use a header file that comes with gcc, so configuring glibc
4075  # with a fresh cross-compiler works.
4076  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4077  # <limits.h> exists even on freestanding compilers.
4078  # On the NeXT, cc -E runs the code through the compiler's parser,
4079  # not just through cpp. "Syntax error" is here to catch this case.
4080  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081/* end confdefs.h.  */
4082#ifdef __STDC__
4083# include <limits.h>
4084#else
4085# include <assert.h>
4086#endif
4087		     Syntax error
4088_ACEOF
4089if ac_fn_c_try_cpp "$LINENO"; then :
4090
4091else
4092  # Broken: fails on valid input.
4093continue
4094fi
4095rm -f conftest.err conftest.i conftest.$ac_ext
4096
4097  # OK, works on sane cases.  Now check whether nonexistent headers
4098  # can be detected and how.
4099  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100/* end confdefs.h.  */
4101#include <ac_nonexistent.h>
4102_ACEOF
4103if ac_fn_c_try_cpp "$LINENO"; then :
4104  # Broken: success on invalid input.
4105continue
4106else
4107  # Passes both tests.
4108ac_preproc_ok=:
4109break
4110fi
4111rm -f conftest.err conftest.i conftest.$ac_ext
4112
4113done
4114# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4115rm -f conftest.i conftest.err conftest.$ac_ext
4116if $ac_preproc_ok; then :
4117  break
4118fi
4119
4120    done
4121    ac_cv_prog_CPP=$CPP
4122
4123fi
4124  CPP=$ac_cv_prog_CPP
4125else
4126  ac_cv_prog_CPP=$CPP
4127fi
4128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4129$as_echo "$CPP" >&6; }
4130ac_preproc_ok=false
4131for ac_c_preproc_warn_flag in '' yes
4132do
4133  # Use a header file that comes with gcc, so configuring glibc
4134  # with a fresh cross-compiler works.
4135  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4136  # <limits.h> exists even on freestanding compilers.
4137  # On the NeXT, cc -E runs the code through the compiler's parser,
4138  # not just through cpp. "Syntax error" is here to catch this case.
4139  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140/* end confdefs.h.  */
4141#ifdef __STDC__
4142# include <limits.h>
4143#else
4144# include <assert.h>
4145#endif
4146		     Syntax error
4147_ACEOF
4148if ac_fn_c_try_cpp "$LINENO"; then :
4149
4150else
4151  # Broken: fails on valid input.
4152continue
4153fi
4154rm -f conftest.err conftest.i conftest.$ac_ext
4155
4156  # OK, works on sane cases.  Now check whether nonexistent headers
4157  # can be detected and how.
4158  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159/* end confdefs.h.  */
4160#include <ac_nonexistent.h>
4161_ACEOF
4162if ac_fn_c_try_cpp "$LINENO"; then :
4163  # Broken: success on invalid input.
4164continue
4165else
4166  # Passes both tests.
4167ac_preproc_ok=:
4168break
4169fi
4170rm -f conftest.err conftest.i conftest.$ac_ext
4171
4172done
4173# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4174rm -f conftest.i conftest.err conftest.$ac_ext
4175if $ac_preproc_ok; then :
4176
4177else
4178  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4179$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4180as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4181See \`config.log' for more details" "$LINENO" 5; }
4182fi
4183
4184ac_ext=c
4185ac_cpp='$CPP $CPPFLAGS'
4186ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4187ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4188ac_compiler_gnu=$ac_cv_c_compiler_gnu
4189
4190
4191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4192$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4193if ${ac_cv_path_GREP+:} false; then :
4194  $as_echo_n "(cached) " >&6
4195else
4196  if test -z "$GREP"; then
4197  ac_path_GREP_found=false
4198  # Loop through the user's path and test for each of PROGNAME-LIST
4199  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4200for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4201do
4202  IFS=$as_save_IFS
4203  test -z "$as_dir" && as_dir=.
4204    for ac_prog in grep ggrep; do
4205    for ac_exec_ext in '' $ac_executable_extensions; do
4206      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4207      as_fn_executable_p "$ac_path_GREP" || continue
4208# Check for GNU ac_path_GREP and select it if it is found.
4209  # Check for GNU $ac_path_GREP
4210case `"$ac_path_GREP" --version 2>&1` in
4211*GNU*)
4212  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4213*)
4214  ac_count=0
4215  $as_echo_n 0123456789 >"conftest.in"
4216  while :
4217  do
4218    cat "conftest.in" "conftest.in" >"conftest.tmp"
4219    mv "conftest.tmp" "conftest.in"
4220    cp "conftest.in" "conftest.nl"
4221    $as_echo 'GREP' >> "conftest.nl"
4222    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4223    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4224    as_fn_arith $ac_count + 1 && ac_count=$as_val
4225    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4226      # Best one so far, save it but keep looking for a better one
4227      ac_cv_path_GREP="$ac_path_GREP"
4228      ac_path_GREP_max=$ac_count
4229    fi
4230    # 10*(2^10) chars as input seems more than enough
4231    test $ac_count -gt 10 && break
4232  done
4233  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4234esac
4235
4236      $ac_path_GREP_found && break 3
4237    done
4238  done
4239  done
4240IFS=$as_save_IFS
4241  if test -z "$ac_cv_path_GREP"; then
4242    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4243  fi
4244else
4245  ac_cv_path_GREP=$GREP
4246fi
4247
4248fi
4249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4250$as_echo "$ac_cv_path_GREP" >&6; }
4251 GREP="$ac_cv_path_GREP"
4252
4253
4254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4255$as_echo_n "checking for egrep... " >&6; }
4256if ${ac_cv_path_EGREP+:} false; then :
4257  $as_echo_n "(cached) " >&6
4258else
4259  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4260   then ac_cv_path_EGREP="$GREP -E"
4261   else
4262     if test -z "$EGREP"; then
4263  ac_path_EGREP_found=false
4264  # Loop through the user's path and test for each of PROGNAME-LIST
4265  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4267do
4268  IFS=$as_save_IFS
4269  test -z "$as_dir" && as_dir=.
4270    for ac_prog in egrep; do
4271    for ac_exec_ext in '' $ac_executable_extensions; do
4272      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4273      as_fn_executable_p "$ac_path_EGREP" || continue
4274# Check for GNU ac_path_EGREP and select it if it is found.
4275  # Check for GNU $ac_path_EGREP
4276case `"$ac_path_EGREP" --version 2>&1` in
4277*GNU*)
4278  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4279*)
4280  ac_count=0
4281  $as_echo_n 0123456789 >"conftest.in"
4282  while :
4283  do
4284    cat "conftest.in" "conftest.in" >"conftest.tmp"
4285    mv "conftest.tmp" "conftest.in"
4286    cp "conftest.in" "conftest.nl"
4287    $as_echo 'EGREP' >> "conftest.nl"
4288    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4289    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4290    as_fn_arith $ac_count + 1 && ac_count=$as_val
4291    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4292      # Best one so far, save it but keep looking for a better one
4293      ac_cv_path_EGREP="$ac_path_EGREP"
4294      ac_path_EGREP_max=$ac_count
4295    fi
4296    # 10*(2^10) chars as input seems more than enough
4297    test $ac_count -gt 10 && break
4298  done
4299  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4300esac
4301
4302      $ac_path_EGREP_found && break 3
4303    done
4304  done
4305  done
4306IFS=$as_save_IFS
4307  if test -z "$ac_cv_path_EGREP"; then
4308    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4309  fi
4310else
4311  ac_cv_path_EGREP=$EGREP
4312fi
4313
4314   fi
4315fi
4316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4317$as_echo "$ac_cv_path_EGREP" >&6; }
4318 EGREP="$ac_cv_path_EGREP"
4319
4320
4321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4322$as_echo_n "checking for ANSI C header files... " >&6; }
4323if ${ac_cv_header_stdc+:} false; then :
4324  $as_echo_n "(cached) " >&6
4325else
4326  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4327/* end confdefs.h.  */
4328#include <stdlib.h>
4329#include <stdarg.h>
4330#include <string.h>
4331#include <float.h>
4332
4333int
4334main ()
4335{
4336
4337  ;
4338  return 0;
4339}
4340_ACEOF
4341if ac_fn_c_try_compile "$LINENO"; then :
4342  ac_cv_header_stdc=yes
4343else
4344  ac_cv_header_stdc=no
4345fi
4346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4347
4348if test $ac_cv_header_stdc = yes; then
4349  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4350  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4351/* end confdefs.h.  */
4352#include <string.h>
4353
4354_ACEOF
4355if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4356  $EGREP "memchr" >/dev/null 2>&1; then :
4357
4358else
4359  ac_cv_header_stdc=no
4360fi
4361rm -f conftest*
4362
4363fi
4364
4365if test $ac_cv_header_stdc = yes; then
4366  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4367  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368/* end confdefs.h.  */
4369#include <stdlib.h>
4370
4371_ACEOF
4372if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4373  $EGREP "free" >/dev/null 2>&1; then :
4374
4375else
4376  ac_cv_header_stdc=no
4377fi
4378rm -f conftest*
4379
4380fi
4381
4382if test $ac_cv_header_stdc = yes; then
4383  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4384  if test "$cross_compiling" = yes; then :
4385  :
4386else
4387  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4388/* end confdefs.h.  */
4389#include <ctype.h>
4390#include <stdlib.h>
4391#if ((' ' & 0x0FF) == 0x020)
4392# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4393# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4394#else
4395# define ISLOWER(c) \
4396		   (('a' <= (c) && (c) <= 'i') \
4397		     || ('j' <= (c) && (c) <= 'r') \
4398		     || ('s' <= (c) && (c) <= 'z'))
4399# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4400#endif
4401
4402#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4403int
4404main ()
4405{
4406  int i;
4407  for (i = 0; i < 256; i++)
4408    if (XOR (islower (i), ISLOWER (i))
4409	|| toupper (i) != TOUPPER (i))
4410      return 2;
4411  return 0;
4412}
4413_ACEOF
4414if ac_fn_c_try_run "$LINENO"; then :
4415
4416else
4417  ac_cv_header_stdc=no
4418fi
4419rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4420  conftest.$ac_objext conftest.beam conftest.$ac_ext
4421fi
4422
4423fi
4424fi
4425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4426$as_echo "$ac_cv_header_stdc" >&6; }
4427if test $ac_cv_header_stdc = yes; then
4428
4429$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4430
4431fi
4432
4433# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4434for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4435		  inttypes.h stdint.h unistd.h
4436do :
4437  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4438ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4439"
4440if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4441  cat >>confdefs.h <<_ACEOF
4442#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4443_ACEOF
4444
4445fi
4446
4447done
4448
4449
4450
4451  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4452if test "x$ac_cv_header_minix_config_h" = xyes; then :
4453  MINIX=yes
4454else
4455  MINIX=
4456fi
4457
4458
4459  if test "$MINIX" = yes; then
4460
4461$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4462
4463
4464$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4465
4466
4467$as_echo "#define _MINIX 1" >>confdefs.h
4468
4469  fi
4470
4471
4472  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4473$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4474if ${ac_cv_safe_to_define___extensions__+:} false; then :
4475  $as_echo_n "(cached) " >&6
4476else
4477  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478/* end confdefs.h.  */
4479
4480#         define __EXTENSIONS__ 1
4481          $ac_includes_default
4482int
4483main ()
4484{
4485
4486  ;
4487  return 0;
4488}
4489_ACEOF
4490if ac_fn_c_try_compile "$LINENO"; then :
4491  ac_cv_safe_to_define___extensions__=yes
4492else
4493  ac_cv_safe_to_define___extensions__=no
4494fi
4495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496fi
4497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4498$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4499  test $ac_cv_safe_to_define___extensions__ = yes &&
4500    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4501
4502  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4503
4504  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4505
4506  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4507
4508  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4509
4510
4511ac_ext=c
4512ac_cpp='$CPP $CPPFLAGS'
4513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4515ac_compiler_gnu=$ac_cv_c_compiler_gnu
4516if test -n "$ac_tool_prefix"; then
4517  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4518set dummy ${ac_tool_prefix}gcc; ac_word=$2
4519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4520$as_echo_n "checking for $ac_word... " >&6; }
4521if ${ac_cv_prog_CC+:} false; then :
4522  $as_echo_n "(cached) " >&6
4523else
4524  if test -n "$CC"; then
4525  ac_cv_prog_CC="$CC" # Let the user override the test.
4526else
4527as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528for as_dir in $PATH
4529do
4530  IFS=$as_save_IFS
4531  test -z "$as_dir" && as_dir=.
4532    for ac_exec_ext in '' $ac_executable_extensions; do
4533  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4535    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4536    break 2
4537  fi
4538done
4539  done
4540IFS=$as_save_IFS
4541
4542fi
4543fi
4544CC=$ac_cv_prog_CC
4545if test -n "$CC"; then
4546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4547$as_echo "$CC" >&6; }
4548else
4549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550$as_echo "no" >&6; }
4551fi
4552
4553
4554fi
4555if test -z "$ac_cv_prog_CC"; then
4556  ac_ct_CC=$CC
4557  # Extract the first word of "gcc", so it can be a program name with args.
4558set dummy gcc; ac_word=$2
4559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4560$as_echo_n "checking for $ac_word... " >&6; }
4561if ${ac_cv_prog_ac_ct_CC+:} false; then :
4562  $as_echo_n "(cached) " >&6
4563else
4564  if test -n "$ac_ct_CC"; then
4565  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4566else
4567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568for as_dir in $PATH
4569do
4570  IFS=$as_save_IFS
4571  test -z "$as_dir" && as_dir=.
4572    for ac_exec_ext in '' $ac_executable_extensions; do
4573  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4574    ac_cv_prog_ac_ct_CC="gcc"
4575    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4576    break 2
4577  fi
4578done
4579  done
4580IFS=$as_save_IFS
4581
4582fi
4583fi
4584ac_ct_CC=$ac_cv_prog_ac_ct_CC
4585if test -n "$ac_ct_CC"; then
4586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4587$as_echo "$ac_ct_CC" >&6; }
4588else
4589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4590$as_echo "no" >&6; }
4591fi
4592
4593  if test "x$ac_ct_CC" = x; then
4594    CC=""
4595  else
4596    case $cross_compiling:$ac_tool_warned in
4597yes:)
4598{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4599$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4600ac_tool_warned=yes ;;
4601esac
4602    CC=$ac_ct_CC
4603  fi
4604else
4605  CC="$ac_cv_prog_CC"
4606fi
4607
4608if test -z "$CC"; then
4609          if test -n "$ac_tool_prefix"; then
4610    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4611set dummy ${ac_tool_prefix}cc; ac_word=$2
4612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4613$as_echo_n "checking for $ac_word... " >&6; }
4614if ${ac_cv_prog_CC+:} false; then :
4615  $as_echo_n "(cached) " >&6
4616else
4617  if test -n "$CC"; then
4618  ac_cv_prog_CC="$CC" # Let the user override the test.
4619else
4620as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621for as_dir in $PATH
4622do
4623  IFS=$as_save_IFS
4624  test -z "$as_dir" && as_dir=.
4625    for ac_exec_ext in '' $ac_executable_extensions; do
4626  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4627    ac_cv_prog_CC="${ac_tool_prefix}cc"
4628    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4629    break 2
4630  fi
4631done
4632  done
4633IFS=$as_save_IFS
4634
4635fi
4636fi
4637CC=$ac_cv_prog_CC
4638if test -n "$CC"; then
4639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4640$as_echo "$CC" >&6; }
4641else
4642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643$as_echo "no" >&6; }
4644fi
4645
4646
4647  fi
4648fi
4649if test -z "$CC"; then
4650  # Extract the first word of "cc", so it can be a program name with args.
4651set dummy cc; ac_word=$2
4652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653$as_echo_n "checking for $ac_word... " >&6; }
4654if ${ac_cv_prog_CC+:} false; then :
4655  $as_echo_n "(cached) " >&6
4656else
4657  if test -n "$CC"; then
4658  ac_cv_prog_CC="$CC" # Let the user override the test.
4659else
4660  ac_prog_rejected=no
4661as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662for as_dir in $PATH
4663do
4664  IFS=$as_save_IFS
4665  test -z "$as_dir" && as_dir=.
4666    for ac_exec_ext in '' $ac_executable_extensions; do
4667  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4668    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4669       ac_prog_rejected=yes
4670       continue
4671     fi
4672    ac_cv_prog_CC="cc"
4673    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4674    break 2
4675  fi
4676done
4677  done
4678IFS=$as_save_IFS
4679
4680if test $ac_prog_rejected = yes; then
4681  # We found a bogon in the path, so make sure we never use it.
4682  set dummy $ac_cv_prog_CC
4683  shift
4684  if test $# != 0; then
4685    # We chose a different compiler from the bogus one.
4686    # However, it has the same basename, so the bogon will be chosen
4687    # first if we set CC to just the basename; use the full file name.
4688    shift
4689    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4690  fi
4691fi
4692fi
4693fi
4694CC=$ac_cv_prog_CC
4695if test -n "$CC"; then
4696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4697$as_echo "$CC" >&6; }
4698else
4699  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700$as_echo "no" >&6; }
4701fi
4702
4703
4704fi
4705if test -z "$CC"; then
4706  if test -n "$ac_tool_prefix"; then
4707  for ac_prog in cl.exe
4708  do
4709    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4710set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712$as_echo_n "checking for $ac_word... " >&6; }
4713if ${ac_cv_prog_CC+:} false; then :
4714  $as_echo_n "(cached) " >&6
4715else
4716  if test -n "$CC"; then
4717  ac_cv_prog_CC="$CC" # Let the user override the test.
4718else
4719as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720for as_dir in $PATH
4721do
4722  IFS=$as_save_IFS
4723  test -z "$as_dir" && as_dir=.
4724    for ac_exec_ext in '' $ac_executable_extensions; do
4725  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4726    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4727    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4728    break 2
4729  fi
4730done
4731  done
4732IFS=$as_save_IFS
4733
4734fi
4735fi
4736CC=$ac_cv_prog_CC
4737if test -n "$CC"; then
4738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4739$as_echo "$CC" >&6; }
4740else
4741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742$as_echo "no" >&6; }
4743fi
4744
4745
4746    test -n "$CC" && break
4747  done
4748fi
4749if test -z "$CC"; then
4750  ac_ct_CC=$CC
4751  for ac_prog in cl.exe
4752do
4753  # Extract the first word of "$ac_prog", so it can be a program name with args.
4754set dummy $ac_prog; ac_word=$2
4755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756$as_echo_n "checking for $ac_word... " >&6; }
4757if ${ac_cv_prog_ac_ct_CC+:} false; then :
4758  $as_echo_n "(cached) " >&6
4759else
4760  if test -n "$ac_ct_CC"; then
4761  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4762else
4763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764for as_dir in $PATH
4765do
4766  IFS=$as_save_IFS
4767  test -z "$as_dir" && as_dir=.
4768    for ac_exec_ext in '' $ac_executable_extensions; do
4769  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4770    ac_cv_prog_ac_ct_CC="$ac_prog"
4771    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4772    break 2
4773  fi
4774done
4775  done
4776IFS=$as_save_IFS
4777
4778fi
4779fi
4780ac_ct_CC=$ac_cv_prog_ac_ct_CC
4781if test -n "$ac_ct_CC"; then
4782  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4783$as_echo "$ac_ct_CC" >&6; }
4784else
4785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786$as_echo "no" >&6; }
4787fi
4788
4789
4790  test -n "$ac_ct_CC" && break
4791done
4792
4793  if test "x$ac_ct_CC" = x; then
4794    CC=""
4795  else
4796    case $cross_compiling:$ac_tool_warned in
4797yes:)
4798{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4799$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4800ac_tool_warned=yes ;;
4801esac
4802    CC=$ac_ct_CC
4803  fi
4804fi
4805
4806fi
4807
4808
4809test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4810$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4811as_fn_error $? "no acceptable C compiler found in \$PATH
4812See \`config.log' for more details" "$LINENO" 5; }
4813
4814# Provide some information about the compiler.
4815$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4816set X $ac_compile
4817ac_compiler=$2
4818for ac_option in --version -v -V -qversion; do
4819  { { ac_try="$ac_compiler $ac_option >&5"
4820case "(($ac_try" in
4821  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822  *) ac_try_echo=$ac_try;;
4823esac
4824eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4825$as_echo "$ac_try_echo"; } >&5
4826  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4827  ac_status=$?
4828  if test -s conftest.err; then
4829    sed '10a\
4830... rest of stderr output deleted ...
4831         10q' conftest.err >conftest.er1
4832    cat conftest.er1 >&5
4833  fi
4834  rm -f conftest.er1 conftest.err
4835  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4836  test $ac_status = 0; }
4837done
4838
4839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4840$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4841if ${ac_cv_c_compiler_gnu+:} false; then :
4842  $as_echo_n "(cached) " >&6
4843else
4844  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4845/* end confdefs.h.  */
4846
4847int
4848main ()
4849{
4850#ifndef __GNUC__
4851       choke me
4852#endif
4853
4854  ;
4855  return 0;
4856}
4857_ACEOF
4858if ac_fn_c_try_compile "$LINENO"; then :
4859  ac_compiler_gnu=yes
4860else
4861  ac_compiler_gnu=no
4862fi
4863rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4864ac_cv_c_compiler_gnu=$ac_compiler_gnu
4865
4866fi
4867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4868$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4869if test $ac_compiler_gnu = yes; then
4870  GCC=yes
4871else
4872  GCC=
4873fi
4874ac_test_CFLAGS=${CFLAGS+set}
4875ac_save_CFLAGS=$CFLAGS
4876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4877$as_echo_n "checking whether $CC accepts -g... " >&6; }
4878if ${ac_cv_prog_cc_g+:} false; then :
4879  $as_echo_n "(cached) " >&6
4880else
4881  ac_save_c_werror_flag=$ac_c_werror_flag
4882   ac_c_werror_flag=yes
4883   ac_cv_prog_cc_g=no
4884   CFLAGS="-g"
4885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886/* end confdefs.h.  */
4887
4888int
4889main ()
4890{
4891
4892  ;
4893  return 0;
4894}
4895_ACEOF
4896if ac_fn_c_try_compile "$LINENO"; then :
4897  ac_cv_prog_cc_g=yes
4898else
4899  CFLAGS=""
4900      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4901/* end confdefs.h.  */
4902
4903int
4904main ()
4905{
4906
4907  ;
4908  return 0;
4909}
4910_ACEOF
4911if ac_fn_c_try_compile "$LINENO"; then :
4912
4913else
4914  ac_c_werror_flag=$ac_save_c_werror_flag
4915	 CFLAGS="-g"
4916	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4917/* end confdefs.h.  */
4918
4919int
4920main ()
4921{
4922
4923  ;
4924  return 0;
4925}
4926_ACEOF
4927if ac_fn_c_try_compile "$LINENO"; then :
4928  ac_cv_prog_cc_g=yes
4929fi
4930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4931fi
4932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4933fi
4934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4935   ac_c_werror_flag=$ac_save_c_werror_flag
4936fi
4937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4938$as_echo "$ac_cv_prog_cc_g" >&6; }
4939if test "$ac_test_CFLAGS" = set; then
4940  CFLAGS=$ac_save_CFLAGS
4941elif test $ac_cv_prog_cc_g = yes; then
4942  if test "$GCC" = yes; then
4943    CFLAGS="-g -O2"
4944  else
4945    CFLAGS="-g"
4946  fi
4947else
4948  if test "$GCC" = yes; then
4949    CFLAGS="-O2"
4950  else
4951    CFLAGS=
4952  fi
4953fi
4954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4955$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4956if ${ac_cv_prog_cc_c89+:} false; then :
4957  $as_echo_n "(cached) " >&6
4958else
4959  ac_cv_prog_cc_c89=no
4960ac_save_CC=$CC
4961cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4962/* end confdefs.h.  */
4963#include <stdarg.h>
4964#include <stdio.h>
4965struct stat;
4966/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4967struct buf { int x; };
4968FILE * (*rcsopen) (struct buf *, struct stat *, int);
4969static char *e (p, i)
4970     char **p;
4971     int i;
4972{
4973  return p[i];
4974}
4975static char *f (char * (*g) (char **, int), char **p, ...)
4976{
4977  char *s;
4978  va_list v;
4979  va_start (v,p);
4980  s = g (p, va_arg (v,int));
4981  va_end (v);
4982  return s;
4983}
4984
4985/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4986   function prototypes and stuff, but not '\xHH' hex character constants.
4987   These don't provoke an error unfortunately, instead are silently treated
4988   as 'x'.  The following induces an error, until -std is added to get
4989   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4990   array size at least.  It's necessary to write '\x00'==0 to get something
4991   that's true only with -std.  */
4992int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4993
4994/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4995   inside strings and character constants.  */
4996#define FOO(x) 'x'
4997int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4998
4999int test (int i, double x);
5000struct s1 {int (*f) (int a);};
5001struct s2 {int (*f) (double a);};
5002int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5003int argc;
5004char **argv;
5005int
5006main ()
5007{
5008return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5009  ;
5010  return 0;
5011}
5012_ACEOF
5013for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5014	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5015do
5016  CC="$ac_save_CC $ac_arg"
5017  if ac_fn_c_try_compile "$LINENO"; then :
5018  ac_cv_prog_cc_c89=$ac_arg
5019fi
5020rm -f core conftest.err conftest.$ac_objext
5021  test "x$ac_cv_prog_cc_c89" != "xno" && break
5022done
5023rm -f conftest.$ac_ext
5024CC=$ac_save_CC
5025
5026fi
5027# AC_CACHE_VAL
5028case "x$ac_cv_prog_cc_c89" in
5029  x)
5030    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5031$as_echo "none needed" >&6; } ;;
5032  xno)
5033    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5034$as_echo "unsupported" >&6; } ;;
5035  *)
5036    CC="$CC $ac_cv_prog_cc_c89"
5037    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5038$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5039esac
5040if test "x$ac_cv_prog_cc_c89" != xno; then :
5041
5042fi
5043
5044ac_ext=c
5045ac_cpp='$CPP $CPPFLAGS'
5046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5048ac_compiler_gnu=$ac_cv_c_compiler_gnu
5049
5050ac_ext=c
5051ac_cpp='$CPP $CPPFLAGS'
5052ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5053ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5054ac_compiler_gnu=$ac_cv_c_compiler_gnu
5055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5056$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5057if ${am_cv_prog_cc_c_o+:} false; then :
5058  $as_echo_n "(cached) " >&6
5059else
5060  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061/* end confdefs.h.  */
5062
5063int
5064main ()
5065{
5066
5067  ;
5068  return 0;
5069}
5070_ACEOF
5071  # Make sure it works both with $CC and with simple cc.
5072  # Following AC_PROG_CC_C_O, we do the test twice because some
5073  # compilers refuse to overwrite an existing .o file with -o,
5074  # though they will create one.
5075  am_cv_prog_cc_c_o=yes
5076  for am_i in 1 2; do
5077    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5078   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5079   ac_status=$?
5080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081   (exit $ac_status); } \
5082         && test -f conftest2.$ac_objext; then
5083      : OK
5084    else
5085      am_cv_prog_cc_c_o=no
5086      break
5087    fi
5088  done
5089  rm -f core conftest*
5090  unset am_i
5091fi
5092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5093$as_echo "$am_cv_prog_cc_c_o" >&6; }
5094if test "$am_cv_prog_cc_c_o" != yes; then
5095   # Losing compiler, so override with the script.
5096   # FIXME: It is wrong to rewrite CC.
5097   # But if we don't then we get into trouble of one sort or another.
5098   # A longer-term fix would be to have automake use am__CC in this case,
5099   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5100   CC="$am_aux_dir/compile $CC"
5101fi
5102ac_ext=c
5103ac_cpp='$CPP $CPPFLAGS'
5104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5106ac_compiler_gnu=$ac_cv_c_compiler_gnu
5107
5108
5109depcc="$CC"   am_compiler_list=
5110
5111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5112$as_echo_n "checking dependency style of $depcc... " >&6; }
5113if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5114  $as_echo_n "(cached) " >&6
5115else
5116  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5117  # We make a subdir and do the tests there.  Otherwise we can end up
5118  # making bogus files that we don't know about and never remove.  For
5119  # instance it was reported that on HP-UX the gcc test will end up
5120  # making a dummy file named 'D' -- because '-MD' means "put the output
5121  # in D".
5122  rm -rf conftest.dir
5123  mkdir conftest.dir
5124  # Copy depcomp to subdir because otherwise we won't find it if we're
5125  # using a relative directory.
5126  cp "$am_depcomp" conftest.dir
5127  cd conftest.dir
5128  # We will build objects and dependencies in a subdirectory because
5129  # it helps to detect inapplicable dependency modes.  For instance
5130  # both Tru64's cc and ICC support -MD to output dependencies as a
5131  # side effect of compilation, but ICC will put the dependencies in
5132  # the current directory while Tru64 will put them in the object
5133  # directory.
5134  mkdir sub
5135
5136  am_cv_CC_dependencies_compiler_type=none
5137  if test "$am_compiler_list" = ""; then
5138     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5139  fi
5140  am__universal=false
5141  case " $depcc " in #(
5142     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5143     esac
5144
5145  for depmode in $am_compiler_list; do
5146    # Setup a source with many dependencies, because some compilers
5147    # like to wrap large dependency lists on column 80 (with \), and
5148    # we should not choose a depcomp mode which is confused by this.
5149    #
5150    # We need to recreate these files for each test, as the compiler may
5151    # overwrite some of them when testing with obscure command lines.
5152    # This happens at least with the AIX C compiler.
5153    : > sub/conftest.c
5154    for i in 1 2 3 4 5 6; do
5155      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5156      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5157      # Solaris 10 /bin/sh.
5158      echo '/* dummy */' > sub/conftst$i.h
5159    done
5160    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5161
5162    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5163    # mode.  It turns out that the SunPro C++ compiler does not properly
5164    # handle '-M -o', and we need to detect this.  Also, some Intel
5165    # versions had trouble with output in subdirs.
5166    am__obj=sub/conftest.${OBJEXT-o}
5167    am__minus_obj="-o $am__obj"
5168    case $depmode in
5169    gcc)
5170      # This depmode causes a compiler race in universal mode.
5171      test "$am__universal" = false || continue
5172      ;;
5173    nosideeffect)
5174      # After this tag, mechanisms are not by side-effect, so they'll
5175      # only be used when explicitly requested.
5176      if test "x$enable_dependency_tracking" = xyes; then
5177	continue
5178      else
5179	break
5180      fi
5181      ;;
5182    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5183      # This compiler won't grok '-c -o', but also, the minuso test has
5184      # not run yet.  These depmodes are late enough in the game, and
5185      # so weak that their functioning should not be impacted.
5186      am__obj=conftest.${OBJEXT-o}
5187      am__minus_obj=
5188      ;;
5189    none) break ;;
5190    esac
5191    if depmode=$depmode \
5192       source=sub/conftest.c object=$am__obj \
5193       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5194       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5195         >/dev/null 2>conftest.err &&
5196       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5197       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5198       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5199       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5200      # icc doesn't choke on unknown options, it will just issue warnings
5201      # or remarks (even with -Werror).  So we grep stderr for any message
5202      # that says an option was ignored or not supported.
5203      # When given -MP, icc 7.0 and 7.1 complain thusly:
5204      #   icc: Command line warning: ignoring option '-M'; no argument required
5205      # The diagnosis changed in icc 8.0:
5206      #   icc: Command line remark: option '-MP' not supported
5207      if (grep 'ignoring option' conftest.err ||
5208          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5209        am_cv_CC_dependencies_compiler_type=$depmode
5210        break
5211      fi
5212    fi
5213  done
5214
5215  cd ..
5216  rm -rf conftest.dir
5217else
5218  am_cv_CC_dependencies_compiler_type=none
5219fi
5220
5221fi
5222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5223$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5224CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5225
5226 if
5227  test "x$enable_dependency_tracking" != xno \
5228  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5229  am__fastdepCC_TRUE=
5230  am__fastdepCC_FALSE='#'
5231else
5232  am__fastdepCC_TRUE='#'
5233  am__fastdepCC_FALSE=
5234fi
5235
5236
5237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5238$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5239if ${ac_cv_prog_cc_c99+:} false; then :
5240  $as_echo_n "(cached) " >&6
5241else
5242  ac_cv_prog_cc_c99=no
5243ac_save_CC=$CC
5244cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245/* end confdefs.h.  */
5246#include <stdarg.h>
5247#include <stdbool.h>
5248#include <stdlib.h>
5249#include <wchar.h>
5250#include <stdio.h>
5251
5252// Check varargs macros.  These examples are taken from C99 6.10.3.5.
5253#define debug(...) fprintf (stderr, __VA_ARGS__)
5254#define showlist(...) puts (#__VA_ARGS__)
5255#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5256static void
5257test_varargs_macros (void)
5258{
5259  int x = 1234;
5260  int y = 5678;
5261  debug ("Flag");
5262  debug ("X = %d\n", x);
5263  showlist (The first, second, and third items.);
5264  report (x>y, "x is %d but y is %d", x, y);
5265}
5266
5267// Check long long types.
5268#define BIG64 18446744073709551615ull
5269#define BIG32 4294967295ul
5270#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5271#if !BIG_OK
5272  your preprocessor is broken;
5273#endif
5274#if BIG_OK
5275#else
5276  your preprocessor is broken;
5277#endif
5278static long long int bignum = -9223372036854775807LL;
5279static unsigned long long int ubignum = BIG64;
5280
5281struct incomplete_array
5282{
5283  int datasize;
5284  double data[];
5285};
5286
5287struct named_init {
5288  int number;
5289  const wchar_t *name;
5290  double average;
5291};
5292
5293typedef const char *ccp;
5294
5295static inline int
5296test_restrict (ccp restrict text)
5297{
5298  // See if C++-style comments work.
5299  // Iterate through items via the restricted pointer.
5300  // Also check for declarations in for loops.
5301  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5302    continue;
5303  return 0;
5304}
5305
5306// Check varargs and va_copy.
5307static void
5308test_varargs (const char *format, ...)
5309{
5310  va_list args;
5311  va_start (args, format);
5312  va_list args_copy;
5313  va_copy (args_copy, args);
5314
5315  const char *str;
5316  int number;
5317  float fnumber;
5318
5319  while (*format)
5320    {
5321      switch (*format++)
5322	{
5323	case 's': // string
5324	  str = va_arg (args_copy, const char *);
5325	  break;
5326	case 'd': // int
5327	  number = va_arg (args_copy, int);
5328	  break;
5329	case 'f': // float
5330	  fnumber = va_arg (args_copy, double);
5331	  break;
5332	default:
5333	  break;
5334	}
5335    }
5336  va_end (args_copy);
5337  va_end (args);
5338}
5339
5340int
5341main ()
5342{
5343
5344  // Check bool.
5345  _Bool success = false;
5346
5347  // Check restrict.
5348  if (test_restrict ("String literal") == 0)
5349    success = true;
5350  char *restrict newvar = "Another string";
5351
5352  // Check varargs.
5353  test_varargs ("s, d' f .", "string", 65, 34.234);
5354  test_varargs_macros ();
5355
5356  // Check flexible array members.
5357  struct incomplete_array *ia =
5358    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5359  ia->datasize = 10;
5360  for (int i = 0; i < ia->datasize; ++i)
5361    ia->data[i] = i * 1.234;
5362
5363  // Check named initializers.
5364  struct named_init ni = {
5365    .number = 34,
5366    .name = L"Test wide string",
5367    .average = 543.34343,
5368  };
5369
5370  ni.number = 58;
5371
5372  int dynamic_array[ni.number];
5373  dynamic_array[ni.number - 1] = 543;
5374
5375  // work around unused variable warnings
5376  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5377	  || dynamic_array[ni.number - 1] != 543);
5378
5379  ;
5380  return 0;
5381}
5382_ACEOF
5383for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5384do
5385  CC="$ac_save_CC $ac_arg"
5386  if ac_fn_c_try_compile "$LINENO"; then :
5387  ac_cv_prog_cc_c99=$ac_arg
5388fi
5389rm -f core conftest.err conftest.$ac_objext
5390  test "x$ac_cv_prog_cc_c99" != "xno" && break
5391done
5392rm -f conftest.$ac_ext
5393CC=$ac_save_CC
5394
5395fi
5396# AC_CACHE_VAL
5397case "x$ac_cv_prog_cc_c99" in
5398  x)
5399    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5400$as_echo "none needed" >&6; } ;;
5401  xno)
5402    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5403$as_echo "unsupported" >&6; } ;;
5404  *)
5405    CC="$CC $ac_cv_prog_cc_c99"
5406    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5407$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5408esac
5409if test "x$ac_cv_prog_cc_c99" != xno; then :
5410
5411fi
5412
5413
5414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
5415$as_echo_n "checking for library containing strerror... " >&6; }
5416if ${ac_cv_search_strerror+:} false; then :
5417  $as_echo_n "(cached) " >&6
5418else
5419  ac_func_search_save_LIBS=$LIBS
5420cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421/* end confdefs.h.  */
5422
5423/* Override any GCC internal prototype to avoid an error.
5424   Use char because int might match the return type of a GCC
5425   builtin and then its argument prototype would still apply.  */
5426#ifdef __cplusplus
5427extern "C"
5428#endif
5429char strerror ();
5430int
5431main ()
5432{
5433return strerror ();
5434  ;
5435  return 0;
5436}
5437_ACEOF
5438for ac_lib in '' cposix; do
5439  if test -z "$ac_lib"; then
5440    ac_res="none required"
5441  else
5442    ac_res=-l$ac_lib
5443    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5444  fi
5445  if ac_fn_c_try_link "$LINENO"; then :
5446  ac_cv_search_strerror=$ac_res
5447fi
5448rm -f core conftest.err conftest.$ac_objext \
5449    conftest$ac_exeext
5450  if ${ac_cv_search_strerror+:} false; then :
5451  break
5452fi
5453done
5454if ${ac_cv_search_strerror+:} false; then :
5455
5456else
5457  ac_cv_search_strerror=no
5458fi
5459rm conftest.$ac_ext
5460LIBS=$ac_func_search_save_LIBS
5461fi
5462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
5463$as_echo "$ac_cv_search_strerror" >&6; }
5464ac_res=$ac_cv_search_strerror
5465if test "$ac_res" != no; then :
5466  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5467
5468fi
5469
5470for ac_prog in gawk mawk nawk awk
5471do
5472  # Extract the first word of "$ac_prog", so it can be a program name with args.
5473set dummy $ac_prog; ac_word=$2
5474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475$as_echo_n "checking for $ac_word... " >&6; }
5476if ${ac_cv_prog_AWK+:} false; then :
5477  $as_echo_n "(cached) " >&6
5478else
5479  if test -n "$AWK"; then
5480  ac_cv_prog_AWK="$AWK" # Let the user override the test.
5481else
5482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483for as_dir in $PATH
5484do
5485  IFS=$as_save_IFS
5486  test -z "$as_dir" && as_dir=.
5487    for ac_exec_ext in '' $ac_executable_extensions; do
5488  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5489    ac_cv_prog_AWK="$ac_prog"
5490    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491    break 2
5492  fi
5493done
5494  done
5495IFS=$as_save_IFS
5496
5497fi
5498fi
5499AWK=$ac_cv_prog_AWK
5500if test -n "$AWK"; then
5501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5502$as_echo "$AWK" >&6; }
5503else
5504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505$as_echo "no" >&6; }
5506fi
5507
5508
5509  test -n "$AWK" && break
5510done
5511
5512ac_ext=cpp
5513ac_cpp='$CXXCPP $CPPFLAGS'
5514ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5515ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5516ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5517if test -z "$CXX"; then
5518  if test -n "$CCC"; then
5519    CXX=$CCC
5520  else
5521    if test -n "$ac_tool_prefix"; then
5522  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5523  do
5524    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5525set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5527$as_echo_n "checking for $ac_word... " >&6; }
5528if ${ac_cv_prog_CXX+:} false; then :
5529  $as_echo_n "(cached) " >&6
5530else
5531  if test -n "$CXX"; then
5532  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5533else
5534as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5535for as_dir in $PATH
5536do
5537  IFS=$as_save_IFS
5538  test -z "$as_dir" && as_dir=.
5539    for ac_exec_ext in '' $ac_executable_extensions; do
5540  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5541    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5542    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5543    break 2
5544  fi
5545done
5546  done
5547IFS=$as_save_IFS
5548
5549fi
5550fi
5551CXX=$ac_cv_prog_CXX
5552if test -n "$CXX"; then
5553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5554$as_echo "$CXX" >&6; }
5555else
5556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5557$as_echo "no" >&6; }
5558fi
5559
5560
5561    test -n "$CXX" && break
5562  done
5563fi
5564if test -z "$CXX"; then
5565  ac_ct_CXX=$CXX
5566  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5567do
5568  # Extract the first word of "$ac_prog", so it can be a program name with args.
5569set dummy $ac_prog; ac_word=$2
5570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571$as_echo_n "checking for $ac_word... " >&6; }
5572if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5573  $as_echo_n "(cached) " >&6
5574else
5575  if test -n "$ac_ct_CXX"; then
5576  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5577else
5578as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579for as_dir in $PATH
5580do
5581  IFS=$as_save_IFS
5582  test -z "$as_dir" && as_dir=.
5583    for ac_exec_ext in '' $ac_executable_extensions; do
5584  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5585    ac_cv_prog_ac_ct_CXX="$ac_prog"
5586    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587    break 2
5588  fi
5589done
5590  done
5591IFS=$as_save_IFS
5592
5593fi
5594fi
5595ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5596if test -n "$ac_ct_CXX"; then
5597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5598$as_echo "$ac_ct_CXX" >&6; }
5599else
5600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601$as_echo "no" >&6; }
5602fi
5603
5604
5605  test -n "$ac_ct_CXX" && break
5606done
5607
5608  if test "x$ac_ct_CXX" = x; then
5609    CXX="g++"
5610  else
5611    case $cross_compiling:$ac_tool_warned in
5612yes:)
5613{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5614$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5615ac_tool_warned=yes ;;
5616esac
5617    CXX=$ac_ct_CXX
5618  fi
5619fi
5620
5621  fi
5622fi
5623# Provide some information about the compiler.
5624$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5625set X $ac_compile
5626ac_compiler=$2
5627for ac_option in --version -v -V -qversion; do
5628  { { ac_try="$ac_compiler $ac_option >&5"
5629case "(($ac_try" in
5630  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5631  *) ac_try_echo=$ac_try;;
5632esac
5633eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5634$as_echo "$ac_try_echo"; } >&5
5635  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5636  ac_status=$?
5637  if test -s conftest.err; then
5638    sed '10a\
5639... rest of stderr output deleted ...
5640         10q' conftest.err >conftest.er1
5641    cat conftest.er1 >&5
5642  fi
5643  rm -f conftest.er1 conftest.err
5644  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5645  test $ac_status = 0; }
5646done
5647
5648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5649$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5650if ${ac_cv_cxx_compiler_gnu+:} false; then :
5651  $as_echo_n "(cached) " >&6
5652else
5653  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5654/* end confdefs.h.  */
5655
5656int
5657main ()
5658{
5659#ifndef __GNUC__
5660       choke me
5661#endif
5662
5663  ;
5664  return 0;
5665}
5666_ACEOF
5667if ac_fn_cxx_try_compile "$LINENO"; then :
5668  ac_compiler_gnu=yes
5669else
5670  ac_compiler_gnu=no
5671fi
5672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5673ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5674
5675fi
5676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5677$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5678if test $ac_compiler_gnu = yes; then
5679  GXX=yes
5680else
5681  GXX=
5682fi
5683ac_test_CXXFLAGS=${CXXFLAGS+set}
5684ac_save_CXXFLAGS=$CXXFLAGS
5685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5686$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5687if ${ac_cv_prog_cxx_g+:} false; then :
5688  $as_echo_n "(cached) " >&6
5689else
5690  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5691   ac_cxx_werror_flag=yes
5692   ac_cv_prog_cxx_g=no
5693   CXXFLAGS="-g"
5694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5695/* end confdefs.h.  */
5696
5697int
5698main ()
5699{
5700
5701  ;
5702  return 0;
5703}
5704_ACEOF
5705if ac_fn_cxx_try_compile "$LINENO"; then :
5706  ac_cv_prog_cxx_g=yes
5707else
5708  CXXFLAGS=""
5709      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5710/* end confdefs.h.  */
5711
5712int
5713main ()
5714{
5715
5716  ;
5717  return 0;
5718}
5719_ACEOF
5720if ac_fn_cxx_try_compile "$LINENO"; then :
5721
5722else
5723  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5724	 CXXFLAGS="-g"
5725	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5726/* end confdefs.h.  */
5727
5728int
5729main ()
5730{
5731
5732  ;
5733  return 0;
5734}
5735_ACEOF
5736if ac_fn_cxx_try_compile "$LINENO"; then :
5737  ac_cv_prog_cxx_g=yes
5738fi
5739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5740fi
5741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5742fi
5743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5744   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5745fi
5746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5747$as_echo "$ac_cv_prog_cxx_g" >&6; }
5748if test "$ac_test_CXXFLAGS" = set; then
5749  CXXFLAGS=$ac_save_CXXFLAGS
5750elif test $ac_cv_prog_cxx_g = yes; then
5751  if test "$GXX" = yes; then
5752    CXXFLAGS="-g -O2"
5753  else
5754    CXXFLAGS="-g"
5755  fi
5756else
5757  if test "$GXX" = yes; then
5758    CXXFLAGS="-O2"
5759  else
5760    CXXFLAGS=
5761  fi
5762fi
5763ac_ext=c
5764ac_cpp='$CPP $CPPFLAGS'
5765ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5766ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5767ac_compiler_gnu=$ac_cv_c_compiler_gnu
5768
5769depcc="$CXX"  am_compiler_list=
5770
5771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5772$as_echo_n "checking dependency style of $depcc... " >&6; }
5773if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5774  $as_echo_n "(cached) " >&6
5775else
5776  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5777  # We make a subdir and do the tests there.  Otherwise we can end up
5778  # making bogus files that we don't know about and never remove.  For
5779  # instance it was reported that on HP-UX the gcc test will end up
5780  # making a dummy file named 'D' -- because '-MD' means "put the output
5781  # in D".
5782  rm -rf conftest.dir
5783  mkdir conftest.dir
5784  # Copy depcomp to subdir because otherwise we won't find it if we're
5785  # using a relative directory.
5786  cp "$am_depcomp" conftest.dir
5787  cd conftest.dir
5788  # We will build objects and dependencies in a subdirectory because
5789  # it helps to detect inapplicable dependency modes.  For instance
5790  # both Tru64's cc and ICC support -MD to output dependencies as a
5791  # side effect of compilation, but ICC will put the dependencies in
5792  # the current directory while Tru64 will put them in the object
5793  # directory.
5794  mkdir sub
5795
5796  am_cv_CXX_dependencies_compiler_type=none
5797  if test "$am_compiler_list" = ""; then
5798     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5799  fi
5800  am__universal=false
5801  case " $depcc " in #(
5802     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5803     esac
5804
5805  for depmode in $am_compiler_list; do
5806    # Setup a source with many dependencies, because some compilers
5807    # like to wrap large dependency lists on column 80 (with \), and
5808    # we should not choose a depcomp mode which is confused by this.
5809    #
5810    # We need to recreate these files for each test, as the compiler may
5811    # overwrite some of them when testing with obscure command lines.
5812    # This happens at least with the AIX C compiler.
5813    : > sub/conftest.c
5814    for i in 1 2 3 4 5 6; do
5815      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5816      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5817      # Solaris 10 /bin/sh.
5818      echo '/* dummy */' > sub/conftst$i.h
5819    done
5820    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5821
5822    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5823    # mode.  It turns out that the SunPro C++ compiler does not properly
5824    # handle '-M -o', and we need to detect this.  Also, some Intel
5825    # versions had trouble with output in subdirs.
5826    am__obj=sub/conftest.${OBJEXT-o}
5827    am__minus_obj="-o $am__obj"
5828    case $depmode in
5829    gcc)
5830      # This depmode causes a compiler race in universal mode.
5831      test "$am__universal" = false || continue
5832      ;;
5833    nosideeffect)
5834      # After this tag, mechanisms are not by side-effect, so they'll
5835      # only be used when explicitly requested.
5836      if test "x$enable_dependency_tracking" = xyes; then
5837	continue
5838      else
5839	break
5840      fi
5841      ;;
5842    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5843      # This compiler won't grok '-c -o', but also, the minuso test has
5844      # not run yet.  These depmodes are late enough in the game, and
5845      # so weak that their functioning should not be impacted.
5846      am__obj=conftest.${OBJEXT-o}
5847      am__minus_obj=
5848      ;;
5849    none) break ;;
5850    esac
5851    if depmode=$depmode \
5852       source=sub/conftest.c object=$am__obj \
5853       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5854       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5855         >/dev/null 2>conftest.err &&
5856       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5857       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5858       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5859       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5860      # icc doesn't choke on unknown options, it will just issue warnings
5861      # or remarks (even with -Werror).  So we grep stderr for any message
5862      # that says an option was ignored or not supported.
5863      # When given -MP, icc 7.0 and 7.1 complain thusly:
5864      #   icc: Command line warning: ignoring option '-M'; no argument required
5865      # The diagnosis changed in icc 8.0:
5866      #   icc: Command line remark: option '-MP' not supported
5867      if (grep 'ignoring option' conftest.err ||
5868          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5869        am_cv_CXX_dependencies_compiler_type=$depmode
5870        break
5871      fi
5872    fi
5873  done
5874
5875  cd ..
5876  rm -rf conftest.dir
5877else
5878  am_cv_CXX_dependencies_compiler_type=none
5879fi
5880
5881fi
5882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5883$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5884CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5885
5886 if
5887  test "x$enable_dependency_tracking" != xno \
5888  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5889  am__fastdepCXX_TRUE=
5890  am__fastdepCXX_FALSE='#'
5891else
5892  am__fastdepCXX_TRUE='#'
5893  am__fastdepCXX_FALSE=
5894fi
5895
5896
5897case `pwd` in
5898  *\ * | *\	*)
5899    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5900$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5901esac
5902
5903
5904
5905macro_version='2.4.6'
5906macro_revision='2.4.6'
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920ltmain=$ac_aux_dir/ltmain.sh
5921
5922# Make sure we can run config.sub.
5923$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5924  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5925
5926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5927$as_echo_n "checking build system type... " >&6; }
5928if ${ac_cv_build+:} false; then :
5929  $as_echo_n "(cached) " >&6
5930else
5931  ac_build_alias=$build_alias
5932test "x$ac_build_alias" = x &&
5933  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5934test "x$ac_build_alias" = x &&
5935  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5936ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5937  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5938
5939fi
5940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5941$as_echo "$ac_cv_build" >&6; }
5942case $ac_cv_build in
5943*-*-*) ;;
5944*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5945esac
5946build=$ac_cv_build
5947ac_save_IFS=$IFS; IFS='-'
5948set x $ac_cv_build
5949shift
5950build_cpu=$1
5951build_vendor=$2
5952shift; shift
5953# Remember, the first character of IFS is used to create $*,
5954# except with old shells:
5955build_os=$*
5956IFS=$ac_save_IFS
5957case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5958
5959
5960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5961$as_echo_n "checking host system type... " >&6; }
5962if ${ac_cv_host+:} false; then :
5963  $as_echo_n "(cached) " >&6
5964else
5965  if test "x$host_alias" = x; then
5966  ac_cv_host=$ac_cv_build
5967else
5968  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5969    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5970fi
5971
5972fi
5973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5974$as_echo "$ac_cv_host" >&6; }
5975case $ac_cv_host in
5976*-*-*) ;;
5977*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5978esac
5979host=$ac_cv_host
5980ac_save_IFS=$IFS; IFS='-'
5981set x $ac_cv_host
5982shift
5983host_cpu=$1
5984host_vendor=$2
5985shift; shift
5986# Remember, the first character of IFS is used to create $*,
5987# except with old shells:
5988host_os=$*
5989IFS=$ac_save_IFS
5990case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5991
5992
5993# Backslashify metacharacters that are still active within
5994# double-quoted strings.
5995sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5996
5997# Same as above, but do not quote variable references.
5998double_quote_subst='s/\(["`\\]\)/\\\1/g'
5999
6000# Sed substitution to delay expansion of an escaped shell variable in a
6001# double_quote_subst'ed string.
6002delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6003
6004# Sed substitution to delay expansion of an escaped single quote.
6005delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6006
6007# Sed substitution to avoid accidental globbing in evaled expressions
6008no_glob_subst='s/\*/\\\*/g'
6009
6010ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6011ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6012ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6013
6014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6015$as_echo_n "checking how to print strings... " >&6; }
6016# Test print first, because it will be a builtin if present.
6017if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6018   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6019  ECHO='print -r --'
6020elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6021  ECHO='printf %s\n'
6022else
6023  # Use this function as a fallback that always works.
6024  func_fallback_echo ()
6025  {
6026    eval 'cat <<_LTECHO_EOF
6027$1
6028_LTECHO_EOF'
6029  }
6030  ECHO='func_fallback_echo'
6031fi
6032
6033# func_echo_all arg...
6034# Invoke $ECHO with all args, space-separated.
6035func_echo_all ()
6036{
6037    $ECHO ""
6038}
6039
6040case $ECHO in
6041  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6042$as_echo "printf" >&6; } ;;
6043  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6044$as_echo "print -r" >&6; } ;;
6045  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6046$as_echo "cat" >&6; } ;;
6047esac
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6063$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6064if ${ac_cv_path_SED+:} false; then :
6065  $as_echo_n "(cached) " >&6
6066else
6067            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6068     for ac_i in 1 2 3 4 5 6 7; do
6069       ac_script="$ac_script$as_nl$ac_script"
6070     done
6071     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6072     { ac_script=; unset ac_script;}
6073     if test -z "$SED"; then
6074  ac_path_SED_found=false
6075  # Loop through the user's path and test for each of PROGNAME-LIST
6076  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077for as_dir in $PATH
6078do
6079  IFS=$as_save_IFS
6080  test -z "$as_dir" && as_dir=.
6081    for ac_prog in sed gsed; do
6082    for ac_exec_ext in '' $ac_executable_extensions; do
6083      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6084      as_fn_executable_p "$ac_path_SED" || continue
6085# Check for GNU ac_path_SED and select it if it is found.
6086  # Check for GNU $ac_path_SED
6087case `"$ac_path_SED" --version 2>&1` in
6088*GNU*)
6089  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6090*)
6091  ac_count=0
6092  $as_echo_n 0123456789 >"conftest.in"
6093  while :
6094  do
6095    cat "conftest.in" "conftest.in" >"conftest.tmp"
6096    mv "conftest.tmp" "conftest.in"
6097    cp "conftest.in" "conftest.nl"
6098    $as_echo '' >> "conftest.nl"
6099    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6100    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6101    as_fn_arith $ac_count + 1 && ac_count=$as_val
6102    if test $ac_count -gt ${ac_path_SED_max-0}; then
6103      # Best one so far, save it but keep looking for a better one
6104      ac_cv_path_SED="$ac_path_SED"
6105      ac_path_SED_max=$ac_count
6106    fi
6107    # 10*(2^10) chars as input seems more than enough
6108    test $ac_count -gt 10 && break
6109  done
6110  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6111esac
6112
6113      $ac_path_SED_found && break 3
6114    done
6115  done
6116  done
6117IFS=$as_save_IFS
6118  if test -z "$ac_cv_path_SED"; then
6119    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6120  fi
6121else
6122  ac_cv_path_SED=$SED
6123fi
6124
6125fi
6126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6127$as_echo "$ac_cv_path_SED" >&6; }
6128 SED="$ac_cv_path_SED"
6129  rm -f conftest.sed
6130
6131test -z "$SED" && SED=sed
6132Xsed="$SED -e 1s/^X//"
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6145$as_echo_n "checking for fgrep... " >&6; }
6146if ${ac_cv_path_FGREP+:} false; then :
6147  $as_echo_n "(cached) " >&6
6148else
6149  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6150   then ac_cv_path_FGREP="$GREP -F"
6151   else
6152     if test -z "$FGREP"; then
6153  ac_path_FGREP_found=false
6154  # Loop through the user's path and test for each of PROGNAME-LIST
6155  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6157do
6158  IFS=$as_save_IFS
6159  test -z "$as_dir" && as_dir=.
6160    for ac_prog in fgrep; do
6161    for ac_exec_ext in '' $ac_executable_extensions; do
6162      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6163      as_fn_executable_p "$ac_path_FGREP" || continue
6164# Check for GNU ac_path_FGREP and select it if it is found.
6165  # Check for GNU $ac_path_FGREP
6166case `"$ac_path_FGREP" --version 2>&1` in
6167*GNU*)
6168  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6169*)
6170  ac_count=0
6171  $as_echo_n 0123456789 >"conftest.in"
6172  while :
6173  do
6174    cat "conftest.in" "conftest.in" >"conftest.tmp"
6175    mv "conftest.tmp" "conftest.in"
6176    cp "conftest.in" "conftest.nl"
6177    $as_echo 'FGREP' >> "conftest.nl"
6178    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6179    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6180    as_fn_arith $ac_count + 1 && ac_count=$as_val
6181    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6182      # Best one so far, save it but keep looking for a better one
6183      ac_cv_path_FGREP="$ac_path_FGREP"
6184      ac_path_FGREP_max=$ac_count
6185    fi
6186    # 10*(2^10) chars as input seems more than enough
6187    test $ac_count -gt 10 && break
6188  done
6189  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6190esac
6191
6192      $ac_path_FGREP_found && break 3
6193    done
6194  done
6195  done
6196IFS=$as_save_IFS
6197  if test -z "$ac_cv_path_FGREP"; then
6198    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6199  fi
6200else
6201  ac_cv_path_FGREP=$FGREP
6202fi
6203
6204   fi
6205fi
6206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6207$as_echo "$ac_cv_path_FGREP" >&6; }
6208 FGREP="$ac_cv_path_FGREP"
6209
6210
6211test -z "$GREP" && GREP=grep
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231# Check whether --with-gnu-ld was given.
6232if test "${with_gnu_ld+set}" = set; then :
6233  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6234else
6235  with_gnu_ld=no
6236fi
6237
6238ac_prog=ld
6239if test yes = "$GCC"; then
6240  # Check if gcc -print-prog-name=ld gives a path.
6241  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6242$as_echo_n "checking for ld used by $CC... " >&6; }
6243  case $host in
6244  *-*-mingw*)
6245    # gcc leaves a trailing carriage return, which upsets mingw
6246    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6247  *)
6248    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6249  esac
6250  case $ac_prog in
6251    # Accept absolute paths.
6252    [\\/]* | ?:[\\/]*)
6253      re_direlt='/[^/][^/]*/\.\./'
6254      # Canonicalize the pathname of ld
6255      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6256      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6257	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6258      done
6259      test -z "$LD" && LD=$ac_prog
6260      ;;
6261  "")
6262    # If it fails, then pretend we aren't using GCC.
6263    ac_prog=ld
6264    ;;
6265  *)
6266    # If it is relative, then search for the first ld in PATH.
6267    with_gnu_ld=unknown
6268    ;;
6269  esac
6270elif test yes = "$with_gnu_ld"; then
6271  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6272$as_echo_n "checking for GNU ld... " >&6; }
6273else
6274  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6275$as_echo_n "checking for non-GNU ld... " >&6; }
6276fi
6277if ${lt_cv_path_LD+:} false; then :
6278  $as_echo_n "(cached) " >&6
6279else
6280  if test -z "$LD"; then
6281  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6282  for ac_dir in $PATH; do
6283    IFS=$lt_save_ifs
6284    test -z "$ac_dir" && ac_dir=.
6285    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6286      lt_cv_path_LD=$ac_dir/$ac_prog
6287      # Check to see if the program is GNU ld.  I'd rather use --version,
6288      # but apparently some variants of GNU ld only accept -v.
6289      # Break only if it was the GNU/non-GNU ld that we prefer.
6290      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6291      *GNU* | *'with BFD'*)
6292	test no != "$with_gnu_ld" && break
6293	;;
6294      *)
6295	test yes != "$with_gnu_ld" && break
6296	;;
6297      esac
6298    fi
6299  done
6300  IFS=$lt_save_ifs
6301else
6302  lt_cv_path_LD=$LD # Let the user override the test with a path.
6303fi
6304fi
6305
6306LD=$lt_cv_path_LD
6307if test -n "$LD"; then
6308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6309$as_echo "$LD" >&6; }
6310else
6311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6312$as_echo "no" >&6; }
6313fi
6314test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6316$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6317if ${lt_cv_prog_gnu_ld+:} false; then :
6318  $as_echo_n "(cached) " >&6
6319else
6320  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6321case `$LD -v 2>&1 </dev/null` in
6322*GNU* | *'with BFD'*)
6323  lt_cv_prog_gnu_ld=yes
6324  ;;
6325*)
6326  lt_cv_prog_gnu_ld=no
6327  ;;
6328esac
6329fi
6330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6331$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6332with_gnu_ld=$lt_cv_prog_gnu_ld
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6343$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6344if ${lt_cv_path_NM+:} false; then :
6345  $as_echo_n "(cached) " >&6
6346else
6347  if test -n "$NM"; then
6348  # Let the user override the test.
6349  lt_cv_path_NM=$NM
6350else
6351  lt_nm_to_check=${ac_tool_prefix}nm
6352  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6353    lt_nm_to_check="$lt_nm_to_check nm"
6354  fi
6355  for lt_tmp_nm in $lt_nm_to_check; do
6356    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6357    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6358      IFS=$lt_save_ifs
6359      test -z "$ac_dir" && ac_dir=.
6360      tmp_nm=$ac_dir/$lt_tmp_nm
6361      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6362	# Check to see if the nm accepts a BSD-compat flag.
6363	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6364	#   nm: unknown option "B" ignored
6365	# Tru64's nm complains that /dev/null is an invalid object file
6366	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6367	case $build_os in
6368	mingw*) lt_bad_file=conftest.nm/nofile ;;
6369	*) lt_bad_file=/dev/null ;;
6370	esac
6371	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6372	*$lt_bad_file* | *'Invalid file or object type'*)
6373	  lt_cv_path_NM="$tmp_nm -B"
6374	  break 2
6375	  ;;
6376	*)
6377	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6378	  */dev/null*)
6379	    lt_cv_path_NM="$tmp_nm -p"
6380	    break 2
6381	    ;;
6382	  *)
6383	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6384	    continue # so that we can try to find one that supports BSD flags
6385	    ;;
6386	  esac
6387	  ;;
6388	esac
6389      fi
6390    done
6391    IFS=$lt_save_ifs
6392  done
6393  : ${lt_cv_path_NM=no}
6394fi
6395fi
6396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6397$as_echo "$lt_cv_path_NM" >&6; }
6398if test no != "$lt_cv_path_NM"; then
6399  NM=$lt_cv_path_NM
6400else
6401  # Didn't find any BSD compatible name lister, look for dumpbin.
6402  if test -n "$DUMPBIN"; then :
6403    # Let the user override the test.
6404  else
6405    if test -n "$ac_tool_prefix"; then
6406  for ac_prog in dumpbin "link -dump"
6407  do
6408    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6409set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411$as_echo_n "checking for $ac_word... " >&6; }
6412if ${ac_cv_prog_DUMPBIN+:} false; then :
6413  $as_echo_n "(cached) " >&6
6414else
6415  if test -n "$DUMPBIN"; then
6416  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6417else
6418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419for as_dir in $PATH
6420do
6421  IFS=$as_save_IFS
6422  test -z "$as_dir" && as_dir=.
6423    for ac_exec_ext in '' $ac_executable_extensions; do
6424  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6425    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6426    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427    break 2
6428  fi
6429done
6430  done
6431IFS=$as_save_IFS
6432
6433fi
6434fi
6435DUMPBIN=$ac_cv_prog_DUMPBIN
6436if test -n "$DUMPBIN"; then
6437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6438$as_echo "$DUMPBIN" >&6; }
6439else
6440  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441$as_echo "no" >&6; }
6442fi
6443
6444
6445    test -n "$DUMPBIN" && break
6446  done
6447fi
6448if test -z "$DUMPBIN"; then
6449  ac_ct_DUMPBIN=$DUMPBIN
6450  for ac_prog in dumpbin "link -dump"
6451do
6452  # Extract the first word of "$ac_prog", so it can be a program name with args.
6453set dummy $ac_prog; ac_word=$2
6454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455$as_echo_n "checking for $ac_word... " >&6; }
6456if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6457  $as_echo_n "(cached) " >&6
6458else
6459  if test -n "$ac_ct_DUMPBIN"; then
6460  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6461else
6462as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463for as_dir in $PATH
6464do
6465  IFS=$as_save_IFS
6466  test -z "$as_dir" && as_dir=.
6467    for ac_exec_ext in '' $ac_executable_extensions; do
6468  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6469    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6470    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471    break 2
6472  fi
6473done
6474  done
6475IFS=$as_save_IFS
6476
6477fi
6478fi
6479ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6480if test -n "$ac_ct_DUMPBIN"; then
6481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6482$as_echo "$ac_ct_DUMPBIN" >&6; }
6483else
6484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485$as_echo "no" >&6; }
6486fi
6487
6488
6489  test -n "$ac_ct_DUMPBIN" && break
6490done
6491
6492  if test "x$ac_ct_DUMPBIN" = x; then
6493    DUMPBIN=":"
6494  else
6495    case $cross_compiling:$ac_tool_warned in
6496yes:)
6497{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6498$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6499ac_tool_warned=yes ;;
6500esac
6501    DUMPBIN=$ac_ct_DUMPBIN
6502  fi
6503fi
6504
6505    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6506    *COFF*)
6507      DUMPBIN="$DUMPBIN -symbols -headers"
6508      ;;
6509    *)
6510      DUMPBIN=:
6511      ;;
6512    esac
6513  fi
6514
6515  if test : != "$DUMPBIN"; then
6516    NM=$DUMPBIN
6517  fi
6518fi
6519test -z "$NM" && NM=nm
6520
6521
6522
6523
6524
6525
6526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6527$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6528if ${lt_cv_nm_interface+:} false; then :
6529  $as_echo_n "(cached) " >&6
6530else
6531  lt_cv_nm_interface="BSD nm"
6532  echo "int some_variable = 0;" > conftest.$ac_ext
6533  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6534  (eval "$ac_compile" 2>conftest.err)
6535  cat conftest.err >&5
6536  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6537  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6538  cat conftest.err >&5
6539  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6540  cat conftest.out >&5
6541  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6542    lt_cv_nm_interface="MS dumpbin"
6543  fi
6544  rm -f conftest*
6545fi
6546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6547$as_echo "$lt_cv_nm_interface" >&6; }
6548
6549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6550$as_echo_n "checking whether ln -s works... " >&6; }
6551LN_S=$as_ln_s
6552if test "$LN_S" = "ln -s"; then
6553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6554$as_echo "yes" >&6; }
6555else
6556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6557$as_echo "no, using $LN_S" >&6; }
6558fi
6559
6560# find the maximum length of command line arguments
6561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6562$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6563if ${lt_cv_sys_max_cmd_len+:} false; then :
6564  $as_echo_n "(cached) " >&6
6565else
6566    i=0
6567  teststring=ABCD
6568
6569  case $build_os in
6570  msdosdjgpp*)
6571    # On DJGPP, this test can blow up pretty badly due to problems in libc
6572    # (any single argument exceeding 2000 bytes causes a buffer overrun
6573    # during glob expansion).  Even if it were fixed, the result of this
6574    # check would be larger than it should be.
6575    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6576    ;;
6577
6578  gnu*)
6579    # Under GNU Hurd, this test is not required because there is
6580    # no limit to the length of command line arguments.
6581    # Libtool will interpret -1 as no limit whatsoever
6582    lt_cv_sys_max_cmd_len=-1;
6583    ;;
6584
6585  cygwin* | mingw* | cegcc*)
6586    # On Win9x/ME, this test blows up -- it succeeds, but takes
6587    # about 5 minutes as the teststring grows exponentially.
6588    # Worse, since 9x/ME are not pre-emptively multitasking,
6589    # you end up with a "frozen" computer, even though with patience
6590    # the test eventually succeeds (with a max line length of 256k).
6591    # Instead, let's just punt: use the minimum linelength reported by
6592    # all of the supported platforms: 8192 (on NT/2K/XP).
6593    lt_cv_sys_max_cmd_len=8192;
6594    ;;
6595
6596  mint*)
6597    # On MiNT this can take a long time and run out of memory.
6598    lt_cv_sys_max_cmd_len=8192;
6599    ;;
6600
6601  amigaos*)
6602    # On AmigaOS with pdksh, this test takes hours, literally.
6603    # So we just punt and use a minimum line length of 8192.
6604    lt_cv_sys_max_cmd_len=8192;
6605    ;;
6606
6607  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6608    # This has been around since 386BSD, at least.  Likely further.
6609    if test -x /sbin/sysctl; then
6610      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6611    elif test -x /usr/sbin/sysctl; then
6612      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6613    else
6614      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6615    fi
6616    # And add a safety zone
6617    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6618    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6619    ;;
6620
6621  interix*)
6622    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6623    lt_cv_sys_max_cmd_len=196608
6624    ;;
6625
6626  os2*)
6627    # The test takes a long time on OS/2.
6628    lt_cv_sys_max_cmd_len=8192
6629    ;;
6630
6631  osf*)
6632    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6633    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6634    # nice to cause kernel panics so lets avoid the loop below.
6635    # First set a reasonable default.
6636    lt_cv_sys_max_cmd_len=16384
6637    #
6638    if test -x /sbin/sysconfig; then
6639      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6640        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6641      esac
6642    fi
6643    ;;
6644  sco3.2v5*)
6645    lt_cv_sys_max_cmd_len=102400
6646    ;;
6647  sysv5* | sco5v6* | sysv4.2uw2*)
6648    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6649    if test -n "$kargmax"; then
6650      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6651    else
6652      lt_cv_sys_max_cmd_len=32768
6653    fi
6654    ;;
6655  *)
6656    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6657    if test -n "$lt_cv_sys_max_cmd_len" && \
6658       test undefined != "$lt_cv_sys_max_cmd_len"; then
6659      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6660      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6661    else
6662      # Make teststring a little bigger before we do anything with it.
6663      # a 1K string should be a reasonable start.
6664      for i in 1 2 3 4 5 6 7 8; do
6665        teststring=$teststring$teststring
6666      done
6667      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6668      # If test is not a shell built-in, we'll probably end up computing a
6669      # maximum length that is only half of the actual maximum length, but
6670      # we can't tell.
6671      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6672	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6673	      test 17 != "$i" # 1/2 MB should be enough
6674      do
6675        i=`expr $i + 1`
6676        teststring=$teststring$teststring
6677      done
6678      # Only check the string length outside the loop.
6679      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6680      teststring=
6681      # Add a significant safety factor because C++ compilers can tack on
6682      # massive amounts of additional arguments before passing them to the
6683      # linker.  It appears as though 1/2 is a usable value.
6684      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6685    fi
6686    ;;
6687  esac
6688
6689fi
6690
6691if test -n "$lt_cv_sys_max_cmd_len"; then
6692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6693$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6694else
6695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6696$as_echo "none" >&6; }
6697fi
6698max_cmd_len=$lt_cv_sys_max_cmd_len
6699
6700
6701
6702
6703
6704
6705: ${CP="cp -f"}
6706: ${MV="mv -f"}
6707: ${RM="rm -f"}
6708
6709if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6710  lt_unset=unset
6711else
6712  lt_unset=false
6713fi
6714
6715
6716
6717
6718
6719# test EBCDIC or ASCII
6720case `echo X|tr X '\101'` in
6721 A) # ASCII based system
6722    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6723  lt_SP2NL='tr \040 \012'
6724  lt_NL2SP='tr \015\012 \040\040'
6725  ;;
6726 *) # EBCDIC based system
6727  lt_SP2NL='tr \100 \n'
6728  lt_NL2SP='tr \r\n \100\100'
6729  ;;
6730esac
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6741$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6742if ${lt_cv_to_host_file_cmd+:} false; then :
6743  $as_echo_n "(cached) " >&6
6744else
6745  case $host in
6746  *-*-mingw* )
6747    case $build in
6748      *-*-mingw* ) # actually msys
6749        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6750        ;;
6751      *-*-cygwin* )
6752        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6753        ;;
6754      * ) # otherwise, assume *nix
6755        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6756        ;;
6757    esac
6758    ;;
6759  *-*-cygwin* )
6760    case $build in
6761      *-*-mingw* ) # actually msys
6762        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6763        ;;
6764      *-*-cygwin* )
6765        lt_cv_to_host_file_cmd=func_convert_file_noop
6766        ;;
6767      * ) # otherwise, assume *nix
6768        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6769        ;;
6770    esac
6771    ;;
6772  * ) # unhandled hosts (and "normal" native builds)
6773    lt_cv_to_host_file_cmd=func_convert_file_noop
6774    ;;
6775esac
6776
6777fi
6778
6779to_host_file_cmd=$lt_cv_to_host_file_cmd
6780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6781$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6782
6783
6784
6785
6786
6787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6788$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6789if ${lt_cv_to_tool_file_cmd+:} false; then :
6790  $as_echo_n "(cached) " >&6
6791else
6792  #assume ordinary cross tools, or native build.
6793lt_cv_to_tool_file_cmd=func_convert_file_noop
6794case $host in
6795  *-*-mingw* )
6796    case $build in
6797      *-*-mingw* ) # actually msys
6798        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6799        ;;
6800    esac
6801    ;;
6802esac
6803
6804fi
6805
6806to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6808$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6809
6810
6811
6812
6813
6814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6815$as_echo_n "checking for $LD option to reload object files... " >&6; }
6816if ${lt_cv_ld_reload_flag+:} false; then :
6817  $as_echo_n "(cached) " >&6
6818else
6819  lt_cv_ld_reload_flag='-r'
6820fi
6821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6822$as_echo "$lt_cv_ld_reload_flag" >&6; }
6823reload_flag=$lt_cv_ld_reload_flag
6824case $reload_flag in
6825"" | " "*) ;;
6826*) reload_flag=" $reload_flag" ;;
6827esac
6828reload_cmds='$LD$reload_flag -o $output$reload_objs'
6829case $host_os in
6830  cygwin* | mingw* | pw32* | cegcc*)
6831    if test yes != "$GCC"; then
6832      reload_cmds=false
6833    fi
6834    ;;
6835  darwin*)
6836    if test yes = "$GCC"; then
6837      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6838    else
6839      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6840    fi
6841    ;;
6842esac
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852if test -n "$ac_tool_prefix"; then
6853  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6854set dummy ${ac_tool_prefix}objdump; ac_word=$2
6855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6856$as_echo_n "checking for $ac_word... " >&6; }
6857if ${ac_cv_prog_OBJDUMP+:} false; then :
6858  $as_echo_n "(cached) " >&6
6859else
6860  if test -n "$OBJDUMP"; then
6861  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6862else
6863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6864for as_dir in $PATH
6865do
6866  IFS=$as_save_IFS
6867  test -z "$as_dir" && as_dir=.
6868    for ac_exec_ext in '' $ac_executable_extensions; do
6869  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6870    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6871    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6872    break 2
6873  fi
6874done
6875  done
6876IFS=$as_save_IFS
6877
6878fi
6879fi
6880OBJDUMP=$ac_cv_prog_OBJDUMP
6881if test -n "$OBJDUMP"; then
6882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6883$as_echo "$OBJDUMP" >&6; }
6884else
6885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6886$as_echo "no" >&6; }
6887fi
6888
6889
6890fi
6891if test -z "$ac_cv_prog_OBJDUMP"; then
6892  ac_ct_OBJDUMP=$OBJDUMP
6893  # Extract the first word of "objdump", so it can be a program name with args.
6894set dummy objdump; ac_word=$2
6895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6896$as_echo_n "checking for $ac_word... " >&6; }
6897if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6898  $as_echo_n "(cached) " >&6
6899else
6900  if test -n "$ac_ct_OBJDUMP"; then
6901  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6902else
6903as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6904for as_dir in $PATH
6905do
6906  IFS=$as_save_IFS
6907  test -z "$as_dir" && as_dir=.
6908    for ac_exec_ext in '' $ac_executable_extensions; do
6909  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6910    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6911    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6912    break 2
6913  fi
6914done
6915  done
6916IFS=$as_save_IFS
6917
6918fi
6919fi
6920ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6921if test -n "$ac_ct_OBJDUMP"; then
6922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6923$as_echo "$ac_ct_OBJDUMP" >&6; }
6924else
6925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6926$as_echo "no" >&6; }
6927fi
6928
6929  if test "x$ac_ct_OBJDUMP" = x; then
6930    OBJDUMP="false"
6931  else
6932    case $cross_compiling:$ac_tool_warned in
6933yes:)
6934{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6935$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6936ac_tool_warned=yes ;;
6937esac
6938    OBJDUMP=$ac_ct_OBJDUMP
6939  fi
6940else
6941  OBJDUMP="$ac_cv_prog_OBJDUMP"
6942fi
6943
6944test -z "$OBJDUMP" && OBJDUMP=objdump
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6955$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6956if ${lt_cv_deplibs_check_method+:} false; then :
6957  $as_echo_n "(cached) " >&6
6958else
6959  lt_cv_file_magic_cmd='$MAGIC_CMD'
6960lt_cv_file_magic_test_file=
6961lt_cv_deplibs_check_method='unknown'
6962# Need to set the preceding variable on all platforms that support
6963# interlibrary dependencies.
6964# 'none' -- dependencies not supported.
6965# 'unknown' -- same as none, but documents that we really don't know.
6966# 'pass_all' -- all dependencies passed with no checks.
6967# 'test_compile' -- check by making test program.
6968# 'file_magic [[regex]]' -- check by looking for files in library path
6969# that responds to the $file_magic_cmd with a given extended regex.
6970# If you have 'file' or equivalent on your system and you're not sure
6971# whether 'pass_all' will *always* work, you probably want this one.
6972
6973case $host_os in
6974aix[4-9]*)
6975  lt_cv_deplibs_check_method=pass_all
6976  ;;
6977
6978beos*)
6979  lt_cv_deplibs_check_method=pass_all
6980  ;;
6981
6982bsdi[45]*)
6983  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6984  lt_cv_file_magic_cmd='/usr/bin/file -L'
6985  lt_cv_file_magic_test_file=/shlib/libc.so
6986  ;;
6987
6988cygwin*)
6989  # func_win32_libid is a shell function defined in ltmain.sh
6990  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6991  lt_cv_file_magic_cmd='func_win32_libid'
6992  ;;
6993
6994mingw* | pw32*)
6995  # Base MSYS/MinGW do not provide the 'file' command needed by
6996  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6997  # unless we find 'file', for example because we are cross-compiling.
6998  if ( file / ) >/dev/null 2>&1; then
6999    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7000    lt_cv_file_magic_cmd='func_win32_libid'
7001  else
7002    # Keep this pattern in sync with the one in func_win32_libid.
7003    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7004    lt_cv_file_magic_cmd='$OBJDUMP -f'
7005  fi
7006  ;;
7007
7008cegcc*)
7009  # use the weaker test based on 'objdump'. See mingw*.
7010  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7011  lt_cv_file_magic_cmd='$OBJDUMP -f'
7012  ;;
7013
7014darwin* | rhapsody*)
7015  lt_cv_deplibs_check_method=pass_all
7016  ;;
7017
7018freebsd* | dragonfly*)
7019  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7020    case $host_cpu in
7021    i*86 )
7022      # Not sure whether the presence of OpenBSD here was a mistake.
7023      # Let's accept both of them until this is cleared up.
7024      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7025      lt_cv_file_magic_cmd=/usr/bin/file
7026      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7027      ;;
7028    esac
7029  else
7030    lt_cv_deplibs_check_method=pass_all
7031  fi
7032  ;;
7033
7034haiku*)
7035  lt_cv_deplibs_check_method=pass_all
7036  ;;
7037
7038hpux10.20* | hpux11*)
7039  lt_cv_file_magic_cmd=/usr/bin/file
7040  case $host_cpu in
7041  ia64*)
7042    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7043    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7044    ;;
7045  hppa*64*)
7046    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]'
7047    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7048    ;;
7049  *)
7050    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7051    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7052    ;;
7053  esac
7054  ;;
7055
7056interix[3-9]*)
7057  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7058  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7059  ;;
7060
7061irix5* | irix6* | nonstopux*)
7062  case $LD in
7063  *-32|*"-32 ") libmagic=32-bit;;
7064  *-n32|*"-n32 ") libmagic=N32;;
7065  *-64|*"-64 ") libmagic=64-bit;;
7066  *) libmagic=never-match;;
7067  esac
7068  lt_cv_deplibs_check_method=pass_all
7069  ;;
7070
7071# This must be glibc/ELF.
7072linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7073  lt_cv_deplibs_check_method=pass_all
7074  ;;
7075
7076netbsd*)
7077  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7078    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7079  else
7080    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7081  fi
7082  ;;
7083
7084newos6*)
7085  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7086  lt_cv_file_magic_cmd=/usr/bin/file
7087  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7088  ;;
7089
7090*nto* | *qnx*)
7091  lt_cv_deplibs_check_method=pass_all
7092  ;;
7093
7094openbsd* | bitrig*)
7095  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7096    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7097  else
7098    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7099  fi
7100  ;;
7101
7102osf3* | osf4* | osf5*)
7103  lt_cv_deplibs_check_method=pass_all
7104  ;;
7105
7106rdos*)
7107  lt_cv_deplibs_check_method=pass_all
7108  ;;
7109
7110solaris*)
7111  lt_cv_deplibs_check_method=pass_all
7112  ;;
7113
7114sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7115  lt_cv_deplibs_check_method=pass_all
7116  ;;
7117
7118sysv4 | sysv4.3*)
7119  case $host_vendor in
7120  motorola)
7121    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]'
7122    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7123    ;;
7124  ncr)
7125    lt_cv_deplibs_check_method=pass_all
7126    ;;
7127  sequent)
7128    lt_cv_file_magic_cmd='/bin/file'
7129    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7130    ;;
7131  sni)
7132    lt_cv_file_magic_cmd='/bin/file'
7133    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7134    lt_cv_file_magic_test_file=/lib/libc.so
7135    ;;
7136  siemens)
7137    lt_cv_deplibs_check_method=pass_all
7138    ;;
7139  pc)
7140    lt_cv_deplibs_check_method=pass_all
7141    ;;
7142  esac
7143  ;;
7144
7145tpf*)
7146  lt_cv_deplibs_check_method=pass_all
7147  ;;
7148os2*)
7149  lt_cv_deplibs_check_method=pass_all
7150  ;;
7151esac
7152
7153fi
7154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7155$as_echo "$lt_cv_deplibs_check_method" >&6; }
7156
7157file_magic_glob=
7158want_nocaseglob=no
7159if test "$build" = "$host"; then
7160  case $host_os in
7161  mingw* | pw32*)
7162    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7163      want_nocaseglob=yes
7164    else
7165      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7166    fi
7167    ;;
7168  esac
7169fi
7170
7171file_magic_cmd=$lt_cv_file_magic_cmd
7172deplibs_check_method=$lt_cv_deplibs_check_method
7173test -z "$deplibs_check_method" && deplibs_check_method=unknown
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196if test -n "$ac_tool_prefix"; then
7197  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7198set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7200$as_echo_n "checking for $ac_word... " >&6; }
7201if ${ac_cv_prog_DLLTOOL+:} false; then :
7202  $as_echo_n "(cached) " >&6
7203else
7204  if test -n "$DLLTOOL"; then
7205  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7206else
7207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7208for as_dir in $PATH
7209do
7210  IFS=$as_save_IFS
7211  test -z "$as_dir" && as_dir=.
7212    for ac_exec_ext in '' $ac_executable_extensions; do
7213  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7214    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7215    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7216    break 2
7217  fi
7218done
7219  done
7220IFS=$as_save_IFS
7221
7222fi
7223fi
7224DLLTOOL=$ac_cv_prog_DLLTOOL
7225if test -n "$DLLTOOL"; then
7226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7227$as_echo "$DLLTOOL" >&6; }
7228else
7229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7230$as_echo "no" >&6; }
7231fi
7232
7233
7234fi
7235if test -z "$ac_cv_prog_DLLTOOL"; then
7236  ac_ct_DLLTOOL=$DLLTOOL
7237  # Extract the first word of "dlltool", so it can be a program name with args.
7238set dummy dlltool; ac_word=$2
7239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7240$as_echo_n "checking for $ac_word... " >&6; }
7241if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7242  $as_echo_n "(cached) " >&6
7243else
7244  if test -n "$ac_ct_DLLTOOL"; then
7245  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7246else
7247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248for as_dir in $PATH
7249do
7250  IFS=$as_save_IFS
7251  test -z "$as_dir" && as_dir=.
7252    for ac_exec_ext in '' $ac_executable_extensions; do
7253  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7254    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7255    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256    break 2
7257  fi
7258done
7259  done
7260IFS=$as_save_IFS
7261
7262fi
7263fi
7264ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7265if test -n "$ac_ct_DLLTOOL"; then
7266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7267$as_echo "$ac_ct_DLLTOOL" >&6; }
7268else
7269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7270$as_echo "no" >&6; }
7271fi
7272
7273  if test "x$ac_ct_DLLTOOL" = x; then
7274    DLLTOOL="false"
7275  else
7276    case $cross_compiling:$ac_tool_warned in
7277yes:)
7278{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7279$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7280ac_tool_warned=yes ;;
7281esac
7282    DLLTOOL=$ac_ct_DLLTOOL
7283  fi
7284else
7285  DLLTOOL="$ac_cv_prog_DLLTOOL"
7286fi
7287
7288test -z "$DLLTOOL" && DLLTOOL=dlltool
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7300$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7301if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7302  $as_echo_n "(cached) " >&6
7303else
7304  lt_cv_sharedlib_from_linklib_cmd='unknown'
7305
7306case $host_os in
7307cygwin* | mingw* | pw32* | cegcc*)
7308  # two different shell functions defined in ltmain.sh;
7309  # decide which one to use based on capabilities of $DLLTOOL
7310  case `$DLLTOOL --help 2>&1` in
7311  *--identify-strict*)
7312    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7313    ;;
7314  *)
7315    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7316    ;;
7317  esac
7318  ;;
7319*)
7320  # fallback: assume linklib IS sharedlib
7321  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7322  ;;
7323esac
7324
7325fi
7326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7327$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7328sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7329test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7330
7331
7332
7333
7334
7335
7336
7337if test -n "$ac_tool_prefix"; then
7338  for ac_prog in ar
7339  do
7340    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7341set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343$as_echo_n "checking for $ac_word... " >&6; }
7344if ${ac_cv_prog_AR+:} false; then :
7345  $as_echo_n "(cached) " >&6
7346else
7347  if test -n "$AR"; then
7348  ac_cv_prog_AR="$AR" # Let the user override the test.
7349else
7350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7351for as_dir in $PATH
7352do
7353  IFS=$as_save_IFS
7354  test -z "$as_dir" && as_dir=.
7355    for ac_exec_ext in '' $ac_executable_extensions; do
7356  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7357    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7358    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7359    break 2
7360  fi
7361done
7362  done
7363IFS=$as_save_IFS
7364
7365fi
7366fi
7367AR=$ac_cv_prog_AR
7368if test -n "$AR"; then
7369  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7370$as_echo "$AR" >&6; }
7371else
7372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373$as_echo "no" >&6; }
7374fi
7375
7376
7377    test -n "$AR" && break
7378  done
7379fi
7380if test -z "$AR"; then
7381  ac_ct_AR=$AR
7382  for ac_prog in ar
7383do
7384  # Extract the first word of "$ac_prog", so it can be a program name with args.
7385set dummy $ac_prog; ac_word=$2
7386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387$as_echo_n "checking for $ac_word... " >&6; }
7388if ${ac_cv_prog_ac_ct_AR+:} false; then :
7389  $as_echo_n "(cached) " >&6
7390else
7391  if test -n "$ac_ct_AR"; then
7392  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7393else
7394as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7395for as_dir in $PATH
7396do
7397  IFS=$as_save_IFS
7398  test -z "$as_dir" && as_dir=.
7399    for ac_exec_ext in '' $ac_executable_extensions; do
7400  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7401    ac_cv_prog_ac_ct_AR="$ac_prog"
7402    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7403    break 2
7404  fi
7405done
7406  done
7407IFS=$as_save_IFS
7408
7409fi
7410fi
7411ac_ct_AR=$ac_cv_prog_ac_ct_AR
7412if test -n "$ac_ct_AR"; then
7413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7414$as_echo "$ac_ct_AR" >&6; }
7415else
7416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7417$as_echo "no" >&6; }
7418fi
7419
7420
7421  test -n "$ac_ct_AR" && break
7422done
7423
7424  if test "x$ac_ct_AR" = x; then
7425    AR="false"
7426  else
7427    case $cross_compiling:$ac_tool_warned in
7428yes:)
7429{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7430$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7431ac_tool_warned=yes ;;
7432esac
7433    AR=$ac_ct_AR
7434  fi
7435fi
7436
7437: ${AR=ar}
7438: ${AR_FLAGS=cru}
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7451$as_echo_n "checking for archiver @FILE support... " >&6; }
7452if ${lt_cv_ar_at_file+:} false; then :
7453  $as_echo_n "(cached) " >&6
7454else
7455  lt_cv_ar_at_file=no
7456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7457/* end confdefs.h.  */
7458
7459int
7460main ()
7461{
7462
7463  ;
7464  return 0;
7465}
7466_ACEOF
7467if ac_fn_c_try_compile "$LINENO"; then :
7468  echo conftest.$ac_objext > conftest.lst
7469      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7470      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7471  (eval $lt_ar_try) 2>&5
7472  ac_status=$?
7473  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7474  test $ac_status = 0; }
7475      if test 0 -eq "$ac_status"; then
7476	# Ensure the archiver fails upon bogus file names.
7477	rm -f conftest.$ac_objext libconftest.a
7478	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7479  (eval $lt_ar_try) 2>&5
7480  ac_status=$?
7481  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7482  test $ac_status = 0; }
7483	if test 0 -ne "$ac_status"; then
7484          lt_cv_ar_at_file=@
7485        fi
7486      fi
7487      rm -f conftest.* libconftest.a
7488
7489fi
7490rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7491
7492fi
7493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7494$as_echo "$lt_cv_ar_at_file" >&6; }
7495
7496if test no = "$lt_cv_ar_at_file"; then
7497  archiver_list_spec=
7498else
7499  archiver_list_spec=$lt_cv_ar_at_file
7500fi
7501
7502
7503
7504
7505
7506
7507
7508if test -n "$ac_tool_prefix"; then
7509  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7510set dummy ${ac_tool_prefix}strip; ac_word=$2
7511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7512$as_echo_n "checking for $ac_word... " >&6; }
7513if ${ac_cv_prog_STRIP+:} false; then :
7514  $as_echo_n "(cached) " >&6
7515else
7516  if test -n "$STRIP"; then
7517  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7518else
7519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7520for as_dir in $PATH
7521do
7522  IFS=$as_save_IFS
7523  test -z "$as_dir" && as_dir=.
7524    for ac_exec_ext in '' $ac_executable_extensions; do
7525  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7526    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7527    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7528    break 2
7529  fi
7530done
7531  done
7532IFS=$as_save_IFS
7533
7534fi
7535fi
7536STRIP=$ac_cv_prog_STRIP
7537if test -n "$STRIP"; then
7538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7539$as_echo "$STRIP" >&6; }
7540else
7541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7542$as_echo "no" >&6; }
7543fi
7544
7545
7546fi
7547if test -z "$ac_cv_prog_STRIP"; then
7548  ac_ct_STRIP=$STRIP
7549  # Extract the first word of "strip", so it can be a program name with args.
7550set dummy strip; ac_word=$2
7551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7552$as_echo_n "checking for $ac_word... " >&6; }
7553if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7554  $as_echo_n "(cached) " >&6
7555else
7556  if test -n "$ac_ct_STRIP"; then
7557  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7558else
7559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560for as_dir in $PATH
7561do
7562  IFS=$as_save_IFS
7563  test -z "$as_dir" && as_dir=.
7564    for ac_exec_ext in '' $ac_executable_extensions; do
7565  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7566    ac_cv_prog_ac_ct_STRIP="strip"
7567    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7568    break 2
7569  fi
7570done
7571  done
7572IFS=$as_save_IFS
7573
7574fi
7575fi
7576ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7577if test -n "$ac_ct_STRIP"; then
7578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7579$as_echo "$ac_ct_STRIP" >&6; }
7580else
7581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582$as_echo "no" >&6; }
7583fi
7584
7585  if test "x$ac_ct_STRIP" = x; then
7586    STRIP=":"
7587  else
7588    case $cross_compiling:$ac_tool_warned in
7589yes:)
7590{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7591$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7592ac_tool_warned=yes ;;
7593esac
7594    STRIP=$ac_ct_STRIP
7595  fi
7596else
7597  STRIP="$ac_cv_prog_STRIP"
7598fi
7599
7600test -z "$STRIP" && STRIP=:
7601
7602
7603
7604
7605
7606
7607if test -n "$ac_tool_prefix"; then
7608  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7609set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611$as_echo_n "checking for $ac_word... " >&6; }
7612if ${ac_cv_prog_RANLIB+:} false; then :
7613  $as_echo_n "(cached) " >&6
7614else
7615  if test -n "$RANLIB"; then
7616  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7617else
7618as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619for as_dir in $PATH
7620do
7621  IFS=$as_save_IFS
7622  test -z "$as_dir" && as_dir=.
7623    for ac_exec_ext in '' $ac_executable_extensions; do
7624  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7625    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7626    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7627    break 2
7628  fi
7629done
7630  done
7631IFS=$as_save_IFS
7632
7633fi
7634fi
7635RANLIB=$ac_cv_prog_RANLIB
7636if test -n "$RANLIB"; then
7637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7638$as_echo "$RANLIB" >&6; }
7639else
7640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641$as_echo "no" >&6; }
7642fi
7643
7644
7645fi
7646if test -z "$ac_cv_prog_RANLIB"; then
7647  ac_ct_RANLIB=$RANLIB
7648  # Extract the first word of "ranlib", so it can be a program name with args.
7649set dummy ranlib; ac_word=$2
7650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651$as_echo_n "checking for $ac_word... " >&6; }
7652if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7653  $as_echo_n "(cached) " >&6
7654else
7655  if test -n "$ac_ct_RANLIB"; then
7656  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7657else
7658as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659for as_dir in $PATH
7660do
7661  IFS=$as_save_IFS
7662  test -z "$as_dir" && as_dir=.
7663    for ac_exec_ext in '' $ac_executable_extensions; do
7664  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7665    ac_cv_prog_ac_ct_RANLIB="ranlib"
7666    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667    break 2
7668  fi
7669done
7670  done
7671IFS=$as_save_IFS
7672
7673fi
7674fi
7675ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7676if test -n "$ac_ct_RANLIB"; then
7677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7678$as_echo "$ac_ct_RANLIB" >&6; }
7679else
7680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681$as_echo "no" >&6; }
7682fi
7683
7684  if test "x$ac_ct_RANLIB" = x; then
7685    RANLIB=":"
7686  else
7687    case $cross_compiling:$ac_tool_warned in
7688yes:)
7689{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7690$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7691ac_tool_warned=yes ;;
7692esac
7693    RANLIB=$ac_ct_RANLIB
7694  fi
7695else
7696  RANLIB="$ac_cv_prog_RANLIB"
7697fi
7698
7699test -z "$RANLIB" && RANLIB=:
7700
7701
7702
7703
7704
7705
7706# Determine commands to create old-style static archives.
7707old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7708old_postinstall_cmds='chmod 644 $oldlib'
7709old_postuninstall_cmds=
7710
7711if test -n "$RANLIB"; then
7712  case $host_os in
7713  bitrig* | openbsd*)
7714    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7715    ;;
7716  *)
7717    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7718    ;;
7719  esac
7720  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7721fi
7722
7723case $host_os in
7724  darwin*)
7725    lock_old_archive_extraction=yes ;;
7726  *)
7727    lock_old_archive_extraction=no ;;
7728esac
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
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# If no C compiler was specified, use CC.
7769LTCC=${LTCC-"$CC"}
7770
7771# If no C compiler flags were specified, use CFLAGS.
7772LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7773
7774# Allow CC to be a program name with arguments.
7775compiler=$CC
7776
7777
7778# Check for command to grab the raw symbol name followed by C symbol from nm.
7779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7780$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7781if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7782  $as_echo_n "(cached) " >&6
7783else
7784
7785# These are sane defaults that work on at least a few old systems.
7786# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7787
7788# Character class describing NM global symbol codes.
7789symcode='[BCDEGRST]'
7790
7791# Regexp to match symbols that can be accessed directly from C.
7792sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7793
7794# Define system-specific variables.
7795case $host_os in
7796aix*)
7797  symcode='[BCDT]'
7798  ;;
7799cygwin* | mingw* | pw32* | cegcc*)
7800  symcode='[ABCDGISTW]'
7801  ;;
7802hpux*)
7803  if test ia64 = "$host_cpu"; then
7804    symcode='[ABCDEGRST]'
7805  fi
7806  ;;
7807irix* | nonstopux*)
7808  symcode='[BCDEGRST]'
7809  ;;
7810osf*)
7811  symcode='[BCDEGQRST]'
7812  ;;
7813solaris*)
7814  symcode='[BDRT]'
7815  ;;
7816sco3.2v5*)
7817  symcode='[DT]'
7818  ;;
7819sysv4.2uw2*)
7820  symcode='[DT]'
7821  ;;
7822sysv5* | sco5v6* | unixware* | OpenUNIX*)
7823  symcode='[ABDT]'
7824  ;;
7825sysv4)
7826  symcode='[DFNSTU]'
7827  ;;
7828esac
7829
7830# If we're using GNU nm, then use its standard symbol codes.
7831case `$NM -V 2>&1` in
7832*GNU* | *'with BFD'*)
7833  symcode='[ABCDGIRSTW]' ;;
7834esac
7835
7836if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7837  # Gets list of data symbols to import.
7838  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7839  # Adjust the below global symbol transforms to fixup imported variables.
7840  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7841  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7842  lt_c_name_lib_hook="\
7843  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7844  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7845else
7846  # Disable hooks by default.
7847  lt_cv_sys_global_symbol_to_import=
7848  lt_cdecl_hook=
7849  lt_c_name_hook=
7850  lt_c_name_lib_hook=
7851fi
7852
7853# Transform an extracted symbol line into a proper C declaration.
7854# Some systems (esp. on ia64) link data and code symbols differently,
7855# so use this general approach.
7856lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7857$lt_cdecl_hook\
7858" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7859" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7860
7861# Transform an extracted symbol line into symbol name and symbol address
7862lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7863$lt_c_name_hook\
7864" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7865" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7866
7867# Transform an extracted symbol line into symbol name with lib prefix and
7868# symbol address.
7869lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7870$lt_c_name_lib_hook\
7871" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7872" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7873" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7874
7875# Handle CRLF in mingw tool chain
7876opt_cr=
7877case $build_os in
7878mingw*)
7879  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7880  ;;
7881esac
7882
7883# Try without a prefix underscore, then with it.
7884for ac_symprfx in "" "_"; do
7885
7886  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7887  symxfrm="\\1 $ac_symprfx\\2 \\2"
7888
7889  # Write the raw and C identifiers.
7890  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7891    # Fake it for dumpbin and say T for any non-static function,
7892    # D for any global variable and I for any imported variable.
7893    # Also find C++ and __fastcall symbols from MSVC++,
7894    # which start with @ or ?.
7895    lt_cv_sys_global_symbol_pipe="$AWK '"\
7896"     {last_section=section; section=\$ 3};"\
7897"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7898"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7899"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7900"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7901"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7902"     \$ 0!~/External *\|/{next};"\
7903"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7904"     {if(hide[section]) next};"\
7905"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7906"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7907"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7908"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7909"     ' prfx=^$ac_symprfx"
7910  else
7911    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7912  fi
7913  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7914
7915  # Check to see that the pipe works correctly.
7916  pipe_works=no
7917
7918  rm -f conftest*
7919  cat > conftest.$ac_ext <<_LT_EOF
7920#ifdef __cplusplus
7921extern "C" {
7922#endif
7923char nm_test_var;
7924void nm_test_func(void);
7925void nm_test_func(void){}
7926#ifdef __cplusplus
7927}
7928#endif
7929int main(){nm_test_var='a';nm_test_func();return(0);}
7930_LT_EOF
7931
7932  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7933  (eval $ac_compile) 2>&5
7934  ac_status=$?
7935  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7936  test $ac_status = 0; }; then
7937    # Now try to grab the symbols.
7938    nlist=conftest.nm
7939    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7940  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7941  ac_status=$?
7942  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7943  test $ac_status = 0; } && test -s "$nlist"; then
7944      # Try sorting and uniquifying the output.
7945      if sort "$nlist" | uniq > "$nlist"T; then
7946	mv -f "$nlist"T "$nlist"
7947      else
7948	rm -f "$nlist"T
7949      fi
7950
7951      # Make sure that we snagged all the symbols we need.
7952      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7953	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7954	  cat <<_LT_EOF > conftest.$ac_ext
7955/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7956#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7957/* DATA imports from DLLs on WIN32 can't be const, because runtime
7958   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7959# define LT_DLSYM_CONST
7960#elif defined __osf__
7961/* This system does not cope well with relocations in const data.  */
7962# define LT_DLSYM_CONST
7963#else
7964# define LT_DLSYM_CONST const
7965#endif
7966
7967#ifdef __cplusplus
7968extern "C" {
7969#endif
7970
7971_LT_EOF
7972	  # Now generate the symbol file.
7973	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7974
7975	  cat <<_LT_EOF >> conftest.$ac_ext
7976
7977/* The mapping between symbol names and symbols.  */
7978LT_DLSYM_CONST struct {
7979  const char *name;
7980  void       *address;
7981}
7982lt__PROGRAM__LTX_preloaded_symbols[] =
7983{
7984  { "@PROGRAM@", (void *) 0 },
7985_LT_EOF
7986	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7987	  cat <<\_LT_EOF >> conftest.$ac_ext
7988  {0, (void *) 0}
7989};
7990
7991/* This works around a problem in FreeBSD linker */
7992#ifdef FREEBSD_WORKAROUND
7993static const void *lt_preloaded_setup() {
7994  return lt__PROGRAM__LTX_preloaded_symbols;
7995}
7996#endif
7997
7998#ifdef __cplusplus
7999}
8000#endif
8001_LT_EOF
8002	  # Now try linking the two files.
8003	  mv conftest.$ac_objext conftstm.$ac_objext
8004	  lt_globsym_save_LIBS=$LIBS
8005	  lt_globsym_save_CFLAGS=$CFLAGS
8006	  LIBS=conftstm.$ac_objext
8007	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8008	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8009  (eval $ac_link) 2>&5
8010  ac_status=$?
8011  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8012  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8013	    pipe_works=yes
8014	  fi
8015	  LIBS=$lt_globsym_save_LIBS
8016	  CFLAGS=$lt_globsym_save_CFLAGS
8017	else
8018	  echo "cannot find nm_test_func in $nlist" >&5
8019	fi
8020      else
8021	echo "cannot find nm_test_var in $nlist" >&5
8022      fi
8023    else
8024      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8025    fi
8026  else
8027    echo "$progname: failed program was:" >&5
8028    cat conftest.$ac_ext >&5
8029  fi
8030  rm -rf conftest* conftst*
8031
8032  # Do not use the global_symbol_pipe unless it works.
8033  if test yes = "$pipe_works"; then
8034    break
8035  else
8036    lt_cv_sys_global_symbol_pipe=
8037  fi
8038done
8039
8040fi
8041
8042if test -z "$lt_cv_sys_global_symbol_pipe"; then
8043  lt_cv_sys_global_symbol_to_cdecl=
8044fi
8045if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8047$as_echo "failed" >&6; }
8048else
8049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8050$as_echo "ok" >&6; }
8051fi
8052
8053# Response file support.
8054if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8055  nm_file_list_spec='@'
8056elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8057  nm_file_list_spec='@'
8058fi
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
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{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8097$as_echo_n "checking for sysroot... " >&6; }
8098
8099# Check whether --with-sysroot was given.
8100if test "${with_sysroot+set}" = set; then :
8101  withval=$with_sysroot;
8102else
8103  with_sysroot=no
8104fi
8105
8106
8107lt_sysroot=
8108case $with_sysroot in #(
8109 yes)
8110   if test yes = "$GCC"; then
8111     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8112   fi
8113   ;; #(
8114 /*)
8115   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8116   ;; #(
8117 no|'')
8118   ;; #(
8119 *)
8120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8121$as_echo "$with_sysroot" >&6; }
8122   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8123   ;;
8124esac
8125
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8127$as_echo "${lt_sysroot:-no}" >&6; }
8128
8129
8130
8131
8132
8133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8134$as_echo_n "checking for a working dd... " >&6; }
8135if ${ac_cv_path_lt_DD+:} false; then :
8136  $as_echo_n "(cached) " >&6
8137else
8138  printf 0123456789abcdef0123456789abcdef >conftest.i
8139cat conftest.i conftest.i >conftest2.i
8140: ${lt_DD:=$DD}
8141if test -z "$lt_DD"; then
8142  ac_path_lt_DD_found=false
8143  # Loop through the user's path and test for each of PROGNAME-LIST
8144  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8145for as_dir in $PATH
8146do
8147  IFS=$as_save_IFS
8148  test -z "$as_dir" && as_dir=.
8149    for ac_prog in dd; do
8150    for ac_exec_ext in '' $ac_executable_extensions; do
8151      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8152      as_fn_executable_p "$ac_path_lt_DD" || continue
8153if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8154  cmp -s conftest.i conftest.out \
8155  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8156fi
8157      $ac_path_lt_DD_found && break 3
8158    done
8159  done
8160  done
8161IFS=$as_save_IFS
8162  if test -z "$ac_cv_path_lt_DD"; then
8163    :
8164  fi
8165else
8166  ac_cv_path_lt_DD=$lt_DD
8167fi
8168
8169rm -f conftest.i conftest2.i conftest.out
8170fi
8171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8172$as_echo "$ac_cv_path_lt_DD" >&6; }
8173
8174
8175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8176$as_echo_n "checking how to truncate binary pipes... " >&6; }
8177if ${lt_cv_truncate_bin+:} false; then :
8178  $as_echo_n "(cached) " >&6
8179else
8180  printf 0123456789abcdef0123456789abcdef >conftest.i
8181cat conftest.i conftest.i >conftest2.i
8182lt_cv_truncate_bin=
8183if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8184  cmp -s conftest.i conftest.out \
8185  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8186fi
8187rm -f conftest.i conftest2.i conftest.out
8188test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8189fi
8190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8191$as_echo "$lt_cv_truncate_bin" >&6; }
8192
8193
8194
8195
8196
8197
8198
8199# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8200func_cc_basename ()
8201{
8202    for cc_temp in $*""; do
8203      case $cc_temp in
8204        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8205        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8206        \-*) ;;
8207        *) break;;
8208      esac
8209    done
8210    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8211}
8212
8213# Check whether --enable-libtool-lock was given.
8214if test "${enable_libtool_lock+set}" = set; then :
8215  enableval=$enable_libtool_lock;
8216fi
8217
8218test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8219
8220# Some flags need to be propagated to the compiler or linker for good
8221# libtool support.
8222case $host in
8223ia64-*-hpux*)
8224  # Find out what ABI is being produced by ac_compile, and set mode
8225  # options accordingly.
8226  echo 'int i;' > conftest.$ac_ext
8227  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8228  (eval $ac_compile) 2>&5
8229  ac_status=$?
8230  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8231  test $ac_status = 0; }; then
8232    case `/usr/bin/file conftest.$ac_objext` in
8233      *ELF-32*)
8234	HPUX_IA64_MODE=32
8235	;;
8236      *ELF-64*)
8237	HPUX_IA64_MODE=64
8238	;;
8239    esac
8240  fi
8241  rm -rf conftest*
8242  ;;
8243*-*-irix6*)
8244  # Find out what ABI is being produced by ac_compile, and set linker
8245  # options accordingly.
8246  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8247  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8248  (eval $ac_compile) 2>&5
8249  ac_status=$?
8250  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8251  test $ac_status = 0; }; then
8252    if test yes = "$lt_cv_prog_gnu_ld"; then
8253      case `/usr/bin/file conftest.$ac_objext` in
8254	*32-bit*)
8255	  LD="${LD-ld} -melf32bsmip"
8256	  ;;
8257	*N32*)
8258	  LD="${LD-ld} -melf32bmipn32"
8259	  ;;
8260	*64-bit*)
8261	  LD="${LD-ld} -melf64bmip"
8262	;;
8263      esac
8264    else
8265      case `/usr/bin/file conftest.$ac_objext` in
8266	*32-bit*)
8267	  LD="${LD-ld} -32"
8268	  ;;
8269	*N32*)
8270	  LD="${LD-ld} -n32"
8271	  ;;
8272	*64-bit*)
8273	  LD="${LD-ld} -64"
8274	  ;;
8275      esac
8276    fi
8277  fi
8278  rm -rf conftest*
8279  ;;
8280
8281mips64*-*linux*)
8282  # Find out what ABI is being produced by ac_compile, and set linker
8283  # options accordingly.
8284  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8285  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8286  (eval $ac_compile) 2>&5
8287  ac_status=$?
8288  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8289  test $ac_status = 0; }; then
8290    emul=elf
8291    case `/usr/bin/file conftest.$ac_objext` in
8292      *32-bit*)
8293	emul="${emul}32"
8294	;;
8295      *64-bit*)
8296	emul="${emul}64"
8297	;;
8298    esac
8299    case `/usr/bin/file conftest.$ac_objext` in
8300      *MSB*)
8301	emul="${emul}btsmip"
8302	;;
8303      *LSB*)
8304	emul="${emul}ltsmip"
8305	;;
8306    esac
8307    case `/usr/bin/file conftest.$ac_objext` in
8308      *N32*)
8309	emul="${emul}n32"
8310	;;
8311    esac
8312    LD="${LD-ld} -m $emul"
8313  fi
8314  rm -rf conftest*
8315  ;;
8316
8317x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8318s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8319  # Find out what ABI is being produced by ac_compile, and set linker
8320  # options accordingly.  Note that the listed cases only cover the
8321  # situations where additional linker options are needed (such as when
8322  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8323  # vice versa); the common cases where no linker options are needed do
8324  # not appear in the list.
8325  echo 'int i;' > conftest.$ac_ext
8326  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8327  (eval $ac_compile) 2>&5
8328  ac_status=$?
8329  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8330  test $ac_status = 0; }; then
8331    case `/usr/bin/file conftest.o` in
8332      *32-bit*)
8333	case $host in
8334	  x86_64-*kfreebsd*-gnu)
8335	    LD="${LD-ld} -m elf_i386_fbsd"
8336	    ;;
8337	  x86_64-*linux*)
8338	    case `/usr/bin/file conftest.o` in
8339	      *x86-64*)
8340		LD="${LD-ld} -m elf32_x86_64"
8341		;;
8342	      *)
8343		LD="${LD-ld} -m elf_i386"
8344		;;
8345	    esac
8346	    ;;
8347	  powerpc64le-*linux*)
8348	    LD="${LD-ld} -m elf32lppclinux"
8349	    ;;
8350	  powerpc64-*linux*)
8351	    LD="${LD-ld} -m elf32ppclinux"
8352	    ;;
8353	  s390x-*linux*)
8354	    LD="${LD-ld} -m elf_s390"
8355	    ;;
8356	  sparc64-*linux*)
8357	    LD="${LD-ld} -m elf32_sparc"
8358	    ;;
8359	esac
8360	;;
8361      *64-bit*)
8362	case $host in
8363	  x86_64-*kfreebsd*-gnu)
8364	    LD="${LD-ld} -m elf_x86_64_fbsd"
8365	    ;;
8366	  x86_64-*linux*)
8367	    LD="${LD-ld} -m elf_x86_64"
8368	    ;;
8369	  powerpcle-*linux*)
8370	    LD="${LD-ld} -m elf64lppc"
8371	    ;;
8372	  powerpc-*linux*)
8373	    LD="${LD-ld} -m elf64ppc"
8374	    ;;
8375	  s390*-*linux*|s390*-*tpf*)
8376	    LD="${LD-ld} -m elf64_s390"
8377	    ;;
8378	  sparc*-*linux*)
8379	    LD="${LD-ld} -m elf64_sparc"
8380	    ;;
8381	esac
8382	;;
8383    esac
8384  fi
8385  rm -rf conftest*
8386  ;;
8387
8388*-*-sco3.2v5*)
8389  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8390  SAVE_CFLAGS=$CFLAGS
8391  CFLAGS="$CFLAGS -belf"
8392  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8393$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8394if ${lt_cv_cc_needs_belf+:} false; then :
8395  $as_echo_n "(cached) " >&6
8396else
8397  ac_ext=c
8398ac_cpp='$CPP $CPPFLAGS'
8399ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8400ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8401ac_compiler_gnu=$ac_cv_c_compiler_gnu
8402
8403     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8404/* end confdefs.h.  */
8405
8406int
8407main ()
8408{
8409
8410  ;
8411  return 0;
8412}
8413_ACEOF
8414if ac_fn_c_try_link "$LINENO"; then :
8415  lt_cv_cc_needs_belf=yes
8416else
8417  lt_cv_cc_needs_belf=no
8418fi
8419rm -f core conftest.err conftest.$ac_objext \
8420    conftest$ac_exeext conftest.$ac_ext
8421     ac_ext=c
8422ac_cpp='$CPP $CPPFLAGS'
8423ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8424ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8425ac_compiler_gnu=$ac_cv_c_compiler_gnu
8426
8427fi
8428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8429$as_echo "$lt_cv_cc_needs_belf" >&6; }
8430  if test yes != "$lt_cv_cc_needs_belf"; then
8431    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8432    CFLAGS=$SAVE_CFLAGS
8433  fi
8434  ;;
8435*-*solaris*)
8436  # Find out what ABI is being produced by ac_compile, and set linker
8437  # options accordingly.
8438  echo 'int i;' > conftest.$ac_ext
8439  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8440  (eval $ac_compile) 2>&5
8441  ac_status=$?
8442  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8443  test $ac_status = 0; }; then
8444    case `/usr/bin/file conftest.o` in
8445    *64-bit*)
8446      case $lt_cv_prog_gnu_ld in
8447      yes*)
8448        case $host in
8449        i?86-*-solaris*|x86_64-*-solaris*)
8450          LD="${LD-ld} -m elf_x86_64"
8451          ;;
8452        sparc*-*-solaris*)
8453          LD="${LD-ld} -m elf64_sparc"
8454          ;;
8455        esac
8456        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8457        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8458          LD=${LD-ld}_sol2
8459        fi
8460        ;;
8461      *)
8462	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8463	  LD="${LD-ld} -64"
8464	fi
8465	;;
8466      esac
8467      ;;
8468    esac
8469  fi
8470  rm -rf conftest*
8471  ;;
8472esac
8473
8474need_locks=$enable_libtool_lock
8475
8476if test -n "$ac_tool_prefix"; then
8477  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8478set dummy ${ac_tool_prefix}mt; ac_word=$2
8479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8480$as_echo_n "checking for $ac_word... " >&6; }
8481if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8482  $as_echo_n "(cached) " >&6
8483else
8484  if test -n "$MANIFEST_TOOL"; then
8485  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8486else
8487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8488for as_dir in $PATH
8489do
8490  IFS=$as_save_IFS
8491  test -z "$as_dir" && as_dir=.
8492    for ac_exec_ext in '' $ac_executable_extensions; do
8493  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8494    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8495    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8496    break 2
8497  fi
8498done
8499  done
8500IFS=$as_save_IFS
8501
8502fi
8503fi
8504MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8505if test -n "$MANIFEST_TOOL"; then
8506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8507$as_echo "$MANIFEST_TOOL" >&6; }
8508else
8509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8510$as_echo "no" >&6; }
8511fi
8512
8513
8514fi
8515if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8516  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8517  # Extract the first word of "mt", so it can be a program name with args.
8518set dummy mt; ac_word=$2
8519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8520$as_echo_n "checking for $ac_word... " >&6; }
8521if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8522  $as_echo_n "(cached) " >&6
8523else
8524  if test -n "$ac_ct_MANIFEST_TOOL"; then
8525  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8526else
8527as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8528for as_dir in $PATH
8529do
8530  IFS=$as_save_IFS
8531  test -z "$as_dir" && as_dir=.
8532    for ac_exec_ext in '' $ac_executable_extensions; do
8533  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8534    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8535    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8536    break 2
8537  fi
8538done
8539  done
8540IFS=$as_save_IFS
8541
8542fi
8543fi
8544ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8545if test -n "$ac_ct_MANIFEST_TOOL"; then
8546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8547$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8548else
8549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8550$as_echo "no" >&6; }
8551fi
8552
8553  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8554    MANIFEST_TOOL=":"
8555  else
8556    case $cross_compiling:$ac_tool_warned in
8557yes:)
8558{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8559$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8560ac_tool_warned=yes ;;
8561esac
8562    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8563  fi
8564else
8565  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8566fi
8567
8568test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8570$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8571if ${lt_cv_path_mainfest_tool+:} false; then :
8572  $as_echo_n "(cached) " >&6
8573else
8574  lt_cv_path_mainfest_tool=no
8575  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8576  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8577  cat conftest.err >&5
8578  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8579    lt_cv_path_mainfest_tool=yes
8580  fi
8581  rm -f conftest*
8582fi
8583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8584$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8585if test yes != "$lt_cv_path_mainfest_tool"; then
8586  MANIFEST_TOOL=:
8587fi
8588
8589
8590
8591
8592
8593
8594  case $host_os in
8595    rhapsody* | darwin*)
8596    if test -n "$ac_tool_prefix"; then
8597  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8598set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8600$as_echo_n "checking for $ac_word... " >&6; }
8601if ${ac_cv_prog_DSYMUTIL+:} false; then :
8602  $as_echo_n "(cached) " >&6
8603else
8604  if test -n "$DSYMUTIL"; then
8605  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8606else
8607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8608for as_dir in $PATH
8609do
8610  IFS=$as_save_IFS
8611  test -z "$as_dir" && as_dir=.
8612    for ac_exec_ext in '' $ac_executable_extensions; do
8613  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8614    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8616    break 2
8617  fi
8618done
8619  done
8620IFS=$as_save_IFS
8621
8622fi
8623fi
8624DSYMUTIL=$ac_cv_prog_DSYMUTIL
8625if test -n "$DSYMUTIL"; then
8626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8627$as_echo "$DSYMUTIL" >&6; }
8628else
8629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8630$as_echo "no" >&6; }
8631fi
8632
8633
8634fi
8635if test -z "$ac_cv_prog_DSYMUTIL"; then
8636  ac_ct_DSYMUTIL=$DSYMUTIL
8637  # Extract the first word of "dsymutil", so it can be a program name with args.
8638set dummy dsymutil; ac_word=$2
8639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8640$as_echo_n "checking for $ac_word... " >&6; }
8641if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8642  $as_echo_n "(cached) " >&6
8643else
8644  if test -n "$ac_ct_DSYMUTIL"; then
8645  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8646else
8647as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8648for as_dir in $PATH
8649do
8650  IFS=$as_save_IFS
8651  test -z "$as_dir" && as_dir=.
8652    for ac_exec_ext in '' $ac_executable_extensions; do
8653  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8654    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8655    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8656    break 2
8657  fi
8658done
8659  done
8660IFS=$as_save_IFS
8661
8662fi
8663fi
8664ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8665if test -n "$ac_ct_DSYMUTIL"; then
8666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8667$as_echo "$ac_ct_DSYMUTIL" >&6; }
8668else
8669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8670$as_echo "no" >&6; }
8671fi
8672
8673  if test "x$ac_ct_DSYMUTIL" = x; then
8674    DSYMUTIL=":"
8675  else
8676    case $cross_compiling:$ac_tool_warned in
8677yes:)
8678{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8679$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8680ac_tool_warned=yes ;;
8681esac
8682    DSYMUTIL=$ac_ct_DSYMUTIL
8683  fi
8684else
8685  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8686fi
8687
8688    if test -n "$ac_tool_prefix"; then
8689  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8690set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8692$as_echo_n "checking for $ac_word... " >&6; }
8693if ${ac_cv_prog_NMEDIT+:} false; then :
8694  $as_echo_n "(cached) " >&6
8695else
8696  if test -n "$NMEDIT"; then
8697  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8698else
8699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8700for as_dir in $PATH
8701do
8702  IFS=$as_save_IFS
8703  test -z "$as_dir" && as_dir=.
8704    for ac_exec_ext in '' $ac_executable_extensions; do
8705  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8706    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8707    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8708    break 2
8709  fi
8710done
8711  done
8712IFS=$as_save_IFS
8713
8714fi
8715fi
8716NMEDIT=$ac_cv_prog_NMEDIT
8717if test -n "$NMEDIT"; then
8718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8719$as_echo "$NMEDIT" >&6; }
8720else
8721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8722$as_echo "no" >&6; }
8723fi
8724
8725
8726fi
8727if test -z "$ac_cv_prog_NMEDIT"; then
8728  ac_ct_NMEDIT=$NMEDIT
8729  # Extract the first word of "nmedit", so it can be a program name with args.
8730set dummy nmedit; ac_word=$2
8731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8732$as_echo_n "checking for $ac_word... " >&6; }
8733if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8734  $as_echo_n "(cached) " >&6
8735else
8736  if test -n "$ac_ct_NMEDIT"; then
8737  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8738else
8739as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8740for as_dir in $PATH
8741do
8742  IFS=$as_save_IFS
8743  test -z "$as_dir" && as_dir=.
8744    for ac_exec_ext in '' $ac_executable_extensions; do
8745  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8746    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8747    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8748    break 2
8749  fi
8750done
8751  done
8752IFS=$as_save_IFS
8753
8754fi
8755fi
8756ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8757if test -n "$ac_ct_NMEDIT"; then
8758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8759$as_echo "$ac_ct_NMEDIT" >&6; }
8760else
8761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8762$as_echo "no" >&6; }
8763fi
8764
8765  if test "x$ac_ct_NMEDIT" = x; then
8766    NMEDIT=":"
8767  else
8768    case $cross_compiling:$ac_tool_warned in
8769yes:)
8770{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8771$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8772ac_tool_warned=yes ;;
8773esac
8774    NMEDIT=$ac_ct_NMEDIT
8775  fi
8776else
8777  NMEDIT="$ac_cv_prog_NMEDIT"
8778fi
8779
8780    if test -n "$ac_tool_prefix"; then
8781  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8782set dummy ${ac_tool_prefix}lipo; ac_word=$2
8783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8784$as_echo_n "checking for $ac_word... " >&6; }
8785if ${ac_cv_prog_LIPO+:} false; then :
8786  $as_echo_n "(cached) " >&6
8787else
8788  if test -n "$LIPO"; then
8789  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8790else
8791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8792for as_dir in $PATH
8793do
8794  IFS=$as_save_IFS
8795  test -z "$as_dir" && as_dir=.
8796    for ac_exec_ext in '' $ac_executable_extensions; do
8797  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8798    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8799    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8800    break 2
8801  fi
8802done
8803  done
8804IFS=$as_save_IFS
8805
8806fi
8807fi
8808LIPO=$ac_cv_prog_LIPO
8809if test -n "$LIPO"; then
8810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8811$as_echo "$LIPO" >&6; }
8812else
8813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8814$as_echo "no" >&6; }
8815fi
8816
8817
8818fi
8819if test -z "$ac_cv_prog_LIPO"; then
8820  ac_ct_LIPO=$LIPO
8821  # Extract the first word of "lipo", so it can be a program name with args.
8822set dummy lipo; ac_word=$2
8823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8824$as_echo_n "checking for $ac_word... " >&6; }
8825if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8826  $as_echo_n "(cached) " >&6
8827else
8828  if test -n "$ac_ct_LIPO"; then
8829  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8830else
8831as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8832for as_dir in $PATH
8833do
8834  IFS=$as_save_IFS
8835  test -z "$as_dir" && as_dir=.
8836    for ac_exec_ext in '' $ac_executable_extensions; do
8837  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8838    ac_cv_prog_ac_ct_LIPO="lipo"
8839    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8840    break 2
8841  fi
8842done
8843  done
8844IFS=$as_save_IFS
8845
8846fi
8847fi
8848ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8849if test -n "$ac_ct_LIPO"; then
8850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8851$as_echo "$ac_ct_LIPO" >&6; }
8852else
8853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8854$as_echo "no" >&6; }
8855fi
8856
8857  if test "x$ac_ct_LIPO" = x; then
8858    LIPO=":"
8859  else
8860    case $cross_compiling:$ac_tool_warned in
8861yes:)
8862{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8863$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8864ac_tool_warned=yes ;;
8865esac
8866    LIPO=$ac_ct_LIPO
8867  fi
8868else
8869  LIPO="$ac_cv_prog_LIPO"
8870fi
8871
8872    if test -n "$ac_tool_prefix"; then
8873  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8874set dummy ${ac_tool_prefix}otool; ac_word=$2
8875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8876$as_echo_n "checking for $ac_word... " >&6; }
8877if ${ac_cv_prog_OTOOL+:} false; then :
8878  $as_echo_n "(cached) " >&6
8879else
8880  if test -n "$OTOOL"; then
8881  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8882else
8883as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8884for as_dir in $PATH
8885do
8886  IFS=$as_save_IFS
8887  test -z "$as_dir" && as_dir=.
8888    for ac_exec_ext in '' $ac_executable_extensions; do
8889  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8890    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8891    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8892    break 2
8893  fi
8894done
8895  done
8896IFS=$as_save_IFS
8897
8898fi
8899fi
8900OTOOL=$ac_cv_prog_OTOOL
8901if test -n "$OTOOL"; then
8902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8903$as_echo "$OTOOL" >&6; }
8904else
8905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8906$as_echo "no" >&6; }
8907fi
8908
8909
8910fi
8911if test -z "$ac_cv_prog_OTOOL"; then
8912  ac_ct_OTOOL=$OTOOL
8913  # Extract the first word of "otool", so it can be a program name with args.
8914set dummy otool; ac_word=$2
8915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8916$as_echo_n "checking for $ac_word... " >&6; }
8917if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8918  $as_echo_n "(cached) " >&6
8919else
8920  if test -n "$ac_ct_OTOOL"; then
8921  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8922else
8923as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8924for as_dir in $PATH
8925do
8926  IFS=$as_save_IFS
8927  test -z "$as_dir" && as_dir=.
8928    for ac_exec_ext in '' $ac_executable_extensions; do
8929  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8930    ac_cv_prog_ac_ct_OTOOL="otool"
8931    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8932    break 2
8933  fi
8934done
8935  done
8936IFS=$as_save_IFS
8937
8938fi
8939fi
8940ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8941if test -n "$ac_ct_OTOOL"; then
8942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8943$as_echo "$ac_ct_OTOOL" >&6; }
8944else
8945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8946$as_echo "no" >&6; }
8947fi
8948
8949  if test "x$ac_ct_OTOOL" = x; then
8950    OTOOL=":"
8951  else
8952    case $cross_compiling:$ac_tool_warned in
8953yes:)
8954{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8955$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8956ac_tool_warned=yes ;;
8957esac
8958    OTOOL=$ac_ct_OTOOL
8959  fi
8960else
8961  OTOOL="$ac_cv_prog_OTOOL"
8962fi
8963
8964    if test -n "$ac_tool_prefix"; then
8965  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8966set dummy ${ac_tool_prefix}otool64; ac_word=$2
8967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8968$as_echo_n "checking for $ac_word... " >&6; }
8969if ${ac_cv_prog_OTOOL64+:} false; then :
8970  $as_echo_n "(cached) " >&6
8971else
8972  if test -n "$OTOOL64"; then
8973  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8974else
8975as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8976for as_dir in $PATH
8977do
8978  IFS=$as_save_IFS
8979  test -z "$as_dir" && as_dir=.
8980    for ac_exec_ext in '' $ac_executable_extensions; do
8981  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8982    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8983    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8984    break 2
8985  fi
8986done
8987  done
8988IFS=$as_save_IFS
8989
8990fi
8991fi
8992OTOOL64=$ac_cv_prog_OTOOL64
8993if test -n "$OTOOL64"; then
8994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8995$as_echo "$OTOOL64" >&6; }
8996else
8997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8998$as_echo "no" >&6; }
8999fi
9000
9001
9002fi
9003if test -z "$ac_cv_prog_OTOOL64"; then
9004  ac_ct_OTOOL64=$OTOOL64
9005  # Extract the first word of "otool64", so it can be a program name with args.
9006set dummy otool64; ac_word=$2
9007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9008$as_echo_n "checking for $ac_word... " >&6; }
9009if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9010  $as_echo_n "(cached) " >&6
9011else
9012  if test -n "$ac_ct_OTOOL64"; then
9013  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9014else
9015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9016for as_dir in $PATH
9017do
9018  IFS=$as_save_IFS
9019  test -z "$as_dir" && as_dir=.
9020    for ac_exec_ext in '' $ac_executable_extensions; do
9021  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9022    ac_cv_prog_ac_ct_OTOOL64="otool64"
9023    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9024    break 2
9025  fi
9026done
9027  done
9028IFS=$as_save_IFS
9029
9030fi
9031fi
9032ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9033if test -n "$ac_ct_OTOOL64"; then
9034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9035$as_echo "$ac_ct_OTOOL64" >&6; }
9036else
9037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9038$as_echo "no" >&6; }
9039fi
9040
9041  if test "x$ac_ct_OTOOL64" = x; then
9042    OTOOL64=":"
9043  else
9044    case $cross_compiling:$ac_tool_warned in
9045yes:)
9046{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9047$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9048ac_tool_warned=yes ;;
9049esac
9050    OTOOL64=$ac_ct_OTOOL64
9051  fi
9052else
9053  OTOOL64="$ac_cv_prog_OTOOL64"
9054fi
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9083$as_echo_n "checking for -single_module linker flag... " >&6; }
9084if ${lt_cv_apple_cc_single_mod+:} false; then :
9085  $as_echo_n "(cached) " >&6
9086else
9087  lt_cv_apple_cc_single_mod=no
9088      if test -z "$LT_MULTI_MODULE"; then
9089	# By default we will add the -single_module flag. You can override
9090	# by either setting the environment variable LT_MULTI_MODULE
9091	# non-empty at configure time, or by adding -multi_module to the
9092	# link flags.
9093	rm -rf libconftest.dylib*
9094	echo "int foo(void){return 1;}" > conftest.c
9095	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9096-dynamiclib -Wl,-single_module conftest.c" >&5
9097	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9098	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9099        _lt_result=$?
9100	# If there is a non-empty error log, and "single_module"
9101	# appears in it, assume the flag caused a linker warning
9102        if test -s conftest.err && $GREP single_module conftest.err; then
9103	  cat conftest.err >&5
9104	# Otherwise, if the output was created with a 0 exit code from
9105	# the compiler, it worked.
9106	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9107	  lt_cv_apple_cc_single_mod=yes
9108	else
9109	  cat conftest.err >&5
9110	fi
9111	rm -rf libconftest.dylib*
9112	rm -f conftest.*
9113      fi
9114fi
9115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9116$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9117
9118    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9119$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9120if ${lt_cv_ld_exported_symbols_list+:} false; then :
9121  $as_echo_n "(cached) " >&6
9122else
9123  lt_cv_ld_exported_symbols_list=no
9124      save_LDFLAGS=$LDFLAGS
9125      echo "_main" > conftest.sym
9126      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9127      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9128/* end confdefs.h.  */
9129
9130int
9131main ()
9132{
9133
9134  ;
9135  return 0;
9136}
9137_ACEOF
9138if ac_fn_c_try_link "$LINENO"; then :
9139  lt_cv_ld_exported_symbols_list=yes
9140else
9141  lt_cv_ld_exported_symbols_list=no
9142fi
9143rm -f core conftest.err conftest.$ac_objext \
9144    conftest$ac_exeext conftest.$ac_ext
9145	LDFLAGS=$save_LDFLAGS
9146
9147fi
9148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9149$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9150
9151    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9152$as_echo_n "checking for -force_load linker flag... " >&6; }
9153if ${lt_cv_ld_force_load+:} false; then :
9154  $as_echo_n "(cached) " >&6
9155else
9156  lt_cv_ld_force_load=no
9157      cat > conftest.c << _LT_EOF
9158int forced_loaded() { return 2;}
9159_LT_EOF
9160      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9161      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9162      echo "$AR cru libconftest.a conftest.o" >&5
9163      $AR cru libconftest.a conftest.o 2>&5
9164      echo "$RANLIB libconftest.a" >&5
9165      $RANLIB libconftest.a 2>&5
9166      cat > conftest.c << _LT_EOF
9167int main() { return 0;}
9168_LT_EOF
9169      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9170      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9171      _lt_result=$?
9172      if test -s conftest.err && $GREP force_load conftest.err; then
9173	cat conftest.err >&5
9174      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9175	lt_cv_ld_force_load=yes
9176      else
9177	cat conftest.err >&5
9178      fi
9179        rm -f conftest.err libconftest.a conftest conftest.c
9180        rm -rf conftest.dSYM
9181
9182fi
9183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9184$as_echo "$lt_cv_ld_force_load" >&6; }
9185    case $host_os in
9186    rhapsody* | darwin1.[012])
9187      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9188    darwin1.*)
9189      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9190    darwin*) # darwin 5.x on
9191      # if running on 10.5 or later, the deployment target defaults
9192      # to the OS version, if on x86, and 10.4, the deployment
9193      # target defaults to 10.4. Don't you love it?
9194      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9195	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9196	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9197	10.[012][,.]*)
9198	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9199	10.*)
9200	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9201      esac
9202    ;;
9203  esac
9204    if test yes = "$lt_cv_apple_cc_single_mod"; then
9205      _lt_dar_single_mod='$single_module'
9206    fi
9207    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9208      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9209    else
9210      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9211    fi
9212    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9213      _lt_dsymutil='~$DSYMUTIL $lib || :'
9214    else
9215      _lt_dsymutil=
9216    fi
9217    ;;
9218  esac
9219
9220# func_munge_path_list VARIABLE PATH
9221# -----------------------------------
9222# VARIABLE is name of variable containing _space_ separated list of
9223# directories to be munged by the contents of PATH, which is string
9224# having a format:
9225# "DIR[:DIR]:"
9226#       string "DIR[ DIR]" will be prepended to VARIABLE
9227# ":DIR[:DIR]"
9228#       string "DIR[ DIR]" will be appended to VARIABLE
9229# "DIRP[:DIRP]::[DIRA:]DIRA"
9230#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9231#       "DIRA[ DIRA]" will be appended to VARIABLE
9232# "DIR[:DIR]"
9233#       VARIABLE will be replaced by "DIR[ DIR]"
9234func_munge_path_list ()
9235{
9236    case x$2 in
9237    x)
9238        ;;
9239    *:)
9240        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9241        ;;
9242    x:*)
9243        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9244        ;;
9245    *::*)
9246        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9247        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9248        ;;
9249    *)
9250        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9251        ;;
9252    esac
9253}
9254
9255for ac_header in dlfcn.h
9256do :
9257  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9258"
9259if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9260  cat >>confdefs.h <<_ACEOF
9261#define HAVE_DLFCN_H 1
9262_ACEOF
9263
9264fi
9265
9266done
9267
9268
9269
9270
9271func_stripname_cnf ()
9272{
9273  case $2 in
9274  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9275  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9276  esac
9277} # func_stripname_cnf
9278
9279
9280
9281
9282
9283# Set options
9284
9285
9286
9287        enable_dlopen=no
9288
9289
9290  enable_win32_dll=no
9291
9292
9293            # Check whether --enable-shared was given.
9294if test "${enable_shared+set}" = set; then :
9295  enableval=$enable_shared; p=${PACKAGE-default}
9296    case $enableval in
9297    yes) enable_shared=yes ;;
9298    no) enable_shared=no ;;
9299    *)
9300      enable_shared=no
9301      # Look at the argument we got.  We use all the common list separators.
9302      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9303      for pkg in $enableval; do
9304	IFS=$lt_save_ifs
9305	if test "X$pkg" = "X$p"; then
9306	  enable_shared=yes
9307	fi
9308      done
9309      IFS=$lt_save_ifs
9310      ;;
9311    esac
9312else
9313  enable_shared=yes
9314fi
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324  # Check whether --enable-static was given.
9325if test "${enable_static+set}" = set; then :
9326  enableval=$enable_static; p=${PACKAGE-default}
9327    case $enableval in
9328    yes) enable_static=yes ;;
9329    no) enable_static=no ;;
9330    *)
9331     enable_static=no
9332      # Look at the argument we got.  We use all the common list separators.
9333      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9334      for pkg in $enableval; do
9335	IFS=$lt_save_ifs
9336	if test "X$pkg" = "X$p"; then
9337	  enable_static=yes
9338	fi
9339      done
9340      IFS=$lt_save_ifs
9341      ;;
9342    esac
9343else
9344  enable_static=yes
9345fi
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356# Check whether --with-pic was given.
9357if test "${with_pic+set}" = set; then :
9358  withval=$with_pic; lt_p=${PACKAGE-default}
9359    case $withval in
9360    yes|no) pic_mode=$withval ;;
9361    *)
9362      pic_mode=default
9363      # Look at the argument we got.  We use all the common list separators.
9364      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9365      for lt_pkg in $withval; do
9366	IFS=$lt_save_ifs
9367	if test "X$lt_pkg" = "X$lt_p"; then
9368	  pic_mode=yes
9369	fi
9370      done
9371      IFS=$lt_save_ifs
9372      ;;
9373    esac
9374else
9375  pic_mode=default
9376fi
9377
9378
9379
9380
9381
9382
9383
9384
9385  # Check whether --enable-fast-install was given.
9386if test "${enable_fast_install+set}" = set; then :
9387  enableval=$enable_fast_install; p=${PACKAGE-default}
9388    case $enableval in
9389    yes) enable_fast_install=yes ;;
9390    no) enable_fast_install=no ;;
9391    *)
9392      enable_fast_install=no
9393      # Look at the argument we got.  We use all the common list separators.
9394      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9395      for pkg in $enableval; do
9396	IFS=$lt_save_ifs
9397	if test "X$pkg" = "X$p"; then
9398	  enable_fast_install=yes
9399	fi
9400      done
9401      IFS=$lt_save_ifs
9402      ;;
9403    esac
9404else
9405  enable_fast_install=yes
9406fi
9407
9408
9409
9410
9411
9412
9413
9414
9415  shared_archive_member_spec=
9416case $host,$enable_shared in
9417power*-*-aix[5-9]*,yes)
9418  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9419$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9420
9421# Check whether --with-aix-soname was given.
9422if test "${with_aix_soname+set}" = set; then :
9423  withval=$with_aix_soname; case $withval in
9424    aix|svr4|both)
9425      ;;
9426    *)
9427      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9428      ;;
9429    esac
9430    lt_cv_with_aix_soname=$with_aix_soname
9431else
9432  if ${lt_cv_with_aix_soname+:} false; then :
9433  $as_echo_n "(cached) " >&6
9434else
9435  lt_cv_with_aix_soname=aix
9436fi
9437
9438    with_aix_soname=$lt_cv_with_aix_soname
9439fi
9440
9441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9442$as_echo "$with_aix_soname" >&6; }
9443  if test aix != "$with_aix_soname"; then
9444    # For the AIX way of multilib, we name the shared archive member
9445    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9446    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9447    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9448    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9449    if test 64 = "${OBJECT_MODE-32}"; then
9450      shared_archive_member_spec=shr_64
9451    else
9452      shared_archive_member_spec=shr
9453    fi
9454  fi
9455  ;;
9456*)
9457  with_aix_soname=aix
9458  ;;
9459esac
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470# This can be used to rebuild libtool when needed
9471LIBTOOL_DEPS=$ltmain
9472
9473# Always use our own libtool.
9474LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505test -z "$LN_S" && LN_S="ln -s"
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520if test -n "${ZSH_VERSION+set}"; then
9521   setopt NO_GLOB_SUBST
9522fi
9523
9524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9525$as_echo_n "checking for objdir... " >&6; }
9526if ${lt_cv_objdir+:} false; then :
9527  $as_echo_n "(cached) " >&6
9528else
9529  rm -f .libs 2>/dev/null
9530mkdir .libs 2>/dev/null
9531if test -d .libs; then
9532  lt_cv_objdir=.libs
9533else
9534  # MS-DOS does not allow filenames that begin with a dot.
9535  lt_cv_objdir=_libs
9536fi
9537rmdir .libs 2>/dev/null
9538fi
9539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9540$as_echo "$lt_cv_objdir" >&6; }
9541objdir=$lt_cv_objdir
9542
9543
9544
9545
9546
9547cat >>confdefs.h <<_ACEOF
9548#define LT_OBJDIR "$lt_cv_objdir/"
9549_ACEOF
9550
9551
9552
9553
9554case $host_os in
9555aix3*)
9556  # AIX sometimes has problems with the GCC collect2 program.  For some
9557  # reason, if we set the COLLECT_NAMES environment variable, the problems
9558  # vanish in a puff of smoke.
9559  if test set != "${COLLECT_NAMES+set}"; then
9560    COLLECT_NAMES=
9561    export COLLECT_NAMES
9562  fi
9563  ;;
9564esac
9565
9566# Global variables:
9567ofile=libtool
9568can_build_shared=yes
9569
9570# All known linkers require a '.a' archive for static linking (except MSVC,
9571# which needs '.lib').
9572libext=a
9573
9574with_gnu_ld=$lt_cv_prog_gnu_ld
9575
9576old_CC=$CC
9577old_CFLAGS=$CFLAGS
9578
9579# Set sane defaults for various variables
9580test -z "$CC" && CC=cc
9581test -z "$LTCC" && LTCC=$CC
9582test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9583test -z "$LD" && LD=ld
9584test -z "$ac_objext" && ac_objext=o
9585
9586func_cc_basename $compiler
9587cc_basename=$func_cc_basename_result
9588
9589
9590# Only perform the check for file, if the check method requires it
9591test -z "$MAGIC_CMD" && MAGIC_CMD=file
9592case $deplibs_check_method in
9593file_magic*)
9594  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9595    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9596$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9597if ${lt_cv_path_MAGIC_CMD+:} false; then :
9598  $as_echo_n "(cached) " >&6
9599else
9600  case $MAGIC_CMD in
9601[\\/*] |  ?:[\\/]*)
9602  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9603  ;;
9604*)
9605  lt_save_MAGIC_CMD=$MAGIC_CMD
9606  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9607  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9608  for ac_dir in $ac_dummy; do
9609    IFS=$lt_save_ifs
9610    test -z "$ac_dir" && ac_dir=.
9611    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9612      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9613      if test -n "$file_magic_test_file"; then
9614	case $deplibs_check_method in
9615	"file_magic "*)
9616	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9617	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9618	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9619	    $EGREP "$file_magic_regex" > /dev/null; then
9620	    :
9621	  else
9622	    cat <<_LT_EOF 1>&2
9623
9624*** Warning: the command libtool uses to detect shared libraries,
9625*** $file_magic_cmd, produces output that libtool cannot recognize.
9626*** The result is that libtool may fail to recognize shared libraries
9627*** as such.  This will affect the creation of libtool libraries that
9628*** depend on shared libraries, but programs linked with such libtool
9629*** libraries will work regardless of this problem.  Nevertheless, you
9630*** may want to report the problem to your system manager and/or to
9631*** bug-libtool@gnu.org
9632
9633_LT_EOF
9634	  fi ;;
9635	esac
9636      fi
9637      break
9638    fi
9639  done
9640  IFS=$lt_save_ifs
9641  MAGIC_CMD=$lt_save_MAGIC_CMD
9642  ;;
9643esac
9644fi
9645
9646MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9647if test -n "$MAGIC_CMD"; then
9648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9649$as_echo "$MAGIC_CMD" >&6; }
9650else
9651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9652$as_echo "no" >&6; }
9653fi
9654
9655
9656
9657
9658
9659if test -z "$lt_cv_path_MAGIC_CMD"; then
9660  if test -n "$ac_tool_prefix"; then
9661    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9662$as_echo_n "checking for file... " >&6; }
9663if ${lt_cv_path_MAGIC_CMD+:} false; then :
9664  $as_echo_n "(cached) " >&6
9665else
9666  case $MAGIC_CMD in
9667[\\/*] |  ?:[\\/]*)
9668  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9669  ;;
9670*)
9671  lt_save_MAGIC_CMD=$MAGIC_CMD
9672  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9673  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9674  for ac_dir in $ac_dummy; do
9675    IFS=$lt_save_ifs
9676    test -z "$ac_dir" && ac_dir=.
9677    if test -f "$ac_dir/file"; then
9678      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9679      if test -n "$file_magic_test_file"; then
9680	case $deplibs_check_method in
9681	"file_magic "*)
9682	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9683	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9684	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9685	    $EGREP "$file_magic_regex" > /dev/null; then
9686	    :
9687	  else
9688	    cat <<_LT_EOF 1>&2
9689
9690*** Warning: the command libtool uses to detect shared libraries,
9691*** $file_magic_cmd, produces output that libtool cannot recognize.
9692*** The result is that libtool may fail to recognize shared libraries
9693*** as such.  This will affect the creation of libtool libraries that
9694*** depend on shared libraries, but programs linked with such libtool
9695*** libraries will work regardless of this problem.  Nevertheless, you
9696*** may want to report the problem to your system manager and/or to
9697*** bug-libtool@gnu.org
9698
9699_LT_EOF
9700	  fi ;;
9701	esac
9702      fi
9703      break
9704    fi
9705  done
9706  IFS=$lt_save_ifs
9707  MAGIC_CMD=$lt_save_MAGIC_CMD
9708  ;;
9709esac
9710fi
9711
9712MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9713if test -n "$MAGIC_CMD"; then
9714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9715$as_echo "$MAGIC_CMD" >&6; }
9716else
9717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9718$as_echo "no" >&6; }
9719fi
9720
9721
9722  else
9723    MAGIC_CMD=:
9724  fi
9725fi
9726
9727  fi
9728  ;;
9729esac
9730
9731# Use C for the default configuration in the libtool script
9732
9733lt_save_CC=$CC
9734ac_ext=c
9735ac_cpp='$CPP $CPPFLAGS'
9736ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9737ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9738ac_compiler_gnu=$ac_cv_c_compiler_gnu
9739
9740
9741# Source file extension for C test sources.
9742ac_ext=c
9743
9744# Object file extension for compiled C test sources.
9745objext=o
9746objext=$objext
9747
9748# Code to be used in simple compile tests
9749lt_simple_compile_test_code="int some_variable = 0;"
9750
9751# Code to be used in simple link tests
9752lt_simple_link_test_code='int main(){return(0);}'
9753
9754
9755
9756
9757
9758
9759
9760# If no C compiler was specified, use CC.
9761LTCC=${LTCC-"$CC"}
9762
9763# If no C compiler flags were specified, use CFLAGS.
9764LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9765
9766# Allow CC to be a program name with arguments.
9767compiler=$CC
9768
9769# Save the default compiler, since it gets overwritten when the other
9770# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9771compiler_DEFAULT=$CC
9772
9773# save warnings/boilerplate of simple test code
9774ac_outfile=conftest.$ac_objext
9775echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9776eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9777_lt_compiler_boilerplate=`cat conftest.err`
9778$RM conftest*
9779
9780ac_outfile=conftest.$ac_objext
9781echo "$lt_simple_link_test_code" >conftest.$ac_ext
9782eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9783_lt_linker_boilerplate=`cat conftest.err`
9784$RM -r conftest*
9785
9786
9787if test -n "$compiler"; then
9788
9789lt_prog_compiler_no_builtin_flag=
9790
9791if test yes = "$GCC"; then
9792  case $cc_basename in
9793  nvcc*)
9794    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9795  *)
9796    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9797  esac
9798
9799  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9800$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9801if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9802  $as_echo_n "(cached) " >&6
9803else
9804  lt_cv_prog_compiler_rtti_exceptions=no
9805   ac_outfile=conftest.$ac_objext
9806   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9807   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9808   # Insert the option either (1) after the last *FLAGS variable, or
9809   # (2) before a word containing "conftest.", or (3) at the end.
9810   # Note that $ac_compile itself does not contain backslashes and begins
9811   # with a dollar sign (not a hyphen), so the echo should work correctly.
9812   # The option is referenced via a variable to avoid confusing sed.
9813   lt_compile=`echo "$ac_compile" | $SED \
9814   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9815   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9816   -e 's:$: $lt_compiler_flag:'`
9817   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9818   (eval "$lt_compile" 2>conftest.err)
9819   ac_status=$?
9820   cat conftest.err >&5
9821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822   if (exit $ac_status) && test -s "$ac_outfile"; then
9823     # The compiler can only warn and ignore the option if not recognized
9824     # So say no if there are warnings other than the usual output.
9825     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9826     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9827     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9828       lt_cv_prog_compiler_rtti_exceptions=yes
9829     fi
9830   fi
9831   $RM conftest*
9832
9833fi
9834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9835$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9836
9837if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9838    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9839else
9840    :
9841fi
9842
9843fi
9844
9845
9846
9847
9848
9849
9850  lt_prog_compiler_wl=
9851lt_prog_compiler_pic=
9852lt_prog_compiler_static=
9853
9854
9855  if test yes = "$GCC"; then
9856    lt_prog_compiler_wl='-Wl,'
9857    lt_prog_compiler_static='-static'
9858
9859    case $host_os in
9860      aix*)
9861      # All AIX code is PIC.
9862      if test ia64 = "$host_cpu"; then
9863	# AIX 5 now supports IA64 processor
9864	lt_prog_compiler_static='-Bstatic'
9865      fi
9866      lt_prog_compiler_pic='-fPIC'
9867      ;;
9868
9869    amigaos*)
9870      case $host_cpu in
9871      powerpc)
9872            # see comment about AmigaOS4 .so support
9873            lt_prog_compiler_pic='-fPIC'
9874        ;;
9875      m68k)
9876            # FIXME: we need at least 68020 code to build shared libraries, but
9877            # adding the '-m68020' flag to GCC prevents building anything better,
9878            # like '-m68040'.
9879            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9880        ;;
9881      esac
9882      ;;
9883
9884    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9885      # PIC is the default for these OSes.
9886      ;;
9887
9888    mingw* | cygwin* | pw32* | os2* | cegcc*)
9889      # This hack is so that the source file can tell whether it is being
9890      # built for inclusion in a dll (and should export symbols for example).
9891      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9892      # (--disable-auto-import) libraries
9893      lt_prog_compiler_pic='-DDLL_EXPORT'
9894      case $host_os in
9895      os2*)
9896	lt_prog_compiler_static='$wl-static'
9897	;;
9898      esac
9899      ;;
9900
9901    darwin* | rhapsody*)
9902      # PIC is the default on this platform
9903      # Common symbols not allowed in MH_DYLIB files
9904      lt_prog_compiler_pic='-fno-common'
9905      ;;
9906
9907    haiku*)
9908      # PIC is the default for Haiku.
9909      # The "-static" flag exists, but is broken.
9910      lt_prog_compiler_static=
9911      ;;
9912
9913    hpux*)
9914      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9915      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9916      # sets the default TLS model and affects inlining.
9917      case $host_cpu in
9918      hppa*64*)
9919	# +Z the default
9920	;;
9921      *)
9922	lt_prog_compiler_pic='-fPIC'
9923	;;
9924      esac
9925      ;;
9926
9927    interix[3-9]*)
9928      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9929      # Instead, we relocate shared libraries at runtime.
9930      ;;
9931
9932    msdosdjgpp*)
9933      # Just because we use GCC doesn't mean we suddenly get shared libraries
9934      # on systems that don't support them.
9935      lt_prog_compiler_can_build_shared=no
9936      enable_shared=no
9937      ;;
9938
9939    *nto* | *qnx*)
9940      # QNX uses GNU C++, but need to define -shared option too, otherwise
9941      # it will coredump.
9942      lt_prog_compiler_pic='-fPIC -shared'
9943      ;;
9944
9945    sysv4*MP*)
9946      if test -d /usr/nec; then
9947	lt_prog_compiler_pic=-Kconform_pic
9948      fi
9949      ;;
9950
9951    *)
9952      lt_prog_compiler_pic='-fPIC'
9953      ;;
9954    esac
9955
9956    case $cc_basename in
9957    nvcc*) # Cuda Compiler Driver 2.2
9958      lt_prog_compiler_wl='-Xlinker '
9959      if test -n "$lt_prog_compiler_pic"; then
9960        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9961      fi
9962      ;;
9963    esac
9964  else
9965    # PORTME Check for flag to pass linker flags through the system compiler.
9966    case $host_os in
9967    aix*)
9968      lt_prog_compiler_wl='-Wl,'
9969      if test ia64 = "$host_cpu"; then
9970	# AIX 5 now supports IA64 processor
9971	lt_prog_compiler_static='-Bstatic'
9972      else
9973	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9974      fi
9975      ;;
9976
9977    darwin* | rhapsody*)
9978      # PIC is the default on this platform
9979      # Common symbols not allowed in MH_DYLIB files
9980      lt_prog_compiler_pic='-fno-common'
9981      case $cc_basename in
9982      nagfor*)
9983        # NAG Fortran compiler
9984        lt_prog_compiler_wl='-Wl,-Wl,,'
9985        lt_prog_compiler_pic='-PIC'
9986        lt_prog_compiler_static='-Bstatic'
9987        ;;
9988      esac
9989      ;;
9990
9991    mingw* | cygwin* | pw32* | os2* | cegcc*)
9992      # This hack is so that the source file can tell whether it is being
9993      # built for inclusion in a dll (and should export symbols for example).
9994      lt_prog_compiler_pic='-DDLL_EXPORT'
9995      case $host_os in
9996      os2*)
9997	lt_prog_compiler_static='$wl-static'
9998	;;
9999      esac
10000      ;;
10001
10002    hpux9* | hpux10* | hpux11*)
10003      lt_prog_compiler_wl='-Wl,'
10004      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10005      # not for PA HP-UX.
10006      case $host_cpu in
10007      hppa*64*|ia64*)
10008	# +Z the default
10009	;;
10010      *)
10011	lt_prog_compiler_pic='+Z'
10012	;;
10013      esac
10014      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10015      lt_prog_compiler_static='$wl-a ${wl}archive'
10016      ;;
10017
10018    irix5* | irix6* | nonstopux*)
10019      lt_prog_compiler_wl='-Wl,'
10020      # PIC (with -KPIC) is the default.
10021      lt_prog_compiler_static='-non_shared'
10022      ;;
10023
10024    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10025      case $cc_basename in
10026      # old Intel for x86_64, which still supported -KPIC.
10027      ecc*)
10028	lt_prog_compiler_wl='-Wl,'
10029	lt_prog_compiler_pic='-KPIC'
10030	lt_prog_compiler_static='-static'
10031        ;;
10032      # icc used to be incompatible with GCC.
10033      # ICC 10 doesn't accept -KPIC any more.
10034      icc* | ifort*)
10035	lt_prog_compiler_wl='-Wl,'
10036	lt_prog_compiler_pic='-fPIC'
10037	lt_prog_compiler_static='-static'
10038        ;;
10039      # Lahey Fortran 8.1.
10040      lf95*)
10041	lt_prog_compiler_wl='-Wl,'
10042	lt_prog_compiler_pic='--shared'
10043	lt_prog_compiler_static='--static'
10044	;;
10045      nagfor*)
10046	# NAG Fortran compiler
10047	lt_prog_compiler_wl='-Wl,-Wl,,'
10048	lt_prog_compiler_pic='-PIC'
10049	lt_prog_compiler_static='-Bstatic'
10050	;;
10051      tcc*)
10052	# Fabrice Bellard et al's Tiny C Compiler
10053	lt_prog_compiler_wl='-Wl,'
10054	lt_prog_compiler_pic='-fPIC'
10055	lt_prog_compiler_static='-static'
10056	;;
10057      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10058        # Portland Group compilers (*not* the Pentium gcc compiler,
10059	# which looks to be a dead project)
10060	lt_prog_compiler_wl='-Wl,'
10061	lt_prog_compiler_pic='-fpic'
10062	lt_prog_compiler_static='-Bstatic'
10063        ;;
10064      ccc*)
10065        lt_prog_compiler_wl='-Wl,'
10066        # All Alpha code is PIC.
10067        lt_prog_compiler_static='-non_shared'
10068        ;;
10069      xl* | bgxl* | bgf* | mpixl*)
10070	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10071	lt_prog_compiler_wl='-Wl,'
10072	lt_prog_compiler_pic='-qpic'
10073	lt_prog_compiler_static='-qstaticlink'
10074	;;
10075      *)
10076	case `$CC -V 2>&1 | sed 5q` in
10077	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10078	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10079	  lt_prog_compiler_pic='-KPIC'
10080	  lt_prog_compiler_static='-Bstatic'
10081	  lt_prog_compiler_wl=''
10082	  ;;
10083	*Sun\ F* | *Sun*Fortran*)
10084	  lt_prog_compiler_pic='-KPIC'
10085	  lt_prog_compiler_static='-Bstatic'
10086	  lt_prog_compiler_wl='-Qoption ld '
10087	  ;;
10088	*Sun\ C*)
10089	  # Sun C 5.9
10090	  lt_prog_compiler_pic='-KPIC'
10091	  lt_prog_compiler_static='-Bstatic'
10092	  lt_prog_compiler_wl='-Wl,'
10093	  ;;
10094        *Intel*\ [CF]*Compiler*)
10095	  lt_prog_compiler_wl='-Wl,'
10096	  lt_prog_compiler_pic='-fPIC'
10097	  lt_prog_compiler_static='-static'
10098	  ;;
10099	*Portland\ Group*)
10100	  lt_prog_compiler_wl='-Wl,'
10101	  lt_prog_compiler_pic='-fpic'
10102	  lt_prog_compiler_static='-Bstatic'
10103	  ;;
10104	esac
10105	;;
10106      esac
10107      ;;
10108
10109    newsos6)
10110      lt_prog_compiler_pic='-KPIC'
10111      lt_prog_compiler_static='-Bstatic'
10112      ;;
10113
10114    *nto* | *qnx*)
10115      # QNX uses GNU C++, but need to define -shared option too, otherwise
10116      # it will coredump.
10117      lt_prog_compiler_pic='-fPIC -shared'
10118      ;;
10119
10120    osf3* | osf4* | osf5*)
10121      lt_prog_compiler_wl='-Wl,'
10122      # All OSF/1 code is PIC.
10123      lt_prog_compiler_static='-non_shared'
10124      ;;
10125
10126    rdos*)
10127      lt_prog_compiler_static='-non_shared'
10128      ;;
10129
10130    solaris*)
10131      lt_prog_compiler_pic='-KPIC'
10132      lt_prog_compiler_static='-Bstatic'
10133      case $cc_basename in
10134      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10135	lt_prog_compiler_wl='-Qoption ld ';;
10136      *)
10137	lt_prog_compiler_wl='-Wl,';;
10138      esac
10139      ;;
10140
10141    sunos4*)
10142      lt_prog_compiler_wl='-Qoption ld '
10143      lt_prog_compiler_pic='-PIC'
10144      lt_prog_compiler_static='-Bstatic'
10145      ;;
10146
10147    sysv4 | sysv4.2uw2* | sysv4.3*)
10148      lt_prog_compiler_wl='-Wl,'
10149      lt_prog_compiler_pic='-KPIC'
10150      lt_prog_compiler_static='-Bstatic'
10151      ;;
10152
10153    sysv4*MP*)
10154      if test -d /usr/nec; then
10155	lt_prog_compiler_pic='-Kconform_pic'
10156	lt_prog_compiler_static='-Bstatic'
10157      fi
10158      ;;
10159
10160    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10161      lt_prog_compiler_wl='-Wl,'
10162      lt_prog_compiler_pic='-KPIC'
10163      lt_prog_compiler_static='-Bstatic'
10164      ;;
10165
10166    unicos*)
10167      lt_prog_compiler_wl='-Wl,'
10168      lt_prog_compiler_can_build_shared=no
10169      ;;
10170
10171    uts4*)
10172      lt_prog_compiler_pic='-pic'
10173      lt_prog_compiler_static='-Bstatic'
10174      ;;
10175
10176    *)
10177      lt_prog_compiler_can_build_shared=no
10178      ;;
10179    esac
10180  fi
10181
10182case $host_os in
10183  # For platforms that do not support PIC, -DPIC is meaningless:
10184  *djgpp*)
10185    lt_prog_compiler_pic=
10186    ;;
10187  *)
10188    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10189    ;;
10190esac
10191
10192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10193$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10194if ${lt_cv_prog_compiler_pic+:} false; then :
10195  $as_echo_n "(cached) " >&6
10196else
10197  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10198fi
10199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10200$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10201lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10202
10203#
10204# Check to make sure the PIC flag actually works.
10205#
10206if test -n "$lt_prog_compiler_pic"; then
10207  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10208$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10209if ${lt_cv_prog_compiler_pic_works+:} false; then :
10210  $as_echo_n "(cached) " >&6
10211else
10212  lt_cv_prog_compiler_pic_works=no
10213   ac_outfile=conftest.$ac_objext
10214   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10215   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10216   # Insert the option either (1) after the last *FLAGS variable, or
10217   # (2) before a word containing "conftest.", or (3) at the end.
10218   # Note that $ac_compile itself does not contain backslashes and begins
10219   # with a dollar sign (not a hyphen), so the echo should work correctly.
10220   # The option is referenced via a variable to avoid confusing sed.
10221   lt_compile=`echo "$ac_compile" | $SED \
10222   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10223   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10224   -e 's:$: $lt_compiler_flag:'`
10225   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10226   (eval "$lt_compile" 2>conftest.err)
10227   ac_status=$?
10228   cat conftest.err >&5
10229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230   if (exit $ac_status) && test -s "$ac_outfile"; then
10231     # The compiler can only warn and ignore the option if not recognized
10232     # So say no if there are warnings other than the usual output.
10233     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10234     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10235     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10236       lt_cv_prog_compiler_pic_works=yes
10237     fi
10238   fi
10239   $RM conftest*
10240
10241fi
10242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10243$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10244
10245if test yes = "$lt_cv_prog_compiler_pic_works"; then
10246    case $lt_prog_compiler_pic in
10247     "" | " "*) ;;
10248     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10249     esac
10250else
10251    lt_prog_compiler_pic=
10252     lt_prog_compiler_can_build_shared=no
10253fi
10254
10255fi
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267#
10268# Check to make sure the static flag actually works.
10269#
10270wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10272$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10273if ${lt_cv_prog_compiler_static_works+:} false; then :
10274  $as_echo_n "(cached) " >&6
10275else
10276  lt_cv_prog_compiler_static_works=no
10277   save_LDFLAGS=$LDFLAGS
10278   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10279   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10280   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10281     # The linker can only warn and ignore the option if not recognized
10282     # So say no if there are warnings
10283     if test -s conftest.err; then
10284       # Append any errors to the config.log.
10285       cat conftest.err 1>&5
10286       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10287       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10288       if diff conftest.exp conftest.er2 >/dev/null; then
10289         lt_cv_prog_compiler_static_works=yes
10290       fi
10291     else
10292       lt_cv_prog_compiler_static_works=yes
10293     fi
10294   fi
10295   $RM -r conftest*
10296   LDFLAGS=$save_LDFLAGS
10297
10298fi
10299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10300$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10301
10302if test yes = "$lt_cv_prog_compiler_static_works"; then
10303    :
10304else
10305    lt_prog_compiler_static=
10306fi
10307
10308
10309
10310
10311
10312
10313
10314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10315$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10316if ${lt_cv_prog_compiler_c_o+:} false; then :
10317  $as_echo_n "(cached) " >&6
10318else
10319  lt_cv_prog_compiler_c_o=no
10320   $RM -r conftest 2>/dev/null
10321   mkdir conftest
10322   cd conftest
10323   mkdir out
10324   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10325
10326   lt_compiler_flag="-o out/conftest2.$ac_objext"
10327   # Insert the option either (1) after the last *FLAGS variable, or
10328   # (2) before a word containing "conftest.", or (3) at the end.
10329   # Note that $ac_compile itself does not contain backslashes and begins
10330   # with a dollar sign (not a hyphen), so the echo should work correctly.
10331   lt_compile=`echo "$ac_compile" | $SED \
10332   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10333   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10334   -e 's:$: $lt_compiler_flag:'`
10335   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10336   (eval "$lt_compile" 2>out/conftest.err)
10337   ac_status=$?
10338   cat out/conftest.err >&5
10339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10341   then
10342     # The compiler can only warn and ignore the option if not recognized
10343     # So say no if there are warnings
10344     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10345     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10346     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10347       lt_cv_prog_compiler_c_o=yes
10348     fi
10349   fi
10350   chmod u+w . 2>&5
10351   $RM conftest*
10352   # SGI C++ compiler will create directory out/ii_files/ for
10353   # template instantiation
10354   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10355   $RM out/* && rmdir out
10356   cd ..
10357   $RM -r conftest
10358   $RM conftest*
10359
10360fi
10361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10362$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10363
10364
10365
10366
10367
10368
10369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10370$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10371if ${lt_cv_prog_compiler_c_o+:} false; then :
10372  $as_echo_n "(cached) " >&6
10373else
10374  lt_cv_prog_compiler_c_o=no
10375   $RM -r conftest 2>/dev/null
10376   mkdir conftest
10377   cd conftest
10378   mkdir out
10379   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10380
10381   lt_compiler_flag="-o out/conftest2.$ac_objext"
10382   # Insert the option either (1) after the last *FLAGS variable, or
10383   # (2) before a word containing "conftest.", or (3) at the end.
10384   # Note that $ac_compile itself does not contain backslashes and begins
10385   # with a dollar sign (not a hyphen), so the echo should work correctly.
10386   lt_compile=`echo "$ac_compile" | $SED \
10387   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10388   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10389   -e 's:$: $lt_compiler_flag:'`
10390   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10391   (eval "$lt_compile" 2>out/conftest.err)
10392   ac_status=$?
10393   cat out/conftest.err >&5
10394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10395   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10396   then
10397     # The compiler can only warn and ignore the option if not recognized
10398     # So say no if there are warnings
10399     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10400     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10401     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10402       lt_cv_prog_compiler_c_o=yes
10403     fi
10404   fi
10405   chmod u+w . 2>&5
10406   $RM conftest*
10407   # SGI C++ compiler will create directory out/ii_files/ for
10408   # template instantiation
10409   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10410   $RM out/* && rmdir out
10411   cd ..
10412   $RM -r conftest
10413   $RM conftest*
10414
10415fi
10416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10417$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10418
10419
10420
10421
10422hard_links=nottested
10423if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10424  # do not overwrite the value of need_locks provided by the user
10425  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10426$as_echo_n "checking if we can lock with hard links... " >&6; }
10427  hard_links=yes
10428  $RM conftest*
10429  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10430  touch conftest.a
10431  ln conftest.a conftest.b 2>&5 || hard_links=no
10432  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10434$as_echo "$hard_links" >&6; }
10435  if test no = "$hard_links"; then
10436    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10437$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10438    need_locks=warn
10439  fi
10440else
10441  need_locks=no
10442fi
10443
10444
10445
10446
10447
10448
10449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10450$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10451
10452  runpath_var=
10453  allow_undefined_flag=
10454  always_export_symbols=no
10455  archive_cmds=
10456  archive_expsym_cmds=
10457  compiler_needs_object=no
10458  enable_shared_with_static_runtimes=no
10459  export_dynamic_flag_spec=
10460  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10461  hardcode_automatic=no
10462  hardcode_direct=no
10463  hardcode_direct_absolute=no
10464  hardcode_libdir_flag_spec=
10465  hardcode_libdir_separator=
10466  hardcode_minus_L=no
10467  hardcode_shlibpath_var=unsupported
10468  inherit_rpath=no
10469  link_all_deplibs=unknown
10470  module_cmds=
10471  module_expsym_cmds=
10472  old_archive_from_new_cmds=
10473  old_archive_from_expsyms_cmds=
10474  thread_safe_flag_spec=
10475  whole_archive_flag_spec=
10476  # include_expsyms should be a list of space-separated symbols to be *always*
10477  # included in the symbol list
10478  include_expsyms=
10479  # exclude_expsyms can be an extended regexp of symbols to exclude
10480  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10481  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10482  # as well as any symbol that contains 'd'.
10483  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10484  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10485  # platforms (ab)use it in PIC code, but their linkers get confused if
10486  # the symbol is explicitly referenced.  Since portable code cannot
10487  # rely on this symbol name, it's probably fine to never include it in
10488  # preloaded symbol tables.
10489  # Exclude shared library initialization/finalization symbols.
10490  extract_expsyms_cmds=
10491
10492  case $host_os in
10493  cygwin* | mingw* | pw32* | cegcc*)
10494    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10495    # When not using gcc, we currently assume that we are using
10496    # Microsoft Visual C++.
10497    if test yes != "$GCC"; then
10498      with_gnu_ld=no
10499    fi
10500    ;;
10501  interix*)
10502    # we just hope/assume this is gcc and not c89 (= MSVC++)
10503    with_gnu_ld=yes
10504    ;;
10505  openbsd* | bitrig*)
10506    with_gnu_ld=no
10507    ;;
10508  esac
10509
10510  ld_shlibs=yes
10511
10512  # On some targets, GNU ld is compatible enough with the native linker
10513  # that we're better off using the native interface for both.
10514  lt_use_gnu_ld_interface=no
10515  if test yes = "$with_gnu_ld"; then
10516    case $host_os in
10517      aix*)
10518	# The AIX port of GNU ld has always aspired to compatibility
10519	# with the native linker.  However, as the warning in the GNU ld
10520	# block says, versions before 2.19.5* couldn't really create working
10521	# shared libraries, regardless of the interface used.
10522	case `$LD -v 2>&1` in
10523	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10524	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10525	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10526	  *)
10527	    lt_use_gnu_ld_interface=yes
10528	    ;;
10529	esac
10530	;;
10531      *)
10532	lt_use_gnu_ld_interface=yes
10533	;;
10534    esac
10535  fi
10536
10537  if test yes = "$lt_use_gnu_ld_interface"; then
10538    # If archive_cmds runs LD, not CC, wlarc should be empty
10539    wlarc='$wl'
10540
10541    # Set some defaults for GNU ld with shared library support. These
10542    # are reset later if shared libraries are not supported. Putting them
10543    # here allows them to be overridden if necessary.
10544    runpath_var=LD_RUN_PATH
10545    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10546    export_dynamic_flag_spec='$wl--export-dynamic'
10547    # ancient GNU ld didn't support --whole-archive et. al.
10548    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10549      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10550    else
10551      whole_archive_flag_spec=
10552    fi
10553    supports_anon_versioning=no
10554    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10555      *GNU\ gold*) supports_anon_versioning=yes ;;
10556      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10557      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10558      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10559      *\ 2.11.*) ;; # other 2.11 versions
10560      *) supports_anon_versioning=yes ;;
10561    esac
10562
10563    # See if GNU ld supports shared libraries.
10564    case $host_os in
10565    aix[3-9]*)
10566      # On AIX/PPC, the GNU linker is very broken
10567      if test ia64 != "$host_cpu"; then
10568	ld_shlibs=no
10569	cat <<_LT_EOF 1>&2
10570
10571*** Warning: the GNU linker, at least up to release 2.19, is reported
10572*** to be unable to reliably create shared libraries on AIX.
10573*** Therefore, libtool is disabling shared libraries support.  If you
10574*** really care for shared libraries, you may want to install binutils
10575*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10576*** You will then need to restart the configuration process.
10577
10578_LT_EOF
10579      fi
10580      ;;
10581
10582    amigaos*)
10583      case $host_cpu in
10584      powerpc)
10585            # see comment about AmigaOS4 .so support
10586            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10587            archive_expsym_cmds=''
10588        ;;
10589      m68k)
10590            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)'
10591            hardcode_libdir_flag_spec='-L$libdir'
10592            hardcode_minus_L=yes
10593        ;;
10594      esac
10595      ;;
10596
10597    beos*)
10598      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10599	allow_undefined_flag=unsupported
10600	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10601	# support --undefined.  This deserves some investigation.  FIXME
10602	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10603      else
10604	ld_shlibs=no
10605      fi
10606      ;;
10607
10608    cygwin* | mingw* | pw32* | cegcc*)
10609      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10610      # as there is no search path for DLLs.
10611      hardcode_libdir_flag_spec='-L$libdir'
10612      export_dynamic_flag_spec='$wl--export-all-symbols'
10613      allow_undefined_flag=unsupported
10614      always_export_symbols=no
10615      enable_shared_with_static_runtimes=yes
10616      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'
10617      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10618
10619      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10620        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10621	# If the export-symbols file already is a .def file, use it as
10622	# is; otherwise, prepend EXPORTS...
10623	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10624          cp $export_symbols $output_objdir/$soname.def;
10625        else
10626          echo EXPORTS > $output_objdir/$soname.def;
10627          cat $export_symbols >> $output_objdir/$soname.def;
10628        fi~
10629        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10630      else
10631	ld_shlibs=no
10632      fi
10633      ;;
10634
10635    haiku*)
10636      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10637      link_all_deplibs=yes
10638      ;;
10639
10640    os2*)
10641      hardcode_libdir_flag_spec='-L$libdir'
10642      hardcode_minus_L=yes
10643      allow_undefined_flag=unsupported
10644      shrext_cmds=.dll
10645      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10646	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10647	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10648	$ECHO EXPORTS >> $output_objdir/$libname.def~
10649	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10650	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10651	emximp -o $lib $output_objdir/$libname.def'
10652      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10653	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10654	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10655	$ECHO EXPORTS >> $output_objdir/$libname.def~
10656	prefix_cmds="$SED"~
10657	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10658	  prefix_cmds="$prefix_cmds -e 1d";
10659	fi~
10660	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10661	cat $export_symbols | $prefix_cmds >> $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      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10665      enable_shared_with_static_runtimes=yes
10666      ;;
10667
10668    interix[3-9]*)
10669      hardcode_direct=no
10670      hardcode_shlibpath_var=no
10671      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10672      export_dynamic_flag_spec='$wl-E'
10673      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10674      # Instead, shared libraries are loaded at an image base (0x10000000 by
10675      # default) and relocated if they conflict, which is a slow very memory
10676      # consuming and fragmenting process.  To avoid this, we pick a random,
10677      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10678      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10679      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10680      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'
10681      ;;
10682
10683    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10684      tmp_diet=no
10685      if test linux-dietlibc = "$host_os"; then
10686	case $cc_basename in
10687	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10688	esac
10689      fi
10690      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10691	 && test no = "$tmp_diet"
10692      then
10693	tmp_addflag=' $pic_flag'
10694	tmp_sharedflag='-shared'
10695	case $cc_basename,$host_cpu in
10696        pgcc*)				# Portland Group C compiler
10697	  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'
10698	  tmp_addflag=' $pic_flag'
10699	  ;;
10700	pgf77* | pgf90* | pgf95* | pgfortran*)
10701					# Portland Group f77 and f90 compilers
10702	  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'
10703	  tmp_addflag=' $pic_flag -Mnomain' ;;
10704	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10705	  tmp_addflag=' -i_dynamic' ;;
10706	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10707	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10708	ifc* | ifort*)			# Intel Fortran compiler
10709	  tmp_addflag=' -nofor_main' ;;
10710	lf95*)				# Lahey Fortran 8.1
10711	  whole_archive_flag_spec=
10712	  tmp_sharedflag='--shared' ;;
10713        nagfor*)                        # NAGFOR 5.3
10714          tmp_sharedflag='-Wl,-shared' ;;
10715	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10716	  tmp_sharedflag='-qmkshrobj'
10717	  tmp_addflag= ;;
10718	nvcc*)	# Cuda Compiler Driver 2.2
10719	  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'
10720	  compiler_needs_object=yes
10721	  ;;
10722	esac
10723	case `$CC -V 2>&1 | sed 5q` in
10724	*Sun\ C*)			# Sun C 5.9
10725	  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'
10726	  compiler_needs_object=yes
10727	  tmp_sharedflag='-G' ;;
10728	*Sun\ F*)			# Sun Fortran 8.3
10729	  tmp_sharedflag='-G' ;;
10730	esac
10731	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10732
10733        if test yes = "$supports_anon_versioning"; then
10734          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10735            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10736            echo "local: *; };" >> $output_objdir/$libname.ver~
10737            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10738        fi
10739
10740	case $cc_basename in
10741	tcc*)
10742	  export_dynamic_flag_spec='-rdynamic'
10743	  ;;
10744	xlf* | bgf* | bgxlf* | mpixlf*)
10745	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10746	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10747	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10748	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10749	  if test yes = "$supports_anon_versioning"; then
10750	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10751              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10752              echo "local: *; };" >> $output_objdir/$libname.ver~
10753              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10754	  fi
10755	  ;;
10756	esac
10757      else
10758        ld_shlibs=no
10759      fi
10760      ;;
10761
10762    netbsd*)
10763      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10764	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10765	wlarc=
10766      else
10767	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10768	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10769      fi
10770      ;;
10771
10772    solaris*)
10773      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10774	ld_shlibs=no
10775	cat <<_LT_EOF 1>&2
10776
10777*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10778*** create shared libraries on Solaris systems.  Therefore, libtool
10779*** is disabling shared libraries support.  We urge you to upgrade GNU
10780*** binutils to release 2.9.1 or newer.  Another option is to modify
10781*** your PATH or compiler configuration so that the native linker is
10782*** used, and then restart.
10783
10784_LT_EOF
10785      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10786	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10787	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10788      else
10789	ld_shlibs=no
10790      fi
10791      ;;
10792
10793    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10794      case `$LD -v 2>&1` in
10795        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10796	ld_shlibs=no
10797	cat <<_LT_EOF 1>&2
10798
10799*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10800*** reliably create shared libraries on SCO systems.  Therefore, libtool
10801*** is disabling shared libraries support.  We urge you to upgrade GNU
10802*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10803*** your PATH or compiler configuration so that the native linker is
10804*** used, and then restart.
10805
10806_LT_EOF
10807	;;
10808	*)
10809	  # For security reasons, it is highly recommended that you always
10810	  # use absolute paths for naming shared libraries, and exclude the
10811	  # DT_RUNPATH tag from executables and libraries.  But doing so
10812	  # requires that you compile everything twice, which is a pain.
10813	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10814	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10815	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10816	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10817	  else
10818	    ld_shlibs=no
10819	  fi
10820	;;
10821      esac
10822      ;;
10823
10824    sunos4*)
10825      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10826      wlarc=
10827      hardcode_direct=yes
10828      hardcode_shlibpath_var=no
10829      ;;
10830
10831    *)
10832      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10833	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10834	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10835      else
10836	ld_shlibs=no
10837      fi
10838      ;;
10839    esac
10840
10841    if test no = "$ld_shlibs"; then
10842      runpath_var=
10843      hardcode_libdir_flag_spec=
10844      export_dynamic_flag_spec=
10845      whole_archive_flag_spec=
10846    fi
10847  else
10848    # PORTME fill in a description of your system's linker (not GNU ld)
10849    case $host_os in
10850    aix3*)
10851      allow_undefined_flag=unsupported
10852      always_export_symbols=yes
10853      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'
10854      # Note: this linker hardcodes the directories in LIBPATH if there
10855      # are no directories specified by -L.
10856      hardcode_minus_L=yes
10857      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10858	# Neither direct hardcoding nor static linking is supported with a
10859	# broken collect2.
10860	hardcode_direct=unsupported
10861      fi
10862      ;;
10863
10864    aix[4-9]*)
10865      if test ia64 = "$host_cpu"; then
10866	# On IA64, the linker does run time linking by default, so we don't
10867	# have to do anything special.
10868	aix_use_runtimelinking=no
10869	exp_sym_flag='-Bexport'
10870	no_entry_flag=
10871      else
10872	# If we're using GNU nm, then we don't want the "-C" option.
10873	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10874	# Without the "-l" option, or with the "-B" option, AIX nm treats
10875	# weak defined symbols like other global defined symbols, whereas
10876	# GNU nm marks them as "W".
10877	# While the 'weak' keyword is ignored in the Export File, we need
10878	# it in the Import File for the 'aix-soname' feature, so we have
10879	# to replace the "-B" option with "-P" for AIX nm.
10880	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10881	  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'
10882	else
10883	  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'
10884	fi
10885	aix_use_runtimelinking=no
10886
10887	# Test if we are trying to use run time linking or normal
10888	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10889	# have runtime linking enabled, and use it for executables.
10890	# For shared libraries, we enable/disable runtime linking
10891	# depending on the kind of the shared library created -
10892	# when "with_aix_soname,aix_use_runtimelinking" is:
10893	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10894	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10895	#            lib.a           static archive
10896	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10897	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10898	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10899	#            lib.a(lib.so.V) shared, rtl:no
10900	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10901	#            lib.a           static archive
10902	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10903	  for ld_flag in $LDFLAGS; do
10904	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10905	    aix_use_runtimelinking=yes
10906	    break
10907	  fi
10908	  done
10909	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10910	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10911	    # so we don't have lib.a shared libs to link our executables.
10912	    # We have to force runtime linking in this case.
10913	    aix_use_runtimelinking=yes
10914	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10915	  fi
10916	  ;;
10917	esac
10918
10919	exp_sym_flag='-bexport'
10920	no_entry_flag='-bnoentry'
10921      fi
10922
10923      # When large executables or shared objects are built, AIX ld can
10924      # have problems creating the table of contents.  If linking a library
10925      # or program results in "error TOC overflow" add -mminimal-toc to
10926      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10927      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10928
10929      archive_cmds=''
10930      hardcode_direct=yes
10931      hardcode_direct_absolute=yes
10932      hardcode_libdir_separator=':'
10933      link_all_deplibs=yes
10934      file_list_spec='$wl-f,'
10935      case $with_aix_soname,$aix_use_runtimelinking in
10936      aix,*) ;; # traditional, no import file
10937      svr4,* | *,yes) # use import file
10938	# The Import File defines what to hardcode.
10939	hardcode_direct=no
10940	hardcode_direct_absolute=no
10941	;;
10942      esac
10943
10944      if test yes = "$GCC"; then
10945	case $host_os in aix4.[012]|aix4.[012].*)
10946	# We only want to do this on AIX 4.2 and lower, the check
10947	# below for broken collect2 doesn't work under 4.3+
10948	  collect2name=`$CC -print-prog-name=collect2`
10949	  if test -f "$collect2name" &&
10950	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10951	  then
10952	  # We have reworked collect2
10953	  :
10954	  else
10955	  # We have old collect2
10956	  hardcode_direct=unsupported
10957	  # It fails to find uninstalled libraries when the uninstalled
10958	  # path is not listed in the libpath.  Setting hardcode_minus_L
10959	  # to unsupported forces relinking
10960	  hardcode_minus_L=yes
10961	  hardcode_libdir_flag_spec='-L$libdir'
10962	  hardcode_libdir_separator=
10963	  fi
10964	  ;;
10965	esac
10966	shared_flag='-shared'
10967	if test yes = "$aix_use_runtimelinking"; then
10968	  shared_flag="$shared_flag "'$wl-G'
10969	fi
10970	# Need to ensure runtime linking is disabled for the traditional
10971	# shared library, or the linker may eventually find shared libraries
10972	# /with/ Import File - we do not want to mix them.
10973	shared_flag_aix='-shared'
10974	shared_flag_svr4='-shared $wl-G'
10975      else
10976	# not using gcc
10977	if test ia64 = "$host_cpu"; then
10978	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10979	# chokes on -Wl,-G. The following line is correct:
10980	  shared_flag='-G'
10981	else
10982	  if test yes = "$aix_use_runtimelinking"; then
10983	    shared_flag='$wl-G'
10984	  else
10985	    shared_flag='$wl-bM:SRE'
10986	  fi
10987	  shared_flag_aix='$wl-bM:SRE'
10988	  shared_flag_svr4='$wl-G'
10989	fi
10990      fi
10991
10992      export_dynamic_flag_spec='$wl-bexpall'
10993      # It seems that -bexpall does not export symbols beginning with
10994      # underscore (_), so it is better to generate a list of symbols to export.
10995      always_export_symbols=yes
10996      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10997	# Warning - without using the other runtime loading flags (-brtl),
10998	# -berok will link without error, but may produce a broken library.
10999	allow_undefined_flag='-berok'
11000        # Determine the default libpath from the value encoded in an
11001        # empty executable.
11002        if test set = "${lt_cv_aix_libpath+set}"; then
11003  aix_libpath=$lt_cv_aix_libpath
11004else
11005  if ${lt_cv_aix_libpath_+:} false; then :
11006  $as_echo_n "(cached) " >&6
11007else
11008  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11009/* end confdefs.h.  */
11010
11011int
11012main ()
11013{
11014
11015  ;
11016  return 0;
11017}
11018_ACEOF
11019if ac_fn_c_try_link "$LINENO"; then :
11020
11021  lt_aix_libpath_sed='
11022      /Import File Strings/,/^$/ {
11023	  /^0/ {
11024	      s/^0  *\([^ ]*\) *$/\1/
11025	      p
11026	  }
11027      }'
11028  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11029  # Check for a 64-bit object if we didn't find anything.
11030  if test -z "$lt_cv_aix_libpath_"; then
11031    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11032  fi
11033fi
11034rm -f core conftest.err conftest.$ac_objext \
11035    conftest$ac_exeext conftest.$ac_ext
11036  if test -z "$lt_cv_aix_libpath_"; then
11037    lt_cv_aix_libpath_=/usr/lib:/lib
11038  fi
11039
11040fi
11041
11042  aix_libpath=$lt_cv_aix_libpath_
11043fi
11044
11045        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11046        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
11047      else
11048	if test ia64 = "$host_cpu"; then
11049	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11050	  allow_undefined_flag="-z nodefs"
11051	  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"
11052	else
11053	 # Determine the default libpath from the value encoded in an
11054	 # empty executable.
11055	 if test set = "${lt_cv_aix_libpath+set}"; then
11056  aix_libpath=$lt_cv_aix_libpath
11057else
11058  if ${lt_cv_aix_libpath_+:} false; then :
11059  $as_echo_n "(cached) " >&6
11060else
11061  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062/* end confdefs.h.  */
11063
11064int
11065main ()
11066{
11067
11068  ;
11069  return 0;
11070}
11071_ACEOF
11072if ac_fn_c_try_link "$LINENO"; then :
11073
11074  lt_aix_libpath_sed='
11075      /Import File Strings/,/^$/ {
11076	  /^0/ {
11077	      s/^0  *\([^ ]*\) *$/\1/
11078	      p
11079	  }
11080      }'
11081  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11082  # Check for a 64-bit object if we didn't find anything.
11083  if test -z "$lt_cv_aix_libpath_"; then
11084    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11085  fi
11086fi
11087rm -f core conftest.err conftest.$ac_objext \
11088    conftest$ac_exeext conftest.$ac_ext
11089  if test -z "$lt_cv_aix_libpath_"; then
11090    lt_cv_aix_libpath_=/usr/lib:/lib
11091  fi
11092
11093fi
11094
11095  aix_libpath=$lt_cv_aix_libpath_
11096fi
11097
11098	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11099	  # Warning - without using the other run time loading flags,
11100	  # -berok will link without error, but may produce a broken library.
11101	  no_undefined_flag=' $wl-bernotok'
11102	  allow_undefined_flag=' $wl-berok'
11103	  if test yes = "$with_gnu_ld"; then
11104	    # We only use this code for GNU lds that support --whole-archive.
11105	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11106	  else
11107	    # Exported symbols can be pulled into shared objects from archives
11108	    whole_archive_flag_spec='$convenience'
11109	  fi
11110	  archive_cmds_need_lc=yes
11111	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11112	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11113	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11114	  if test svr4 != "$with_aix_soname"; then
11115	    # This is similar to how AIX traditionally builds its shared libraries.
11116	    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'
11117	  fi
11118	  if test aix != "$with_aix_soname"; then
11119	    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'
11120	  else
11121	    # used by -dlpreopen to get the symbols
11122	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11123	  fi
11124	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11125	fi
11126      fi
11127      ;;
11128
11129    amigaos*)
11130      case $host_cpu in
11131      powerpc)
11132            # see comment about AmigaOS4 .so support
11133            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11134            archive_expsym_cmds=''
11135        ;;
11136      m68k)
11137            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)'
11138            hardcode_libdir_flag_spec='-L$libdir'
11139            hardcode_minus_L=yes
11140        ;;
11141      esac
11142      ;;
11143
11144    bsdi[45]*)
11145      export_dynamic_flag_spec=-rdynamic
11146      ;;
11147
11148    cygwin* | mingw* | pw32* | cegcc*)
11149      # When not using gcc, we currently assume that we are using
11150      # Microsoft Visual C++.
11151      # hardcode_libdir_flag_spec is actually meaningless, as there is
11152      # no search path for DLLs.
11153      case $cc_basename in
11154      cl*)
11155	# Native MSVC
11156	hardcode_libdir_flag_spec=' '
11157	allow_undefined_flag=unsupported
11158	always_export_symbols=yes
11159	file_list_spec='@'
11160	# Tell ltmain to make .lib files, not .a files.
11161	libext=lib
11162	# Tell ltmain to make .dll files, not .so files.
11163	shrext_cmds=.dll
11164	# FIXME: Setting linknames here is a bad hack.
11165	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11166	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11167            cp "$export_symbols" "$output_objdir/$soname.def";
11168            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11169          else
11170            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11171          fi~
11172          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11173          linknames='
11174	# The linker will not automatically build a static lib if we build a DLL.
11175	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11176	enable_shared_with_static_runtimes=yes
11177	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11178	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11179	# Don't use ranlib
11180	old_postinstall_cmds='chmod 644 $oldlib'
11181	postlink_cmds='lt_outputfile="@OUTPUT@"~
11182          lt_tool_outputfile="@TOOL_OUTPUT@"~
11183          case $lt_outputfile in
11184            *.exe|*.EXE) ;;
11185            *)
11186              lt_outputfile=$lt_outputfile.exe
11187              lt_tool_outputfile=$lt_tool_outputfile.exe
11188              ;;
11189          esac~
11190          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11191            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11192            $RM "$lt_outputfile.manifest";
11193          fi'
11194	;;
11195      *)
11196	# Assume MSVC wrapper
11197	hardcode_libdir_flag_spec=' '
11198	allow_undefined_flag=unsupported
11199	# Tell ltmain to make .lib files, not .a files.
11200	libext=lib
11201	# Tell ltmain to make .dll files, not .so files.
11202	shrext_cmds=.dll
11203	# FIXME: Setting linknames here is a bad hack.
11204	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11205	# The linker will automatically build a .lib file if we build a DLL.
11206	old_archive_from_new_cmds='true'
11207	# FIXME: Should let the user specify the lib program.
11208	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11209	enable_shared_with_static_runtimes=yes
11210	;;
11211      esac
11212      ;;
11213
11214    darwin* | rhapsody*)
11215
11216
11217  archive_cmds_need_lc=no
11218  hardcode_direct=no
11219  hardcode_automatic=yes
11220  hardcode_shlibpath_var=unsupported
11221  if test yes = "$lt_cv_ld_force_load"; then
11222    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\"`'
11223
11224  else
11225    whole_archive_flag_spec=''
11226  fi
11227  link_all_deplibs=yes
11228  allow_undefined_flag=$_lt_dar_allow_undefined
11229  case $cc_basename in
11230     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11231     *) _lt_dar_can_shared=$GCC ;;
11232  esac
11233  if test yes = "$_lt_dar_can_shared"; then
11234    output_verbose_link_cmd=func_echo_all
11235    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11236    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11237    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"
11238    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"
11239
11240  else
11241  ld_shlibs=no
11242  fi
11243
11244      ;;
11245
11246    dgux*)
11247      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11248      hardcode_libdir_flag_spec='-L$libdir'
11249      hardcode_shlibpath_var=no
11250      ;;
11251
11252    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11253    # support.  Future versions do this automatically, but an explicit c++rt0.o
11254    # does not break anything, and helps significantly (at the cost of a little
11255    # extra space).
11256    freebsd2.2*)
11257      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11258      hardcode_libdir_flag_spec='-R$libdir'
11259      hardcode_direct=yes
11260      hardcode_shlibpath_var=no
11261      ;;
11262
11263    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11264    freebsd2.*)
11265      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11266      hardcode_direct=yes
11267      hardcode_minus_L=yes
11268      hardcode_shlibpath_var=no
11269      ;;
11270
11271    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11272    freebsd* | dragonfly*)
11273      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11274      hardcode_libdir_flag_spec='-R$libdir'
11275      hardcode_direct=yes
11276      hardcode_shlibpath_var=no
11277      ;;
11278
11279    hpux9*)
11280      if test yes = "$GCC"; then
11281	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'
11282      else
11283	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'
11284      fi
11285      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11286      hardcode_libdir_separator=:
11287      hardcode_direct=yes
11288
11289      # hardcode_minus_L: Not really in the search PATH,
11290      # but as the default location of the library.
11291      hardcode_minus_L=yes
11292      export_dynamic_flag_spec='$wl-E'
11293      ;;
11294
11295    hpux10*)
11296      if test yes,no = "$GCC,$with_gnu_ld"; then
11297	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11298      else
11299	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11300      fi
11301      if test no = "$with_gnu_ld"; then
11302	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11303	hardcode_libdir_separator=:
11304	hardcode_direct=yes
11305	hardcode_direct_absolute=yes
11306	export_dynamic_flag_spec='$wl-E'
11307	# hardcode_minus_L: Not really in the search PATH,
11308	# but as the default location of the library.
11309	hardcode_minus_L=yes
11310      fi
11311      ;;
11312
11313    hpux11*)
11314      if test yes,no = "$GCC,$with_gnu_ld"; then
11315	case $host_cpu in
11316	hppa*64*)
11317	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11318	  ;;
11319	ia64*)
11320	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11321	  ;;
11322	*)
11323	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11324	  ;;
11325	esac
11326      else
11327	case $host_cpu in
11328	hppa*64*)
11329	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11330	  ;;
11331	ia64*)
11332	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11333	  ;;
11334	*)
11335
11336	  # Older versions of the 11.00 compiler do not understand -b yet
11337	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11338	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11339$as_echo_n "checking if $CC understands -b... " >&6; }
11340if ${lt_cv_prog_compiler__b+:} false; then :
11341  $as_echo_n "(cached) " >&6
11342else
11343  lt_cv_prog_compiler__b=no
11344   save_LDFLAGS=$LDFLAGS
11345   LDFLAGS="$LDFLAGS -b"
11346   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11347   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11348     # The linker can only warn and ignore the option if not recognized
11349     # So say no if there are warnings
11350     if test -s conftest.err; then
11351       # Append any errors to the config.log.
11352       cat conftest.err 1>&5
11353       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11354       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11355       if diff conftest.exp conftest.er2 >/dev/null; then
11356         lt_cv_prog_compiler__b=yes
11357       fi
11358     else
11359       lt_cv_prog_compiler__b=yes
11360     fi
11361   fi
11362   $RM -r conftest*
11363   LDFLAGS=$save_LDFLAGS
11364
11365fi
11366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11367$as_echo "$lt_cv_prog_compiler__b" >&6; }
11368
11369if test yes = "$lt_cv_prog_compiler__b"; then
11370    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11371else
11372    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11373fi
11374
11375	  ;;
11376	esac
11377      fi
11378      if test no = "$with_gnu_ld"; then
11379	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11380	hardcode_libdir_separator=:
11381
11382	case $host_cpu in
11383	hppa*64*|ia64*)
11384	  hardcode_direct=no
11385	  hardcode_shlibpath_var=no
11386	  ;;
11387	*)
11388	  hardcode_direct=yes
11389	  hardcode_direct_absolute=yes
11390	  export_dynamic_flag_spec='$wl-E'
11391
11392	  # hardcode_minus_L: Not really in the search PATH,
11393	  # but as the default location of the library.
11394	  hardcode_minus_L=yes
11395	  ;;
11396	esac
11397      fi
11398      ;;
11399
11400    irix5* | irix6* | nonstopux*)
11401      if test yes = "$GCC"; then
11402	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'
11403	# Try to use the -exported_symbol ld option, if it does not
11404	# work, assume that -exports_file does not work either and
11405	# implicitly export all symbols.
11406	# This should be the same for all languages, so no per-tag cache variable.
11407	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11408$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11409if ${lt_cv_irix_exported_symbol+:} false; then :
11410  $as_echo_n "(cached) " >&6
11411else
11412  save_LDFLAGS=$LDFLAGS
11413	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11414	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11415/* end confdefs.h.  */
11416int foo (void) { return 0; }
11417_ACEOF
11418if ac_fn_c_try_link "$LINENO"; then :
11419  lt_cv_irix_exported_symbol=yes
11420else
11421  lt_cv_irix_exported_symbol=no
11422fi
11423rm -f core conftest.err conftest.$ac_objext \
11424    conftest$ac_exeext conftest.$ac_ext
11425           LDFLAGS=$save_LDFLAGS
11426fi
11427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11428$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11429	if test yes = "$lt_cv_irix_exported_symbol"; then
11430          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'
11431	fi
11432      else
11433	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'
11434	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'
11435      fi
11436      archive_cmds_need_lc='no'
11437      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11438      hardcode_libdir_separator=:
11439      inherit_rpath=yes
11440      link_all_deplibs=yes
11441      ;;
11442
11443    linux*)
11444      case $cc_basename in
11445      tcc*)
11446	# Fabrice Bellard et al's Tiny C Compiler
11447	ld_shlibs=yes
11448	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11449	;;
11450      esac
11451      ;;
11452
11453    netbsd*)
11454      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11455	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11456      else
11457	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11458      fi
11459      hardcode_libdir_flag_spec='-R$libdir'
11460      hardcode_direct=yes
11461      hardcode_shlibpath_var=no
11462      ;;
11463
11464    newsos6)
11465      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11466      hardcode_direct=yes
11467      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11468      hardcode_libdir_separator=:
11469      hardcode_shlibpath_var=no
11470      ;;
11471
11472    *nto* | *qnx*)
11473      ;;
11474
11475    openbsd* | bitrig*)
11476      if test -f /usr/libexec/ld.so; then
11477	hardcode_direct=yes
11478	hardcode_shlibpath_var=no
11479	hardcode_direct_absolute=yes
11480	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11481	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11482	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11483	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11484	  export_dynamic_flag_spec='$wl-E'
11485	else
11486	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11487	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11488	fi
11489      else
11490	ld_shlibs=no
11491      fi
11492      ;;
11493
11494    os2*)
11495      hardcode_libdir_flag_spec='-L$libdir'
11496      hardcode_minus_L=yes
11497      allow_undefined_flag=unsupported
11498      shrext_cmds=.dll
11499      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11500	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11501	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11502	$ECHO EXPORTS >> $output_objdir/$libname.def~
11503	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11504	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11505	emximp -o $lib $output_objdir/$libname.def'
11506      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11507	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11508	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11509	$ECHO EXPORTS >> $output_objdir/$libname.def~
11510	prefix_cmds="$SED"~
11511	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11512	  prefix_cmds="$prefix_cmds -e 1d";
11513	fi~
11514	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11515	cat $export_symbols | $prefix_cmds >> $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      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11519      enable_shared_with_static_runtimes=yes
11520      ;;
11521
11522    osf3*)
11523      if test yes = "$GCC"; then
11524	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11525	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'
11526      else
11527	allow_undefined_flag=' -expect_unresolved \*'
11528	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'
11529      fi
11530      archive_cmds_need_lc='no'
11531      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11532      hardcode_libdir_separator=:
11533      ;;
11534
11535    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11536      if test yes = "$GCC"; then
11537	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11538	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'
11539	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11540      else
11541	allow_undefined_flag=' -expect_unresolved \*'
11542	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'
11543	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~
11544          $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'
11545
11546	# Both c and cxx compiler support -rpath directly
11547	hardcode_libdir_flag_spec='-rpath $libdir'
11548      fi
11549      archive_cmds_need_lc='no'
11550      hardcode_libdir_separator=:
11551      ;;
11552
11553    solaris*)
11554      no_undefined_flag=' -z defs'
11555      if test yes = "$GCC"; then
11556	wlarc='$wl'
11557	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11558	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11559          $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'
11560      else
11561	case `$CC -V 2>&1` in
11562	*"Compilers 5.0"*)
11563	  wlarc=''
11564	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11565	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11566            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11567	  ;;
11568	*)
11569	  wlarc='$wl'
11570	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11571	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11572            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11573	  ;;
11574	esac
11575      fi
11576      hardcode_libdir_flag_spec='-R$libdir'
11577      hardcode_shlibpath_var=no
11578      case $host_os in
11579      solaris2.[0-5] | solaris2.[0-5].*) ;;
11580      *)
11581	# The compiler driver will combine and reorder linker options,
11582	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11583	# but is careful enough not to reorder.
11584	# Supported since Solaris 2.6 (maybe 2.5.1?)
11585	if test yes = "$GCC"; then
11586	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11587	else
11588	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11589	fi
11590	;;
11591      esac
11592      link_all_deplibs=yes
11593      ;;
11594
11595    sunos4*)
11596      if test sequent = "$host_vendor"; then
11597	# Use $CC to link under sequent, because it throws in some extra .o
11598	# files that make .init and .fini sections work.
11599	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11600      else
11601	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11602      fi
11603      hardcode_libdir_flag_spec='-L$libdir'
11604      hardcode_direct=yes
11605      hardcode_minus_L=yes
11606      hardcode_shlibpath_var=no
11607      ;;
11608
11609    sysv4)
11610      case $host_vendor in
11611	sni)
11612	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11613	  hardcode_direct=yes # is this really true???
11614	;;
11615	siemens)
11616	  ## LD is ld it makes a PLAMLIB
11617	  ## CC just makes a GrossModule.
11618	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11619	  reload_cmds='$CC -r -o $output$reload_objs'
11620	  hardcode_direct=no
11621        ;;
11622	motorola)
11623	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11624	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11625	;;
11626      esac
11627      runpath_var='LD_RUN_PATH'
11628      hardcode_shlibpath_var=no
11629      ;;
11630
11631    sysv4.3*)
11632      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11633      hardcode_shlibpath_var=no
11634      export_dynamic_flag_spec='-Bexport'
11635      ;;
11636
11637    sysv4*MP*)
11638      if test -d /usr/nec; then
11639	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11640	hardcode_shlibpath_var=no
11641	runpath_var=LD_RUN_PATH
11642	hardcode_runpath_var=yes
11643	ld_shlibs=yes
11644      fi
11645      ;;
11646
11647    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11648      no_undefined_flag='$wl-z,text'
11649      archive_cmds_need_lc=no
11650      hardcode_shlibpath_var=no
11651      runpath_var='LD_RUN_PATH'
11652
11653      if test yes = "$GCC"; then
11654	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11655	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11656      else
11657	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11658	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11659      fi
11660      ;;
11661
11662    sysv5* | sco3.2v5* | sco5v6*)
11663      # Note: We CANNOT use -z defs as we might desire, because we do not
11664      # link with -lc, and that would cause any symbols used from libc to
11665      # always be unresolved, which means just about no library would
11666      # ever link correctly.  If we're not using GNU ld we use -z text
11667      # though, which does catch some bad symbols but isn't as heavy-handed
11668      # as -z defs.
11669      no_undefined_flag='$wl-z,text'
11670      allow_undefined_flag='$wl-z,nodefs'
11671      archive_cmds_need_lc=no
11672      hardcode_shlibpath_var=no
11673      hardcode_libdir_flag_spec='$wl-R,$libdir'
11674      hardcode_libdir_separator=':'
11675      link_all_deplibs=yes
11676      export_dynamic_flag_spec='$wl-Bexport'
11677      runpath_var='LD_RUN_PATH'
11678
11679      if test yes = "$GCC"; then
11680	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11681	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11682      else
11683	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11684	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11685      fi
11686      ;;
11687
11688    uts4*)
11689      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11690      hardcode_libdir_flag_spec='-L$libdir'
11691      hardcode_shlibpath_var=no
11692      ;;
11693
11694    *)
11695      ld_shlibs=no
11696      ;;
11697    esac
11698
11699    if test sni = "$host_vendor"; then
11700      case $host in
11701      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11702	export_dynamic_flag_spec='$wl-Blargedynsym'
11703	;;
11704      esac
11705    fi
11706  fi
11707
11708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11709$as_echo "$ld_shlibs" >&6; }
11710test no = "$ld_shlibs" && can_build_shared=no
11711
11712with_gnu_ld=$with_gnu_ld
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728#
11729# Do we need to explicitly link libc?
11730#
11731case "x$archive_cmds_need_lc" in
11732x|xyes)
11733  # Assume -lc should be added
11734  archive_cmds_need_lc=yes
11735
11736  if test yes,yes = "$GCC,$enable_shared"; then
11737    case $archive_cmds in
11738    *'~'*)
11739      # FIXME: we may have to deal with multi-command sequences.
11740      ;;
11741    '$CC '*)
11742      # Test whether the compiler implicitly links with -lc since on some
11743      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11744      # to ld, don't add -lc before -lgcc.
11745      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11746$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11747if ${lt_cv_archive_cmds_need_lc+:} false; then :
11748  $as_echo_n "(cached) " >&6
11749else
11750  $RM conftest*
11751	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11752
11753	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11754  (eval $ac_compile) 2>&5
11755  ac_status=$?
11756  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11757  test $ac_status = 0; } 2>conftest.err; then
11758	  soname=conftest
11759	  lib=conftest
11760	  libobjs=conftest.$ac_objext
11761	  deplibs=
11762	  wl=$lt_prog_compiler_wl
11763	  pic_flag=$lt_prog_compiler_pic
11764	  compiler_flags=-v
11765	  linker_flags=-v
11766	  verstring=
11767	  output_objdir=.
11768	  libname=conftest
11769	  lt_save_allow_undefined_flag=$allow_undefined_flag
11770	  allow_undefined_flag=
11771	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11772  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11773  ac_status=$?
11774  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11775  test $ac_status = 0; }
11776	  then
11777	    lt_cv_archive_cmds_need_lc=no
11778	  else
11779	    lt_cv_archive_cmds_need_lc=yes
11780	  fi
11781	  allow_undefined_flag=$lt_save_allow_undefined_flag
11782	else
11783	  cat conftest.err 1>&5
11784	fi
11785	$RM conftest*
11786
11787fi
11788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11789$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11790      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11791      ;;
11792    esac
11793  fi
11794  ;;
11795esac
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
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  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11949$as_echo_n "checking dynamic linker characteristics... " >&6; }
11950
11951if test yes = "$GCC"; then
11952  case $host_os in
11953    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11954    *) lt_awk_arg='/^libraries:/' ;;
11955  esac
11956  case $host_os in
11957    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11958    *) lt_sed_strip_eq='s|=/|/|g' ;;
11959  esac
11960  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11961  case $lt_search_path_spec in
11962  *\;*)
11963    # if the path contains ";" then we assume it to be the separator
11964    # otherwise default to the standard path separator (i.e. ":") - it is
11965    # assumed that no part of a normal pathname contains ";" but that should
11966    # okay in the real world where ";" in dirpaths is itself problematic.
11967    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11968    ;;
11969  *)
11970    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11971    ;;
11972  esac
11973  # Ok, now we have the path, separated by spaces, we can step through it
11974  # and add multilib dir if necessary...
11975  lt_tmp_lt_search_path_spec=
11976  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11977  # ...but if some path component already ends with the multilib dir we assume
11978  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11979  case "$lt_multi_os_dir; $lt_search_path_spec " in
11980  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11981    lt_multi_os_dir=
11982    ;;
11983  esac
11984  for lt_sys_path in $lt_search_path_spec; do
11985    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11986      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11987    elif test -n "$lt_multi_os_dir"; then
11988      test -d "$lt_sys_path" && \
11989	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11990    fi
11991  done
11992  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11993BEGIN {RS = " "; FS = "/|\n";} {
11994  lt_foo = "";
11995  lt_count = 0;
11996  for (lt_i = NF; lt_i > 0; lt_i--) {
11997    if ($lt_i != "" && $lt_i != ".") {
11998      if ($lt_i == "..") {
11999        lt_count++;
12000      } else {
12001        if (lt_count == 0) {
12002          lt_foo = "/" $lt_i lt_foo;
12003        } else {
12004          lt_count--;
12005        }
12006      }
12007    }
12008  }
12009  if (lt_foo != "") { lt_freq[lt_foo]++; }
12010  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12011}'`
12012  # AWK program above erroneously prepends '/' to C:/dos/paths
12013  # for these hosts.
12014  case $host_os in
12015    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12016      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12017  esac
12018  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12019else
12020  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12021fi
12022library_names_spec=
12023libname_spec='lib$name'
12024soname_spec=
12025shrext_cmds=.so
12026postinstall_cmds=
12027postuninstall_cmds=
12028finish_cmds=
12029finish_eval=
12030shlibpath_var=
12031shlibpath_overrides_runpath=unknown
12032version_type=none
12033dynamic_linker="$host_os ld.so"
12034sys_lib_dlsearch_path_spec="/lib /usr/lib"
12035need_lib_prefix=unknown
12036hardcode_into_libs=no
12037
12038# when you set need_version to no, make sure it does not cause -set_version
12039# flags to be left without arguments
12040need_version=unknown
12041
12042
12043
12044case $host_os in
12045aix3*)
12046  version_type=linux # correct to gnu/linux during the next big refactor
12047  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12048  shlibpath_var=LIBPATH
12049
12050  # AIX 3 has no versioning support, so we append a major version to the name.
12051  soname_spec='$libname$release$shared_ext$major'
12052  ;;
12053
12054aix[4-9]*)
12055  version_type=linux # correct to gnu/linux during the next big refactor
12056  need_lib_prefix=no
12057  need_version=no
12058  hardcode_into_libs=yes
12059  if test ia64 = "$host_cpu"; then
12060    # AIX 5 supports IA64
12061    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12062    shlibpath_var=LD_LIBRARY_PATH
12063  else
12064    # With GCC up to 2.95.x, collect2 would create an import file
12065    # for dependence libraries.  The import file would start with
12066    # the line '#! .'.  This would cause the generated library to
12067    # depend on '.', always an invalid library.  This was fixed in
12068    # development snapshots of GCC prior to 3.0.
12069    case $host_os in
12070      aix4 | aix4.[01] | aix4.[01].*)
12071      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12072	   echo ' yes '
12073	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12074	:
12075      else
12076	can_build_shared=no
12077      fi
12078      ;;
12079    esac
12080    # Using Import Files as archive members, it is possible to support
12081    # filename-based versioning of shared library archives on AIX. While
12082    # this would work for both with and without runtime linking, it will
12083    # prevent static linking of such archives. So we do filename-based
12084    # shared library versioning with .so extension only, which is used
12085    # when both runtime linking and shared linking is enabled.
12086    # Unfortunately, runtime linking may impact performance, so we do
12087    # not want this to be the default eventually. Also, we use the
12088    # versioned .so libs for executables only if there is the -brtl
12089    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12090    # To allow for filename-based versioning support, we need to create
12091    # libNAME.so.V as an archive file, containing:
12092    # *) an Import File, referring to the versioned filename of the
12093    #    archive as well as the shared archive member, telling the
12094    #    bitwidth (32 or 64) of that shared object, and providing the
12095    #    list of exported symbols of that shared object, eventually
12096    #    decorated with the 'weak' keyword
12097    # *) the shared object with the F_LOADONLY flag set, to really avoid
12098    #    it being seen by the linker.
12099    # At run time we better use the real file rather than another symlink,
12100    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12101
12102    case $with_aix_soname,$aix_use_runtimelinking in
12103    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12104    # soname into executable. Probably we can add versioning support to
12105    # collect2, so additional links can be useful in future.
12106    aix,yes) # traditional libtool
12107      dynamic_linker='AIX unversionable lib.so'
12108      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12109      # instead of lib<name>.a to let people know that these are not
12110      # typical AIX shared libraries.
12111      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12112      ;;
12113    aix,no) # traditional AIX only
12114      dynamic_linker='AIX lib.a(lib.so.V)'
12115      # We preserve .a as extension for shared libraries through AIX4.2
12116      # and later when we are not doing run time linking.
12117      library_names_spec='$libname$release.a $libname.a'
12118      soname_spec='$libname$release$shared_ext$major'
12119      ;;
12120    svr4,*) # full svr4 only
12121      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12122      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12123      # We do not specify a path in Import Files, so LIBPATH fires.
12124      shlibpath_overrides_runpath=yes
12125      ;;
12126    *,yes) # both, prefer svr4
12127      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12128      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12129      # unpreferred sharedlib libNAME.a needs extra handling
12130      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"'
12131      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"'
12132      # We do not specify a path in Import Files, so LIBPATH fires.
12133      shlibpath_overrides_runpath=yes
12134      ;;
12135    *,no) # both, prefer aix
12136      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12137      library_names_spec='$libname$release.a $libname.a'
12138      soname_spec='$libname$release$shared_ext$major'
12139      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12140      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)'
12141      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"'
12142      ;;
12143    esac
12144    shlibpath_var=LIBPATH
12145  fi
12146  ;;
12147
12148amigaos*)
12149  case $host_cpu in
12150  powerpc)
12151    # Since July 2007 AmigaOS4 officially supports .so libraries.
12152    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12153    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12154    ;;
12155  m68k)
12156    library_names_spec='$libname.ixlibrary $libname.a'
12157    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12158    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'
12159    ;;
12160  esac
12161  ;;
12162
12163beos*)
12164  library_names_spec='$libname$shared_ext'
12165  dynamic_linker="$host_os ld.so"
12166  shlibpath_var=LIBRARY_PATH
12167  ;;
12168
12169bsdi[45]*)
12170  version_type=linux # correct to gnu/linux during the next big refactor
12171  need_version=no
12172  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12173  soname_spec='$libname$release$shared_ext$major'
12174  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12175  shlibpath_var=LD_LIBRARY_PATH
12176  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12177  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12178  # the default ld.so.conf also contains /usr/contrib/lib and
12179  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12180  # libtool to hard-code these into programs
12181  ;;
12182
12183cygwin* | mingw* | pw32* | cegcc*)
12184  version_type=windows
12185  shrext_cmds=.dll
12186  need_version=no
12187  need_lib_prefix=no
12188
12189  case $GCC,$cc_basename in
12190  yes,*)
12191    # gcc
12192    library_names_spec='$libname.dll.a'
12193    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12194    postinstall_cmds='base_file=`basename \$file`~
12195      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12196      dldir=$destdir/`dirname \$dlpath`~
12197      test -d \$dldir || mkdir -p \$dldir~
12198      $install_prog $dir/$dlname \$dldir/$dlname~
12199      chmod a+x \$dldir/$dlname~
12200      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12201        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12202      fi'
12203    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12204      dlpath=$dir/\$dldll~
12205       $RM \$dlpath'
12206    shlibpath_overrides_runpath=yes
12207
12208    case $host_os in
12209    cygwin*)
12210      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12211      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12212
12213      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12214      ;;
12215    mingw* | cegcc*)
12216      # MinGW DLLs use traditional 'lib' prefix
12217      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12218      ;;
12219    pw32*)
12220      # pw32 DLLs use 'pw' prefix rather than 'lib'
12221      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12222      ;;
12223    esac
12224    dynamic_linker='Win32 ld.exe'
12225    ;;
12226
12227  *,cl*)
12228    # Native MSVC
12229    libname_spec='$name'
12230    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12231    library_names_spec='$libname.dll.lib'
12232
12233    case $build_os in
12234    mingw*)
12235      sys_lib_search_path_spec=
12236      lt_save_ifs=$IFS
12237      IFS=';'
12238      for lt_path in $LIB
12239      do
12240        IFS=$lt_save_ifs
12241        # Let DOS variable expansion print the short 8.3 style file name.
12242        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12243        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12244      done
12245      IFS=$lt_save_ifs
12246      # Convert to MSYS style.
12247      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12248      ;;
12249    cygwin*)
12250      # Convert to unix form, then to dos form, then back to unix form
12251      # but this time dos style (no spaces!) so that the unix form looks
12252      # like /cygdrive/c/PROGRA~1:/cygdr...
12253      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12254      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12255      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12256      ;;
12257    *)
12258      sys_lib_search_path_spec=$LIB
12259      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12260        # It is most probably a Windows format PATH.
12261        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12262      else
12263        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12264      fi
12265      # FIXME: find the short name or the path components, as spaces are
12266      # common. (e.g. "Program Files" -> "PROGRA~1")
12267      ;;
12268    esac
12269
12270    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12271    postinstall_cmds='base_file=`basename \$file`~
12272      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12273      dldir=$destdir/`dirname \$dlpath`~
12274      test -d \$dldir || mkdir -p \$dldir~
12275      $install_prog $dir/$dlname \$dldir/$dlname'
12276    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12277      dlpath=$dir/\$dldll~
12278       $RM \$dlpath'
12279    shlibpath_overrides_runpath=yes
12280    dynamic_linker='Win32 link.exe'
12281    ;;
12282
12283  *)
12284    # Assume MSVC wrapper
12285    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12286    dynamic_linker='Win32 ld.exe'
12287    ;;
12288  esac
12289  # FIXME: first we should search . and the directory the executable is in
12290  shlibpath_var=PATH
12291  ;;
12292
12293darwin* | rhapsody*)
12294  dynamic_linker="$host_os dyld"
12295  version_type=darwin
12296  need_lib_prefix=no
12297  need_version=no
12298  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12299  soname_spec='$libname$release$major$shared_ext'
12300  shlibpath_overrides_runpath=yes
12301  shlibpath_var=DYLD_LIBRARY_PATH
12302  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12303
12304  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12305  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12306  ;;
12307
12308dgux*)
12309  version_type=linux # correct to gnu/linux during the next big refactor
12310  need_lib_prefix=no
12311  need_version=no
12312  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12313  soname_spec='$libname$release$shared_ext$major'
12314  shlibpath_var=LD_LIBRARY_PATH
12315  ;;
12316
12317freebsd* | dragonfly*)
12318  # DragonFly does not have aout.  When/if they implement a new
12319  # versioning mechanism, adjust this.
12320  if test -x /usr/bin/objformat; then
12321    objformat=`/usr/bin/objformat`
12322  else
12323    case $host_os in
12324    freebsd[23].*) objformat=aout ;;
12325    *) objformat=elf ;;
12326    esac
12327  fi
12328  version_type=freebsd-$objformat
12329  case $version_type in
12330    freebsd-elf*)
12331      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12332      soname_spec='$libname$release$shared_ext$major'
12333      need_version=no
12334      need_lib_prefix=no
12335      ;;
12336    freebsd-*)
12337      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12338      need_version=yes
12339      ;;
12340  esac
12341  shlibpath_var=LD_LIBRARY_PATH
12342  case $host_os in
12343  freebsd2.*)
12344    shlibpath_overrides_runpath=yes
12345    ;;
12346  freebsd3.[01]* | freebsdelf3.[01]*)
12347    shlibpath_overrides_runpath=yes
12348    hardcode_into_libs=yes
12349    ;;
12350  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12351  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12352    shlibpath_overrides_runpath=no
12353    hardcode_into_libs=yes
12354    ;;
12355  *) # from 4.6 on, and DragonFly
12356    shlibpath_overrides_runpath=yes
12357    hardcode_into_libs=yes
12358    ;;
12359  esac
12360  ;;
12361
12362haiku*)
12363  version_type=linux # correct to gnu/linux during the next big refactor
12364  need_lib_prefix=no
12365  need_version=no
12366  dynamic_linker="$host_os runtime_loader"
12367  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12368  soname_spec='$libname$release$shared_ext$major'
12369  shlibpath_var=LIBRARY_PATH
12370  shlibpath_overrides_runpath=no
12371  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12372  hardcode_into_libs=yes
12373  ;;
12374
12375hpux9* | hpux10* | hpux11*)
12376  # Give a soname corresponding to the major version so that dld.sl refuses to
12377  # link against other versions.
12378  version_type=sunos
12379  need_lib_prefix=no
12380  need_version=no
12381  case $host_cpu in
12382  ia64*)
12383    shrext_cmds='.so'
12384    hardcode_into_libs=yes
12385    dynamic_linker="$host_os dld.so"
12386    shlibpath_var=LD_LIBRARY_PATH
12387    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12388    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12389    soname_spec='$libname$release$shared_ext$major'
12390    if test 32 = "$HPUX_IA64_MODE"; then
12391      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12392      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12393    else
12394      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12395      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12396    fi
12397    ;;
12398  hppa*64*)
12399    shrext_cmds='.sl'
12400    hardcode_into_libs=yes
12401    dynamic_linker="$host_os dld.sl"
12402    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12403    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12404    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12405    soname_spec='$libname$release$shared_ext$major'
12406    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12407    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12408    ;;
12409  *)
12410    shrext_cmds='.sl'
12411    dynamic_linker="$host_os dld.sl"
12412    shlibpath_var=SHLIB_PATH
12413    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12414    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12415    soname_spec='$libname$release$shared_ext$major'
12416    ;;
12417  esac
12418  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12419  postinstall_cmds='chmod 555 $lib'
12420  # or fails outright, so override atomically:
12421  install_override_mode=555
12422  ;;
12423
12424interix[3-9]*)
12425  version_type=linux # correct to gnu/linux during the next big refactor
12426  need_lib_prefix=no
12427  need_version=no
12428  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12429  soname_spec='$libname$release$shared_ext$major'
12430  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12431  shlibpath_var=LD_LIBRARY_PATH
12432  shlibpath_overrides_runpath=no
12433  hardcode_into_libs=yes
12434  ;;
12435
12436irix5* | irix6* | nonstopux*)
12437  case $host_os in
12438    nonstopux*) version_type=nonstopux ;;
12439    *)
12440	if test yes = "$lt_cv_prog_gnu_ld"; then
12441		version_type=linux # correct to gnu/linux during the next big refactor
12442	else
12443		version_type=irix
12444	fi ;;
12445  esac
12446  need_lib_prefix=no
12447  need_version=no
12448  soname_spec='$libname$release$shared_ext$major'
12449  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12450  case $host_os in
12451  irix5* | nonstopux*)
12452    libsuff= shlibsuff=
12453    ;;
12454  *)
12455    case $LD in # libtool.m4 will add one of these switches to LD
12456    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12457      libsuff= shlibsuff= libmagic=32-bit;;
12458    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12459      libsuff=32 shlibsuff=N32 libmagic=N32;;
12460    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12461      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12462    *) libsuff= shlibsuff= libmagic=never-match;;
12463    esac
12464    ;;
12465  esac
12466  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12467  shlibpath_overrides_runpath=no
12468  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12469  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12470  hardcode_into_libs=yes
12471  ;;
12472
12473# No shared lib support for Linux oldld, aout, or coff.
12474linux*oldld* | linux*aout* | linux*coff*)
12475  dynamic_linker=no
12476  ;;
12477
12478linux*android*)
12479  version_type=none # Android doesn't support versioned libraries.
12480  need_lib_prefix=no
12481  need_version=no
12482  library_names_spec='$libname$release$shared_ext'
12483  soname_spec='$libname$release$shared_ext'
12484  finish_cmds=
12485  shlibpath_var=LD_LIBRARY_PATH
12486  shlibpath_overrides_runpath=yes
12487
12488  # This implies no fast_install, which is unacceptable.
12489  # Some rework will be needed to allow for fast_install
12490  # before this can be enabled.
12491  hardcode_into_libs=yes
12492
12493  dynamic_linker='Android linker'
12494  # Don't embed -rpath directories since the linker doesn't support them.
12495  hardcode_libdir_flag_spec='-L$libdir'
12496  ;;
12497
12498# This must be glibc/ELF.
12499linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12500  version_type=linux # correct to gnu/linux during the next big refactor
12501  need_lib_prefix=no
12502  need_version=no
12503  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12504  soname_spec='$libname$release$shared_ext$major'
12505  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12506  shlibpath_var=LD_LIBRARY_PATH
12507  shlibpath_overrides_runpath=no
12508
12509  # Some binutils ld are patched to set DT_RUNPATH
12510  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12511  $as_echo_n "(cached) " >&6
12512else
12513  lt_cv_shlibpath_overrides_runpath=no
12514    save_LDFLAGS=$LDFLAGS
12515    save_libdir=$libdir
12516    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12517	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12518    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12519/* end confdefs.h.  */
12520
12521int
12522main ()
12523{
12524
12525  ;
12526  return 0;
12527}
12528_ACEOF
12529if ac_fn_c_try_link "$LINENO"; then :
12530  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12531  lt_cv_shlibpath_overrides_runpath=yes
12532fi
12533fi
12534rm -f core conftest.err conftest.$ac_objext \
12535    conftest$ac_exeext conftest.$ac_ext
12536    LDFLAGS=$save_LDFLAGS
12537    libdir=$save_libdir
12538
12539fi
12540
12541  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12542
12543  # This implies no fast_install, which is unacceptable.
12544  # Some rework will be needed to allow for fast_install
12545  # before this can be enabled.
12546  hardcode_into_libs=yes
12547
12548  # Add ABI-specific directories to the system library path.
12549  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12550
12551  # Ideally, we could use ldconfig to report *all* directores which are
12552  # searched for libraries, however this is still not possible.  Aside from not
12553  # being certain /sbin/ldconfig is available, command
12554  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12555  # even though it is searched at run-time.  Try to do the best guess by
12556  # appending ld.so.conf contents (and includes) to the search path.
12557  if test -f /etc/ld.so.conf; then
12558    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' ' '`
12559    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12560  fi
12561
12562  # We used to test for /lib/ld.so.1 and disable shared libraries on
12563  # powerpc, because MkLinux only supported shared libraries with the
12564  # GNU dynamic linker.  Since this was broken with cross compilers,
12565  # most powerpc-linux boxes support dynamic linking these days and
12566  # people can always --disable-shared, the test was removed, and we
12567  # assume the GNU/Linux dynamic linker is in use.
12568  dynamic_linker='GNU/Linux ld.so'
12569  ;;
12570
12571netbsd*)
12572  version_type=sunos
12573  need_lib_prefix=no
12574  need_version=no
12575  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12576    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12577    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12578    dynamic_linker='NetBSD (a.out) ld.so'
12579  else
12580    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12581    soname_spec='$libname$release$shared_ext$major'
12582    dynamic_linker='NetBSD ld.elf_so'
12583  fi
12584  shlibpath_var=LD_LIBRARY_PATH
12585  shlibpath_overrides_runpath=yes
12586  hardcode_into_libs=yes
12587  ;;
12588
12589newsos6)
12590  version_type=linux # correct to gnu/linux during the next big refactor
12591  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12592  shlibpath_var=LD_LIBRARY_PATH
12593  shlibpath_overrides_runpath=yes
12594  ;;
12595
12596*nto* | *qnx*)
12597  version_type=qnx
12598  need_lib_prefix=no
12599  need_version=no
12600  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12601  soname_spec='$libname$release$shared_ext$major'
12602  shlibpath_var=LD_LIBRARY_PATH
12603  shlibpath_overrides_runpath=no
12604  hardcode_into_libs=yes
12605  dynamic_linker='ldqnx.so'
12606  ;;
12607
12608openbsd* | bitrig*)
12609  version_type=sunos
12610  sys_lib_dlsearch_path_spec=/usr/lib
12611  need_lib_prefix=no
12612  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12613    need_version=no
12614  else
12615    need_version=yes
12616  fi
12617  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12618  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12619  shlibpath_var=LD_LIBRARY_PATH
12620  shlibpath_overrides_runpath=yes
12621  ;;
12622
12623os2*)
12624  libname_spec='$name'
12625  version_type=windows
12626  shrext_cmds=.dll
12627  need_version=no
12628  need_lib_prefix=no
12629  # OS/2 can only load a DLL with a base name of 8 characters or less.
12630  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12631    v=$($ECHO $release$versuffix | tr -d .-);
12632    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12633    $ECHO $n$v`$shared_ext'
12634  library_names_spec='${libname}_dll.$libext'
12635  dynamic_linker='OS/2 ld.exe'
12636  shlibpath_var=BEGINLIBPATH
12637  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12638  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12639  postinstall_cmds='base_file=`basename \$file`~
12640    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12641    dldir=$destdir/`dirname \$dlpath`~
12642    test -d \$dldir || mkdir -p \$dldir~
12643    $install_prog $dir/$dlname \$dldir/$dlname~
12644    chmod a+x \$dldir/$dlname~
12645    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12646      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12647    fi'
12648  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12649    dlpath=$dir/\$dldll~
12650    $RM \$dlpath'
12651  ;;
12652
12653osf3* | osf4* | osf5*)
12654  version_type=osf
12655  need_lib_prefix=no
12656  need_version=no
12657  soname_spec='$libname$release$shared_ext$major'
12658  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12659  shlibpath_var=LD_LIBRARY_PATH
12660  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12661  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12662  ;;
12663
12664rdos*)
12665  dynamic_linker=no
12666  ;;
12667
12668solaris*)
12669  version_type=linux # correct to gnu/linux during the next big refactor
12670  need_lib_prefix=no
12671  need_version=no
12672  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12673  soname_spec='$libname$release$shared_ext$major'
12674  shlibpath_var=LD_LIBRARY_PATH
12675  shlibpath_overrides_runpath=yes
12676  hardcode_into_libs=yes
12677  # ldd complains unless libraries are executable
12678  postinstall_cmds='chmod +x $lib'
12679  ;;
12680
12681sunos4*)
12682  version_type=sunos
12683  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12684  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12685  shlibpath_var=LD_LIBRARY_PATH
12686  shlibpath_overrides_runpath=yes
12687  if test yes = "$with_gnu_ld"; then
12688    need_lib_prefix=no
12689  fi
12690  need_version=yes
12691  ;;
12692
12693sysv4 | sysv4.3*)
12694  version_type=linux # correct to gnu/linux during the next big refactor
12695  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12696  soname_spec='$libname$release$shared_ext$major'
12697  shlibpath_var=LD_LIBRARY_PATH
12698  case $host_vendor in
12699    sni)
12700      shlibpath_overrides_runpath=no
12701      need_lib_prefix=no
12702      runpath_var=LD_RUN_PATH
12703      ;;
12704    siemens)
12705      need_lib_prefix=no
12706      ;;
12707    motorola)
12708      need_lib_prefix=no
12709      need_version=no
12710      shlibpath_overrides_runpath=no
12711      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12712      ;;
12713  esac
12714  ;;
12715
12716sysv4*MP*)
12717  if test -d /usr/nec; then
12718    version_type=linux # correct to gnu/linux during the next big refactor
12719    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12720    soname_spec='$libname$shared_ext.$major'
12721    shlibpath_var=LD_LIBRARY_PATH
12722  fi
12723  ;;
12724
12725sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12726  version_type=sco
12727  need_lib_prefix=no
12728  need_version=no
12729  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12730  soname_spec='$libname$release$shared_ext$major'
12731  shlibpath_var=LD_LIBRARY_PATH
12732  shlibpath_overrides_runpath=yes
12733  hardcode_into_libs=yes
12734  if test yes = "$with_gnu_ld"; then
12735    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12736  else
12737    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12738    case $host_os in
12739      sco3.2v5*)
12740        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12741	;;
12742    esac
12743  fi
12744  sys_lib_dlsearch_path_spec='/usr/lib'
12745  ;;
12746
12747tpf*)
12748  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12749  version_type=linux # correct to gnu/linux during the next big refactor
12750  need_lib_prefix=no
12751  need_version=no
12752  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12753  shlibpath_var=LD_LIBRARY_PATH
12754  shlibpath_overrides_runpath=no
12755  hardcode_into_libs=yes
12756  ;;
12757
12758uts4*)
12759  version_type=linux # correct to gnu/linux during the next big refactor
12760  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12761  soname_spec='$libname$release$shared_ext$major'
12762  shlibpath_var=LD_LIBRARY_PATH
12763  ;;
12764
12765*)
12766  dynamic_linker=no
12767  ;;
12768esac
12769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12770$as_echo "$dynamic_linker" >&6; }
12771test no = "$dynamic_linker" && can_build_shared=no
12772
12773variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12774if test yes = "$GCC"; then
12775  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12776fi
12777
12778if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12779  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12780fi
12781
12782if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12783  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12784fi
12785
12786# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12787configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12788
12789# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12790func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12791
12792# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12793configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
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  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12892$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12893hardcode_action=
12894if test -n "$hardcode_libdir_flag_spec" ||
12895   test -n "$runpath_var" ||
12896   test yes = "$hardcode_automatic"; then
12897
12898  # We can hardcode non-existent directories.
12899  if test no != "$hardcode_direct" &&
12900     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12901     # have to relink, otherwise we might link with an installed library
12902     # when we should be linking with a yet-to-be-installed one
12903     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12904     test no != "$hardcode_minus_L"; then
12905    # Linking always hardcodes the temporary library directory.
12906    hardcode_action=relink
12907  else
12908    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12909    hardcode_action=immediate
12910  fi
12911else
12912  # We cannot hardcode anything, or else we can only hardcode existing
12913  # directories.
12914  hardcode_action=unsupported
12915fi
12916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12917$as_echo "$hardcode_action" >&6; }
12918
12919if test relink = "$hardcode_action" ||
12920   test yes = "$inherit_rpath"; then
12921  # Fast installation is not supported
12922  enable_fast_install=no
12923elif test yes = "$shlibpath_overrides_runpath" ||
12924     test no = "$enable_shared"; then
12925  # Fast installation is not necessary
12926  enable_fast_install=needless
12927fi
12928
12929
12930
12931
12932
12933
12934  if test yes != "$enable_dlopen"; then
12935  enable_dlopen=unknown
12936  enable_dlopen_self=unknown
12937  enable_dlopen_self_static=unknown
12938else
12939  lt_cv_dlopen=no
12940  lt_cv_dlopen_libs=
12941
12942  case $host_os in
12943  beos*)
12944    lt_cv_dlopen=load_add_on
12945    lt_cv_dlopen_libs=
12946    lt_cv_dlopen_self=yes
12947    ;;
12948
12949  mingw* | pw32* | cegcc*)
12950    lt_cv_dlopen=LoadLibrary
12951    lt_cv_dlopen_libs=
12952    ;;
12953
12954  cygwin*)
12955    lt_cv_dlopen=dlopen
12956    lt_cv_dlopen_libs=
12957    ;;
12958
12959  darwin*)
12960    # if libdl is installed we need to link against it
12961    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12962$as_echo_n "checking for dlopen in -ldl... " >&6; }
12963if ${ac_cv_lib_dl_dlopen+:} false; then :
12964  $as_echo_n "(cached) " >&6
12965else
12966  ac_check_lib_save_LIBS=$LIBS
12967LIBS="-ldl  $LIBS"
12968cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12969/* end confdefs.h.  */
12970
12971/* Override any GCC internal prototype to avoid an error.
12972   Use char because int might match the return type of a GCC
12973   builtin and then its argument prototype would still apply.  */
12974#ifdef __cplusplus
12975extern "C"
12976#endif
12977char dlopen ();
12978int
12979main ()
12980{
12981return dlopen ();
12982  ;
12983  return 0;
12984}
12985_ACEOF
12986if ac_fn_c_try_link "$LINENO"; then :
12987  ac_cv_lib_dl_dlopen=yes
12988else
12989  ac_cv_lib_dl_dlopen=no
12990fi
12991rm -f core conftest.err conftest.$ac_objext \
12992    conftest$ac_exeext conftest.$ac_ext
12993LIBS=$ac_check_lib_save_LIBS
12994fi
12995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12996$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12997if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12998  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12999else
13000
13001    lt_cv_dlopen=dyld
13002    lt_cv_dlopen_libs=
13003    lt_cv_dlopen_self=yes
13004
13005fi
13006
13007    ;;
13008
13009  tpf*)
13010    # Don't try to run any link tests for TPF.  We know it's impossible
13011    # because TPF is a cross-compiler, and we know how we open DSOs.
13012    lt_cv_dlopen=dlopen
13013    lt_cv_dlopen_libs=
13014    lt_cv_dlopen_self=no
13015    ;;
13016
13017  *)
13018    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13019if test "x$ac_cv_func_shl_load" = xyes; then :
13020  lt_cv_dlopen=shl_load
13021else
13022  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13023$as_echo_n "checking for shl_load in -ldld... " >&6; }
13024if ${ac_cv_lib_dld_shl_load+:} false; then :
13025  $as_echo_n "(cached) " >&6
13026else
13027  ac_check_lib_save_LIBS=$LIBS
13028LIBS="-ldld  $LIBS"
13029cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13030/* end confdefs.h.  */
13031
13032/* Override any GCC internal prototype to avoid an error.
13033   Use char because int might match the return type of a GCC
13034   builtin and then its argument prototype would still apply.  */
13035#ifdef __cplusplus
13036extern "C"
13037#endif
13038char shl_load ();
13039int
13040main ()
13041{
13042return shl_load ();
13043  ;
13044  return 0;
13045}
13046_ACEOF
13047if ac_fn_c_try_link "$LINENO"; then :
13048  ac_cv_lib_dld_shl_load=yes
13049else
13050  ac_cv_lib_dld_shl_load=no
13051fi
13052rm -f core conftest.err conftest.$ac_objext \
13053    conftest$ac_exeext conftest.$ac_ext
13054LIBS=$ac_check_lib_save_LIBS
13055fi
13056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13057$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13058if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13059  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13060else
13061  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13062if test "x$ac_cv_func_dlopen" = xyes; then :
13063  lt_cv_dlopen=dlopen
13064else
13065  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13066$as_echo_n "checking for dlopen in -ldl... " >&6; }
13067if ${ac_cv_lib_dl_dlopen+:} false; then :
13068  $as_echo_n "(cached) " >&6
13069else
13070  ac_check_lib_save_LIBS=$LIBS
13071LIBS="-ldl  $LIBS"
13072cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13073/* end confdefs.h.  */
13074
13075/* Override any GCC internal prototype to avoid an error.
13076   Use char because int might match the return type of a GCC
13077   builtin and then its argument prototype would still apply.  */
13078#ifdef __cplusplus
13079extern "C"
13080#endif
13081char dlopen ();
13082int
13083main ()
13084{
13085return dlopen ();
13086  ;
13087  return 0;
13088}
13089_ACEOF
13090if ac_fn_c_try_link "$LINENO"; then :
13091  ac_cv_lib_dl_dlopen=yes
13092else
13093  ac_cv_lib_dl_dlopen=no
13094fi
13095rm -f core conftest.err conftest.$ac_objext \
13096    conftest$ac_exeext conftest.$ac_ext
13097LIBS=$ac_check_lib_save_LIBS
13098fi
13099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13100$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13101if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13102  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13103else
13104  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13105$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13106if ${ac_cv_lib_svld_dlopen+:} false; then :
13107  $as_echo_n "(cached) " >&6
13108else
13109  ac_check_lib_save_LIBS=$LIBS
13110LIBS="-lsvld  $LIBS"
13111cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112/* end confdefs.h.  */
13113
13114/* Override any GCC internal prototype to avoid an error.
13115   Use char because int might match the return type of a GCC
13116   builtin and then its argument prototype would still apply.  */
13117#ifdef __cplusplus
13118extern "C"
13119#endif
13120char dlopen ();
13121int
13122main ()
13123{
13124return dlopen ();
13125  ;
13126  return 0;
13127}
13128_ACEOF
13129if ac_fn_c_try_link "$LINENO"; then :
13130  ac_cv_lib_svld_dlopen=yes
13131else
13132  ac_cv_lib_svld_dlopen=no
13133fi
13134rm -f core conftest.err conftest.$ac_objext \
13135    conftest$ac_exeext conftest.$ac_ext
13136LIBS=$ac_check_lib_save_LIBS
13137fi
13138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13139$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13140if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13141  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13142else
13143  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13144$as_echo_n "checking for dld_link in -ldld... " >&6; }
13145if ${ac_cv_lib_dld_dld_link+:} false; then :
13146  $as_echo_n "(cached) " >&6
13147else
13148  ac_check_lib_save_LIBS=$LIBS
13149LIBS="-ldld  $LIBS"
13150cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13151/* end confdefs.h.  */
13152
13153/* Override any GCC internal prototype to avoid an error.
13154   Use char because int might match the return type of a GCC
13155   builtin and then its argument prototype would still apply.  */
13156#ifdef __cplusplus
13157extern "C"
13158#endif
13159char dld_link ();
13160int
13161main ()
13162{
13163return dld_link ();
13164  ;
13165  return 0;
13166}
13167_ACEOF
13168if ac_fn_c_try_link "$LINENO"; then :
13169  ac_cv_lib_dld_dld_link=yes
13170else
13171  ac_cv_lib_dld_dld_link=no
13172fi
13173rm -f core conftest.err conftest.$ac_objext \
13174    conftest$ac_exeext conftest.$ac_ext
13175LIBS=$ac_check_lib_save_LIBS
13176fi
13177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13178$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13179if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13180  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13181fi
13182
13183
13184fi
13185
13186
13187fi
13188
13189
13190fi
13191
13192
13193fi
13194
13195
13196fi
13197
13198    ;;
13199  esac
13200
13201  if test no = "$lt_cv_dlopen"; then
13202    enable_dlopen=no
13203  else
13204    enable_dlopen=yes
13205  fi
13206
13207  case $lt_cv_dlopen in
13208  dlopen)
13209    save_CPPFLAGS=$CPPFLAGS
13210    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13211
13212    save_LDFLAGS=$LDFLAGS
13213    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13214
13215    save_LIBS=$LIBS
13216    LIBS="$lt_cv_dlopen_libs $LIBS"
13217
13218    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13219$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13220if ${lt_cv_dlopen_self+:} false; then :
13221  $as_echo_n "(cached) " >&6
13222else
13223  	  if test yes = "$cross_compiling"; then :
13224  lt_cv_dlopen_self=cross
13225else
13226  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13227  lt_status=$lt_dlunknown
13228  cat > conftest.$ac_ext <<_LT_EOF
13229#line $LINENO "configure"
13230#include "confdefs.h"
13231
13232#if HAVE_DLFCN_H
13233#include <dlfcn.h>
13234#endif
13235
13236#include <stdio.h>
13237
13238#ifdef RTLD_GLOBAL
13239#  define LT_DLGLOBAL		RTLD_GLOBAL
13240#else
13241#  ifdef DL_GLOBAL
13242#    define LT_DLGLOBAL		DL_GLOBAL
13243#  else
13244#    define LT_DLGLOBAL		0
13245#  endif
13246#endif
13247
13248/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13249   find out it does not work in some platform. */
13250#ifndef LT_DLLAZY_OR_NOW
13251#  ifdef RTLD_LAZY
13252#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13253#  else
13254#    ifdef DL_LAZY
13255#      define LT_DLLAZY_OR_NOW		DL_LAZY
13256#    else
13257#      ifdef RTLD_NOW
13258#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13259#      else
13260#        ifdef DL_NOW
13261#          define LT_DLLAZY_OR_NOW	DL_NOW
13262#        else
13263#          define LT_DLLAZY_OR_NOW	0
13264#        endif
13265#      endif
13266#    endif
13267#  endif
13268#endif
13269
13270/* When -fvisibility=hidden is used, assume the code has been annotated
13271   correspondingly for the symbols needed.  */
13272#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13273int fnord () __attribute__((visibility("default")));
13274#endif
13275
13276int fnord () { return 42; }
13277int main ()
13278{
13279  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13280  int status = $lt_dlunknown;
13281
13282  if (self)
13283    {
13284      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13285      else
13286        {
13287	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13288          else puts (dlerror ());
13289	}
13290      /* dlclose (self); */
13291    }
13292  else
13293    puts (dlerror ());
13294
13295  return status;
13296}
13297_LT_EOF
13298  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13299  (eval $ac_link) 2>&5
13300  ac_status=$?
13301  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13302  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13303    (./conftest; exit; ) >&5 2>/dev/null
13304    lt_status=$?
13305    case x$lt_status in
13306      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13307      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13308      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13309    esac
13310  else :
13311    # compilation failed
13312    lt_cv_dlopen_self=no
13313  fi
13314fi
13315rm -fr conftest*
13316
13317
13318fi
13319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13320$as_echo "$lt_cv_dlopen_self" >&6; }
13321
13322    if test yes = "$lt_cv_dlopen_self"; then
13323      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13324      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13325$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13326if ${lt_cv_dlopen_self_static+:} false; then :
13327  $as_echo_n "(cached) " >&6
13328else
13329  	  if test yes = "$cross_compiling"; then :
13330  lt_cv_dlopen_self_static=cross
13331else
13332  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13333  lt_status=$lt_dlunknown
13334  cat > conftest.$ac_ext <<_LT_EOF
13335#line $LINENO "configure"
13336#include "confdefs.h"
13337
13338#if HAVE_DLFCN_H
13339#include <dlfcn.h>
13340#endif
13341
13342#include <stdio.h>
13343
13344#ifdef RTLD_GLOBAL
13345#  define LT_DLGLOBAL		RTLD_GLOBAL
13346#else
13347#  ifdef DL_GLOBAL
13348#    define LT_DLGLOBAL		DL_GLOBAL
13349#  else
13350#    define LT_DLGLOBAL		0
13351#  endif
13352#endif
13353
13354/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13355   find out it does not work in some platform. */
13356#ifndef LT_DLLAZY_OR_NOW
13357#  ifdef RTLD_LAZY
13358#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13359#  else
13360#    ifdef DL_LAZY
13361#      define LT_DLLAZY_OR_NOW		DL_LAZY
13362#    else
13363#      ifdef RTLD_NOW
13364#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13365#      else
13366#        ifdef DL_NOW
13367#          define LT_DLLAZY_OR_NOW	DL_NOW
13368#        else
13369#          define LT_DLLAZY_OR_NOW	0
13370#        endif
13371#      endif
13372#    endif
13373#  endif
13374#endif
13375
13376/* When -fvisibility=hidden is used, assume the code has been annotated
13377   correspondingly for the symbols needed.  */
13378#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13379int fnord () __attribute__((visibility("default")));
13380#endif
13381
13382int fnord () { return 42; }
13383int main ()
13384{
13385  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13386  int status = $lt_dlunknown;
13387
13388  if (self)
13389    {
13390      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13391      else
13392        {
13393	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13394          else puts (dlerror ());
13395	}
13396      /* dlclose (self); */
13397    }
13398  else
13399    puts (dlerror ());
13400
13401  return status;
13402}
13403_LT_EOF
13404  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13405  (eval $ac_link) 2>&5
13406  ac_status=$?
13407  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13408  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13409    (./conftest; exit; ) >&5 2>/dev/null
13410    lt_status=$?
13411    case x$lt_status in
13412      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13413      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13414      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13415    esac
13416  else :
13417    # compilation failed
13418    lt_cv_dlopen_self_static=no
13419  fi
13420fi
13421rm -fr conftest*
13422
13423
13424fi
13425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13426$as_echo "$lt_cv_dlopen_self_static" >&6; }
13427    fi
13428
13429    CPPFLAGS=$save_CPPFLAGS
13430    LDFLAGS=$save_LDFLAGS
13431    LIBS=$save_LIBS
13432    ;;
13433  esac
13434
13435  case $lt_cv_dlopen_self in
13436  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13437  *) enable_dlopen_self=unknown ;;
13438  esac
13439
13440  case $lt_cv_dlopen_self_static in
13441  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13442  *) enable_dlopen_self_static=unknown ;;
13443  esac
13444fi
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462striplib=
13463old_striplib=
13464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13465$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13466if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13467  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13468  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13470$as_echo "yes" >&6; }
13471else
13472# FIXME - insert some real tests, host_os isn't really good enough
13473  case $host_os in
13474  darwin*)
13475    if test -n "$STRIP"; then
13476      striplib="$STRIP -x"
13477      old_striplib="$STRIP -S"
13478      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13479$as_echo "yes" >&6; }
13480    else
13481      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13482$as_echo "no" >&6; }
13483    fi
13484    ;;
13485  *)
13486    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13487$as_echo "no" >&6; }
13488    ;;
13489  esac
13490fi
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503  # Report what library types will actually be built
13504  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13505$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13507$as_echo "$can_build_shared" >&6; }
13508
13509  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13510$as_echo_n "checking whether to build shared libraries... " >&6; }
13511  test no = "$can_build_shared" && enable_shared=no
13512
13513  # On AIX, shared libraries and static libraries use the same namespace, and
13514  # are all built from PIC.
13515  case $host_os in
13516  aix3*)
13517    test yes = "$enable_shared" && enable_static=no
13518    if test -n "$RANLIB"; then
13519      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13520      postinstall_cmds='$RANLIB $lib'
13521    fi
13522    ;;
13523
13524  aix[4-9]*)
13525    if test ia64 != "$host_cpu"; then
13526      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13527      yes,aix,yes) ;;			# shared object as lib.so file only
13528      yes,svr4,*) ;;			# shared object as lib.so archive member only
13529      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13530      esac
13531    fi
13532    ;;
13533  esac
13534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13535$as_echo "$enable_shared" >&6; }
13536
13537  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13538$as_echo_n "checking whether to build static libraries... " >&6; }
13539  # Make sure either enable_shared or enable_static is yes.
13540  test yes = "$enable_shared" || enable_static=yes
13541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13542$as_echo "$enable_static" >&6; }
13543
13544
13545
13546
13547fi
13548ac_ext=c
13549ac_cpp='$CPP $CPPFLAGS'
13550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13551ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13552ac_compiler_gnu=$ac_cv_c_compiler_gnu
13553
13554CC=$lt_save_CC
13555
13556      if test -n "$CXX" && ( test no != "$CXX" &&
13557    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13558    (test g++ != "$CXX"))); then
13559  ac_ext=cpp
13560ac_cpp='$CXXCPP $CPPFLAGS'
13561ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13562ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13563ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13565$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13566if test -z "$CXXCPP"; then
13567  if ${ac_cv_prog_CXXCPP+:} false; then :
13568  $as_echo_n "(cached) " >&6
13569else
13570      # Double quotes because CXXCPP needs to be expanded
13571    for CXXCPP in "$CXX -E" "/lib/cpp"
13572    do
13573      ac_preproc_ok=false
13574for ac_cxx_preproc_warn_flag in '' yes
13575do
13576  # Use a header file that comes with gcc, so configuring glibc
13577  # with a fresh cross-compiler works.
13578  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13579  # <limits.h> exists even on freestanding compilers.
13580  # On the NeXT, cc -E runs the code through the compiler's parser,
13581  # not just through cpp. "Syntax error" is here to catch this case.
13582  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13583/* end confdefs.h.  */
13584#ifdef __STDC__
13585# include <limits.h>
13586#else
13587# include <assert.h>
13588#endif
13589		     Syntax error
13590_ACEOF
13591if ac_fn_cxx_try_cpp "$LINENO"; then :
13592
13593else
13594  # Broken: fails on valid input.
13595continue
13596fi
13597rm -f conftest.err conftest.i conftest.$ac_ext
13598
13599  # OK, works on sane cases.  Now check whether nonexistent headers
13600  # can be detected and how.
13601  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13602/* end confdefs.h.  */
13603#include <ac_nonexistent.h>
13604_ACEOF
13605if ac_fn_cxx_try_cpp "$LINENO"; then :
13606  # Broken: success on invalid input.
13607continue
13608else
13609  # Passes both tests.
13610ac_preproc_ok=:
13611break
13612fi
13613rm -f conftest.err conftest.i conftest.$ac_ext
13614
13615done
13616# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13617rm -f conftest.i conftest.err conftest.$ac_ext
13618if $ac_preproc_ok; then :
13619  break
13620fi
13621
13622    done
13623    ac_cv_prog_CXXCPP=$CXXCPP
13624
13625fi
13626  CXXCPP=$ac_cv_prog_CXXCPP
13627else
13628  ac_cv_prog_CXXCPP=$CXXCPP
13629fi
13630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13631$as_echo "$CXXCPP" >&6; }
13632ac_preproc_ok=false
13633for ac_cxx_preproc_warn_flag in '' yes
13634do
13635  # Use a header file that comes with gcc, so configuring glibc
13636  # with a fresh cross-compiler works.
13637  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13638  # <limits.h> exists even on freestanding compilers.
13639  # On the NeXT, cc -E runs the code through the compiler's parser,
13640  # not just through cpp. "Syntax error" is here to catch this case.
13641  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13642/* end confdefs.h.  */
13643#ifdef __STDC__
13644# include <limits.h>
13645#else
13646# include <assert.h>
13647#endif
13648		     Syntax error
13649_ACEOF
13650if ac_fn_cxx_try_cpp "$LINENO"; then :
13651
13652else
13653  # Broken: fails on valid input.
13654continue
13655fi
13656rm -f conftest.err conftest.i conftest.$ac_ext
13657
13658  # OK, works on sane cases.  Now check whether nonexistent headers
13659  # can be detected and how.
13660  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13661/* end confdefs.h.  */
13662#include <ac_nonexistent.h>
13663_ACEOF
13664if ac_fn_cxx_try_cpp "$LINENO"; then :
13665  # Broken: success on invalid input.
13666continue
13667else
13668  # Passes both tests.
13669ac_preproc_ok=:
13670break
13671fi
13672rm -f conftest.err conftest.i conftest.$ac_ext
13673
13674done
13675# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13676rm -f conftest.i conftest.err conftest.$ac_ext
13677if $ac_preproc_ok; then :
13678
13679else
13680  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13681$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13682as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13683See \`config.log' for more details" "$LINENO" 5; }
13684fi
13685
13686ac_ext=c
13687ac_cpp='$CPP $CPPFLAGS'
13688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13690ac_compiler_gnu=$ac_cv_c_compiler_gnu
13691
13692else
13693  _lt_caught_CXX_error=yes
13694fi
13695
13696ac_ext=cpp
13697ac_cpp='$CXXCPP $CPPFLAGS'
13698ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13699ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13700ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13701
13702archive_cmds_need_lc_CXX=no
13703allow_undefined_flag_CXX=
13704always_export_symbols_CXX=no
13705archive_expsym_cmds_CXX=
13706compiler_needs_object_CXX=no
13707export_dynamic_flag_spec_CXX=
13708hardcode_direct_CXX=no
13709hardcode_direct_absolute_CXX=no
13710hardcode_libdir_flag_spec_CXX=
13711hardcode_libdir_separator_CXX=
13712hardcode_minus_L_CXX=no
13713hardcode_shlibpath_var_CXX=unsupported
13714hardcode_automatic_CXX=no
13715inherit_rpath_CXX=no
13716module_cmds_CXX=
13717module_expsym_cmds_CXX=
13718link_all_deplibs_CXX=unknown
13719old_archive_cmds_CXX=$old_archive_cmds
13720reload_flag_CXX=$reload_flag
13721reload_cmds_CXX=$reload_cmds
13722no_undefined_flag_CXX=
13723whole_archive_flag_spec_CXX=
13724enable_shared_with_static_runtimes_CXX=no
13725
13726# Source file extension for C++ test sources.
13727ac_ext=cpp
13728
13729# Object file extension for compiled C++ test sources.
13730objext=o
13731objext_CXX=$objext
13732
13733# No sense in running all these tests if we already determined that
13734# the CXX compiler isn't working.  Some variables (like enable_shared)
13735# are currently assumed to apply to all compilers on this platform,
13736# and will be corrupted by setting them based on a non-working compiler.
13737if test yes != "$_lt_caught_CXX_error"; then
13738  # Code to be used in simple compile tests
13739  lt_simple_compile_test_code="int some_variable = 0;"
13740
13741  # Code to be used in simple link tests
13742  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13743
13744  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13745
13746
13747
13748
13749
13750
13751# If no C compiler was specified, use CC.
13752LTCC=${LTCC-"$CC"}
13753
13754# If no C compiler flags were specified, use CFLAGS.
13755LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13756
13757# Allow CC to be a program name with arguments.
13758compiler=$CC
13759
13760
13761  # save warnings/boilerplate of simple test code
13762  ac_outfile=conftest.$ac_objext
13763echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13764eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13765_lt_compiler_boilerplate=`cat conftest.err`
13766$RM conftest*
13767
13768  ac_outfile=conftest.$ac_objext
13769echo "$lt_simple_link_test_code" >conftest.$ac_ext
13770eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13771_lt_linker_boilerplate=`cat conftest.err`
13772$RM -r conftest*
13773
13774
13775  # Allow CC to be a program name with arguments.
13776  lt_save_CC=$CC
13777  lt_save_CFLAGS=$CFLAGS
13778  lt_save_LD=$LD
13779  lt_save_GCC=$GCC
13780  GCC=$GXX
13781  lt_save_with_gnu_ld=$with_gnu_ld
13782  lt_save_path_LD=$lt_cv_path_LD
13783  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13784    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13785  else
13786    $as_unset lt_cv_prog_gnu_ld
13787  fi
13788  if test -n "${lt_cv_path_LDCXX+set}"; then
13789    lt_cv_path_LD=$lt_cv_path_LDCXX
13790  else
13791    $as_unset lt_cv_path_LD
13792  fi
13793  test -z "${LDCXX+set}" || LD=$LDCXX
13794  CC=${CXX-"c++"}
13795  CFLAGS=$CXXFLAGS
13796  compiler=$CC
13797  compiler_CXX=$CC
13798  func_cc_basename $compiler
13799cc_basename=$func_cc_basename_result
13800
13801
13802  if test -n "$compiler"; then
13803    # We don't want -fno-exception when compiling C++ code, so set the
13804    # no_builtin_flag separately
13805    if test yes = "$GXX"; then
13806      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13807    else
13808      lt_prog_compiler_no_builtin_flag_CXX=
13809    fi
13810
13811    if test yes = "$GXX"; then
13812      # Set up default GNU C++ configuration
13813
13814
13815
13816# Check whether --with-gnu-ld was given.
13817if test "${with_gnu_ld+set}" = set; then :
13818  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13819else
13820  with_gnu_ld=no
13821fi
13822
13823ac_prog=ld
13824if test yes = "$GCC"; then
13825  # Check if gcc -print-prog-name=ld gives a path.
13826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13827$as_echo_n "checking for ld used by $CC... " >&6; }
13828  case $host in
13829  *-*-mingw*)
13830    # gcc leaves a trailing carriage return, which upsets mingw
13831    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13832  *)
13833    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13834  esac
13835  case $ac_prog in
13836    # Accept absolute paths.
13837    [\\/]* | ?:[\\/]*)
13838      re_direlt='/[^/][^/]*/\.\./'
13839      # Canonicalize the pathname of ld
13840      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13841      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13842	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13843      done
13844      test -z "$LD" && LD=$ac_prog
13845      ;;
13846  "")
13847    # If it fails, then pretend we aren't using GCC.
13848    ac_prog=ld
13849    ;;
13850  *)
13851    # If it is relative, then search for the first ld in PATH.
13852    with_gnu_ld=unknown
13853    ;;
13854  esac
13855elif test yes = "$with_gnu_ld"; then
13856  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13857$as_echo_n "checking for GNU ld... " >&6; }
13858else
13859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13860$as_echo_n "checking for non-GNU ld... " >&6; }
13861fi
13862if ${lt_cv_path_LD+:} false; then :
13863  $as_echo_n "(cached) " >&6
13864else
13865  if test -z "$LD"; then
13866  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13867  for ac_dir in $PATH; do
13868    IFS=$lt_save_ifs
13869    test -z "$ac_dir" && ac_dir=.
13870    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13871      lt_cv_path_LD=$ac_dir/$ac_prog
13872      # Check to see if the program is GNU ld.  I'd rather use --version,
13873      # but apparently some variants of GNU ld only accept -v.
13874      # Break only if it was the GNU/non-GNU ld that we prefer.
13875      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13876      *GNU* | *'with BFD'*)
13877	test no != "$with_gnu_ld" && break
13878	;;
13879      *)
13880	test yes != "$with_gnu_ld" && break
13881	;;
13882      esac
13883    fi
13884  done
13885  IFS=$lt_save_ifs
13886else
13887  lt_cv_path_LD=$LD # Let the user override the test with a path.
13888fi
13889fi
13890
13891LD=$lt_cv_path_LD
13892if test -n "$LD"; then
13893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13894$as_echo "$LD" >&6; }
13895else
13896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13897$as_echo "no" >&6; }
13898fi
13899test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13901$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13902if ${lt_cv_prog_gnu_ld+:} false; then :
13903  $as_echo_n "(cached) " >&6
13904else
13905  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13906case `$LD -v 2>&1 </dev/null` in
13907*GNU* | *'with BFD'*)
13908  lt_cv_prog_gnu_ld=yes
13909  ;;
13910*)
13911  lt_cv_prog_gnu_ld=no
13912  ;;
13913esac
13914fi
13915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13916$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13917with_gnu_ld=$lt_cv_prog_gnu_ld
13918
13919
13920
13921
13922
13923
13924
13925      # Check if GNU C++ uses GNU ld as the underlying linker, since the
13926      # archiving commands below assume that GNU ld is being used.
13927      if test yes = "$with_gnu_ld"; then
13928        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13929        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'
13930
13931        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13932        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13933
13934        # If archive_cmds runs LD, not CC, wlarc should be empty
13935        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13936        #     investigate it a little bit more. (MM)
13937        wlarc='$wl'
13938
13939        # ancient GNU ld didn't support --whole-archive et. al.
13940        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13941	  $GREP 'no-whole-archive' > /dev/null; then
13942          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13943        else
13944          whole_archive_flag_spec_CXX=
13945        fi
13946      else
13947        with_gnu_ld=no
13948        wlarc=
13949
13950        # A generic and very simple default shared library creation
13951        # command for GNU C++ for the case where it uses the native
13952        # linker, instead of GNU ld.  If possible, this setting should
13953        # overridden to take advantage of the native linker features on
13954        # the platform it is being used on.
13955        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13956      fi
13957
13958      # Commands to make compiler produce verbose output that lists
13959      # what "hidden" libraries, object files and flags are used when
13960      # linking a shared library.
13961      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13962
13963    else
13964      GXX=no
13965      with_gnu_ld=no
13966      wlarc=
13967    fi
13968
13969    # PORTME: fill in a description of your system's C++ link characteristics
13970    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13971$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13972    ld_shlibs_CXX=yes
13973    case $host_os in
13974      aix3*)
13975        # FIXME: insert proper C++ library support
13976        ld_shlibs_CXX=no
13977        ;;
13978      aix[4-9]*)
13979        if test ia64 = "$host_cpu"; then
13980          # On IA64, the linker does run time linking by default, so we don't
13981          # have to do anything special.
13982          aix_use_runtimelinking=no
13983          exp_sym_flag='-Bexport'
13984          no_entry_flag=
13985        else
13986          aix_use_runtimelinking=no
13987
13988          # Test if we are trying to use run time linking or normal
13989          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13990          # have runtime linking enabled, and use it for executables.
13991          # For shared libraries, we enable/disable runtime linking
13992          # depending on the kind of the shared library created -
13993          # when "with_aix_soname,aix_use_runtimelinking" is:
13994          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
13995          # "aix,yes"  lib.so          shared, rtl:yes, for executables
13996          #            lib.a           static archive
13997          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
13998          #            lib.a(lib.so.V) shared, rtl:no,  for executables
13999          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14000          #            lib.a(lib.so.V) shared, rtl:no
14001          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14002          #            lib.a           static archive
14003          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14004	    for ld_flag in $LDFLAGS; do
14005	      case $ld_flag in
14006	      *-brtl*)
14007	        aix_use_runtimelinking=yes
14008	        break
14009	        ;;
14010	      esac
14011	    done
14012	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14013	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
14014	      # so we don't have lib.a shared libs to link our executables.
14015	      # We have to force runtime linking in this case.
14016	      aix_use_runtimelinking=yes
14017	      LDFLAGS="$LDFLAGS -Wl,-brtl"
14018	    fi
14019	    ;;
14020          esac
14021
14022          exp_sym_flag='-bexport'
14023          no_entry_flag='-bnoentry'
14024        fi
14025
14026        # When large executables or shared objects are built, AIX ld can
14027        # have problems creating the table of contents.  If linking a library
14028        # or program results in "error TOC overflow" add -mminimal-toc to
14029        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14030        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14031
14032        archive_cmds_CXX=''
14033        hardcode_direct_CXX=yes
14034        hardcode_direct_absolute_CXX=yes
14035        hardcode_libdir_separator_CXX=':'
14036        link_all_deplibs_CXX=yes
14037        file_list_spec_CXX='$wl-f,'
14038        case $with_aix_soname,$aix_use_runtimelinking in
14039        aix,*) ;;	# no import file
14040        svr4,* | *,yes) # use import file
14041          # The Import File defines what to hardcode.
14042          hardcode_direct_CXX=no
14043          hardcode_direct_absolute_CXX=no
14044          ;;
14045        esac
14046
14047        if test yes = "$GXX"; then
14048          case $host_os in aix4.[012]|aix4.[012].*)
14049          # We only want to do this on AIX 4.2 and lower, the check
14050          # below for broken collect2 doesn't work under 4.3+
14051	  collect2name=`$CC -print-prog-name=collect2`
14052	  if test -f "$collect2name" &&
14053	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14054	  then
14055	    # We have reworked collect2
14056	    :
14057	  else
14058	    # We have old collect2
14059	    hardcode_direct_CXX=unsupported
14060	    # It fails to find uninstalled libraries when the uninstalled
14061	    # path is not listed in the libpath.  Setting hardcode_minus_L
14062	    # to unsupported forces relinking
14063	    hardcode_minus_L_CXX=yes
14064	    hardcode_libdir_flag_spec_CXX='-L$libdir'
14065	    hardcode_libdir_separator_CXX=
14066	  fi
14067          esac
14068          shared_flag='-shared'
14069	  if test yes = "$aix_use_runtimelinking"; then
14070	    shared_flag=$shared_flag' $wl-G'
14071	  fi
14072	  # Need to ensure runtime linking is disabled for the traditional
14073	  # shared library, or the linker may eventually find shared libraries
14074	  # /with/ Import File - we do not want to mix them.
14075	  shared_flag_aix='-shared'
14076	  shared_flag_svr4='-shared $wl-G'
14077        else
14078          # not using gcc
14079          if test ia64 = "$host_cpu"; then
14080	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14081	  # chokes on -Wl,-G. The following line is correct:
14082	  shared_flag='-G'
14083          else
14084	    if test yes = "$aix_use_runtimelinking"; then
14085	      shared_flag='$wl-G'
14086	    else
14087	      shared_flag='$wl-bM:SRE'
14088	    fi
14089	    shared_flag_aix='$wl-bM:SRE'
14090	    shared_flag_svr4='$wl-G'
14091          fi
14092        fi
14093
14094        export_dynamic_flag_spec_CXX='$wl-bexpall'
14095        # It seems that -bexpall does not export symbols beginning with
14096        # underscore (_), so it is better to generate a list of symbols to
14097	# export.
14098        always_export_symbols_CXX=yes
14099	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14100          # Warning - without using the other runtime loading flags (-brtl),
14101          # -berok will link without error, but may produce a broken library.
14102          # The "-G" linker flag allows undefined symbols.
14103          no_undefined_flag_CXX='-bernotok'
14104          # Determine the default libpath from the value encoded in an empty
14105          # executable.
14106          if test set = "${lt_cv_aix_libpath+set}"; then
14107  aix_libpath=$lt_cv_aix_libpath
14108else
14109  if ${lt_cv_aix_libpath__CXX+:} false; then :
14110  $as_echo_n "(cached) " >&6
14111else
14112  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14113/* end confdefs.h.  */
14114
14115int
14116main ()
14117{
14118
14119  ;
14120  return 0;
14121}
14122_ACEOF
14123if ac_fn_cxx_try_link "$LINENO"; then :
14124
14125  lt_aix_libpath_sed='
14126      /Import File Strings/,/^$/ {
14127	  /^0/ {
14128	      s/^0  *\([^ ]*\) *$/\1/
14129	      p
14130	  }
14131      }'
14132  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14133  # Check for a 64-bit object if we didn't find anything.
14134  if test -z "$lt_cv_aix_libpath__CXX"; then
14135    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14136  fi
14137fi
14138rm -f core conftest.err conftest.$ac_objext \
14139    conftest$ac_exeext conftest.$ac_ext
14140  if test -z "$lt_cv_aix_libpath__CXX"; then
14141    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14142  fi
14143
14144fi
14145
14146  aix_libpath=$lt_cv_aix_libpath__CXX
14147fi
14148
14149          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14150
14151          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
14152        else
14153          if test ia64 = "$host_cpu"; then
14154	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14155	    allow_undefined_flag_CXX="-z nodefs"
14156	    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"
14157          else
14158	    # Determine the default libpath from the value encoded in an
14159	    # empty executable.
14160	    if test set = "${lt_cv_aix_libpath+set}"; then
14161  aix_libpath=$lt_cv_aix_libpath
14162else
14163  if ${lt_cv_aix_libpath__CXX+:} false; then :
14164  $as_echo_n "(cached) " >&6
14165else
14166  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14167/* end confdefs.h.  */
14168
14169int
14170main ()
14171{
14172
14173  ;
14174  return 0;
14175}
14176_ACEOF
14177if ac_fn_cxx_try_link "$LINENO"; then :
14178
14179  lt_aix_libpath_sed='
14180      /Import File Strings/,/^$/ {
14181	  /^0/ {
14182	      s/^0  *\([^ ]*\) *$/\1/
14183	      p
14184	  }
14185      }'
14186  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14187  # Check for a 64-bit object if we didn't find anything.
14188  if test -z "$lt_cv_aix_libpath__CXX"; then
14189    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14190  fi
14191fi
14192rm -f core conftest.err conftest.$ac_objext \
14193    conftest$ac_exeext conftest.$ac_ext
14194  if test -z "$lt_cv_aix_libpath__CXX"; then
14195    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14196  fi
14197
14198fi
14199
14200  aix_libpath=$lt_cv_aix_libpath__CXX
14201fi
14202
14203	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14204	    # Warning - without using the other run time loading flags,
14205	    # -berok will link without error, but may produce a broken library.
14206	    no_undefined_flag_CXX=' $wl-bernotok'
14207	    allow_undefined_flag_CXX=' $wl-berok'
14208	    if test yes = "$with_gnu_ld"; then
14209	      # We only use this code for GNU lds that support --whole-archive.
14210	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14211	    else
14212	      # Exported symbols can be pulled into shared objects from archives
14213	      whole_archive_flag_spec_CXX='$convenience'
14214	    fi
14215	    archive_cmds_need_lc_CXX=yes
14216	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14217	    # -brtl affects multiple linker settings, -berok does not and is overridden later
14218	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14219	    if test svr4 != "$with_aix_soname"; then
14220	      # This is similar to how AIX traditionally builds its shared
14221	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14222	      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'
14223	    fi
14224	    if test aix != "$with_aix_soname"; then
14225	      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'
14226	    else
14227	      # used by -dlpreopen to get the symbols
14228	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14229	    fi
14230	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14231          fi
14232        fi
14233        ;;
14234
14235      beos*)
14236	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14237	  allow_undefined_flag_CXX=unsupported
14238	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14239	  # support --undefined.  This deserves some investigation.  FIXME
14240	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14241	else
14242	  ld_shlibs_CXX=no
14243	fi
14244	;;
14245
14246      chorus*)
14247        case $cc_basename in
14248          *)
14249	  # FIXME: insert proper C++ library support
14250	  ld_shlibs_CXX=no
14251	  ;;
14252        esac
14253        ;;
14254
14255      cygwin* | mingw* | pw32* | cegcc*)
14256	case $GXX,$cc_basename in
14257	,cl* | no,cl*)
14258	  # Native MSVC
14259	  # hardcode_libdir_flag_spec is actually meaningless, as there is
14260	  # no search path for DLLs.
14261	  hardcode_libdir_flag_spec_CXX=' '
14262	  allow_undefined_flag_CXX=unsupported
14263	  always_export_symbols_CXX=yes
14264	  file_list_spec_CXX='@'
14265	  # Tell ltmain to make .lib files, not .a files.
14266	  libext=lib
14267	  # Tell ltmain to make .dll files, not .so files.
14268	  shrext_cmds=.dll
14269	  # FIXME: Setting linknames here is a bad hack.
14270	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14271	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14272              cp "$export_symbols" "$output_objdir/$soname.def";
14273              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14274            else
14275              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14276            fi~
14277            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14278            linknames='
14279	  # The linker will not automatically build a static lib if we build a DLL.
14280	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14281	  enable_shared_with_static_runtimes_CXX=yes
14282	  # Don't use ranlib
14283	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
14284	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14285            lt_tool_outputfile="@TOOL_OUTPUT@"~
14286            case $lt_outputfile in
14287              *.exe|*.EXE) ;;
14288              *)
14289                lt_outputfile=$lt_outputfile.exe
14290                lt_tool_outputfile=$lt_tool_outputfile.exe
14291                ;;
14292            esac~
14293            func_to_tool_file "$lt_outputfile"~
14294            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14295              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14296              $RM "$lt_outputfile.manifest";
14297            fi'
14298	  ;;
14299	*)
14300	  # g++
14301	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14302	  # as there is no search path for DLLs.
14303	  hardcode_libdir_flag_spec_CXX='-L$libdir'
14304	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14305	  allow_undefined_flag_CXX=unsupported
14306	  always_export_symbols_CXX=no
14307	  enable_shared_with_static_runtimes_CXX=yes
14308
14309	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14310	    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'
14311	    # If the export-symbols file already is a .def file, use it as
14312	    # is; otherwise, prepend EXPORTS...
14313	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14314              cp $export_symbols $output_objdir/$soname.def;
14315            else
14316              echo EXPORTS > $output_objdir/$soname.def;
14317              cat $export_symbols >> $output_objdir/$soname.def;
14318            fi~
14319            $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'
14320	  else
14321	    ld_shlibs_CXX=no
14322	  fi
14323	  ;;
14324	esac
14325	;;
14326      darwin* | rhapsody*)
14327
14328
14329  archive_cmds_need_lc_CXX=no
14330  hardcode_direct_CXX=no
14331  hardcode_automatic_CXX=yes
14332  hardcode_shlibpath_var_CXX=unsupported
14333  if test yes = "$lt_cv_ld_force_load"; then
14334    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\"`'
14335
14336  else
14337    whole_archive_flag_spec_CXX=''
14338  fi
14339  link_all_deplibs_CXX=yes
14340  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14341  case $cc_basename in
14342     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14343     *) _lt_dar_can_shared=$GCC ;;
14344  esac
14345  if test yes = "$_lt_dar_can_shared"; then
14346    output_verbose_link_cmd=func_echo_all
14347    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"
14348    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14349    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"
14350    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"
14351       if test yes != "$lt_cv_apple_cc_single_mod"; then
14352      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"
14353      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"
14354    fi
14355
14356  else
14357  ld_shlibs_CXX=no
14358  fi
14359
14360	;;
14361
14362      os2*)
14363	hardcode_libdir_flag_spec_CXX='-L$libdir'
14364	hardcode_minus_L_CXX=yes
14365	allow_undefined_flag_CXX=unsupported
14366	shrext_cmds=.dll
14367	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14368	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14369	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14370	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14371	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14372	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14373	  emximp -o $lib $output_objdir/$libname.def'
14374	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14375	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14376	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14377	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14378	  prefix_cmds="$SED"~
14379	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14380	    prefix_cmds="$prefix_cmds -e 1d";
14381	  fi~
14382	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14383	  cat $export_symbols | $prefix_cmds >> $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	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14387	enable_shared_with_static_runtimes_CXX=yes
14388	;;
14389
14390      dgux*)
14391        case $cc_basename in
14392          ec++*)
14393	    # FIXME: insert proper C++ library support
14394	    ld_shlibs_CXX=no
14395	    ;;
14396          ghcx*)
14397	    # Green Hills C++ Compiler
14398	    # FIXME: insert proper C++ library support
14399	    ld_shlibs_CXX=no
14400	    ;;
14401          *)
14402	    # FIXME: insert proper C++ library support
14403	    ld_shlibs_CXX=no
14404	    ;;
14405        esac
14406        ;;
14407
14408      freebsd2.*)
14409        # C++ shared libraries reported to be fairly broken before
14410	# switch to ELF
14411        ld_shlibs_CXX=no
14412        ;;
14413
14414      freebsd-elf*)
14415        archive_cmds_need_lc_CXX=no
14416        ;;
14417
14418      freebsd* | dragonfly*)
14419        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14420        # conventions
14421        ld_shlibs_CXX=yes
14422        ;;
14423
14424      haiku*)
14425        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14426        link_all_deplibs_CXX=yes
14427        ;;
14428
14429      hpux9*)
14430        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14431        hardcode_libdir_separator_CXX=:
14432        export_dynamic_flag_spec_CXX='$wl-E'
14433        hardcode_direct_CXX=yes
14434        hardcode_minus_L_CXX=yes # Not in the search PATH,
14435				             # but as the default
14436				             # location of the library.
14437
14438        case $cc_basename in
14439          CC*)
14440            # FIXME: insert proper C++ library support
14441            ld_shlibs_CXX=no
14442            ;;
14443          aCC*)
14444            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'
14445            # Commands to make compiler produce verbose output that lists
14446            # what "hidden" libraries, object files and flags are used when
14447            # linking a shared library.
14448            #
14449            # There doesn't appear to be a way to prevent this compiler from
14450            # explicitly linking system object files so we need to strip them
14451            # from the output so that they don't get included in the library
14452            # dependencies.
14453            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"'
14454            ;;
14455          *)
14456            if test yes = "$GXX"; then
14457              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'
14458            else
14459              # FIXME: insert proper C++ library support
14460              ld_shlibs_CXX=no
14461            fi
14462            ;;
14463        esac
14464        ;;
14465
14466      hpux10*|hpux11*)
14467        if test no = "$with_gnu_ld"; then
14468	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14469	  hardcode_libdir_separator_CXX=:
14470
14471          case $host_cpu in
14472            hppa*64*|ia64*)
14473              ;;
14474            *)
14475	      export_dynamic_flag_spec_CXX='$wl-E'
14476              ;;
14477          esac
14478        fi
14479        case $host_cpu in
14480          hppa*64*|ia64*)
14481            hardcode_direct_CXX=no
14482            hardcode_shlibpath_var_CXX=no
14483            ;;
14484          *)
14485            hardcode_direct_CXX=yes
14486            hardcode_direct_absolute_CXX=yes
14487            hardcode_minus_L_CXX=yes # Not in the search PATH,
14488					         # but as the default
14489					         # location of the library.
14490            ;;
14491        esac
14492
14493        case $cc_basename in
14494          CC*)
14495	    # FIXME: insert proper C++ library support
14496	    ld_shlibs_CXX=no
14497	    ;;
14498          aCC*)
14499	    case $host_cpu in
14500	      hppa*64*)
14501	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14502	        ;;
14503	      ia64*)
14504	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14505	        ;;
14506	      *)
14507	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14508	        ;;
14509	    esac
14510	    # Commands to make compiler produce verbose output that lists
14511	    # what "hidden" libraries, object files and flags are used when
14512	    # linking a shared library.
14513	    #
14514	    # There doesn't appear to be a way to prevent this compiler from
14515	    # explicitly linking system object files so we need to strip them
14516	    # from the output so that they don't get included in the library
14517	    # dependencies.
14518	    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"'
14519	    ;;
14520          *)
14521	    if test yes = "$GXX"; then
14522	      if test no = "$with_gnu_ld"; then
14523	        case $host_cpu in
14524	          hppa*64*)
14525	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14526	            ;;
14527	          ia64*)
14528	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14529	            ;;
14530	          *)
14531	            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'
14532	            ;;
14533	        esac
14534	      fi
14535	    else
14536	      # FIXME: insert proper C++ library support
14537	      ld_shlibs_CXX=no
14538	    fi
14539	    ;;
14540        esac
14541        ;;
14542
14543      interix[3-9]*)
14544	hardcode_direct_CXX=no
14545	hardcode_shlibpath_var_CXX=no
14546	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14547	export_dynamic_flag_spec_CXX='$wl-E'
14548	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14549	# Instead, shared libraries are loaded at an image base (0x10000000 by
14550	# default) and relocated if they conflict, which is a slow very memory
14551	# consuming and fragmenting process.  To avoid this, we pick a random,
14552	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14553	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14554	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'
14555	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'
14556	;;
14557      irix5* | irix6*)
14558        case $cc_basename in
14559          CC*)
14560	    # SGI C++
14561	    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'
14562
14563	    # Archives containing C++ object files must be created using
14564	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14565	    # necessary to make sure instantiated templates are included
14566	    # in the archive.
14567	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14568	    ;;
14569          *)
14570	    if test yes = "$GXX"; then
14571	      if test no = "$with_gnu_ld"; then
14572	        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'
14573	      else
14574	        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'
14575	      fi
14576	    fi
14577	    link_all_deplibs_CXX=yes
14578	    ;;
14579        esac
14580        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14581        hardcode_libdir_separator_CXX=:
14582        inherit_rpath_CXX=yes
14583        ;;
14584
14585      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14586        case $cc_basename in
14587          KCC*)
14588	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14589
14590	    # KCC will only create a shared library if the output file
14591	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14592	    # to its proper name (with version) after linking.
14593	    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'
14594	    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'
14595	    # Commands to make compiler produce verbose output that lists
14596	    # what "hidden" libraries, object files and flags are used when
14597	    # linking a shared library.
14598	    #
14599	    # There doesn't appear to be a way to prevent this compiler from
14600	    # explicitly linking system object files so we need to strip them
14601	    # from the output so that they don't get included in the library
14602	    # dependencies.
14603	    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"'
14604
14605	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14606	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14607
14608	    # Archives containing C++ object files must be created using
14609	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14610	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14611	    ;;
14612	  icpc* | ecpc* )
14613	    # Intel C++
14614	    with_gnu_ld=yes
14615	    # version 8.0 and above of icpc choke on multiply defined symbols
14616	    # if we add $predep_objects and $postdep_objects, however 7.1 and
14617	    # earlier do not add the objects themselves.
14618	    case `$CC -V 2>&1` in
14619	      *"Version 7."*)
14620	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14621		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'
14622		;;
14623	      *)  # Version 8.0 or newer
14624	        tmp_idyn=
14625	        case $host_cpu in
14626		  ia64*) tmp_idyn=' -i_dynamic';;
14627		esac
14628	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14629		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'
14630		;;
14631	    esac
14632	    archive_cmds_need_lc_CXX=no
14633	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14634	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14635	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14636	    ;;
14637          pgCC* | pgcpp*)
14638            # Portland Group C++ compiler
14639	    case `$CC -V` in
14640	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14641	      prelink_cmds_CXX='tpldir=Template.dir~
14642               rm -rf $tpldir~
14643               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14644               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14645	      old_archive_cmds_CXX='tpldir=Template.dir~
14646                rm -rf $tpldir~
14647                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14648                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14649                $RANLIB $oldlib'
14650	      archive_cmds_CXX='tpldir=Template.dir~
14651                rm -rf $tpldir~
14652                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14653                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14654	      archive_expsym_cmds_CXX='tpldir=Template.dir~
14655                rm -rf $tpldir~
14656                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14657                $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'
14658	      ;;
14659	    *) # Version 6 and above use weak symbols
14660	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14661	      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'
14662	      ;;
14663	    esac
14664
14665	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14666	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14667	    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'
14668            ;;
14669	  cxx*)
14670	    # Compaq C++
14671	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14672	    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'
14673
14674	    runpath_var=LD_RUN_PATH
14675	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14676	    hardcode_libdir_separator_CXX=:
14677
14678	    # Commands to make compiler produce verbose output that lists
14679	    # what "hidden" libraries, object files and flags are used when
14680	    # linking a shared library.
14681	    #
14682	    # There doesn't appear to be a way to prevent this compiler from
14683	    # explicitly linking system object files so we need to strip them
14684	    # from the output so that they don't get included in the library
14685	    # dependencies.
14686	    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'
14687	    ;;
14688	  xl* | mpixl* | bgxl*)
14689	    # IBM XL 8.0 on PPC, with GNU ld
14690	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14691	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14692	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14693	    if test yes = "$supports_anon_versioning"; then
14694	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14695                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14696                echo "local: *; };" >> $output_objdir/$libname.ver~
14697                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14698	    fi
14699	    ;;
14700	  *)
14701	    case `$CC -V 2>&1 | sed 5q` in
14702	    *Sun\ C*)
14703	      # Sun C++ 5.9
14704	      no_undefined_flag_CXX=' -zdefs'
14705	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14706	      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'
14707	      hardcode_libdir_flag_spec_CXX='-R$libdir'
14708	      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'
14709	      compiler_needs_object_CXX=yes
14710
14711	      # Not sure whether something based on
14712	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14713	      # would be better.
14714	      output_verbose_link_cmd='func_echo_all'
14715
14716	      # Archives containing C++ object files must be created using
14717	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14718	      # necessary to make sure instantiated templates are included
14719	      # in the archive.
14720	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14721	      ;;
14722	    esac
14723	    ;;
14724	esac
14725	;;
14726
14727      lynxos*)
14728        # FIXME: insert proper C++ library support
14729	ld_shlibs_CXX=no
14730	;;
14731
14732      m88k*)
14733        # FIXME: insert proper C++ library support
14734        ld_shlibs_CXX=no
14735	;;
14736
14737      mvs*)
14738        case $cc_basename in
14739          cxx*)
14740	    # FIXME: insert proper C++ library support
14741	    ld_shlibs_CXX=no
14742	    ;;
14743	  *)
14744	    # FIXME: insert proper C++ library support
14745	    ld_shlibs_CXX=no
14746	    ;;
14747	esac
14748	;;
14749
14750      netbsd*)
14751        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14752	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14753	  wlarc=
14754	  hardcode_libdir_flag_spec_CXX='-R$libdir'
14755	  hardcode_direct_CXX=yes
14756	  hardcode_shlibpath_var_CXX=no
14757	fi
14758	# Workaround some broken pre-1.5 toolchains
14759	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14760	;;
14761
14762      *nto* | *qnx*)
14763        ld_shlibs_CXX=yes
14764	;;
14765
14766      openbsd* | bitrig*)
14767	if test -f /usr/libexec/ld.so; then
14768	  hardcode_direct_CXX=yes
14769	  hardcode_shlibpath_var_CXX=no
14770	  hardcode_direct_absolute_CXX=yes
14771	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14772	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14773	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14774	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14775	    export_dynamic_flag_spec_CXX='$wl-E'
14776	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14777	  fi
14778	  output_verbose_link_cmd=func_echo_all
14779	else
14780	  ld_shlibs_CXX=no
14781	fi
14782	;;
14783
14784      osf3* | osf4* | osf5*)
14785        case $cc_basename in
14786          KCC*)
14787	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14788
14789	    # KCC will only create a shared library if the output file
14790	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14791	    # to its proper name (with version) after linking.
14792	    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'
14793
14794	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14795	    hardcode_libdir_separator_CXX=:
14796
14797	    # Archives containing C++ object files must be created using
14798	    # the KAI C++ compiler.
14799	    case $host in
14800	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14801	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14802	    esac
14803	    ;;
14804          RCC*)
14805	    # Rational C++ 2.4.1
14806	    # FIXME: insert proper C++ library support
14807	    ld_shlibs_CXX=no
14808	    ;;
14809          cxx*)
14810	    case $host in
14811	      osf3*)
14812	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14813	        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'
14814	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14815		;;
14816	      *)
14817	        allow_undefined_flag_CXX=' -expect_unresolved \*'
14818	        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'
14819	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14820                  echo "-hidden">> $lib.exp~
14821                  $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~
14822                  $RM $lib.exp'
14823	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14824		;;
14825	    esac
14826
14827	    hardcode_libdir_separator_CXX=:
14828
14829	    # Commands to make compiler produce verbose output that lists
14830	    # what "hidden" libraries, object files and flags are used when
14831	    # linking a shared library.
14832	    #
14833	    # There doesn't appear to be a way to prevent this compiler from
14834	    # explicitly linking system object files so we need to strip them
14835	    # from the output so that they don't get included in the library
14836	    # dependencies.
14837	    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"'
14838	    ;;
14839	  *)
14840	    if test yes,no = "$GXX,$with_gnu_ld"; then
14841	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14842	      case $host in
14843	        osf3*)
14844	          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'
14845		  ;;
14846	        *)
14847	          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'
14848		  ;;
14849	      esac
14850
14851	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14852	      hardcode_libdir_separator_CXX=:
14853
14854	      # Commands to make compiler produce verbose output that lists
14855	      # what "hidden" libraries, object files and flags are used when
14856	      # linking a shared library.
14857	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14858
14859	    else
14860	      # FIXME: insert proper C++ library support
14861	      ld_shlibs_CXX=no
14862	    fi
14863	    ;;
14864        esac
14865        ;;
14866
14867      psos*)
14868        # FIXME: insert proper C++ library support
14869        ld_shlibs_CXX=no
14870        ;;
14871
14872      sunos4*)
14873        case $cc_basename in
14874          CC*)
14875	    # Sun C++ 4.x
14876	    # FIXME: insert proper C++ library support
14877	    ld_shlibs_CXX=no
14878	    ;;
14879          lcc*)
14880	    # Lucid
14881	    # FIXME: insert proper C++ library support
14882	    ld_shlibs_CXX=no
14883	    ;;
14884          *)
14885	    # FIXME: insert proper C++ library support
14886	    ld_shlibs_CXX=no
14887	    ;;
14888        esac
14889        ;;
14890
14891      solaris*)
14892        case $cc_basename in
14893          CC* | sunCC*)
14894	    # Sun C++ 4.2, 5.x and Centerline C++
14895            archive_cmds_need_lc_CXX=yes
14896	    no_undefined_flag_CXX=' -zdefs'
14897	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14898	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14899              $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'
14900
14901	    hardcode_libdir_flag_spec_CXX='-R$libdir'
14902	    hardcode_shlibpath_var_CXX=no
14903	    case $host_os in
14904	      solaris2.[0-5] | solaris2.[0-5].*) ;;
14905	      *)
14906		# The compiler driver will combine and reorder linker options,
14907		# but understands '-z linker_flag'.
14908	        # Supported since Solaris 2.6 (maybe 2.5.1?)
14909		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14910	        ;;
14911	    esac
14912	    link_all_deplibs_CXX=yes
14913
14914	    output_verbose_link_cmd='func_echo_all'
14915
14916	    # Archives containing C++ object files must be created using
14917	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14918	    # necessary to make sure instantiated templates are included
14919	    # in the archive.
14920	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14921	    ;;
14922          gcx*)
14923	    # Green Hills C++ Compiler
14924	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14925
14926	    # The C++ compiler must be used to create the archive.
14927	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14928	    ;;
14929          *)
14930	    # GNU C++ compiler with Solaris linker
14931	    if test yes,no = "$GXX,$with_gnu_ld"; then
14932	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
14933	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14934	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14935	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14936                  $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'
14937
14938	        # Commands to make compiler produce verbose output that lists
14939	        # what "hidden" libraries, object files and flags are used when
14940	        # linking a shared library.
14941	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14942	      else
14943	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
14944	        # platform.
14945	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14946	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14947                  $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'
14948
14949	        # Commands to make compiler produce verbose output that lists
14950	        # what "hidden" libraries, object files and flags are used when
14951	        # linking a shared library.
14952	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14953	      fi
14954
14955	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14956	      case $host_os in
14957		solaris2.[0-5] | solaris2.[0-5].*) ;;
14958		*)
14959		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14960		  ;;
14961	      esac
14962	    fi
14963	    ;;
14964        esac
14965        ;;
14966
14967    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14968      no_undefined_flag_CXX='$wl-z,text'
14969      archive_cmds_need_lc_CXX=no
14970      hardcode_shlibpath_var_CXX=no
14971      runpath_var='LD_RUN_PATH'
14972
14973      case $cc_basename in
14974        CC*)
14975	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14976	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14977	  ;;
14978	*)
14979	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14980	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14981	  ;;
14982      esac
14983      ;;
14984
14985      sysv5* | sco3.2v5* | sco5v6*)
14986	# Note: We CANNOT use -z defs as we might desire, because we do not
14987	# link with -lc, and that would cause any symbols used from libc to
14988	# always be unresolved, which means just about no library would
14989	# ever link correctly.  If we're not using GNU ld we use -z text
14990	# though, which does catch some bad symbols but isn't as heavy-handed
14991	# as -z defs.
14992	no_undefined_flag_CXX='$wl-z,text'
14993	allow_undefined_flag_CXX='$wl-z,nodefs'
14994	archive_cmds_need_lc_CXX=no
14995	hardcode_shlibpath_var_CXX=no
14996	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14997	hardcode_libdir_separator_CXX=':'
14998	link_all_deplibs_CXX=yes
14999	export_dynamic_flag_spec_CXX='$wl-Bexport'
15000	runpath_var='LD_RUN_PATH'
15001
15002	case $cc_basename in
15003          CC*)
15004	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15005	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15006	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15007              '"$old_archive_cmds_CXX"
15008	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15009              '"$reload_cmds_CXX"
15010	    ;;
15011	  *)
15012	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15013	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15014	    ;;
15015	esac
15016      ;;
15017
15018      tandem*)
15019        case $cc_basename in
15020          NCC*)
15021	    # NonStop-UX NCC 3.20
15022	    # FIXME: insert proper C++ library support
15023	    ld_shlibs_CXX=no
15024	    ;;
15025          *)
15026	    # FIXME: insert proper C++ library support
15027	    ld_shlibs_CXX=no
15028	    ;;
15029        esac
15030        ;;
15031
15032      vxworks*)
15033        # FIXME: insert proper C++ library support
15034        ld_shlibs_CXX=no
15035        ;;
15036
15037      *)
15038        # FIXME: insert proper C++ library support
15039        ld_shlibs_CXX=no
15040        ;;
15041    esac
15042
15043    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15044$as_echo "$ld_shlibs_CXX" >&6; }
15045    test no = "$ld_shlibs_CXX" && can_build_shared=no
15046
15047    GCC_CXX=$GXX
15048    LD_CXX=$LD
15049
15050    ## CAVEAT EMPTOR:
15051    ## There is no encapsulation within the following macros, do not change
15052    ## the running order or otherwise move them around unless you know exactly
15053    ## what you are doing...
15054    # Dependencies to place before and after the object being linked:
15055predep_objects_CXX=
15056postdep_objects_CXX=
15057predeps_CXX=
15058postdeps_CXX=
15059compiler_lib_search_path_CXX=
15060
15061cat > conftest.$ac_ext <<_LT_EOF
15062class Foo
15063{
15064public:
15065  Foo (void) { a = 0; }
15066private:
15067  int a;
15068};
15069_LT_EOF
15070
15071
15072_lt_libdeps_save_CFLAGS=$CFLAGS
15073case "$CC $CFLAGS " in #(
15074*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15075*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15076*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15077esac
15078
15079if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15080  (eval $ac_compile) 2>&5
15081  ac_status=$?
15082  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15083  test $ac_status = 0; }; then
15084  # Parse the compiler output and extract the necessary
15085  # objects, libraries and library flags.
15086
15087  # Sentinel used to keep track of whether or not we are before
15088  # the conftest object file.
15089  pre_test_object_deps_done=no
15090
15091  for p in `eval "$output_verbose_link_cmd"`; do
15092    case $prev$p in
15093
15094    -L* | -R* | -l*)
15095       # Some compilers place space between "-{L,R}" and the path.
15096       # Remove the space.
15097       if test x-L = "$p" ||
15098          test x-R = "$p"; then
15099	 prev=$p
15100	 continue
15101       fi
15102
15103       # Expand the sysroot to ease extracting the directories later.
15104       if test -z "$prev"; then
15105         case $p in
15106         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15107         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15108         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15109         esac
15110       fi
15111       case $p in
15112       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15113       esac
15114       if test no = "$pre_test_object_deps_done"; then
15115	 case $prev in
15116	 -L | -R)
15117	   # Internal compiler library paths should come after those
15118	   # provided the user.  The postdeps already come after the
15119	   # user supplied libs so there is no need to process them.
15120	   if test -z "$compiler_lib_search_path_CXX"; then
15121	     compiler_lib_search_path_CXX=$prev$p
15122	   else
15123	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15124	   fi
15125	   ;;
15126	 # The "-l" case would never come before the object being
15127	 # linked, so don't bother handling this case.
15128	 esac
15129       else
15130	 if test -z "$postdeps_CXX"; then
15131	   postdeps_CXX=$prev$p
15132	 else
15133	   postdeps_CXX="${postdeps_CXX} $prev$p"
15134	 fi
15135       fi
15136       prev=
15137       ;;
15138
15139    *.lto.$objext) ;; # Ignore GCC LTO objects
15140    *.$objext)
15141       # This assumes that the test object file only shows up
15142       # once in the compiler output.
15143       if test "$p" = "conftest.$objext"; then
15144	 pre_test_object_deps_done=yes
15145	 continue
15146       fi
15147
15148       if test no = "$pre_test_object_deps_done"; then
15149	 if test -z "$predep_objects_CXX"; then
15150	   predep_objects_CXX=$p
15151	 else
15152	   predep_objects_CXX="$predep_objects_CXX $p"
15153	 fi
15154       else
15155	 if test -z "$postdep_objects_CXX"; then
15156	   postdep_objects_CXX=$p
15157	 else
15158	   postdep_objects_CXX="$postdep_objects_CXX $p"
15159	 fi
15160       fi
15161       ;;
15162
15163    *) ;; # Ignore the rest.
15164
15165    esac
15166  done
15167
15168  # Clean up.
15169  rm -f a.out a.exe
15170else
15171  echo "libtool.m4: error: problem compiling CXX test program"
15172fi
15173
15174$RM -f confest.$objext
15175CFLAGS=$_lt_libdeps_save_CFLAGS
15176
15177# PORTME: override above test on systems where it is broken
15178case $host_os in
15179interix[3-9]*)
15180  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15181  # hack all around it, let's just trust "g++" to DTRT.
15182  predep_objects_CXX=
15183  postdep_objects_CXX=
15184  postdeps_CXX=
15185  ;;
15186esac
15187
15188
15189case " $postdeps_CXX " in
15190*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15191esac
15192 compiler_lib_search_dirs_CXX=
15193if test -n "${compiler_lib_search_path_CXX}"; then
15194 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15195fi
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227    lt_prog_compiler_wl_CXX=
15228lt_prog_compiler_pic_CXX=
15229lt_prog_compiler_static_CXX=
15230
15231
15232  # C++ specific cases for pic, static, wl, etc.
15233  if test yes = "$GXX"; then
15234    lt_prog_compiler_wl_CXX='-Wl,'
15235    lt_prog_compiler_static_CXX='-static'
15236
15237    case $host_os in
15238    aix*)
15239      # All AIX code is PIC.
15240      if test ia64 = "$host_cpu"; then
15241	# AIX 5 now supports IA64 processor
15242	lt_prog_compiler_static_CXX='-Bstatic'
15243      fi
15244      lt_prog_compiler_pic_CXX='-fPIC'
15245      ;;
15246
15247    amigaos*)
15248      case $host_cpu in
15249      powerpc)
15250            # see comment about AmigaOS4 .so support
15251            lt_prog_compiler_pic_CXX='-fPIC'
15252        ;;
15253      m68k)
15254            # FIXME: we need at least 68020 code to build shared libraries, but
15255            # adding the '-m68020' flag to GCC prevents building anything better,
15256            # like '-m68040'.
15257            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15258        ;;
15259      esac
15260      ;;
15261
15262    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15263      # PIC is the default for these OSes.
15264      ;;
15265    mingw* | cygwin* | os2* | pw32* | cegcc*)
15266      # This hack is so that the source file can tell whether it is being
15267      # built for inclusion in a dll (and should export symbols for example).
15268      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15269      # (--disable-auto-import) libraries
15270      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15271      case $host_os in
15272      os2*)
15273	lt_prog_compiler_static_CXX='$wl-static'
15274	;;
15275      esac
15276      ;;
15277    darwin* | rhapsody*)
15278      # PIC is the default on this platform
15279      # Common symbols not allowed in MH_DYLIB files
15280      lt_prog_compiler_pic_CXX='-fno-common'
15281      ;;
15282    *djgpp*)
15283      # DJGPP does not support shared libraries at all
15284      lt_prog_compiler_pic_CXX=
15285      ;;
15286    haiku*)
15287      # PIC is the default for Haiku.
15288      # The "-static" flag exists, but is broken.
15289      lt_prog_compiler_static_CXX=
15290      ;;
15291    interix[3-9]*)
15292      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15293      # Instead, we relocate shared libraries at runtime.
15294      ;;
15295    sysv4*MP*)
15296      if test -d /usr/nec; then
15297	lt_prog_compiler_pic_CXX=-Kconform_pic
15298      fi
15299      ;;
15300    hpux*)
15301      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15302      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15303      # sets the default TLS model and affects inlining.
15304      case $host_cpu in
15305      hppa*64*)
15306	;;
15307      *)
15308	lt_prog_compiler_pic_CXX='-fPIC'
15309	;;
15310      esac
15311      ;;
15312    *qnx* | *nto*)
15313      # QNX uses GNU C++, but need to define -shared option too, otherwise
15314      # it will coredump.
15315      lt_prog_compiler_pic_CXX='-fPIC -shared'
15316      ;;
15317    *)
15318      lt_prog_compiler_pic_CXX='-fPIC'
15319      ;;
15320    esac
15321  else
15322    case $host_os in
15323      aix[4-9]*)
15324	# All AIX code is PIC.
15325	if test ia64 = "$host_cpu"; then
15326	  # AIX 5 now supports IA64 processor
15327	  lt_prog_compiler_static_CXX='-Bstatic'
15328	else
15329	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15330	fi
15331	;;
15332      chorus*)
15333	case $cc_basename in
15334	cxch68*)
15335	  # Green Hills C++ Compiler
15336	  # _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"
15337	  ;;
15338	esac
15339	;;
15340      mingw* | cygwin* | os2* | pw32* | cegcc*)
15341	# This hack is so that the source file can tell whether it is being
15342	# built for inclusion in a dll (and should export symbols for example).
15343	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15344	;;
15345      dgux*)
15346	case $cc_basename in
15347	  ec++*)
15348	    lt_prog_compiler_pic_CXX='-KPIC'
15349	    ;;
15350	  ghcx*)
15351	    # Green Hills C++ Compiler
15352	    lt_prog_compiler_pic_CXX='-pic'
15353	    ;;
15354	  *)
15355	    ;;
15356	esac
15357	;;
15358      freebsd* | dragonfly*)
15359	# FreeBSD uses GNU C++
15360	;;
15361      hpux9* | hpux10* | hpux11*)
15362	case $cc_basename in
15363	  CC*)
15364	    lt_prog_compiler_wl_CXX='-Wl,'
15365	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15366	    if test ia64 != "$host_cpu"; then
15367	      lt_prog_compiler_pic_CXX='+Z'
15368	    fi
15369	    ;;
15370	  aCC*)
15371	    lt_prog_compiler_wl_CXX='-Wl,'
15372	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15373	    case $host_cpu in
15374	    hppa*64*|ia64*)
15375	      # +Z the default
15376	      ;;
15377	    *)
15378	      lt_prog_compiler_pic_CXX='+Z'
15379	      ;;
15380	    esac
15381	    ;;
15382	  *)
15383	    ;;
15384	esac
15385	;;
15386      interix*)
15387	# This is c89, which is MS Visual C++ (no shared libs)
15388	# Anyone wants to do a port?
15389	;;
15390      irix5* | irix6* | nonstopux*)
15391	case $cc_basename in
15392	  CC*)
15393	    lt_prog_compiler_wl_CXX='-Wl,'
15394	    lt_prog_compiler_static_CXX='-non_shared'
15395	    # CC pic flag -KPIC is the default.
15396	    ;;
15397	  *)
15398	    ;;
15399	esac
15400	;;
15401      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15402	case $cc_basename in
15403	  KCC*)
15404	    # KAI C++ Compiler
15405	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15406	    lt_prog_compiler_pic_CXX='-fPIC'
15407	    ;;
15408	  ecpc* )
15409	    # old Intel C++ for x86_64, which still supported -KPIC.
15410	    lt_prog_compiler_wl_CXX='-Wl,'
15411	    lt_prog_compiler_pic_CXX='-KPIC'
15412	    lt_prog_compiler_static_CXX='-static'
15413	    ;;
15414	  icpc* )
15415	    # Intel C++, used to be incompatible with GCC.
15416	    # ICC 10 doesn't accept -KPIC any more.
15417	    lt_prog_compiler_wl_CXX='-Wl,'
15418	    lt_prog_compiler_pic_CXX='-fPIC'
15419	    lt_prog_compiler_static_CXX='-static'
15420	    ;;
15421	  pgCC* | pgcpp*)
15422	    # Portland Group C++ compiler
15423	    lt_prog_compiler_wl_CXX='-Wl,'
15424	    lt_prog_compiler_pic_CXX='-fpic'
15425	    lt_prog_compiler_static_CXX='-Bstatic'
15426	    ;;
15427	  cxx*)
15428	    # Compaq C++
15429	    # Make sure the PIC flag is empty.  It appears that all Alpha
15430	    # Linux and Compaq Tru64 Unix objects are PIC.
15431	    lt_prog_compiler_pic_CXX=
15432	    lt_prog_compiler_static_CXX='-non_shared'
15433	    ;;
15434	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15435	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15436	    lt_prog_compiler_wl_CXX='-Wl,'
15437	    lt_prog_compiler_pic_CXX='-qpic'
15438	    lt_prog_compiler_static_CXX='-qstaticlink'
15439	    ;;
15440	  *)
15441	    case `$CC -V 2>&1 | sed 5q` in
15442	    *Sun\ C*)
15443	      # Sun C++ 5.9
15444	      lt_prog_compiler_pic_CXX='-KPIC'
15445	      lt_prog_compiler_static_CXX='-Bstatic'
15446	      lt_prog_compiler_wl_CXX='-Qoption ld '
15447	      ;;
15448	    esac
15449	    ;;
15450	esac
15451	;;
15452      lynxos*)
15453	;;
15454      m88k*)
15455	;;
15456      mvs*)
15457	case $cc_basename in
15458	  cxx*)
15459	    lt_prog_compiler_pic_CXX='-W c,exportall'
15460	    ;;
15461	  *)
15462	    ;;
15463	esac
15464	;;
15465      netbsd*)
15466	;;
15467      *qnx* | *nto*)
15468        # QNX uses GNU C++, but need to define -shared option too, otherwise
15469        # it will coredump.
15470        lt_prog_compiler_pic_CXX='-fPIC -shared'
15471        ;;
15472      osf3* | osf4* | osf5*)
15473	case $cc_basename in
15474	  KCC*)
15475	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15476	    ;;
15477	  RCC*)
15478	    # Rational C++ 2.4.1
15479	    lt_prog_compiler_pic_CXX='-pic'
15480	    ;;
15481	  cxx*)
15482	    # Digital/Compaq C++
15483	    lt_prog_compiler_wl_CXX='-Wl,'
15484	    # Make sure the PIC flag is empty.  It appears that all Alpha
15485	    # Linux and Compaq Tru64 Unix objects are PIC.
15486	    lt_prog_compiler_pic_CXX=
15487	    lt_prog_compiler_static_CXX='-non_shared'
15488	    ;;
15489	  *)
15490	    ;;
15491	esac
15492	;;
15493      psos*)
15494	;;
15495      solaris*)
15496	case $cc_basename in
15497	  CC* | sunCC*)
15498	    # Sun C++ 4.2, 5.x and Centerline C++
15499	    lt_prog_compiler_pic_CXX='-KPIC'
15500	    lt_prog_compiler_static_CXX='-Bstatic'
15501	    lt_prog_compiler_wl_CXX='-Qoption ld '
15502	    ;;
15503	  gcx*)
15504	    # Green Hills C++ Compiler
15505	    lt_prog_compiler_pic_CXX='-PIC'
15506	    ;;
15507	  *)
15508	    ;;
15509	esac
15510	;;
15511      sunos4*)
15512	case $cc_basename in
15513	  CC*)
15514	    # Sun C++ 4.x
15515	    lt_prog_compiler_pic_CXX='-pic'
15516	    lt_prog_compiler_static_CXX='-Bstatic'
15517	    ;;
15518	  lcc*)
15519	    # Lucid
15520	    lt_prog_compiler_pic_CXX='-pic'
15521	    ;;
15522	  *)
15523	    ;;
15524	esac
15525	;;
15526      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15527	case $cc_basename in
15528	  CC*)
15529	    lt_prog_compiler_wl_CXX='-Wl,'
15530	    lt_prog_compiler_pic_CXX='-KPIC'
15531	    lt_prog_compiler_static_CXX='-Bstatic'
15532	    ;;
15533	esac
15534	;;
15535      tandem*)
15536	case $cc_basename in
15537	  NCC*)
15538	    # NonStop-UX NCC 3.20
15539	    lt_prog_compiler_pic_CXX='-KPIC'
15540	    ;;
15541	  *)
15542	    ;;
15543	esac
15544	;;
15545      vxworks*)
15546	;;
15547      *)
15548	lt_prog_compiler_can_build_shared_CXX=no
15549	;;
15550    esac
15551  fi
15552
15553case $host_os in
15554  # For platforms that do not support PIC, -DPIC is meaningless:
15555  *djgpp*)
15556    lt_prog_compiler_pic_CXX=
15557    ;;
15558  *)
15559    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15560    ;;
15561esac
15562
15563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15564$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15565if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15566  $as_echo_n "(cached) " >&6
15567else
15568  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15569fi
15570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15571$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15572lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15573
15574#
15575# Check to make sure the PIC flag actually works.
15576#
15577if test -n "$lt_prog_compiler_pic_CXX"; then
15578  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15579$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15580if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15581  $as_echo_n "(cached) " >&6
15582else
15583  lt_cv_prog_compiler_pic_works_CXX=no
15584   ac_outfile=conftest.$ac_objext
15585   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15586   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15587   # Insert the option either (1) after the last *FLAGS variable, or
15588   # (2) before a word containing "conftest.", or (3) at the end.
15589   # Note that $ac_compile itself does not contain backslashes and begins
15590   # with a dollar sign (not a hyphen), so the echo should work correctly.
15591   # The option is referenced via a variable to avoid confusing sed.
15592   lt_compile=`echo "$ac_compile" | $SED \
15593   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15594   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15595   -e 's:$: $lt_compiler_flag:'`
15596   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15597   (eval "$lt_compile" 2>conftest.err)
15598   ac_status=$?
15599   cat conftest.err >&5
15600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601   if (exit $ac_status) && test -s "$ac_outfile"; then
15602     # The compiler can only warn and ignore the option if not recognized
15603     # So say no if there are warnings other than the usual output.
15604     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15605     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15606     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15607       lt_cv_prog_compiler_pic_works_CXX=yes
15608     fi
15609   fi
15610   $RM conftest*
15611
15612fi
15613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15614$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15615
15616if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15617    case $lt_prog_compiler_pic_CXX in
15618     "" | " "*) ;;
15619     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15620     esac
15621else
15622    lt_prog_compiler_pic_CXX=
15623     lt_prog_compiler_can_build_shared_CXX=no
15624fi
15625
15626fi
15627
15628
15629
15630
15631
15632#
15633# Check to make sure the static flag actually works.
15634#
15635wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15637$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15638if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15639  $as_echo_n "(cached) " >&6
15640else
15641  lt_cv_prog_compiler_static_works_CXX=no
15642   save_LDFLAGS=$LDFLAGS
15643   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15644   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15645   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15646     # The linker can only warn and ignore the option if not recognized
15647     # So say no if there are warnings
15648     if test -s conftest.err; then
15649       # Append any errors to the config.log.
15650       cat conftest.err 1>&5
15651       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15652       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15653       if diff conftest.exp conftest.er2 >/dev/null; then
15654         lt_cv_prog_compiler_static_works_CXX=yes
15655       fi
15656     else
15657       lt_cv_prog_compiler_static_works_CXX=yes
15658     fi
15659   fi
15660   $RM -r conftest*
15661   LDFLAGS=$save_LDFLAGS
15662
15663fi
15664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15665$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15666
15667if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15668    :
15669else
15670    lt_prog_compiler_static_CXX=
15671fi
15672
15673
15674
15675
15676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15677$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15678if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15679  $as_echo_n "(cached) " >&6
15680else
15681  lt_cv_prog_compiler_c_o_CXX=no
15682   $RM -r conftest 2>/dev/null
15683   mkdir conftest
15684   cd conftest
15685   mkdir out
15686   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15687
15688   lt_compiler_flag="-o out/conftest2.$ac_objext"
15689   # Insert the option either (1) after the last *FLAGS variable, or
15690   # (2) before a word containing "conftest.", or (3) at the end.
15691   # Note that $ac_compile itself does not contain backslashes and begins
15692   # with a dollar sign (not a hyphen), so the echo should work correctly.
15693   lt_compile=`echo "$ac_compile" | $SED \
15694   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15695   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15696   -e 's:$: $lt_compiler_flag:'`
15697   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15698   (eval "$lt_compile" 2>out/conftest.err)
15699   ac_status=$?
15700   cat out/conftest.err >&5
15701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15703   then
15704     # The compiler can only warn and ignore the option if not recognized
15705     # So say no if there are warnings
15706     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15707     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15708     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15709       lt_cv_prog_compiler_c_o_CXX=yes
15710     fi
15711   fi
15712   chmod u+w . 2>&5
15713   $RM conftest*
15714   # SGI C++ compiler will create directory out/ii_files/ for
15715   # template instantiation
15716   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15717   $RM out/* && rmdir out
15718   cd ..
15719   $RM -r conftest
15720   $RM conftest*
15721
15722fi
15723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15724$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15725
15726
15727
15728    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15729$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15730if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15731  $as_echo_n "(cached) " >&6
15732else
15733  lt_cv_prog_compiler_c_o_CXX=no
15734   $RM -r conftest 2>/dev/null
15735   mkdir conftest
15736   cd conftest
15737   mkdir out
15738   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15739
15740   lt_compiler_flag="-o out/conftest2.$ac_objext"
15741   # Insert the option either (1) after the last *FLAGS variable, or
15742   # (2) before a word containing "conftest.", or (3) at the end.
15743   # Note that $ac_compile itself does not contain backslashes and begins
15744   # with a dollar sign (not a hyphen), so the echo should work correctly.
15745   lt_compile=`echo "$ac_compile" | $SED \
15746   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15747   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15748   -e 's:$: $lt_compiler_flag:'`
15749   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15750   (eval "$lt_compile" 2>out/conftest.err)
15751   ac_status=$?
15752   cat out/conftest.err >&5
15753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15755   then
15756     # The compiler can only warn and ignore the option if not recognized
15757     # So say no if there are warnings
15758     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15759     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15760     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15761       lt_cv_prog_compiler_c_o_CXX=yes
15762     fi
15763   fi
15764   chmod u+w . 2>&5
15765   $RM conftest*
15766   # SGI C++ compiler will create directory out/ii_files/ for
15767   # template instantiation
15768   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15769   $RM out/* && rmdir out
15770   cd ..
15771   $RM -r conftest
15772   $RM conftest*
15773
15774fi
15775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15776$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15777
15778
15779
15780
15781hard_links=nottested
15782if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15783  # do not overwrite the value of need_locks provided by the user
15784  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15785$as_echo_n "checking if we can lock with hard links... " >&6; }
15786  hard_links=yes
15787  $RM conftest*
15788  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15789  touch conftest.a
15790  ln conftest.a conftest.b 2>&5 || hard_links=no
15791  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15793$as_echo "$hard_links" >&6; }
15794  if test no = "$hard_links"; then
15795    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15796$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15797    need_locks=warn
15798  fi
15799else
15800  need_locks=no
15801fi
15802
15803
15804
15805    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15806$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15807
15808  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15809  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15810  case $host_os in
15811  aix[4-9]*)
15812    # If we're using GNU nm, then we don't want the "-C" option.
15813    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15814    # Without the "-l" option, or with the "-B" option, AIX nm treats
15815    # weak defined symbols like other global defined symbols, whereas
15816    # GNU nm marks them as "W".
15817    # While the 'weak' keyword is ignored in the Export File, we need
15818    # it in the Import File for the 'aix-soname' feature, so we have
15819    # to replace the "-B" option with "-P" for AIX nm.
15820    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15821      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'
15822    else
15823      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'
15824    fi
15825    ;;
15826  pw32*)
15827    export_symbols_cmds_CXX=$ltdll_cmds
15828    ;;
15829  cygwin* | mingw* | cegcc*)
15830    case $cc_basename in
15831    cl*)
15832      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15833      ;;
15834    *)
15835      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'
15836      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15837      ;;
15838    esac
15839    ;;
15840  *)
15841    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15842    ;;
15843  esac
15844
15845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15846$as_echo "$ld_shlibs_CXX" >&6; }
15847test no = "$ld_shlibs_CXX" && can_build_shared=no
15848
15849with_gnu_ld_CXX=$with_gnu_ld
15850
15851
15852
15853
15854
15855
15856#
15857# Do we need to explicitly link libc?
15858#
15859case "x$archive_cmds_need_lc_CXX" in
15860x|xyes)
15861  # Assume -lc should be added
15862  archive_cmds_need_lc_CXX=yes
15863
15864  if test yes,yes = "$GCC,$enable_shared"; then
15865    case $archive_cmds_CXX in
15866    *'~'*)
15867      # FIXME: we may have to deal with multi-command sequences.
15868      ;;
15869    '$CC '*)
15870      # Test whether the compiler implicitly links with -lc since on some
15871      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15872      # to ld, don't add -lc before -lgcc.
15873      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15874$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15875if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15876  $as_echo_n "(cached) " >&6
15877else
15878  $RM conftest*
15879	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15880
15881	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15882  (eval $ac_compile) 2>&5
15883  ac_status=$?
15884  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15885  test $ac_status = 0; } 2>conftest.err; then
15886	  soname=conftest
15887	  lib=conftest
15888	  libobjs=conftest.$ac_objext
15889	  deplibs=
15890	  wl=$lt_prog_compiler_wl_CXX
15891	  pic_flag=$lt_prog_compiler_pic_CXX
15892	  compiler_flags=-v
15893	  linker_flags=-v
15894	  verstring=
15895	  output_objdir=.
15896	  libname=conftest
15897	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15898	  allow_undefined_flag_CXX=
15899	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15900  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15901  ac_status=$?
15902  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15903  test $ac_status = 0; }
15904	  then
15905	    lt_cv_archive_cmds_need_lc_CXX=no
15906	  else
15907	    lt_cv_archive_cmds_need_lc_CXX=yes
15908	  fi
15909	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15910	else
15911	  cat conftest.err 1>&5
15912	fi
15913	$RM conftest*
15914
15915fi
15916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15917$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15918      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15919      ;;
15920    esac
15921  fi
15922  ;;
15923esac
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
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    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15987$as_echo_n "checking dynamic linker characteristics... " >&6; }
15988
15989library_names_spec=
15990libname_spec='lib$name'
15991soname_spec=
15992shrext_cmds=.so
15993postinstall_cmds=
15994postuninstall_cmds=
15995finish_cmds=
15996finish_eval=
15997shlibpath_var=
15998shlibpath_overrides_runpath=unknown
15999version_type=none
16000dynamic_linker="$host_os ld.so"
16001sys_lib_dlsearch_path_spec="/lib /usr/lib"
16002need_lib_prefix=unknown
16003hardcode_into_libs=no
16004
16005# when you set need_version to no, make sure it does not cause -set_version
16006# flags to be left without arguments
16007need_version=unknown
16008
16009
16010
16011case $host_os in
16012aix3*)
16013  version_type=linux # correct to gnu/linux during the next big refactor
16014  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16015  shlibpath_var=LIBPATH
16016
16017  # AIX 3 has no versioning support, so we append a major version to the name.
16018  soname_spec='$libname$release$shared_ext$major'
16019  ;;
16020
16021aix[4-9]*)
16022  version_type=linux # correct to gnu/linux during the next big refactor
16023  need_lib_prefix=no
16024  need_version=no
16025  hardcode_into_libs=yes
16026  if test ia64 = "$host_cpu"; then
16027    # AIX 5 supports IA64
16028    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16029    shlibpath_var=LD_LIBRARY_PATH
16030  else
16031    # With GCC up to 2.95.x, collect2 would create an import file
16032    # for dependence libraries.  The import file would start with
16033    # the line '#! .'.  This would cause the generated library to
16034    # depend on '.', always an invalid library.  This was fixed in
16035    # development snapshots of GCC prior to 3.0.
16036    case $host_os in
16037      aix4 | aix4.[01] | aix4.[01].*)
16038      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16039	   echo ' yes '
16040	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16041	:
16042      else
16043	can_build_shared=no
16044      fi
16045      ;;
16046    esac
16047    # Using Import Files as archive members, it is possible to support
16048    # filename-based versioning of shared library archives on AIX. While
16049    # this would work for both with and without runtime linking, it will
16050    # prevent static linking of such archives. So we do filename-based
16051    # shared library versioning with .so extension only, which is used
16052    # when both runtime linking and shared linking is enabled.
16053    # Unfortunately, runtime linking may impact performance, so we do
16054    # not want this to be the default eventually. Also, we use the
16055    # versioned .so libs for executables only if there is the -brtl
16056    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16057    # To allow for filename-based versioning support, we need to create
16058    # libNAME.so.V as an archive file, containing:
16059    # *) an Import File, referring to the versioned filename of the
16060    #    archive as well as the shared archive member, telling the
16061    #    bitwidth (32 or 64) of that shared object, and providing the
16062    #    list of exported symbols of that shared object, eventually
16063    #    decorated with the 'weak' keyword
16064    # *) the shared object with the F_LOADONLY flag set, to really avoid
16065    #    it being seen by the linker.
16066    # At run time we better use the real file rather than another symlink,
16067    # but for link time we create the symlink libNAME.so -> libNAME.so.V
16068
16069    case $with_aix_soname,$aix_use_runtimelinking in
16070    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16071    # soname into executable. Probably we can add versioning support to
16072    # collect2, so additional links can be useful in future.
16073    aix,yes) # traditional libtool
16074      dynamic_linker='AIX unversionable lib.so'
16075      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16076      # instead of lib<name>.a to let people know that these are not
16077      # typical AIX shared libraries.
16078      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16079      ;;
16080    aix,no) # traditional AIX only
16081      dynamic_linker='AIX lib.a(lib.so.V)'
16082      # We preserve .a as extension for shared libraries through AIX4.2
16083      # and later when we are not doing run time linking.
16084      library_names_spec='$libname$release.a $libname.a'
16085      soname_spec='$libname$release$shared_ext$major'
16086      ;;
16087    svr4,*) # full svr4 only
16088      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16089      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16090      # We do not specify a path in Import Files, so LIBPATH fires.
16091      shlibpath_overrides_runpath=yes
16092      ;;
16093    *,yes) # both, prefer svr4
16094      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16095      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16096      # unpreferred sharedlib libNAME.a needs extra handling
16097      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"'
16098      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"'
16099      # We do not specify a path in Import Files, so LIBPATH fires.
16100      shlibpath_overrides_runpath=yes
16101      ;;
16102    *,no) # both, prefer aix
16103      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16104      library_names_spec='$libname$release.a $libname.a'
16105      soname_spec='$libname$release$shared_ext$major'
16106      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16107      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)'
16108      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"'
16109      ;;
16110    esac
16111    shlibpath_var=LIBPATH
16112  fi
16113  ;;
16114
16115amigaos*)
16116  case $host_cpu in
16117  powerpc)
16118    # Since July 2007 AmigaOS4 officially supports .so libraries.
16119    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16120    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16121    ;;
16122  m68k)
16123    library_names_spec='$libname.ixlibrary $libname.a'
16124    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16125    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'
16126    ;;
16127  esac
16128  ;;
16129
16130beos*)
16131  library_names_spec='$libname$shared_ext'
16132  dynamic_linker="$host_os ld.so"
16133  shlibpath_var=LIBRARY_PATH
16134  ;;
16135
16136bsdi[45]*)
16137  version_type=linux # correct to gnu/linux during the next big refactor
16138  need_version=no
16139  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16140  soname_spec='$libname$release$shared_ext$major'
16141  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16142  shlibpath_var=LD_LIBRARY_PATH
16143  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16144  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16145  # the default ld.so.conf also contains /usr/contrib/lib and
16146  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16147  # libtool to hard-code these into programs
16148  ;;
16149
16150cygwin* | mingw* | pw32* | cegcc*)
16151  version_type=windows
16152  shrext_cmds=.dll
16153  need_version=no
16154  need_lib_prefix=no
16155
16156  case $GCC,$cc_basename in
16157  yes,*)
16158    # gcc
16159    library_names_spec='$libname.dll.a'
16160    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16161    postinstall_cmds='base_file=`basename \$file`~
16162      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16163      dldir=$destdir/`dirname \$dlpath`~
16164      test -d \$dldir || mkdir -p \$dldir~
16165      $install_prog $dir/$dlname \$dldir/$dlname~
16166      chmod a+x \$dldir/$dlname~
16167      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16168        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16169      fi'
16170    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16171      dlpath=$dir/\$dldll~
16172       $RM \$dlpath'
16173    shlibpath_overrides_runpath=yes
16174
16175    case $host_os in
16176    cygwin*)
16177      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16178      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16179
16180      ;;
16181    mingw* | cegcc*)
16182      # MinGW DLLs use traditional 'lib' prefix
16183      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16184      ;;
16185    pw32*)
16186      # pw32 DLLs use 'pw' prefix rather than 'lib'
16187      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16188      ;;
16189    esac
16190    dynamic_linker='Win32 ld.exe'
16191    ;;
16192
16193  *,cl*)
16194    # Native MSVC
16195    libname_spec='$name'
16196    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16197    library_names_spec='$libname.dll.lib'
16198
16199    case $build_os in
16200    mingw*)
16201      sys_lib_search_path_spec=
16202      lt_save_ifs=$IFS
16203      IFS=';'
16204      for lt_path in $LIB
16205      do
16206        IFS=$lt_save_ifs
16207        # Let DOS variable expansion print the short 8.3 style file name.
16208        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16209        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16210      done
16211      IFS=$lt_save_ifs
16212      # Convert to MSYS style.
16213      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16214      ;;
16215    cygwin*)
16216      # Convert to unix form, then to dos form, then back to unix form
16217      # but this time dos style (no spaces!) so that the unix form looks
16218      # like /cygdrive/c/PROGRA~1:/cygdr...
16219      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16220      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16221      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16222      ;;
16223    *)
16224      sys_lib_search_path_spec=$LIB
16225      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16226        # It is most probably a Windows format PATH.
16227        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16228      else
16229        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16230      fi
16231      # FIXME: find the short name or the path components, as spaces are
16232      # common. (e.g. "Program Files" -> "PROGRA~1")
16233      ;;
16234    esac
16235
16236    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16237    postinstall_cmds='base_file=`basename \$file`~
16238      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16239      dldir=$destdir/`dirname \$dlpath`~
16240      test -d \$dldir || mkdir -p \$dldir~
16241      $install_prog $dir/$dlname \$dldir/$dlname'
16242    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16243      dlpath=$dir/\$dldll~
16244       $RM \$dlpath'
16245    shlibpath_overrides_runpath=yes
16246    dynamic_linker='Win32 link.exe'
16247    ;;
16248
16249  *)
16250    # Assume MSVC wrapper
16251    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16252    dynamic_linker='Win32 ld.exe'
16253    ;;
16254  esac
16255  # FIXME: first we should search . and the directory the executable is in
16256  shlibpath_var=PATH
16257  ;;
16258
16259darwin* | rhapsody*)
16260  dynamic_linker="$host_os dyld"
16261  version_type=darwin
16262  need_lib_prefix=no
16263  need_version=no
16264  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16265  soname_spec='$libname$release$major$shared_ext'
16266  shlibpath_overrides_runpath=yes
16267  shlibpath_var=DYLD_LIBRARY_PATH
16268  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16269
16270  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16271  ;;
16272
16273dgux*)
16274  version_type=linux # correct to gnu/linux during the next big refactor
16275  need_lib_prefix=no
16276  need_version=no
16277  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16278  soname_spec='$libname$release$shared_ext$major'
16279  shlibpath_var=LD_LIBRARY_PATH
16280  ;;
16281
16282freebsd* | dragonfly*)
16283  # DragonFly does not have aout.  When/if they implement a new
16284  # versioning mechanism, adjust this.
16285  if test -x /usr/bin/objformat; then
16286    objformat=`/usr/bin/objformat`
16287  else
16288    case $host_os in
16289    freebsd[23].*) objformat=aout ;;
16290    *) objformat=elf ;;
16291    esac
16292  fi
16293  version_type=freebsd-$objformat
16294  case $version_type in
16295    freebsd-elf*)
16296      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16297      soname_spec='$libname$release$shared_ext$major'
16298      need_version=no
16299      need_lib_prefix=no
16300      ;;
16301    freebsd-*)
16302      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16303      need_version=yes
16304      ;;
16305  esac
16306  shlibpath_var=LD_LIBRARY_PATH
16307  case $host_os in
16308  freebsd2.*)
16309    shlibpath_overrides_runpath=yes
16310    ;;
16311  freebsd3.[01]* | freebsdelf3.[01]*)
16312    shlibpath_overrides_runpath=yes
16313    hardcode_into_libs=yes
16314    ;;
16315  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16316  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16317    shlibpath_overrides_runpath=no
16318    hardcode_into_libs=yes
16319    ;;
16320  *) # from 4.6 on, and DragonFly
16321    shlibpath_overrides_runpath=yes
16322    hardcode_into_libs=yes
16323    ;;
16324  esac
16325  ;;
16326
16327haiku*)
16328  version_type=linux # correct to gnu/linux during the next big refactor
16329  need_lib_prefix=no
16330  need_version=no
16331  dynamic_linker="$host_os runtime_loader"
16332  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16333  soname_spec='$libname$release$shared_ext$major'
16334  shlibpath_var=LIBRARY_PATH
16335  shlibpath_overrides_runpath=no
16336  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16337  hardcode_into_libs=yes
16338  ;;
16339
16340hpux9* | hpux10* | hpux11*)
16341  # Give a soname corresponding to the major version so that dld.sl refuses to
16342  # link against other versions.
16343  version_type=sunos
16344  need_lib_prefix=no
16345  need_version=no
16346  case $host_cpu in
16347  ia64*)
16348    shrext_cmds='.so'
16349    hardcode_into_libs=yes
16350    dynamic_linker="$host_os dld.so"
16351    shlibpath_var=LD_LIBRARY_PATH
16352    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16353    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16354    soname_spec='$libname$release$shared_ext$major'
16355    if test 32 = "$HPUX_IA64_MODE"; then
16356      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16357      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16358    else
16359      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16360      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16361    fi
16362    ;;
16363  hppa*64*)
16364    shrext_cmds='.sl'
16365    hardcode_into_libs=yes
16366    dynamic_linker="$host_os dld.sl"
16367    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16368    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16369    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16370    soname_spec='$libname$release$shared_ext$major'
16371    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16372    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16373    ;;
16374  *)
16375    shrext_cmds='.sl'
16376    dynamic_linker="$host_os dld.sl"
16377    shlibpath_var=SHLIB_PATH
16378    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16379    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16380    soname_spec='$libname$release$shared_ext$major'
16381    ;;
16382  esac
16383  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16384  postinstall_cmds='chmod 555 $lib'
16385  # or fails outright, so override atomically:
16386  install_override_mode=555
16387  ;;
16388
16389interix[3-9]*)
16390  version_type=linux # correct to gnu/linux during the next big refactor
16391  need_lib_prefix=no
16392  need_version=no
16393  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16394  soname_spec='$libname$release$shared_ext$major'
16395  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16396  shlibpath_var=LD_LIBRARY_PATH
16397  shlibpath_overrides_runpath=no
16398  hardcode_into_libs=yes
16399  ;;
16400
16401irix5* | irix6* | nonstopux*)
16402  case $host_os in
16403    nonstopux*) version_type=nonstopux ;;
16404    *)
16405	if test yes = "$lt_cv_prog_gnu_ld"; then
16406		version_type=linux # correct to gnu/linux during the next big refactor
16407	else
16408		version_type=irix
16409	fi ;;
16410  esac
16411  need_lib_prefix=no
16412  need_version=no
16413  soname_spec='$libname$release$shared_ext$major'
16414  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16415  case $host_os in
16416  irix5* | nonstopux*)
16417    libsuff= shlibsuff=
16418    ;;
16419  *)
16420    case $LD in # libtool.m4 will add one of these switches to LD
16421    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16422      libsuff= shlibsuff= libmagic=32-bit;;
16423    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16424      libsuff=32 shlibsuff=N32 libmagic=N32;;
16425    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16426      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16427    *) libsuff= shlibsuff= libmagic=never-match;;
16428    esac
16429    ;;
16430  esac
16431  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16432  shlibpath_overrides_runpath=no
16433  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16434  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16435  hardcode_into_libs=yes
16436  ;;
16437
16438# No shared lib support for Linux oldld, aout, or coff.
16439linux*oldld* | linux*aout* | linux*coff*)
16440  dynamic_linker=no
16441  ;;
16442
16443linux*android*)
16444  version_type=none # Android doesn't support versioned libraries.
16445  need_lib_prefix=no
16446  need_version=no
16447  library_names_spec='$libname$release$shared_ext'
16448  soname_spec='$libname$release$shared_ext'
16449  finish_cmds=
16450  shlibpath_var=LD_LIBRARY_PATH
16451  shlibpath_overrides_runpath=yes
16452
16453  # This implies no fast_install, which is unacceptable.
16454  # Some rework will be needed to allow for fast_install
16455  # before this can be enabled.
16456  hardcode_into_libs=yes
16457
16458  dynamic_linker='Android linker'
16459  # Don't embed -rpath directories since the linker doesn't support them.
16460  hardcode_libdir_flag_spec_CXX='-L$libdir'
16461  ;;
16462
16463# This must be glibc/ELF.
16464linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16465  version_type=linux # correct to gnu/linux during the next big refactor
16466  need_lib_prefix=no
16467  need_version=no
16468  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16469  soname_spec='$libname$release$shared_ext$major'
16470  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16471  shlibpath_var=LD_LIBRARY_PATH
16472  shlibpath_overrides_runpath=no
16473
16474  # Some binutils ld are patched to set DT_RUNPATH
16475  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16476  $as_echo_n "(cached) " >&6
16477else
16478  lt_cv_shlibpath_overrides_runpath=no
16479    save_LDFLAGS=$LDFLAGS
16480    save_libdir=$libdir
16481    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16482	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16483    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16484/* end confdefs.h.  */
16485
16486int
16487main ()
16488{
16489
16490  ;
16491  return 0;
16492}
16493_ACEOF
16494if ac_fn_cxx_try_link "$LINENO"; then :
16495  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16496  lt_cv_shlibpath_overrides_runpath=yes
16497fi
16498fi
16499rm -f core conftest.err conftest.$ac_objext \
16500    conftest$ac_exeext conftest.$ac_ext
16501    LDFLAGS=$save_LDFLAGS
16502    libdir=$save_libdir
16503
16504fi
16505
16506  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16507
16508  # This implies no fast_install, which is unacceptable.
16509  # Some rework will be needed to allow for fast_install
16510  # before this can be enabled.
16511  hardcode_into_libs=yes
16512
16513  # Add ABI-specific directories to the system library path.
16514  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16515
16516  # Ideally, we could use ldconfig to report *all* directores which are
16517  # searched for libraries, however this is still not possible.  Aside from not
16518  # being certain /sbin/ldconfig is available, command
16519  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16520  # even though it is searched at run-time.  Try to do the best guess by
16521  # appending ld.so.conf contents (and includes) to the search path.
16522  if test -f /etc/ld.so.conf; then
16523    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' ' '`
16524    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16525  fi
16526
16527  # We used to test for /lib/ld.so.1 and disable shared libraries on
16528  # powerpc, because MkLinux only supported shared libraries with the
16529  # GNU dynamic linker.  Since this was broken with cross compilers,
16530  # most powerpc-linux boxes support dynamic linking these days and
16531  # people can always --disable-shared, the test was removed, and we
16532  # assume the GNU/Linux dynamic linker is in use.
16533  dynamic_linker='GNU/Linux ld.so'
16534  ;;
16535
16536netbsd*)
16537  version_type=sunos
16538  need_lib_prefix=no
16539  need_version=no
16540  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16541    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16542    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16543    dynamic_linker='NetBSD (a.out) ld.so'
16544  else
16545    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16546    soname_spec='$libname$release$shared_ext$major'
16547    dynamic_linker='NetBSD ld.elf_so'
16548  fi
16549  shlibpath_var=LD_LIBRARY_PATH
16550  shlibpath_overrides_runpath=yes
16551  hardcode_into_libs=yes
16552  ;;
16553
16554newsos6)
16555  version_type=linux # correct to gnu/linux during the next big refactor
16556  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16557  shlibpath_var=LD_LIBRARY_PATH
16558  shlibpath_overrides_runpath=yes
16559  ;;
16560
16561*nto* | *qnx*)
16562  version_type=qnx
16563  need_lib_prefix=no
16564  need_version=no
16565  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16566  soname_spec='$libname$release$shared_ext$major'
16567  shlibpath_var=LD_LIBRARY_PATH
16568  shlibpath_overrides_runpath=no
16569  hardcode_into_libs=yes
16570  dynamic_linker='ldqnx.so'
16571  ;;
16572
16573openbsd* | bitrig*)
16574  version_type=sunos
16575  sys_lib_dlsearch_path_spec=/usr/lib
16576  need_lib_prefix=no
16577  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16578    need_version=no
16579  else
16580    need_version=yes
16581  fi
16582  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16583  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16584  shlibpath_var=LD_LIBRARY_PATH
16585  shlibpath_overrides_runpath=yes
16586  ;;
16587
16588os2*)
16589  libname_spec='$name'
16590  version_type=windows
16591  shrext_cmds=.dll
16592  need_version=no
16593  need_lib_prefix=no
16594  # OS/2 can only load a DLL with a base name of 8 characters or less.
16595  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16596    v=$($ECHO $release$versuffix | tr -d .-);
16597    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16598    $ECHO $n$v`$shared_ext'
16599  library_names_spec='${libname}_dll.$libext'
16600  dynamic_linker='OS/2 ld.exe'
16601  shlibpath_var=BEGINLIBPATH
16602  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16603  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16604  postinstall_cmds='base_file=`basename \$file`~
16605    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16606    dldir=$destdir/`dirname \$dlpath`~
16607    test -d \$dldir || mkdir -p \$dldir~
16608    $install_prog $dir/$dlname \$dldir/$dlname~
16609    chmod a+x \$dldir/$dlname~
16610    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16611      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16612    fi'
16613  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16614    dlpath=$dir/\$dldll~
16615    $RM \$dlpath'
16616  ;;
16617
16618osf3* | osf4* | osf5*)
16619  version_type=osf
16620  need_lib_prefix=no
16621  need_version=no
16622  soname_spec='$libname$release$shared_ext$major'
16623  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16624  shlibpath_var=LD_LIBRARY_PATH
16625  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16626  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16627  ;;
16628
16629rdos*)
16630  dynamic_linker=no
16631  ;;
16632
16633solaris*)
16634  version_type=linux # correct to gnu/linux during the next big refactor
16635  need_lib_prefix=no
16636  need_version=no
16637  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16638  soname_spec='$libname$release$shared_ext$major'
16639  shlibpath_var=LD_LIBRARY_PATH
16640  shlibpath_overrides_runpath=yes
16641  hardcode_into_libs=yes
16642  # ldd complains unless libraries are executable
16643  postinstall_cmds='chmod +x $lib'
16644  ;;
16645
16646sunos4*)
16647  version_type=sunos
16648  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16649  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16650  shlibpath_var=LD_LIBRARY_PATH
16651  shlibpath_overrides_runpath=yes
16652  if test yes = "$with_gnu_ld"; then
16653    need_lib_prefix=no
16654  fi
16655  need_version=yes
16656  ;;
16657
16658sysv4 | sysv4.3*)
16659  version_type=linux # correct to gnu/linux during the next big refactor
16660  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16661  soname_spec='$libname$release$shared_ext$major'
16662  shlibpath_var=LD_LIBRARY_PATH
16663  case $host_vendor in
16664    sni)
16665      shlibpath_overrides_runpath=no
16666      need_lib_prefix=no
16667      runpath_var=LD_RUN_PATH
16668      ;;
16669    siemens)
16670      need_lib_prefix=no
16671      ;;
16672    motorola)
16673      need_lib_prefix=no
16674      need_version=no
16675      shlibpath_overrides_runpath=no
16676      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16677      ;;
16678  esac
16679  ;;
16680
16681sysv4*MP*)
16682  if test -d /usr/nec; then
16683    version_type=linux # correct to gnu/linux during the next big refactor
16684    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16685    soname_spec='$libname$shared_ext.$major'
16686    shlibpath_var=LD_LIBRARY_PATH
16687  fi
16688  ;;
16689
16690sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16691  version_type=sco
16692  need_lib_prefix=no
16693  need_version=no
16694  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16695  soname_spec='$libname$release$shared_ext$major'
16696  shlibpath_var=LD_LIBRARY_PATH
16697  shlibpath_overrides_runpath=yes
16698  hardcode_into_libs=yes
16699  if test yes = "$with_gnu_ld"; then
16700    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16701  else
16702    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16703    case $host_os in
16704      sco3.2v5*)
16705        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16706	;;
16707    esac
16708  fi
16709  sys_lib_dlsearch_path_spec='/usr/lib'
16710  ;;
16711
16712tpf*)
16713  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16714  version_type=linux # correct to gnu/linux during the next big refactor
16715  need_lib_prefix=no
16716  need_version=no
16717  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16718  shlibpath_var=LD_LIBRARY_PATH
16719  shlibpath_overrides_runpath=no
16720  hardcode_into_libs=yes
16721  ;;
16722
16723uts4*)
16724  version_type=linux # correct to gnu/linux during the next big refactor
16725  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16726  soname_spec='$libname$release$shared_ext$major'
16727  shlibpath_var=LD_LIBRARY_PATH
16728  ;;
16729
16730*)
16731  dynamic_linker=no
16732  ;;
16733esac
16734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16735$as_echo "$dynamic_linker" >&6; }
16736test no = "$dynamic_linker" && can_build_shared=no
16737
16738variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16739if test yes = "$GCC"; then
16740  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16741fi
16742
16743if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16744  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16745fi
16746
16747if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16748  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16749fi
16750
16751# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16752configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16753
16754# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16755func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16756
16757# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16758configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
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    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16800$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16801hardcode_action_CXX=
16802if test -n "$hardcode_libdir_flag_spec_CXX" ||
16803   test -n "$runpath_var_CXX" ||
16804   test yes = "$hardcode_automatic_CXX"; then
16805
16806  # We can hardcode non-existent directories.
16807  if test no != "$hardcode_direct_CXX" &&
16808     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16809     # have to relink, otherwise we might link with an installed library
16810     # when we should be linking with a yet-to-be-installed one
16811     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16812     test no != "$hardcode_minus_L_CXX"; then
16813    # Linking always hardcodes the temporary library directory.
16814    hardcode_action_CXX=relink
16815  else
16816    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16817    hardcode_action_CXX=immediate
16818  fi
16819else
16820  # We cannot hardcode anything, or else we can only hardcode existing
16821  # directories.
16822  hardcode_action_CXX=unsupported
16823fi
16824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16825$as_echo "$hardcode_action_CXX" >&6; }
16826
16827if test relink = "$hardcode_action_CXX" ||
16828   test yes = "$inherit_rpath_CXX"; then
16829  # Fast installation is not supported
16830  enable_fast_install=no
16831elif test yes = "$shlibpath_overrides_runpath" ||
16832     test no = "$enable_shared"; then
16833  # Fast installation is not necessary
16834  enable_fast_install=needless
16835fi
16836
16837
16838
16839
16840
16841
16842
16843  fi # test -n "$compiler"
16844
16845  CC=$lt_save_CC
16846  CFLAGS=$lt_save_CFLAGS
16847  LDCXX=$LD
16848  LD=$lt_save_LD
16849  GCC=$lt_save_GCC
16850  with_gnu_ld=$lt_save_with_gnu_ld
16851  lt_cv_path_LDCXX=$lt_cv_path_LD
16852  lt_cv_path_LD=$lt_save_path_LD
16853  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16854  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16855fi # test yes != "$_lt_caught_CXX_error"
16856
16857ac_ext=c
16858ac_cpp='$CPP $CPPFLAGS'
16859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16861ac_compiler_gnu=$ac_cv_c_compiler_gnu
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877        ac_config_commands="$ac_config_commands libtool"
16878
16879
16880
16881
16882# Only expand once:
16883
16884
16885
16886
16887saveLIBS="$LIBS"
16888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
16889$as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
16890if ${ac_cv_lib_gdbm_gdbm_open+:} false; then :
16891  $as_echo_n "(cached) " >&6
16892else
16893  ac_check_lib_save_LIBS=$LIBS
16894LIBS="-lgdbm  $LIBS"
16895cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16896/* end confdefs.h.  */
16897
16898/* Override any GCC internal prototype to avoid an error.
16899   Use char because int might match the return type of a GCC
16900   builtin and then its argument prototype would still apply.  */
16901#ifdef __cplusplus
16902extern "C"
16903#endif
16904char gdbm_open ();
16905int
16906main ()
16907{
16908return gdbm_open ();
16909  ;
16910  return 0;
16911}
16912_ACEOF
16913if ac_fn_c_try_link "$LINENO"; then :
16914  ac_cv_lib_gdbm_gdbm_open=yes
16915else
16916  ac_cv_lib_gdbm_gdbm_open=no
16917fi
16918rm -f core conftest.err conftest.$ac_objext \
16919    conftest$ac_exeext conftest.$ac_ext
16920LIBS=$ac_check_lib_save_LIBS
16921fi
16922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
16923$as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
16924if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes; then :
16925   LIBGDBM=-lgdbm ; LIBS="-lgdbm $LIBS"
16926fi
16927
16928
16929ac_fn_c_check_func "$LINENO" "gdbm_open" "ac_cv_func_gdbm_open"
16930if test "x$ac_cv_func_gdbm_open" = xyes; then :
16931  FOUND_GDBM=1
16932else
16933  FOUND_GDBM=0
16934fi
16935
16936
16937if test "$FOUND_GDBM" = 1
16938then
16939	for ac_func in gdbm_fdesc
16940do :
16941  ac_fn_c_check_func "$LINENO" "gdbm_fdesc" "ac_cv_func_gdbm_fdesc"
16942if test "x$ac_cv_func_gdbm_fdesc" = xyes; then :
16943  cat >>confdefs.h <<_ACEOF
16944#define HAVE_GDBM_FDESC 1
16945_ACEOF
16946
16947fi
16948done
16949
16950fi
16951for ac_header in unistd.h fcntl.h
16952do :
16953  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16954ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16955if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16956  cat >>confdefs.h <<_ACEOF
16957#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16958_ACEOF
16959
16960fi
16961
16962done
16963
16964
16965LIBS="$saveLIBS"
16966
16967
16968
16969 if test "$FOUND_GDBM" = 1; then
16970  FOUND_GDBM_TRUE=
16971  FOUND_GDBM_FALSE='#'
16972else
16973  FOUND_GDBM_TRUE='#'
16974  FOUND_GDBM_FALSE=
16975fi
16976
16977
16978
16979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16980$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16981if ${ac_cv_c_const+:} false; then :
16982  $as_echo_n "(cached) " >&6
16983else
16984  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985/* end confdefs.h.  */
16986
16987int
16988main ()
16989{
16990
16991#ifndef __cplusplus
16992  /* Ultrix mips cc rejects this sort of thing.  */
16993  typedef int charset[2];
16994  const charset cs = { 0, 0 };
16995  /* SunOS 4.1.1 cc rejects this.  */
16996  char const *const *pcpcc;
16997  char **ppc;
16998  /* NEC SVR4.0.2 mips cc rejects this.  */
16999  struct point {int x, y;};
17000  static struct point const zero = {0,0};
17001  /* AIX XL C 1.02.0.0 rejects this.
17002     It does not let you subtract one const X* pointer from another in
17003     an arm of an if-expression whose if-part is not a constant
17004     expression */
17005  const char *g = "string";
17006  pcpcc = &g + (g ? g-g : 0);
17007  /* HPUX 7.0 cc rejects these. */
17008  ++pcpcc;
17009  ppc = (char**) pcpcc;
17010  pcpcc = (char const *const *) ppc;
17011  { /* SCO 3.2v4 cc rejects this sort of thing.  */
17012    char tx;
17013    char *t = &tx;
17014    char const *s = 0 ? (char *) 0 : (char const *) 0;
17015
17016    *t++ = 0;
17017    if (s) return 0;
17018  }
17019  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
17020    int x[] = {25, 17};
17021    const int *foo = &x[0];
17022    ++foo;
17023  }
17024  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17025    typedef const int *iptr;
17026    iptr p = 0;
17027    ++p;
17028  }
17029  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
17030       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17031    struct s { int j; const int *ap[3]; } bx;
17032    struct s *b = &bx; b->j = 5;
17033  }
17034  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17035    const int foo = 10;
17036    if (!foo) return 0;
17037  }
17038  return !cs[0] && !zero.x;
17039#endif
17040
17041  ;
17042  return 0;
17043}
17044_ACEOF
17045if ac_fn_c_try_compile "$LINENO"; then :
17046  ac_cv_c_const=yes
17047else
17048  ac_cv_c_const=no
17049fi
17050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17051fi
17052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17053$as_echo "$ac_cv_c_const" >&6; }
17054if test $ac_cv_c_const = no; then
17055
17056$as_echo "#define const /**/" >>confdefs.h
17057
17058fi
17059
17060ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17061if test "x$ac_cv_type_size_t" = xyes; then :
17062
17063else
17064
17065cat >>confdefs.h <<_ACEOF
17066#define size_t unsigned int
17067_ACEOF
17068
17069fi
17070
17071# Check whether --enable-largefile was given.
17072if test "${enable_largefile+set}" = set; then :
17073  enableval=$enable_largefile;
17074fi
17075
17076if test "$enable_largefile" != no; then
17077
17078  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
17079$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
17080if ${ac_cv_sys_largefile_CC+:} false; then :
17081  $as_echo_n "(cached) " >&6
17082else
17083  ac_cv_sys_largefile_CC=no
17084     if test "$GCC" != yes; then
17085       ac_save_CC=$CC
17086       while :; do
17087	 # IRIX 6.2 and later do not support large files by default,
17088	 # so use the C compiler's -n32 option if that helps.
17089	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17090/* end confdefs.h.  */
17091#include <sys/types.h>
17092 /* Check that off_t can represent 2**63 - 1 correctly.
17093    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17094    since some C++ compilers masquerading as C compilers
17095    incorrectly reject 9223372036854775807.  */
17096#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17097  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17098		       && LARGE_OFF_T % 2147483647 == 1)
17099		      ? 1 : -1];
17100int
17101main ()
17102{
17103
17104  ;
17105  return 0;
17106}
17107_ACEOF
17108	 if ac_fn_c_try_compile "$LINENO"; then :
17109  break
17110fi
17111rm -f core conftest.err conftest.$ac_objext
17112	 CC="$CC -n32"
17113	 if ac_fn_c_try_compile "$LINENO"; then :
17114  ac_cv_sys_largefile_CC=' -n32'; break
17115fi
17116rm -f core conftest.err conftest.$ac_objext
17117	 break
17118       done
17119       CC=$ac_save_CC
17120       rm -f conftest.$ac_ext
17121    fi
17122fi
17123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
17124$as_echo "$ac_cv_sys_largefile_CC" >&6; }
17125  if test "$ac_cv_sys_largefile_CC" != no; then
17126    CC=$CC$ac_cv_sys_largefile_CC
17127  fi
17128
17129  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17130$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
17131if ${ac_cv_sys_file_offset_bits+:} false; then :
17132  $as_echo_n "(cached) " >&6
17133else
17134  while :; do
17135  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136/* end confdefs.h.  */
17137#include <sys/types.h>
17138 /* Check that off_t can represent 2**63 - 1 correctly.
17139    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17140    since some C++ compilers masquerading as C compilers
17141    incorrectly reject 9223372036854775807.  */
17142#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17143  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17144		       && LARGE_OFF_T % 2147483647 == 1)
17145		      ? 1 : -1];
17146int
17147main ()
17148{
17149
17150  ;
17151  return 0;
17152}
17153_ACEOF
17154if ac_fn_c_try_compile "$LINENO"; then :
17155  ac_cv_sys_file_offset_bits=no; break
17156fi
17157rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17158  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17159/* end confdefs.h.  */
17160#define _FILE_OFFSET_BITS 64
17161#include <sys/types.h>
17162 /* Check that off_t can represent 2**63 - 1 correctly.
17163    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17164    since some C++ compilers masquerading as C compilers
17165    incorrectly reject 9223372036854775807.  */
17166#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17167  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17168		       && LARGE_OFF_T % 2147483647 == 1)
17169		      ? 1 : -1];
17170int
17171main ()
17172{
17173
17174  ;
17175  return 0;
17176}
17177_ACEOF
17178if ac_fn_c_try_compile "$LINENO"; then :
17179  ac_cv_sys_file_offset_bits=64; break
17180fi
17181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17182  ac_cv_sys_file_offset_bits=unknown
17183  break
17184done
17185fi
17186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
17187$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
17188case $ac_cv_sys_file_offset_bits in #(
17189  no | unknown) ;;
17190  *)
17191cat >>confdefs.h <<_ACEOF
17192#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17193_ACEOF
17194;;
17195esac
17196rm -rf conftest*
17197  if test $ac_cv_sys_file_offset_bits = unknown; then
17198    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
17199$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
17200if ${ac_cv_sys_large_files+:} false; then :
17201  $as_echo_n "(cached) " >&6
17202else
17203  while :; do
17204  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17205/* end confdefs.h.  */
17206#include <sys/types.h>
17207 /* Check that off_t can represent 2**63 - 1 correctly.
17208    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17209    since some C++ compilers masquerading as C compilers
17210    incorrectly reject 9223372036854775807.  */
17211#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17212  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17213		       && LARGE_OFF_T % 2147483647 == 1)
17214		      ? 1 : -1];
17215int
17216main ()
17217{
17218
17219  ;
17220  return 0;
17221}
17222_ACEOF
17223if ac_fn_c_try_compile "$LINENO"; then :
17224  ac_cv_sys_large_files=no; break
17225fi
17226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17227  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228/* end confdefs.h.  */
17229#define _LARGE_FILES 1
17230#include <sys/types.h>
17231 /* Check that off_t can represent 2**63 - 1 correctly.
17232    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17233    since some C++ compilers masquerading as C compilers
17234    incorrectly reject 9223372036854775807.  */
17235#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17236  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17237		       && LARGE_OFF_T % 2147483647 == 1)
17238		      ? 1 : -1];
17239int
17240main ()
17241{
17242
17243  ;
17244  return 0;
17245}
17246_ACEOF
17247if ac_fn_c_try_compile "$LINENO"; then :
17248  ac_cv_sys_large_files=1; break
17249fi
17250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17251  ac_cv_sys_large_files=unknown
17252  break
17253done
17254fi
17255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
17256$as_echo "$ac_cv_sys_large_files" >&6; }
17257case $ac_cv_sys_large_files in #(
17258  no | unknown) ;;
17259  *)
17260cat >>confdefs.h <<_ACEOF
17261#define _LARGE_FILES $ac_cv_sys_large_files
17262_ACEOF
17263;;
17264esac
17265rm -rf conftest*
17266  fi
17267
17268
17269fi
17270
17271
17272
17273ac_ext=cpp
17274ac_cpp='$CXXCPP $CPPFLAGS'
17275ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17276ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17277ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17278
17279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler needs -fhandle-exceptions" >&5
17280$as_echo_n "checking if the C++ compiler needs -fhandle-exceptions... " >&6; }
17281if ${ac_cv_need_handlexceptions+:} false; then :
17282  $as_echo_n "(cached) " >&6
17283else
17284  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17285/* end confdefs.h.  */
17286
17287int
17288main ()
17289{
17290
17291throw;
17292
17293  ;
17294  return 0;
17295}
17296_ACEOF
17297if ac_fn_cxx_try_compile "$LINENO"; then :
17298  ac_cv_need_handlexceptions=no
17299else
17300  ac_cv_need_handlexceptions=yes
17301fi
17302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17303
17304fi
17305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_need_handlexceptions" >&5
17306$as_echo "$ac_cv_need_handlexceptions" >&6; }
17307
17308if test "$ac_cv_need_handlexceptions" = "yes"
17309then
17310	case "$CXXFLAGS" in
17311	*handle-exceptions*)
17312		;;
17313	*)
17314		CXXFLAGS="-fhandle-exceptions $CXXFLAGS"
17315		CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-O2//'`
17316		;;
17317	esac
17318fi
17319
17320ac_config_files="$ac_config_files Makefile"
17321
17322cat >confcache <<\_ACEOF
17323# This file is a shell script that caches the results of configure
17324# tests run on this system so they can be shared between configure
17325# scripts and configure runs, see configure's option --config-cache.
17326# It is not useful on other systems.  If it contains results you don't
17327# want to keep, you may remove or edit it.
17328#
17329# config.status only pays attention to the cache file if you give it
17330# the --recheck option to rerun configure.
17331#
17332# `ac_cv_env_foo' variables (set or unset) will be overridden when
17333# loading this file, other *unset* `ac_cv_foo' will be assigned the
17334# following values.
17335
17336_ACEOF
17337
17338# The following way of writing the cache mishandles newlines in values,
17339# but we know of no workaround that is simple, portable, and efficient.
17340# So, we kill variables containing newlines.
17341# Ultrix sh set writes to stderr and can't be redirected directly,
17342# and sets the high bit in the cache file unless we assign to the vars.
17343(
17344  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17345    eval ac_val=\$$ac_var
17346    case $ac_val in #(
17347    *${as_nl}*)
17348      case $ac_var in #(
17349      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17350$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17351      esac
17352      case $ac_var in #(
17353      _ | IFS | as_nl) ;; #(
17354      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17355      *) { eval $ac_var=; unset $ac_var;} ;;
17356      esac ;;
17357    esac
17358  done
17359
17360  (set) 2>&1 |
17361    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17362    *${as_nl}ac_space=\ *)
17363      # `set' does not quote correctly, so add quotes: double-quote
17364      # substitution turns \\\\ into \\, and sed turns \\ into \.
17365      sed -n \
17366	"s/'/'\\\\''/g;
17367	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17368      ;; #(
17369    *)
17370      # `set' quotes correctly as required by POSIX, so do not add quotes.
17371      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17372      ;;
17373    esac |
17374    sort
17375) |
17376  sed '
17377     /^ac_cv_env_/b end
17378     t clear
17379     :clear
17380     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17381     t end
17382     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17383     :end' >>confcache
17384if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17385  if test -w "$cache_file"; then
17386    if test "x$cache_file" != "x/dev/null"; then
17387      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17388$as_echo "$as_me: updating cache $cache_file" >&6;}
17389      if test ! -f "$cache_file" || test -h "$cache_file"; then
17390	cat confcache >"$cache_file"
17391      else
17392        case $cache_file in #(
17393        */* | ?:*)
17394	  mv -f confcache "$cache_file"$$ &&
17395	  mv -f "$cache_file"$$ "$cache_file" ;; #(
17396        *)
17397	  mv -f confcache "$cache_file" ;;
17398	esac
17399      fi
17400    fi
17401  else
17402    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17403$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17404  fi
17405fi
17406rm -f confcache
17407
17408test "x$prefix" = xNONE && prefix=$ac_default_prefix
17409# Let make expand exec_prefix.
17410test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17411
17412DEFS=-DHAVE_CONFIG_H
17413
17414ac_libobjs=
17415ac_ltlibobjs=
17416U=
17417for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17418  # 1. Remove the extension, and $U if already installed.
17419  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17420  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17421  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17422  #    will be set to the directory where LIBOBJS objects are built.
17423  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17424  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17425done
17426LIBOBJS=$ac_libobjs
17427
17428LTLIBOBJS=$ac_ltlibobjs
17429
17430
17431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17432$as_echo_n "checking that generated files are newer than configure... " >&6; }
17433   if test -n "$am_sleep_pid"; then
17434     # Hide warnings about reused PIDs.
17435     wait $am_sleep_pid 2>/dev/null
17436   fi
17437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17438$as_echo "done" >&6; }
17439 if test -n "$EXEEXT"; then
17440  am__EXEEXT_TRUE=
17441  am__EXEEXT_FALSE='#'
17442else
17443  am__EXEEXT_TRUE='#'
17444  am__EXEEXT_FALSE=
17445fi
17446
17447if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17448  as_fn_error $? "conditional \"AMDEP\" was never defined.
17449Usually this means the macro was only invoked conditionally." "$LINENO" 5
17450fi
17451if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17452  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17453Usually this means the macro was only invoked conditionally." "$LINENO" 5
17454fi
17455if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17456  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17457Usually this means the macro was only invoked conditionally." "$LINENO" 5
17458fi
17459if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17460  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17461Usually this means the macro was only invoked conditionally." "$LINENO" 5
17462fi
17463if test -z "${FOUND_GDBM_TRUE}" && test -z "${FOUND_GDBM_FALSE}"; then
17464  as_fn_error $? "conditional \"FOUND_GDBM\" was never defined.
17465Usually this means the macro was only invoked conditionally." "$LINENO" 5
17466fi
17467
17468: "${CONFIG_STATUS=./config.status}"
17469ac_write_fail=0
17470ac_clean_files_save=$ac_clean_files
17471ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17472{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17473$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17474as_write_fail=0
17475cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17476#! $SHELL
17477# Generated by $as_me.
17478# Run this file to recreate the current configuration.
17479# Compiler output produced by configure, useful for debugging
17480# configure, is in config.log if it exists.
17481
17482debug=false
17483ac_cs_recheck=false
17484ac_cs_silent=false
17485
17486SHELL=\${CONFIG_SHELL-$SHELL}
17487export SHELL
17488_ASEOF
17489cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17490## -------------------- ##
17491## M4sh Initialization. ##
17492## -------------------- ##
17493
17494# Be more Bourne compatible
17495DUALCASE=1; export DUALCASE # for MKS sh
17496if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17497  emulate sh
17498  NULLCMD=:
17499  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17500  # is contrary to our usage.  Disable this feature.
17501  alias -g '${1+"$@"}'='"$@"'
17502  setopt NO_GLOB_SUBST
17503else
17504  case `(set -o) 2>/dev/null` in #(
17505  *posix*) :
17506    set -o posix ;; #(
17507  *) :
17508     ;;
17509esac
17510fi
17511
17512
17513as_nl='
17514'
17515export as_nl
17516# Printing a long string crashes Solaris 7 /usr/bin/printf.
17517as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17518as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17519as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17520# Prefer a ksh shell builtin over an external printf program on Solaris,
17521# but without wasting forks for bash or zsh.
17522if test -z "$BASH_VERSION$ZSH_VERSION" \
17523    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17524  as_echo='print -r --'
17525  as_echo_n='print -rn --'
17526elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17527  as_echo='printf %s\n'
17528  as_echo_n='printf %s'
17529else
17530  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17531    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17532    as_echo_n='/usr/ucb/echo -n'
17533  else
17534    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17535    as_echo_n_body='eval
17536      arg=$1;
17537      case $arg in #(
17538      *"$as_nl"*)
17539	expr "X$arg" : "X\\(.*\\)$as_nl";
17540	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17541      esac;
17542      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17543    '
17544    export as_echo_n_body
17545    as_echo_n='sh -c $as_echo_n_body as_echo'
17546  fi
17547  export as_echo_body
17548  as_echo='sh -c $as_echo_body as_echo'
17549fi
17550
17551# The user is always right.
17552if test "${PATH_SEPARATOR+set}" != set; then
17553  PATH_SEPARATOR=:
17554  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17555    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17556      PATH_SEPARATOR=';'
17557  }
17558fi
17559
17560
17561# IFS
17562# We need space, tab and new line, in precisely that order.  Quoting is
17563# there to prevent editors from complaining about space-tab.
17564# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17565# splitting by setting IFS to empty value.)
17566IFS=" ""	$as_nl"
17567
17568# Find who we are.  Look in the path if we contain no directory separator.
17569as_myself=
17570case $0 in #((
17571  *[\\/]* ) as_myself=$0 ;;
17572  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17573for as_dir in $PATH
17574do
17575  IFS=$as_save_IFS
17576  test -z "$as_dir" && as_dir=.
17577    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17578  done
17579IFS=$as_save_IFS
17580
17581     ;;
17582esac
17583# We did not find ourselves, most probably we were run as `sh COMMAND'
17584# in which case we are not to be found in the path.
17585if test "x$as_myself" = x; then
17586  as_myself=$0
17587fi
17588if test ! -f "$as_myself"; then
17589  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17590  exit 1
17591fi
17592
17593# Unset variables that we do not need and which cause bugs (e.g. in
17594# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17595# suppresses any "Segmentation fault" message there.  '((' could
17596# trigger a bug in pdksh 5.2.14.
17597for as_var in BASH_ENV ENV MAIL MAILPATH
17598do eval test x\${$as_var+set} = xset \
17599  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17600done
17601PS1='$ '
17602PS2='> '
17603PS4='+ '
17604
17605# NLS nuisances.
17606LC_ALL=C
17607export LC_ALL
17608LANGUAGE=C
17609export LANGUAGE
17610
17611# CDPATH.
17612(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17613
17614
17615# as_fn_error STATUS ERROR [LINENO LOG_FD]
17616# ----------------------------------------
17617# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17618# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17619# script with STATUS, using 1 if that was 0.
17620as_fn_error ()
17621{
17622  as_status=$1; test $as_status -eq 0 && as_status=1
17623  if test "$4"; then
17624    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17625    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17626  fi
17627  $as_echo "$as_me: error: $2" >&2
17628  as_fn_exit $as_status
17629} # as_fn_error
17630
17631
17632# as_fn_set_status STATUS
17633# -----------------------
17634# Set $? to STATUS, without forking.
17635as_fn_set_status ()
17636{
17637  return $1
17638} # as_fn_set_status
17639
17640# as_fn_exit STATUS
17641# -----------------
17642# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17643as_fn_exit ()
17644{
17645  set +e
17646  as_fn_set_status $1
17647  exit $1
17648} # as_fn_exit
17649
17650# as_fn_unset VAR
17651# ---------------
17652# Portably unset VAR.
17653as_fn_unset ()
17654{
17655  { eval $1=; unset $1;}
17656}
17657as_unset=as_fn_unset
17658# as_fn_append VAR VALUE
17659# ----------------------
17660# Append the text in VALUE to the end of the definition contained in VAR. Take
17661# advantage of any shell optimizations that allow amortized linear growth over
17662# repeated appends, instead of the typical quadratic growth present in naive
17663# implementations.
17664if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17665  eval 'as_fn_append ()
17666  {
17667    eval $1+=\$2
17668  }'
17669else
17670  as_fn_append ()
17671  {
17672    eval $1=\$$1\$2
17673  }
17674fi # as_fn_append
17675
17676# as_fn_arith ARG...
17677# ------------------
17678# Perform arithmetic evaluation on the ARGs, and store the result in the
17679# global $as_val. Take advantage of shells that can avoid forks. The arguments
17680# must be portable across $(()) and expr.
17681if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17682  eval 'as_fn_arith ()
17683  {
17684    as_val=$(( $* ))
17685  }'
17686else
17687  as_fn_arith ()
17688  {
17689    as_val=`expr "$@" || test $? -eq 1`
17690  }
17691fi # as_fn_arith
17692
17693
17694if expr a : '\(a\)' >/dev/null 2>&1 &&
17695   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17696  as_expr=expr
17697else
17698  as_expr=false
17699fi
17700
17701if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17702  as_basename=basename
17703else
17704  as_basename=false
17705fi
17706
17707if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17708  as_dirname=dirname
17709else
17710  as_dirname=false
17711fi
17712
17713as_me=`$as_basename -- "$0" ||
17714$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17715	 X"$0" : 'X\(//\)$' \| \
17716	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17717$as_echo X/"$0" |
17718    sed '/^.*\/\([^/][^/]*\)\/*$/{
17719	    s//\1/
17720	    q
17721	  }
17722	  /^X\/\(\/\/\)$/{
17723	    s//\1/
17724	    q
17725	  }
17726	  /^X\/\(\/\).*/{
17727	    s//\1/
17728	    q
17729	  }
17730	  s/.*/./; q'`
17731
17732# Avoid depending upon Character Ranges.
17733as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17734as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17735as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17736as_cr_digits='0123456789'
17737as_cr_alnum=$as_cr_Letters$as_cr_digits
17738
17739ECHO_C= ECHO_N= ECHO_T=
17740case `echo -n x` in #(((((
17741-n*)
17742  case `echo 'xy\c'` in
17743  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
17744  xy)  ECHO_C='\c';;
17745  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17746       ECHO_T='	';;
17747  esac;;
17748*)
17749  ECHO_N='-n';;
17750esac
17751
17752rm -f conf$$ conf$$.exe conf$$.file
17753if test -d conf$$.dir; then
17754  rm -f conf$$.dir/conf$$.file
17755else
17756  rm -f conf$$.dir
17757  mkdir conf$$.dir 2>/dev/null
17758fi
17759if (echo >conf$$.file) 2>/dev/null; then
17760  if ln -s conf$$.file conf$$ 2>/dev/null; then
17761    as_ln_s='ln -s'
17762    # ... but there are two gotchas:
17763    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17764    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17765    # In both cases, we have to default to `cp -pR'.
17766    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17767      as_ln_s='cp -pR'
17768  elif ln conf$$.file conf$$ 2>/dev/null; then
17769    as_ln_s=ln
17770  else
17771    as_ln_s='cp -pR'
17772  fi
17773else
17774  as_ln_s='cp -pR'
17775fi
17776rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17777rmdir conf$$.dir 2>/dev/null
17778
17779
17780# as_fn_mkdir_p
17781# -------------
17782# Create "$as_dir" as a directory, including parents if necessary.
17783as_fn_mkdir_p ()
17784{
17785
17786  case $as_dir in #(
17787  -*) as_dir=./$as_dir;;
17788  esac
17789  test -d "$as_dir" || eval $as_mkdir_p || {
17790    as_dirs=
17791    while :; do
17792      case $as_dir in #(
17793      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17794      *) as_qdir=$as_dir;;
17795      esac
17796      as_dirs="'$as_qdir' $as_dirs"
17797      as_dir=`$as_dirname -- "$as_dir" ||
17798$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17799	 X"$as_dir" : 'X\(//\)[^/]' \| \
17800	 X"$as_dir" : 'X\(//\)$' \| \
17801	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17802$as_echo X"$as_dir" |
17803    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17804	    s//\1/
17805	    q
17806	  }
17807	  /^X\(\/\/\)[^/].*/{
17808	    s//\1/
17809	    q
17810	  }
17811	  /^X\(\/\/\)$/{
17812	    s//\1/
17813	    q
17814	  }
17815	  /^X\(\/\).*/{
17816	    s//\1/
17817	    q
17818	  }
17819	  s/.*/./; q'`
17820      test -d "$as_dir" && break
17821    done
17822    test -z "$as_dirs" || eval "mkdir $as_dirs"
17823  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17824
17825
17826} # as_fn_mkdir_p
17827if mkdir -p . 2>/dev/null; then
17828  as_mkdir_p='mkdir -p "$as_dir"'
17829else
17830  test -d ./-p && rmdir ./-p
17831  as_mkdir_p=false
17832fi
17833
17834
17835# as_fn_executable_p FILE
17836# -----------------------
17837# Test if FILE is an executable regular file.
17838as_fn_executable_p ()
17839{
17840  test -f "$1" && test -x "$1"
17841} # as_fn_executable_p
17842as_test_x='test -x'
17843as_executable_p=as_fn_executable_p
17844
17845# Sed expression to map a string onto a valid CPP name.
17846as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17847
17848# Sed expression to map a string onto a valid variable name.
17849as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17850
17851
17852exec 6>&1
17853## ----------------------------------- ##
17854## Main body of $CONFIG_STATUS script. ##
17855## ----------------------------------- ##
17856_ASEOF
17857test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17858
17859cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17860# Save the log message, to keep $0 and so on meaningful, and to
17861# report actual input values of CONFIG_FILES etc. instead of their
17862# values after options handling.
17863ac_log="
17864This file was extended by gdbmobj $as_me 0.10, which was
17865generated by GNU Autoconf 2.69.  Invocation command line was
17866
17867  CONFIG_FILES    = $CONFIG_FILES
17868  CONFIG_HEADERS  = $CONFIG_HEADERS
17869  CONFIG_LINKS    = $CONFIG_LINKS
17870  CONFIG_COMMANDS = $CONFIG_COMMANDS
17871  $ $0 $@
17872
17873on `(hostname || uname -n) 2>/dev/null | sed 1q`
17874"
17875
17876_ACEOF
17877
17878case $ac_config_files in *"
17879"*) set x $ac_config_files; shift; ac_config_files=$*;;
17880esac
17881
17882case $ac_config_headers in *"
17883"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17884esac
17885
17886
17887cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17888# Files that config.status was made for.
17889config_files="$ac_config_files"
17890config_headers="$ac_config_headers"
17891config_commands="$ac_config_commands"
17892
17893_ACEOF
17894
17895cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17896ac_cs_usage="\
17897\`$as_me' instantiates files and other configuration actions
17898from templates according to the current configuration.  Unless the files
17899and actions are specified as TAGs, all are instantiated by default.
17900
17901Usage: $0 [OPTION]... [TAG]...
17902
17903  -h, --help       print this help, then exit
17904  -V, --version    print version number and configuration settings, then exit
17905      --config     print configuration, then exit
17906  -q, --quiet, --silent
17907                   do not print progress messages
17908  -d, --debug      don't remove temporary files
17909      --recheck    update $as_me by reconfiguring in the same conditions
17910      --file=FILE[:TEMPLATE]
17911                   instantiate the configuration file FILE
17912      --header=FILE[:TEMPLATE]
17913                   instantiate the configuration header FILE
17914
17915Configuration files:
17916$config_files
17917
17918Configuration headers:
17919$config_headers
17920
17921Configuration commands:
17922$config_commands
17923
17924Report bugs to <courier-users@lists.sourceforge.net>."
17925
17926_ACEOF
17927cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17928ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17929ac_cs_version="\\
17930gdbmobj config.status 0.10
17931configured by $0, generated by GNU Autoconf 2.69,
17932  with options \\"\$ac_cs_config\\"
17933
17934Copyright (C) 2012 Free Software Foundation, Inc.
17935This config.status script is free software; the Free Software Foundation
17936gives unlimited permission to copy, distribute and modify it."
17937
17938ac_pwd='$ac_pwd'
17939srcdir='$srcdir'
17940INSTALL='$INSTALL'
17941MKDIR_P='$MKDIR_P'
17942AWK='$AWK'
17943test -n "\$AWK" || AWK=awk
17944_ACEOF
17945
17946cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17947# The default lists apply if the user does not specify any file.
17948ac_need_defaults=:
17949while test $# != 0
17950do
17951  case $1 in
17952  --*=?*)
17953    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17954    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17955    ac_shift=:
17956    ;;
17957  --*=)
17958    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17959    ac_optarg=
17960    ac_shift=:
17961    ;;
17962  *)
17963    ac_option=$1
17964    ac_optarg=$2
17965    ac_shift=shift
17966    ;;
17967  esac
17968
17969  case $ac_option in
17970  # Handling of the options.
17971  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17972    ac_cs_recheck=: ;;
17973  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17974    $as_echo "$ac_cs_version"; exit ;;
17975  --config | --confi | --conf | --con | --co | --c )
17976    $as_echo "$ac_cs_config"; exit ;;
17977  --debug | --debu | --deb | --de | --d | -d )
17978    debug=: ;;
17979  --file | --fil | --fi | --f )
17980    $ac_shift
17981    case $ac_optarg in
17982    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17983    '') as_fn_error $? "missing file argument" ;;
17984    esac
17985    as_fn_append CONFIG_FILES " '$ac_optarg'"
17986    ac_need_defaults=false;;
17987  --header | --heade | --head | --hea )
17988    $ac_shift
17989    case $ac_optarg in
17990    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17991    esac
17992    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17993    ac_need_defaults=false;;
17994  --he | --h)
17995    # Conflict between --help and --header
17996    as_fn_error $? "ambiguous option: \`$1'
17997Try \`$0 --help' for more information.";;
17998  --help | --hel | -h )
17999    $as_echo "$ac_cs_usage"; exit ;;
18000  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18001  | -silent | --silent | --silen | --sile | --sil | --si | --s)
18002    ac_cs_silent=: ;;
18003
18004  # This is an error.
18005  -*) as_fn_error $? "unrecognized option: \`$1'
18006Try \`$0 --help' for more information." ;;
18007
18008  *) as_fn_append ac_config_targets " $1"
18009     ac_need_defaults=false ;;
18010
18011  esac
18012  shift
18013done
18014
18015ac_configure_extra_args=
18016
18017if $ac_cs_silent; then
18018  exec 6>/dev/null
18019  ac_configure_extra_args="$ac_configure_extra_args --silent"
18020fi
18021
18022_ACEOF
18023cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18024if \$ac_cs_recheck; then
18025  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18026  shift
18027  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18028  CONFIG_SHELL='$SHELL'
18029  export CONFIG_SHELL
18030  exec "\$@"
18031fi
18032
18033_ACEOF
18034cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18035exec 5>>config.log
18036{
18037  echo
18038  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18039## Running $as_me. ##
18040_ASBOX
18041  $as_echo "$ac_log"
18042} >&5
18043
18044_ACEOF
18045cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18046#
18047# INIT-COMMANDS
18048#
18049AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
18050
18051
18052# The HP-UX ksh and POSIX shell print the target directory to stdout
18053# if CDPATH is set.
18054(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18055
18056sed_quote_subst='$sed_quote_subst'
18057double_quote_subst='$double_quote_subst'
18058delay_variable_subst='$delay_variable_subst'
18059macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18060macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18061enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18062enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18063pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18064enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18065shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18066SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18067ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18068PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18069host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18070host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18071host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18072build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18073build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18074build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18075SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18076Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18077GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18078EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18079FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18080LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18081NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18082LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18083max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18084ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18085exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18086lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18087lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18088lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18089lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18090lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18091reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18092reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18093OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18094deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18095file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18096file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18097want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18098DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18099sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18100AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18101AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18102archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18103STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18104RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18105old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18106old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18107old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18108lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18109CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18110CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18111compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18112GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18113lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18114lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18115lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18116lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18117lt_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"`'
18118lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18119nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18120lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18121lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18122objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18123MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18124lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18125lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18126lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18127lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18128lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18129need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18130MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18131DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18132NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18133LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18134OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18135OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18136libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18137shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18138extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18139archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18140enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18141export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18142whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18143compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18144old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18145old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18146archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18147archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18148module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18149module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18150with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18151allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18152no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18153hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18154hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18155hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18156hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18157hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18158hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18159hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18160inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18161link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18162always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18163export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18164exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18165include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18166prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18167postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18168file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18169variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18170need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18171need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18172version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18173runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18174shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18175shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18176libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18177library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18178soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18179install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18180postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18181postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18182finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18183finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18184hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18185sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18186configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18187configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18188hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18189enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18190enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18191enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18192old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18193striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18194compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18195predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18196postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18197predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18198postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18199compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18200LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18201reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18202reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18203old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18204compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18205GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18206lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18207lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18208lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18209lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18210lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18211archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18212enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18213export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18214whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18215compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18216old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18217old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18218archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18219archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18220module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18221module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18222with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18223allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18224no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18225hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18226hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18227hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18228hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18229hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18230hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18231hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18232inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18233link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18234always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18235export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18236exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18237include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18238prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18239postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18240file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18241hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18242compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18243predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18244postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18245predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18246postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18247compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18248
18249LTCC='$LTCC'
18250LTCFLAGS='$LTCFLAGS'
18251compiler='$compiler_DEFAULT'
18252
18253# A function that is used when there is no print builtin or printf.
18254func_fallback_echo ()
18255{
18256  eval 'cat <<_LTECHO_EOF
18257\$1
18258_LTECHO_EOF'
18259}
18260
18261# Quote evaled strings.
18262for var in SHELL \
18263ECHO \
18264PATH_SEPARATOR \
18265SED \
18266GREP \
18267EGREP \
18268FGREP \
18269LD \
18270NM \
18271LN_S \
18272lt_SP2NL \
18273lt_NL2SP \
18274reload_flag \
18275OBJDUMP \
18276deplibs_check_method \
18277file_magic_cmd \
18278file_magic_glob \
18279want_nocaseglob \
18280DLLTOOL \
18281sharedlib_from_linklib_cmd \
18282AR \
18283AR_FLAGS \
18284archiver_list_spec \
18285STRIP \
18286RANLIB \
18287CC \
18288CFLAGS \
18289compiler \
18290lt_cv_sys_global_symbol_pipe \
18291lt_cv_sys_global_symbol_to_cdecl \
18292lt_cv_sys_global_symbol_to_import \
18293lt_cv_sys_global_symbol_to_c_name_address \
18294lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18295lt_cv_nm_interface \
18296nm_file_list_spec \
18297lt_cv_truncate_bin \
18298lt_prog_compiler_no_builtin_flag \
18299lt_prog_compiler_pic \
18300lt_prog_compiler_wl \
18301lt_prog_compiler_static \
18302lt_cv_prog_compiler_c_o \
18303need_locks \
18304MANIFEST_TOOL \
18305DSYMUTIL \
18306NMEDIT \
18307LIPO \
18308OTOOL \
18309OTOOL64 \
18310shrext_cmds \
18311export_dynamic_flag_spec \
18312whole_archive_flag_spec \
18313compiler_needs_object \
18314with_gnu_ld \
18315allow_undefined_flag \
18316no_undefined_flag \
18317hardcode_libdir_flag_spec \
18318hardcode_libdir_separator \
18319exclude_expsyms \
18320include_expsyms \
18321file_list_spec \
18322variables_saved_for_relink \
18323libname_spec \
18324library_names_spec \
18325soname_spec \
18326install_override_mode \
18327finish_eval \
18328old_striplib \
18329striplib \
18330compiler_lib_search_dirs \
18331predep_objects \
18332postdep_objects \
18333predeps \
18334postdeps \
18335compiler_lib_search_path \
18336LD_CXX \
18337reload_flag_CXX \
18338compiler_CXX \
18339lt_prog_compiler_no_builtin_flag_CXX \
18340lt_prog_compiler_pic_CXX \
18341lt_prog_compiler_wl_CXX \
18342lt_prog_compiler_static_CXX \
18343lt_cv_prog_compiler_c_o_CXX \
18344export_dynamic_flag_spec_CXX \
18345whole_archive_flag_spec_CXX \
18346compiler_needs_object_CXX \
18347with_gnu_ld_CXX \
18348allow_undefined_flag_CXX \
18349no_undefined_flag_CXX \
18350hardcode_libdir_flag_spec_CXX \
18351hardcode_libdir_separator_CXX \
18352exclude_expsyms_CXX \
18353include_expsyms_CXX \
18354file_list_spec_CXX \
18355compiler_lib_search_dirs_CXX \
18356predep_objects_CXX \
18357postdep_objects_CXX \
18358predeps_CXX \
18359postdeps_CXX \
18360compiler_lib_search_path_CXX; do
18361    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18362    *[\\\\\\\`\\"\\\$]*)
18363      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18364      ;;
18365    *)
18366      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18367      ;;
18368    esac
18369done
18370
18371# Double-quote double-evaled strings.
18372for var in reload_cmds \
18373old_postinstall_cmds \
18374old_postuninstall_cmds \
18375old_archive_cmds \
18376extract_expsyms_cmds \
18377old_archive_from_new_cmds \
18378old_archive_from_expsyms_cmds \
18379archive_cmds \
18380archive_expsym_cmds \
18381module_cmds \
18382module_expsym_cmds \
18383export_symbols_cmds \
18384prelink_cmds \
18385postlink_cmds \
18386postinstall_cmds \
18387postuninstall_cmds \
18388finish_cmds \
18389sys_lib_search_path_spec \
18390configure_time_dlsearch_path \
18391configure_time_lt_sys_library_path \
18392reload_cmds_CXX \
18393old_archive_cmds_CXX \
18394old_archive_from_new_cmds_CXX \
18395old_archive_from_expsyms_cmds_CXX \
18396archive_cmds_CXX \
18397archive_expsym_cmds_CXX \
18398module_cmds_CXX \
18399module_expsym_cmds_CXX \
18400export_symbols_cmds_CXX \
18401prelink_cmds_CXX \
18402postlink_cmds_CXX; do
18403    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18404    *[\\\\\\\`\\"\\\$]*)
18405      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18406      ;;
18407    *)
18408      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18409      ;;
18410    esac
18411done
18412
18413ac_aux_dir='$ac_aux_dir'
18414
18415# See if we are running on zsh, and set the options that allow our
18416# commands through without removal of \ escapes INIT.
18417if test -n "\${ZSH_VERSION+set}"; then
18418   setopt NO_GLOB_SUBST
18419fi
18420
18421
18422    PACKAGE='$PACKAGE'
18423    VERSION='$VERSION'
18424    RM='$RM'
18425    ofile='$ofile'
18426
18427
18428
18429
18430
18431
18432_ACEOF
18433
18434cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18435
18436# Handling of arguments.
18437for ac_config_target in $ac_config_targets
18438do
18439  case $ac_config_target in
18440    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18441    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18442    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18443    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18444
18445  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18446  esac
18447done
18448
18449
18450# If the user did not use the arguments to specify the items to instantiate,
18451# then the envvar interface is used.  Set only those that are not.
18452# We use the long form for the default assignment because of an extremely
18453# bizarre bug on SunOS 4.1.3.
18454if $ac_need_defaults; then
18455  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18456  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18457  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18458fi
18459
18460# Have a temporary directory for convenience.  Make it in the build tree
18461# simply because there is no reason against having it here, and in addition,
18462# creating and moving files from /tmp can sometimes cause problems.
18463# Hook for its removal unless debugging.
18464# Note that there is a small window in which the directory will not be cleaned:
18465# after its creation but before its name has been assigned to `$tmp'.
18466$debug ||
18467{
18468  tmp= ac_tmp=
18469  trap 'exit_status=$?
18470  : "${ac_tmp:=$tmp}"
18471  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18472' 0
18473  trap 'as_fn_exit 1' 1 2 13 15
18474}
18475# Create a (secure) tmp directory for tmp files.
18476
18477{
18478  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18479  test -d "$tmp"
18480}  ||
18481{
18482  tmp=./conf$$-$RANDOM
18483  (umask 077 && mkdir "$tmp")
18484} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18485ac_tmp=$tmp
18486
18487# Set up the scripts for CONFIG_FILES section.
18488# No need to generate them if there are no CONFIG_FILES.
18489# This happens for instance with `./config.status config.h'.
18490if test -n "$CONFIG_FILES"; then
18491
18492
18493ac_cr=`echo X | tr X '\015'`
18494# On cygwin, bash can eat \r inside `` if the user requested igncr.
18495# But we know of no other shell where ac_cr would be empty at this
18496# point, so we can use a bashism as a fallback.
18497if test "x$ac_cr" = x; then
18498  eval ac_cr=\$\'\\r\'
18499fi
18500ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18501if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18502  ac_cs_awk_cr='\\r'
18503else
18504  ac_cs_awk_cr=$ac_cr
18505fi
18506
18507echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18508_ACEOF
18509
18510
18511{
18512  echo "cat >conf$$subs.awk <<_ACEOF" &&
18513  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18514  echo "_ACEOF"
18515} >conf$$subs.sh ||
18516  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18517ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18518ac_delim='%!_!# '
18519for ac_last_try in false false false false false :; do
18520  . ./conf$$subs.sh ||
18521    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18522
18523  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18524  if test $ac_delim_n = $ac_delim_num; then
18525    break
18526  elif $ac_last_try; then
18527    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18528  else
18529    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18530  fi
18531done
18532rm -f conf$$subs.sh
18533
18534cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18535cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18536_ACEOF
18537sed -n '
18538h
18539s/^/S["/; s/!.*/"]=/
18540p
18541g
18542s/^[^!]*!//
18543:repl
18544t repl
18545s/'"$ac_delim"'$//
18546t delim
18547:nl
18548h
18549s/\(.\{148\}\)..*/\1/
18550t more1
18551s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18552p
18553n
18554b repl
18555:more1
18556s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18557p
18558g
18559s/.\{148\}//
18560t nl
18561:delim
18562h
18563s/\(.\{148\}\)..*/\1/
18564t more2
18565s/["\\]/\\&/g; s/^/"/; s/$/"/
18566p
18567b
18568:more2
18569s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18570p
18571g
18572s/.\{148\}//
18573t delim
18574' <conf$$subs.awk | sed '
18575/^[^""]/{
18576  N
18577  s/\n//
18578}
18579' >>$CONFIG_STATUS || ac_write_fail=1
18580rm -f conf$$subs.awk
18581cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18582_ACAWK
18583cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18584  for (key in S) S_is_set[key] = 1
18585  FS = ""
18586
18587}
18588{
18589  line = $ 0
18590  nfields = split(line, field, "@")
18591  substed = 0
18592  len = length(field[1])
18593  for (i = 2; i < nfields; i++) {
18594    key = field[i]
18595    keylen = length(key)
18596    if (S_is_set[key]) {
18597      value = S[key]
18598      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18599      len += length(value) + length(field[++i])
18600      substed = 1
18601    } else
18602      len += 1 + keylen
18603  }
18604
18605  print line
18606}
18607
18608_ACAWK
18609_ACEOF
18610cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18611if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18612  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18613else
18614  cat
18615fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18616  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18617_ACEOF
18618
18619# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18620# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18621# trailing colons and then remove the whole line if VPATH becomes empty
18622# (actually we leave an empty line to preserve line numbers).
18623if test "x$srcdir" = x.; then
18624  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
18625h
18626s///
18627s/^/:/
18628s/[	 ]*$/:/
18629s/:\$(srcdir):/:/g
18630s/:\${srcdir}:/:/g
18631s/:@srcdir@:/:/g
18632s/^:*//
18633s/:*$//
18634x
18635s/\(=[	 ]*\).*/\1/
18636G
18637s/\n//
18638s/^[^=]*=[	 ]*$//
18639}'
18640fi
18641
18642cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18643fi # test -n "$CONFIG_FILES"
18644
18645# Set up the scripts for CONFIG_HEADERS section.
18646# No need to generate them if there are no CONFIG_HEADERS.
18647# This happens for instance with `./config.status Makefile'.
18648if test -n "$CONFIG_HEADERS"; then
18649cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18650BEGIN {
18651_ACEOF
18652
18653# Transform confdefs.h into an awk script `defines.awk', embedded as
18654# here-document in config.status, that substitutes the proper values into
18655# config.h.in to produce config.h.
18656
18657# Create a delimiter string that does not exist in confdefs.h, to ease
18658# handling of long lines.
18659ac_delim='%!_!# '
18660for ac_last_try in false false :; do
18661  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18662  if test -z "$ac_tt"; then
18663    break
18664  elif $ac_last_try; then
18665    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18666  else
18667    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18668  fi
18669done
18670
18671# For the awk script, D is an array of macro values keyed by name,
18672# likewise P contains macro parameters if any.  Preserve backslash
18673# newline sequences.
18674
18675ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18676sed -n '
18677s/.\{148\}/&'"$ac_delim"'/g
18678t rset
18679:rset
18680s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
18681t def
18682d
18683:def
18684s/\\$//
18685t bsnl
18686s/["\\]/\\&/g
18687s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18688D["\1"]=" \3"/p
18689s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
18690d
18691:bsnl
18692s/["\\]/\\&/g
18693s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18694D["\1"]=" \3\\\\\\n"\\/p
18695t cont
18696s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18697t cont
18698d
18699:cont
18700n
18701s/.\{148\}/&'"$ac_delim"'/g
18702t clear
18703:clear
18704s/\\$//
18705t bsnlc
18706s/["\\]/\\&/g; s/^/"/; s/$/"/p
18707d
18708:bsnlc
18709s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18710b cont
18711' <confdefs.h | sed '
18712s/'"$ac_delim"'/"\\\
18713"/g' >>$CONFIG_STATUS || ac_write_fail=1
18714
18715cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18716  for (key in D) D_is_set[key] = 1
18717  FS = ""
18718}
18719/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18720  line = \$ 0
18721  split(line, arg, " ")
18722  if (arg[1] == "#") {
18723    defundef = arg[2]
18724    mac1 = arg[3]
18725  } else {
18726    defundef = substr(arg[1], 2)
18727    mac1 = arg[2]
18728  }
18729  split(mac1, mac2, "(") #)
18730  macro = mac2[1]
18731  prefix = substr(line, 1, index(line, defundef) - 1)
18732  if (D_is_set[macro]) {
18733    # Preserve the white space surrounding the "#".
18734    print prefix "define", macro P[macro] D[macro]
18735    next
18736  } else {
18737    # Replace #undef with comments.  This is necessary, for example,
18738    # in the case of _POSIX_SOURCE, which is predefined and required
18739    # on some systems where configure will not decide to define it.
18740    if (defundef == "undef") {
18741      print "/*", prefix defundef, macro, "*/"
18742      next
18743    }
18744  }
18745}
18746{ print }
18747_ACAWK
18748_ACEOF
18749cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18750  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18751fi # test -n "$CONFIG_HEADERS"
18752
18753
18754eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18755shift
18756for ac_tag
18757do
18758  case $ac_tag in
18759  :[FHLC]) ac_mode=$ac_tag; continue;;
18760  esac
18761  case $ac_mode$ac_tag in
18762  :[FHL]*:*);;
18763  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18764  :[FH]-) ac_tag=-:-;;
18765  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18766  esac
18767  ac_save_IFS=$IFS
18768  IFS=:
18769  set x $ac_tag
18770  IFS=$ac_save_IFS
18771  shift
18772  ac_file=$1
18773  shift
18774
18775  case $ac_mode in
18776  :L) ac_source=$1;;
18777  :[FH])
18778    ac_file_inputs=
18779    for ac_f
18780    do
18781      case $ac_f in
18782      -) ac_f="$ac_tmp/stdin";;
18783      *) # Look for the file first in the build tree, then in the source tree
18784	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
18785	 # because $ac_f cannot contain `:'.
18786	 test -f "$ac_f" ||
18787	   case $ac_f in
18788	   [\\/$]*) false;;
18789	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18790	   esac ||
18791	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18792      esac
18793      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18794      as_fn_append ac_file_inputs " '$ac_f'"
18795    done
18796
18797    # Let's still pretend it is `configure' which instantiates (i.e., don't
18798    # use $as_me), people would be surprised to read:
18799    #    /* config.h.  Generated by config.status.  */
18800    configure_input='Generated from '`
18801	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18802	`' by configure.'
18803    if test x"$ac_file" != x-; then
18804      configure_input="$ac_file.  $configure_input"
18805      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18806$as_echo "$as_me: creating $ac_file" >&6;}
18807    fi
18808    # Neutralize special characters interpreted by sed in replacement strings.
18809    case $configure_input in #(
18810    *\&* | *\|* | *\\* )
18811       ac_sed_conf_input=`$as_echo "$configure_input" |
18812       sed 's/[\\\\&|]/\\\\&/g'`;; #(
18813    *) ac_sed_conf_input=$configure_input;;
18814    esac
18815
18816    case $ac_tag in
18817    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18818      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18819    esac
18820    ;;
18821  esac
18822
18823  ac_dir=`$as_dirname -- "$ac_file" ||
18824$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18825	 X"$ac_file" : 'X\(//\)[^/]' \| \
18826	 X"$ac_file" : 'X\(//\)$' \| \
18827	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18828$as_echo X"$ac_file" |
18829    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18830	    s//\1/
18831	    q
18832	  }
18833	  /^X\(\/\/\)[^/].*/{
18834	    s//\1/
18835	    q
18836	  }
18837	  /^X\(\/\/\)$/{
18838	    s//\1/
18839	    q
18840	  }
18841	  /^X\(\/\).*/{
18842	    s//\1/
18843	    q
18844	  }
18845	  s/.*/./; q'`
18846  as_dir="$ac_dir"; as_fn_mkdir_p
18847  ac_builddir=.
18848
18849case "$ac_dir" in
18850.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18851*)
18852  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18853  # A ".." for each directory in $ac_dir_suffix.
18854  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18855  case $ac_top_builddir_sub in
18856  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18857  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18858  esac ;;
18859esac
18860ac_abs_top_builddir=$ac_pwd
18861ac_abs_builddir=$ac_pwd$ac_dir_suffix
18862# for backward compatibility:
18863ac_top_builddir=$ac_top_build_prefix
18864
18865case $srcdir in
18866  .)  # We are building in place.
18867    ac_srcdir=.
18868    ac_top_srcdir=$ac_top_builddir_sub
18869    ac_abs_top_srcdir=$ac_pwd ;;
18870  [\\/]* | ?:[\\/]* )  # Absolute name.
18871    ac_srcdir=$srcdir$ac_dir_suffix;
18872    ac_top_srcdir=$srcdir
18873    ac_abs_top_srcdir=$srcdir ;;
18874  *) # Relative name.
18875    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18876    ac_top_srcdir=$ac_top_build_prefix$srcdir
18877    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18878esac
18879ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18880
18881
18882  case $ac_mode in
18883  :F)
18884  #
18885  # CONFIG_FILE
18886  #
18887
18888  case $INSTALL in
18889  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18890  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18891  esac
18892  ac_MKDIR_P=$MKDIR_P
18893  case $MKDIR_P in
18894  [\\/$]* | ?:[\\/]* ) ;;
18895  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18896  esac
18897_ACEOF
18898
18899cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18900# If the template does not know about datarootdir, expand it.
18901# FIXME: This hack should be removed a few years after 2.60.
18902ac_datarootdir_hack=; ac_datarootdir_seen=
18903ac_sed_dataroot='
18904/datarootdir/ {
18905  p
18906  q
18907}
18908/@datadir@/p
18909/@docdir@/p
18910/@infodir@/p
18911/@localedir@/p
18912/@mandir@/p'
18913case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18914*datarootdir*) ac_datarootdir_seen=yes;;
18915*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18916  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18917$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18918_ACEOF
18919cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18920  ac_datarootdir_hack='
18921  s&@datadir@&$datadir&g
18922  s&@docdir@&$docdir&g
18923  s&@infodir@&$infodir&g
18924  s&@localedir@&$localedir&g
18925  s&@mandir@&$mandir&g
18926  s&\\\${datarootdir}&$datarootdir&g' ;;
18927esac
18928_ACEOF
18929
18930# Neutralize VPATH when `$srcdir' = `.'.
18931# Shell code in configure.ac might set extrasub.
18932# FIXME: do we really want to maintain this feature?
18933cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18934ac_sed_extra="$ac_vpsub
18935$extrasub
18936_ACEOF
18937cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18938:t
18939/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18940s|@configure_input@|$ac_sed_conf_input|;t t
18941s&@top_builddir@&$ac_top_builddir_sub&;t t
18942s&@top_build_prefix@&$ac_top_build_prefix&;t t
18943s&@srcdir@&$ac_srcdir&;t t
18944s&@abs_srcdir@&$ac_abs_srcdir&;t t
18945s&@top_srcdir@&$ac_top_srcdir&;t t
18946s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18947s&@builddir@&$ac_builddir&;t t
18948s&@abs_builddir@&$ac_abs_builddir&;t t
18949s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18950s&@INSTALL@&$ac_INSTALL&;t t
18951s&@MKDIR_P@&$ac_MKDIR_P&;t t
18952$ac_datarootdir_hack
18953"
18954eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18955  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18956
18957test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18958  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18959  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
18960      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18961  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18962which seems to be undefined.  Please make sure it is defined" >&5
18963$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18964which seems to be undefined.  Please make sure it is defined" >&2;}
18965
18966  rm -f "$ac_tmp/stdin"
18967  case $ac_file in
18968  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18969  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18970  esac \
18971  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18972 ;;
18973  :H)
18974  #
18975  # CONFIG_HEADER
18976  #
18977  if test x"$ac_file" != x-; then
18978    {
18979      $as_echo "/* $configure_input  */" \
18980      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18981    } >"$ac_tmp/config.h" \
18982      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18983    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18984      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18985$as_echo "$as_me: $ac_file is unchanged" >&6;}
18986    else
18987      rm -f "$ac_file"
18988      mv "$ac_tmp/config.h" "$ac_file" \
18989	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18990    fi
18991  else
18992    $as_echo "/* $configure_input  */" \
18993      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18994      || as_fn_error $? "could not create -" "$LINENO" 5
18995  fi
18996# Compute "$ac_file"'s index in $config_headers.
18997_am_arg="$ac_file"
18998_am_stamp_count=1
18999for _am_header in $config_headers :; do
19000  case $_am_header in
19001    $_am_arg | $_am_arg:* )
19002      break ;;
19003    * )
19004      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19005  esac
19006done
19007echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19008$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19009	 X"$_am_arg" : 'X\(//\)[^/]' \| \
19010	 X"$_am_arg" : 'X\(//\)$' \| \
19011	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19012$as_echo X"$_am_arg" |
19013    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19014	    s//\1/
19015	    q
19016	  }
19017	  /^X\(\/\/\)[^/].*/{
19018	    s//\1/
19019	    q
19020	  }
19021	  /^X\(\/\/\)$/{
19022	    s//\1/
19023	    q
19024	  }
19025	  /^X\(\/\).*/{
19026	    s//\1/
19027	    q
19028	  }
19029	  s/.*/./; q'`/stamp-h$_am_stamp_count
19030 ;;
19031
19032  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19033$as_echo "$as_me: executing $ac_file commands" >&6;}
19034 ;;
19035  esac
19036
19037
19038  case $ac_file$ac_mode in
19039    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19040  # Older Autoconf quotes --file arguments for eval, but not when files
19041  # are listed without --file.  Let's play safe and only enable the eval
19042  # if we detect the quoting.
19043  # TODO: see whether this extra hack can be removed once we start
19044  # requiring Autoconf 2.70 or later.
19045  case $CONFIG_FILES in #(
19046  *\'*) :
19047    eval set x "$CONFIG_FILES" ;; #(
19048  *) :
19049    set x $CONFIG_FILES ;; #(
19050  *) :
19051     ;;
19052esac
19053  shift
19054  # Used to flag and report bootstrapping failures.
19055  am_rc=0
19056  for am_mf
19057  do
19058    # Strip MF so we end up with the name of the file.
19059    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
19060    # Check whether this is an Automake generated Makefile which includes
19061    # dependency-tracking related rules and includes.
19062    # Grep'ing the whole file directly is not great: AIX grep has a line
19063    # limit of 2048, but all sed's we know have understand at least 4000.
19064    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
19065      || continue
19066    am_dirpart=`$as_dirname -- "$am_mf" ||
19067$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19068	 X"$am_mf" : 'X\(//\)[^/]' \| \
19069	 X"$am_mf" : 'X\(//\)$' \| \
19070	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19071$as_echo X"$am_mf" |
19072    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19073	    s//\1/
19074	    q
19075	  }
19076	  /^X\(\/\/\)[^/].*/{
19077	    s//\1/
19078	    q
19079	  }
19080	  /^X\(\/\/\)$/{
19081	    s//\1/
19082	    q
19083	  }
19084	  /^X\(\/\).*/{
19085	    s//\1/
19086	    q
19087	  }
19088	  s/.*/./; q'`
19089    am_filepart=`$as_basename -- "$am_mf" ||
19090$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
19091	 X"$am_mf" : 'X\(//\)$' \| \
19092	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19093$as_echo X/"$am_mf" |
19094    sed '/^.*\/\([^/][^/]*\)\/*$/{
19095	    s//\1/
19096	    q
19097	  }
19098	  /^X\/\(\/\/\)$/{
19099	    s//\1/
19100	    q
19101	  }
19102	  /^X\/\(\/\).*/{
19103	    s//\1/
19104	    q
19105	  }
19106	  s/.*/./; q'`
19107    { echo "$as_me:$LINENO: cd "$am_dirpart" \
19108      && sed -e '/# am--include-marker/d' "$am_filepart" \
19109        | $MAKE -f - am--depfiles" >&5
19110   (cd "$am_dirpart" \
19111      && sed -e '/# am--include-marker/d' "$am_filepart" \
19112        | $MAKE -f - am--depfiles) >&5 2>&5
19113   ac_status=$?
19114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115   (exit $ac_status); } || am_rc=$?
19116  done
19117  if test $am_rc -ne 0; then
19118    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19119$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19120as_fn_error $? "Something went wrong bootstrapping makefile fragments
19121    for automatic dependency tracking.  If GNU make was not used, consider
19122    re-running the configure script with MAKE=\"gmake\" (or whatever is
19123    necessary).  You can also try re-running configure with the
19124    '--disable-dependency-tracking' option to at least be able to build
19125    the package (albeit without support for automatic dependency tracking).
19126See \`config.log' for more details" "$LINENO" 5; }
19127  fi
19128  { am_dirpart=; unset am_dirpart;}
19129  { am_filepart=; unset am_filepart;}
19130  { am_mf=; unset am_mf;}
19131  { am_rc=; unset am_rc;}
19132  rm -f conftest-deps.mk
19133}
19134 ;;
19135    "libtool":C)
19136
19137    # See if we are running on zsh, and set the options that allow our
19138    # commands through without removal of \ escapes.
19139    if test -n "${ZSH_VERSION+set}"; then
19140      setopt NO_GLOB_SUBST
19141    fi
19142
19143    cfgfile=${ofile}T
19144    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19145    $RM "$cfgfile"
19146
19147    cat <<_LT_EOF >> "$cfgfile"
19148#! $SHELL
19149# Generated automatically by $as_me ($PACKAGE) $VERSION
19150# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19151# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19152
19153# Provide generalized library-building support services.
19154# Written by Gordon Matzigkeit, 1996
19155
19156# Copyright (C) 2014 Free Software Foundation, Inc.
19157# This is free software; see the source for copying conditions.  There is NO
19158# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19159
19160# GNU Libtool is free software; you can redistribute it and/or modify
19161# it under the terms of the GNU General Public License as published by
19162# the Free Software Foundation; either version 2 of of the License, or
19163# (at your option) any later version.
19164#
19165# As a special exception to the GNU General Public License, if you
19166# distribute this file as part of a program or library that is built
19167# using GNU Libtool, you may include this file under the  same
19168# distribution terms that you use for the rest of that program.
19169#
19170# GNU Libtool is distributed in the hope that it will be useful, but
19171# WITHOUT ANY WARRANTY; without even the implied warranty of
19172# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19173# GNU General Public License for more details.
19174#
19175# You should have received a copy of the GNU General Public License
19176# along with this program.  If not, see <http://www.gnu.org/licenses/>.
19177
19178
19179# The names of the tagged configurations supported by this script.
19180available_tags='CXX '
19181
19182# Configured defaults for sys_lib_dlsearch_path munging.
19183: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19184
19185# ### BEGIN LIBTOOL CONFIG
19186
19187# Which release of libtool.m4 was used?
19188macro_version=$macro_version
19189macro_revision=$macro_revision
19190
19191# Whether or not to build shared libraries.
19192build_libtool_libs=$enable_shared
19193
19194# Whether or not to build static libraries.
19195build_old_libs=$enable_static
19196
19197# What type of objects to build.
19198pic_mode=$pic_mode
19199
19200# Whether or not to optimize for fast installation.
19201fast_install=$enable_fast_install
19202
19203# Shared archive member basename,for filename based shared library versioning on AIX.
19204shared_archive_member_spec=$shared_archive_member_spec
19205
19206# Shell to use when invoking shell scripts.
19207SHELL=$lt_SHELL
19208
19209# An echo program that protects backslashes.
19210ECHO=$lt_ECHO
19211
19212# The PATH separator for the build system.
19213PATH_SEPARATOR=$lt_PATH_SEPARATOR
19214
19215# The host system.
19216host_alias=$host_alias
19217host=$host
19218host_os=$host_os
19219
19220# The build system.
19221build_alias=$build_alias
19222build=$build
19223build_os=$build_os
19224
19225# A sed program that does not truncate output.
19226SED=$lt_SED
19227
19228# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19229Xsed="\$SED -e 1s/^X//"
19230
19231# A grep program that handles long lines.
19232GREP=$lt_GREP
19233
19234# An ERE matcher.
19235EGREP=$lt_EGREP
19236
19237# A literal string matcher.
19238FGREP=$lt_FGREP
19239
19240# A BSD- or MS-compatible name lister.
19241NM=$lt_NM
19242
19243# Whether we need soft or hard links.
19244LN_S=$lt_LN_S
19245
19246# What is the maximum length of a command?
19247max_cmd_len=$max_cmd_len
19248
19249# Object file suffix (normally "o").
19250objext=$ac_objext
19251
19252# Executable file suffix (normally "").
19253exeext=$exeext
19254
19255# whether the shell understands "unset".
19256lt_unset=$lt_unset
19257
19258# turn spaces into newlines.
19259SP2NL=$lt_lt_SP2NL
19260
19261# turn newlines into spaces.
19262NL2SP=$lt_lt_NL2SP
19263
19264# convert \$build file names to \$host format.
19265to_host_file_cmd=$lt_cv_to_host_file_cmd
19266
19267# convert \$build files to toolchain format.
19268to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19269
19270# An object symbol dumper.
19271OBJDUMP=$lt_OBJDUMP
19272
19273# Method to check whether dependent libraries are shared objects.
19274deplibs_check_method=$lt_deplibs_check_method
19275
19276# Command to use when deplibs_check_method = "file_magic".
19277file_magic_cmd=$lt_file_magic_cmd
19278
19279# How to find potential files when deplibs_check_method = "file_magic".
19280file_magic_glob=$lt_file_magic_glob
19281
19282# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19283want_nocaseglob=$lt_want_nocaseglob
19284
19285# DLL creation program.
19286DLLTOOL=$lt_DLLTOOL
19287
19288# Command to associate shared and link libraries.
19289sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19290
19291# The archiver.
19292AR=$lt_AR
19293
19294# Flags to create an archive.
19295AR_FLAGS=$lt_AR_FLAGS
19296
19297# How to feed a file listing to the archiver.
19298archiver_list_spec=$lt_archiver_list_spec
19299
19300# A symbol stripping program.
19301STRIP=$lt_STRIP
19302
19303# Commands used to install an old-style archive.
19304RANLIB=$lt_RANLIB
19305old_postinstall_cmds=$lt_old_postinstall_cmds
19306old_postuninstall_cmds=$lt_old_postuninstall_cmds
19307
19308# Whether to use a lock for old archive extraction.
19309lock_old_archive_extraction=$lock_old_archive_extraction
19310
19311# A C compiler.
19312LTCC=$lt_CC
19313
19314# LTCC compiler flags.
19315LTCFLAGS=$lt_CFLAGS
19316
19317# Take the output of nm and produce a listing of raw symbols and C names.
19318global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19319
19320# Transform the output of nm in a proper C declaration.
19321global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19322
19323# Transform the output of nm into a list of symbols to manually relocate.
19324global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19325
19326# Transform the output of nm in a C name address pair.
19327global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19328
19329# Transform the output of nm in a C name address pair when lib prefix is needed.
19330global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19331
19332# The name lister interface.
19333nm_interface=$lt_lt_cv_nm_interface
19334
19335# Specify filename containing input files for \$NM.
19336nm_file_list_spec=$lt_nm_file_list_spec
19337
19338# The root where to search for dependent libraries,and where our libraries should be installed.
19339lt_sysroot=$lt_sysroot
19340
19341# Command to truncate a binary pipe.
19342lt_truncate_bin=$lt_lt_cv_truncate_bin
19343
19344# The name of the directory that contains temporary libtool files.
19345objdir=$objdir
19346
19347# Used to examine libraries when file_magic_cmd begins with "file".
19348MAGIC_CMD=$MAGIC_CMD
19349
19350# Must we lock files when doing compilation?
19351need_locks=$lt_need_locks
19352
19353# Manifest tool.
19354MANIFEST_TOOL=$lt_MANIFEST_TOOL
19355
19356# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19357DSYMUTIL=$lt_DSYMUTIL
19358
19359# Tool to change global to local symbols on Mac OS X.
19360NMEDIT=$lt_NMEDIT
19361
19362# Tool to manipulate fat objects and archives on Mac OS X.
19363LIPO=$lt_LIPO
19364
19365# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19366OTOOL=$lt_OTOOL
19367
19368# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19369OTOOL64=$lt_OTOOL64
19370
19371# Old archive suffix (normally "a").
19372libext=$libext
19373
19374# Shared library suffix (normally ".so").
19375shrext_cmds=$lt_shrext_cmds
19376
19377# The commands to extract the exported symbol list from a shared archive.
19378extract_expsyms_cmds=$lt_extract_expsyms_cmds
19379
19380# Variables whose values should be saved in libtool wrapper scripts and
19381# restored at link time.
19382variables_saved_for_relink=$lt_variables_saved_for_relink
19383
19384# Do we need the "lib" prefix for modules?
19385need_lib_prefix=$need_lib_prefix
19386
19387# Do we need a version for libraries?
19388need_version=$need_version
19389
19390# Library versioning type.
19391version_type=$version_type
19392
19393# Shared library runtime path variable.
19394runpath_var=$runpath_var
19395
19396# Shared library path variable.
19397shlibpath_var=$shlibpath_var
19398
19399# Is shlibpath searched before the hard-coded library search path?
19400shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19401
19402# Format of library name prefix.
19403libname_spec=$lt_libname_spec
19404
19405# List of archive names.  First name is the real one, the rest are links.
19406# The last name is the one that the linker finds with -lNAME
19407library_names_spec=$lt_library_names_spec
19408
19409# The coded name of the library, if different from the real name.
19410soname_spec=$lt_soname_spec
19411
19412# Permission mode override for installation of shared libraries.
19413install_override_mode=$lt_install_override_mode
19414
19415# Command to use after installation of a shared archive.
19416postinstall_cmds=$lt_postinstall_cmds
19417
19418# Command to use after uninstallation of a shared archive.
19419postuninstall_cmds=$lt_postuninstall_cmds
19420
19421# Commands used to finish a libtool library installation in a directory.
19422finish_cmds=$lt_finish_cmds
19423
19424# As "finish_cmds", except a single script fragment to be evaled but
19425# not shown.
19426finish_eval=$lt_finish_eval
19427
19428# Whether we should hardcode library paths into libraries.
19429hardcode_into_libs=$hardcode_into_libs
19430
19431# Compile-time system search path for libraries.
19432sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19433
19434# Detected run-time system search path for libraries.
19435sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19436
19437# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19438configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19439
19440# Whether dlopen is supported.
19441dlopen_support=$enable_dlopen
19442
19443# Whether dlopen of programs is supported.
19444dlopen_self=$enable_dlopen_self
19445
19446# Whether dlopen of statically linked programs is supported.
19447dlopen_self_static=$enable_dlopen_self_static
19448
19449# Commands to strip libraries.
19450old_striplib=$lt_old_striplib
19451striplib=$lt_striplib
19452
19453
19454# The linker used to build libraries.
19455LD=$lt_LD
19456
19457# How to create reloadable object files.
19458reload_flag=$lt_reload_flag
19459reload_cmds=$lt_reload_cmds
19460
19461# Commands used to build an old-style archive.
19462old_archive_cmds=$lt_old_archive_cmds
19463
19464# A language specific compiler.
19465CC=$lt_compiler
19466
19467# Is the compiler the GNU compiler?
19468with_gcc=$GCC
19469
19470# Compiler flag to turn off builtin functions.
19471no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19472
19473# Additional compiler flags for building library objects.
19474pic_flag=$lt_lt_prog_compiler_pic
19475
19476# How to pass a linker flag through the compiler.
19477wl=$lt_lt_prog_compiler_wl
19478
19479# Compiler flag to prevent dynamic linking.
19480link_static_flag=$lt_lt_prog_compiler_static
19481
19482# Does compiler simultaneously support -c and -o options?
19483compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19484
19485# Whether or not to add -lc for building shared libraries.
19486build_libtool_need_lc=$archive_cmds_need_lc
19487
19488# Whether or not to disallow shared libs when runtime libs are static.
19489allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19490
19491# Compiler flag to allow reflexive dlopens.
19492export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19493
19494# Compiler flag to generate shared objects directly from archives.
19495whole_archive_flag_spec=$lt_whole_archive_flag_spec
19496
19497# Whether the compiler copes with passing no objects directly.
19498compiler_needs_object=$lt_compiler_needs_object
19499
19500# Create an old-style archive from a shared archive.
19501old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19502
19503# Create a temporary old-style archive to link instead of a shared archive.
19504old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19505
19506# Commands used to build a shared archive.
19507archive_cmds=$lt_archive_cmds
19508archive_expsym_cmds=$lt_archive_expsym_cmds
19509
19510# Commands used to build a loadable module if different from building
19511# a shared archive.
19512module_cmds=$lt_module_cmds
19513module_expsym_cmds=$lt_module_expsym_cmds
19514
19515# Whether we are building with GNU ld or not.
19516with_gnu_ld=$lt_with_gnu_ld
19517
19518# Flag that allows shared libraries with undefined symbols to be built.
19519allow_undefined_flag=$lt_allow_undefined_flag
19520
19521# Flag that enforces no undefined symbols.
19522no_undefined_flag=$lt_no_undefined_flag
19523
19524# Flag to hardcode \$libdir into a binary during linking.
19525# This must work even if \$libdir does not exist
19526hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19527
19528# Whether we need a single "-rpath" flag with a separated argument.
19529hardcode_libdir_separator=$lt_hardcode_libdir_separator
19530
19531# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19532# DIR into the resulting binary.
19533hardcode_direct=$hardcode_direct
19534
19535# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19536# DIR into the resulting binary and the resulting library dependency is
19537# "absolute",i.e impossible to change by setting \$shlibpath_var if the
19538# library is relocated.
19539hardcode_direct_absolute=$hardcode_direct_absolute
19540
19541# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19542# into the resulting binary.
19543hardcode_minus_L=$hardcode_minus_L
19544
19545# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19546# into the resulting binary.
19547hardcode_shlibpath_var=$hardcode_shlibpath_var
19548
19549# Set to "yes" if building a shared library automatically hardcodes DIR
19550# into the library and all subsequent libraries and executables linked
19551# against it.
19552hardcode_automatic=$hardcode_automatic
19553
19554# Set to yes if linker adds runtime paths of dependent libraries
19555# to runtime path list.
19556inherit_rpath=$inherit_rpath
19557
19558# Whether libtool must link a program against all its dependency libraries.
19559link_all_deplibs=$link_all_deplibs
19560
19561# Set to "yes" if exported symbols are required.
19562always_export_symbols=$always_export_symbols
19563
19564# The commands to list exported symbols.
19565export_symbols_cmds=$lt_export_symbols_cmds
19566
19567# Symbols that should not be listed in the preloaded symbols.
19568exclude_expsyms=$lt_exclude_expsyms
19569
19570# Symbols that must always be exported.
19571include_expsyms=$lt_include_expsyms
19572
19573# Commands necessary for linking programs (against libraries) with templates.
19574prelink_cmds=$lt_prelink_cmds
19575
19576# Commands necessary for finishing linking programs.
19577postlink_cmds=$lt_postlink_cmds
19578
19579# Specify filename containing input files.
19580file_list_spec=$lt_file_list_spec
19581
19582# How to hardcode a shared library path into an executable.
19583hardcode_action=$hardcode_action
19584
19585# The directories searched by this compiler when creating a shared library.
19586compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19587
19588# Dependencies to place before and after the objects being linked to
19589# create a shared library.
19590predep_objects=$lt_predep_objects
19591postdep_objects=$lt_postdep_objects
19592predeps=$lt_predeps
19593postdeps=$lt_postdeps
19594
19595# The library search path used internally by the compiler when linking
19596# a shared library.
19597compiler_lib_search_path=$lt_compiler_lib_search_path
19598
19599# ### END LIBTOOL CONFIG
19600
19601_LT_EOF
19602
19603    cat <<'_LT_EOF' >> "$cfgfile"
19604
19605# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19606
19607# func_munge_path_list VARIABLE PATH
19608# -----------------------------------
19609# VARIABLE is name of variable containing _space_ separated list of
19610# directories to be munged by the contents of PATH, which is string
19611# having a format:
19612# "DIR[:DIR]:"
19613#       string "DIR[ DIR]" will be prepended to VARIABLE
19614# ":DIR[:DIR]"
19615#       string "DIR[ DIR]" will be appended to VARIABLE
19616# "DIRP[:DIRP]::[DIRA:]DIRA"
19617#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19618#       "DIRA[ DIRA]" will be appended to VARIABLE
19619# "DIR[:DIR]"
19620#       VARIABLE will be replaced by "DIR[ DIR]"
19621func_munge_path_list ()
19622{
19623    case x$2 in
19624    x)
19625        ;;
19626    *:)
19627        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19628        ;;
19629    x:*)
19630        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19631        ;;
19632    *::*)
19633        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19634        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19635        ;;
19636    *)
19637        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19638        ;;
19639    esac
19640}
19641
19642
19643# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19644func_cc_basename ()
19645{
19646    for cc_temp in $*""; do
19647      case $cc_temp in
19648        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19649        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19650        \-*) ;;
19651        *) break;;
19652      esac
19653    done
19654    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19655}
19656
19657
19658# ### END FUNCTIONS SHARED WITH CONFIGURE
19659
19660_LT_EOF
19661
19662  case $host_os in
19663  aix3*)
19664    cat <<\_LT_EOF >> "$cfgfile"
19665# AIX sometimes has problems with the GCC collect2 program.  For some
19666# reason, if we set the COLLECT_NAMES environment variable, the problems
19667# vanish in a puff of smoke.
19668if test set != "${COLLECT_NAMES+set}"; then
19669  COLLECT_NAMES=
19670  export COLLECT_NAMES
19671fi
19672_LT_EOF
19673    ;;
19674  esac
19675
19676
19677ltmain=$ac_aux_dir/ltmain.sh
19678
19679
19680  # We use sed instead of cat because bash on DJGPP gets confused if
19681  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19682  # text mode, it properly converts lines to CR/LF.  This bash problem
19683  # is reportedly fixed, but why not run on old versions too?
19684  sed '$q' "$ltmain" >> "$cfgfile" \
19685     || (rm -f "$cfgfile"; exit 1)
19686
19687   mv -f "$cfgfile" "$ofile" ||
19688    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19689  chmod +x "$ofile"
19690
19691
19692    cat <<_LT_EOF >> "$ofile"
19693
19694# ### BEGIN LIBTOOL TAG CONFIG: CXX
19695
19696# The linker used to build libraries.
19697LD=$lt_LD_CXX
19698
19699# How to create reloadable object files.
19700reload_flag=$lt_reload_flag_CXX
19701reload_cmds=$lt_reload_cmds_CXX
19702
19703# Commands used to build an old-style archive.
19704old_archive_cmds=$lt_old_archive_cmds_CXX
19705
19706# A language specific compiler.
19707CC=$lt_compiler_CXX
19708
19709# Is the compiler the GNU compiler?
19710with_gcc=$GCC_CXX
19711
19712# Compiler flag to turn off builtin functions.
19713no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19714
19715# Additional compiler flags for building library objects.
19716pic_flag=$lt_lt_prog_compiler_pic_CXX
19717
19718# How to pass a linker flag through the compiler.
19719wl=$lt_lt_prog_compiler_wl_CXX
19720
19721# Compiler flag to prevent dynamic linking.
19722link_static_flag=$lt_lt_prog_compiler_static_CXX
19723
19724# Does compiler simultaneously support -c and -o options?
19725compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19726
19727# Whether or not to add -lc for building shared libraries.
19728build_libtool_need_lc=$archive_cmds_need_lc_CXX
19729
19730# Whether or not to disallow shared libs when runtime libs are static.
19731allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19732
19733# Compiler flag to allow reflexive dlopens.
19734export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19735
19736# Compiler flag to generate shared objects directly from archives.
19737whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19738
19739# Whether the compiler copes with passing no objects directly.
19740compiler_needs_object=$lt_compiler_needs_object_CXX
19741
19742# Create an old-style archive from a shared archive.
19743old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19744
19745# Create a temporary old-style archive to link instead of a shared archive.
19746old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19747
19748# Commands used to build a shared archive.
19749archive_cmds=$lt_archive_cmds_CXX
19750archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19751
19752# Commands used to build a loadable module if different from building
19753# a shared archive.
19754module_cmds=$lt_module_cmds_CXX
19755module_expsym_cmds=$lt_module_expsym_cmds_CXX
19756
19757# Whether we are building with GNU ld or not.
19758with_gnu_ld=$lt_with_gnu_ld_CXX
19759
19760# Flag that allows shared libraries with undefined symbols to be built.
19761allow_undefined_flag=$lt_allow_undefined_flag_CXX
19762
19763# Flag that enforces no undefined symbols.
19764no_undefined_flag=$lt_no_undefined_flag_CXX
19765
19766# Flag to hardcode \$libdir into a binary during linking.
19767# This must work even if \$libdir does not exist
19768hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19769
19770# Whether we need a single "-rpath" flag with a separated argument.
19771hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19772
19773# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19774# DIR into the resulting binary.
19775hardcode_direct=$hardcode_direct_CXX
19776
19777# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19778# DIR into the resulting binary and the resulting library dependency is
19779# "absolute",i.e impossible to change by setting \$shlibpath_var if the
19780# library is relocated.
19781hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19782
19783# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19784# into the resulting binary.
19785hardcode_minus_L=$hardcode_minus_L_CXX
19786
19787# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19788# into the resulting binary.
19789hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19790
19791# Set to "yes" if building a shared library automatically hardcodes DIR
19792# into the library and all subsequent libraries and executables linked
19793# against it.
19794hardcode_automatic=$hardcode_automatic_CXX
19795
19796# Set to yes if linker adds runtime paths of dependent libraries
19797# to runtime path list.
19798inherit_rpath=$inherit_rpath_CXX
19799
19800# Whether libtool must link a program against all its dependency libraries.
19801link_all_deplibs=$link_all_deplibs_CXX
19802
19803# Set to "yes" if exported symbols are required.
19804always_export_symbols=$always_export_symbols_CXX
19805
19806# The commands to list exported symbols.
19807export_symbols_cmds=$lt_export_symbols_cmds_CXX
19808
19809# Symbols that should not be listed in the preloaded symbols.
19810exclude_expsyms=$lt_exclude_expsyms_CXX
19811
19812# Symbols that must always be exported.
19813include_expsyms=$lt_include_expsyms_CXX
19814
19815# Commands necessary for linking programs (against libraries) with templates.
19816prelink_cmds=$lt_prelink_cmds_CXX
19817
19818# Commands necessary for finishing linking programs.
19819postlink_cmds=$lt_postlink_cmds_CXX
19820
19821# Specify filename containing input files.
19822file_list_spec=$lt_file_list_spec_CXX
19823
19824# How to hardcode a shared library path into an executable.
19825hardcode_action=$hardcode_action_CXX
19826
19827# The directories searched by this compiler when creating a shared library.
19828compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19829
19830# Dependencies to place before and after the objects being linked to
19831# create a shared library.
19832predep_objects=$lt_predep_objects_CXX
19833postdep_objects=$lt_postdep_objects_CXX
19834predeps=$lt_predeps_CXX
19835postdeps=$lt_postdeps_CXX
19836
19837# The library search path used internally by the compiler when linking
19838# a shared library.
19839compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19840
19841# ### END LIBTOOL TAG CONFIG: CXX
19842_LT_EOF
19843
19844 ;;
19845
19846  esac
19847done # for ac_tag
19848
19849
19850as_fn_exit 0
19851_ACEOF
19852ac_clean_files=$ac_clean_files_save
19853
19854test $ac_write_fail = 0 ||
19855  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19856
19857
19858# configure is writing to config.log, and then calls config.status.
19859# config.status does its own redirection, appending to config.log.
19860# Unfortunately, on DOS this fails, as config.log is still kept open
19861# by configure, so config.status won't be able to write to it; its
19862# output is simply discarded.  So we exec the FD to /dev/null,
19863# effectively closing config.log, so it can be properly (re)opened and
19864# appended to by config.status.  When coming back to configure, we
19865# need to make the FD available again.
19866if test "$no_create" != yes; then
19867  ac_cs_success=:
19868  ac_config_status_args=
19869  test "$silent" = yes &&
19870    ac_config_status_args="$ac_config_status_args --quiet"
19871  exec 5>/dev/null
19872  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19873  exec 5>>config.log
19874  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19875  # would make configure fail if this is the last instruction.
19876  $ac_cs_success || as_fn_exit 1
19877fi
19878if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19879  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19880$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19881fi
19882
19883