1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for cegobridge 1.6.1.
4#
5# Report bugs to <lemke@lemke-it.com>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
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 lemke@lemke-it.com
278$0: about your system, including any error possibly output
279$0: before this message. Then install a modern shell, or
280$0: manually run the script under such a shell if you do
281$0: 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='cegobridge'
592PACKAGE_TARNAME='cegobridge'
593PACKAGE_VERSION='1.6.1'
594PACKAGE_STRING='cegobridge 1.6.1'
595PACKAGE_BUGREPORT='lemke@lemke-it.com'
596PACKAGE_URL=''
597
598ac_unique_file="config.h.in"
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
638LIBTOOL_DEPS
639CXXCPP
640LT_SYS_LIBRARY_PATH
641OTOOL64
642OTOOL
643LIPO
644NMEDIT
645DSYMUTIL
646MANIFEST_TOOL
647RANLIB
648DLLTOOL
649OBJDUMP
650NM
651ac_ct_DUMPBIN
652DUMPBIN
653LD
654FGREP
655SED
656host_os
657host_vendor
658host_cpu
659host
660build_os
661build_vendor
662build_cpu
663build
664LIBTOOL
665LIBOBJS
666EGREP
667GREP
668LFC_LIBS
669LFC_CFLAGS
670ac_ct_AR
671AR
672LN_S
673CPP
674am__fastdepCC_FALSE
675am__fastdepCC_TRUE
676CCDEPMODE
677ac_ct_CC
678CFLAGS
679CC
680am__fastdepCXX_FALSE
681am__fastdepCXX_TRUE
682CXXDEPMODE
683am__nodep
684AMDEPBACKSLASH
685AMDEP_FALSE
686AMDEP_TRUE
687am__quote
688am__include
689DEPDIR
690OBJEXT
691EXEEXT
692ac_ct_CXX
693CPPFLAGS
694LDFLAGS
695CXXFLAGS
696CXX
697AM_BACKSLASH
698AM_DEFAULT_VERBOSITY
699AM_DEFAULT_V
700AM_V
701am__untar
702am__tar
703AMTAR
704am__leading_dot
705SET_MAKE
706AWK
707mkdir_p
708MKDIR_P
709INSTALL_STRIP_PROGRAM
710STRIP
711install_sh
712MAKEINFO
713AUTOHEADER
714AUTOMAKE
715AUTOCONF
716ACLOCAL
717VERSION
718PACKAGE
719CYGPATH_W
720am__isrc
721INSTALL_DATA
722INSTALL_SCRIPT
723INSTALL_PROGRAM
724target_alias
725host_alias
726build_alias
727LIBS
728ECHO_T
729ECHO_N
730ECHO_C
731DEFS
732mandir
733localedir
734libdir
735psdir
736pdfdir
737dvidir
738htmldir
739infodir
740docdir
741oldincludedir
742includedir
743localstatedir
744sharedstatedir
745sysconfdir
746datadir
747datarootdir
748libexecdir
749sbindir
750bindir
751program_transform_name
752prefix
753exec_prefix
754PACKAGE_URL
755PACKAGE_BUGREPORT
756PACKAGE_STRING
757PACKAGE_VERSION
758PACKAGE_TARNAME
759PACKAGE_NAME
760PATH_SEPARATOR
761SHELL'
762ac_subst_files=''
763ac_user_opts='
764enable_option_checking
765enable_silent_rules
766enable_dependency_tracking
767with_lfc_include_path
768with_lfc_lib_path
769enable_shared
770enable_static
771with_pic
772enable_fast_install
773with_aix_soname
774with_gnu_ld
775with_sysroot
776enable_libtool_lock
777'
778      ac_precious_vars='build_alias
779host_alias
780target_alias
781CXX
782CXXFLAGS
783LDFLAGS
784LIBS
785CPPFLAGS
786CCC
787CC
788CFLAGS
789CPP
790LT_SYS_LIBRARY_PATH
791CXXCPP'
792
793
794# Initialize some variables set by options.
795ac_init_help=
796ac_init_version=false
797ac_unrecognized_opts=
798ac_unrecognized_sep=
799# The variables have the same names as the options, with
800# dashes changed to underlines.
801cache_file=/dev/null
802exec_prefix=NONE
803no_create=
804no_recursion=
805prefix=NONE
806program_prefix=NONE
807program_suffix=NONE
808program_transform_name=s,x,x,
809silent=
810site=
811srcdir=
812verbose=
813x_includes=NONE
814x_libraries=NONE
815
816# Installation directory options.
817# These are left unexpanded so users can "make install exec_prefix=/foo"
818# and all the variables that are supposed to be based on exec_prefix
819# by default will actually change.
820# Use braces instead of parens because sh, perl, etc. also accept them.
821# (The list follows the same order as the GNU Coding Standards.)
822bindir='${exec_prefix}/bin'
823sbindir='${exec_prefix}/sbin'
824libexecdir='${exec_prefix}/libexec'
825datarootdir='${prefix}/share'
826datadir='${datarootdir}'
827sysconfdir='${prefix}/etc'
828sharedstatedir='${prefix}/com'
829localstatedir='${prefix}/var'
830includedir='${prefix}/include'
831oldincludedir='/usr/include'
832docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833infodir='${datarootdir}/info'
834htmldir='${docdir}'
835dvidir='${docdir}'
836pdfdir='${docdir}'
837psdir='${docdir}'
838libdir='${exec_prefix}/lib'
839localedir='${datarootdir}/locale'
840mandir='${datarootdir}/man'
841
842ac_prev=
843ac_dashdash=
844for ac_option
845do
846  # If the previous option needs an argument, assign it.
847  if test -n "$ac_prev"; then
848    eval $ac_prev=\$ac_option
849    ac_prev=
850    continue
851  fi
852
853  case $ac_option in
854  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855  *=)   ac_optarg= ;;
856  *)    ac_optarg=yes ;;
857  esac
858
859  # Accept the important Cygnus configure options, so we can diagnose typos.
860
861  case $ac_dashdash$ac_option in
862  --)
863    ac_dashdash=yes ;;
864
865  -bindir | --bindir | --bindi | --bind | --bin | --bi)
866    ac_prev=bindir ;;
867  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
868    bindir=$ac_optarg ;;
869
870  -build | --build | --buil | --bui | --bu)
871    ac_prev=build_alias ;;
872  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
873    build_alias=$ac_optarg ;;
874
875  -cache-file | --cache-file | --cache-fil | --cache-fi \
876  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
877    ac_prev=cache_file ;;
878  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
879  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
880    cache_file=$ac_optarg ;;
881
882  --config-cache | -C)
883    cache_file=config.cache ;;
884
885  -datadir | --datadir | --datadi | --datad)
886    ac_prev=datadir ;;
887  -datadir=* | --datadir=* | --datadi=* | --datad=*)
888    datadir=$ac_optarg ;;
889
890  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
891  | --dataroo | --dataro | --datar)
892    ac_prev=datarootdir ;;
893  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
894  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
895    datarootdir=$ac_optarg ;;
896
897  -disable-* | --disable-*)
898    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
899    # Reject names that are not valid shell variable names.
900    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
901      as_fn_error $? "invalid feature name: $ac_useropt"
902    ac_useropt_orig=$ac_useropt
903    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904    case $ac_user_opts in
905      *"
906"enable_$ac_useropt"
907"*) ;;
908      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
909	 ac_unrecognized_sep=', ';;
910    esac
911    eval enable_$ac_useropt=no ;;
912
913  -docdir | --docdir | --docdi | --doc | --do)
914    ac_prev=docdir ;;
915  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
916    docdir=$ac_optarg ;;
917
918  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
919    ac_prev=dvidir ;;
920  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
921    dvidir=$ac_optarg ;;
922
923  -enable-* | --enable-*)
924    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
925    # Reject names that are not valid shell variable names.
926    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
927      as_fn_error $? "invalid feature name: $ac_useropt"
928    ac_useropt_orig=$ac_useropt
929    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930    case $ac_user_opts in
931      *"
932"enable_$ac_useropt"
933"*) ;;
934      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
935	 ac_unrecognized_sep=', ';;
936    esac
937    eval enable_$ac_useropt=\$ac_optarg ;;
938
939  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
940  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
941  | --exec | --exe | --ex)
942    ac_prev=exec_prefix ;;
943  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
944  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
945  | --exec=* | --exe=* | --ex=*)
946    exec_prefix=$ac_optarg ;;
947
948  -gas | --gas | --ga | --g)
949    # Obsolete; use --with-gas.
950    with_gas=yes ;;
951
952  -help | --help | --hel | --he | -h)
953    ac_init_help=long ;;
954  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
955    ac_init_help=recursive ;;
956  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
957    ac_init_help=short ;;
958
959  -host | --host | --hos | --ho)
960    ac_prev=host_alias ;;
961  -host=* | --host=* | --hos=* | --ho=*)
962    host_alias=$ac_optarg ;;
963
964  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
965    ac_prev=htmldir ;;
966  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
967  | --ht=*)
968    htmldir=$ac_optarg ;;
969
970  -includedir | --includedir | --includedi | --included | --include \
971  | --includ | --inclu | --incl | --inc)
972    ac_prev=includedir ;;
973  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
974  | --includ=* | --inclu=* | --incl=* | --inc=*)
975    includedir=$ac_optarg ;;
976
977  -infodir | --infodir | --infodi | --infod | --info | --inf)
978    ac_prev=infodir ;;
979  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
980    infodir=$ac_optarg ;;
981
982  -libdir | --libdir | --libdi | --libd)
983    ac_prev=libdir ;;
984  -libdir=* | --libdir=* | --libdi=* | --libd=*)
985    libdir=$ac_optarg ;;
986
987  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
988  | --libexe | --libex | --libe)
989    ac_prev=libexecdir ;;
990  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
991  | --libexe=* | --libex=* | --libe=*)
992    libexecdir=$ac_optarg ;;
993
994  -localedir | --localedir | --localedi | --localed | --locale)
995    ac_prev=localedir ;;
996  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
997    localedir=$ac_optarg ;;
998
999  -localstatedir | --localstatedir | --localstatedi | --localstated \
1000  | --localstate | --localstat | --localsta | --localst | --locals)
1001    ac_prev=localstatedir ;;
1002  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1003  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1004    localstatedir=$ac_optarg ;;
1005
1006  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1007    ac_prev=mandir ;;
1008  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1009    mandir=$ac_optarg ;;
1010
1011  -nfp | --nfp | --nf)
1012    # Obsolete; use --without-fp.
1013    with_fp=no ;;
1014
1015  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1016  | --no-cr | --no-c | -n)
1017    no_create=yes ;;
1018
1019  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1020  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1021    no_recursion=yes ;;
1022
1023  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1024  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1025  | --oldin | --oldi | --old | --ol | --o)
1026    ac_prev=oldincludedir ;;
1027  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1028  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1029  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1030    oldincludedir=$ac_optarg ;;
1031
1032  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1033    ac_prev=prefix ;;
1034  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1035    prefix=$ac_optarg ;;
1036
1037  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1038  | --program-pre | --program-pr | --program-p)
1039    ac_prev=program_prefix ;;
1040  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1041  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1042    program_prefix=$ac_optarg ;;
1043
1044  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1045  | --program-suf | --program-su | --program-s)
1046    ac_prev=program_suffix ;;
1047  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1048  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1049    program_suffix=$ac_optarg ;;
1050
1051  -program-transform-name | --program-transform-name \
1052  | --program-transform-nam | --program-transform-na \
1053  | --program-transform-n | --program-transform- \
1054  | --program-transform | --program-transfor \
1055  | --program-transfo | --program-transf \
1056  | --program-trans | --program-tran \
1057  | --progr-tra | --program-tr | --program-t)
1058    ac_prev=program_transform_name ;;
1059  -program-transform-name=* | --program-transform-name=* \
1060  | --program-transform-nam=* | --program-transform-na=* \
1061  | --program-transform-n=* | --program-transform-=* \
1062  | --program-transform=* | --program-transfor=* \
1063  | --program-transfo=* | --program-transf=* \
1064  | --program-trans=* | --program-tran=* \
1065  | --progr-tra=* | --program-tr=* | --program-t=*)
1066    program_transform_name=$ac_optarg ;;
1067
1068  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1069    ac_prev=pdfdir ;;
1070  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1071    pdfdir=$ac_optarg ;;
1072
1073  -psdir | --psdir | --psdi | --psd | --ps)
1074    ac_prev=psdir ;;
1075  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1076    psdir=$ac_optarg ;;
1077
1078  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1079  | -silent | --silent | --silen | --sile | --sil)
1080    silent=yes ;;
1081
1082  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1083    ac_prev=sbindir ;;
1084  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1085  | --sbi=* | --sb=*)
1086    sbindir=$ac_optarg ;;
1087
1088  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1089  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1090  | --sharedst | --shareds | --shared | --share | --shar \
1091  | --sha | --sh)
1092    ac_prev=sharedstatedir ;;
1093  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1094  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1095  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1096  | --sha=* | --sh=*)
1097    sharedstatedir=$ac_optarg ;;
1098
1099  -site | --site | --sit)
1100    ac_prev=site ;;
1101  -site=* | --site=* | --sit=*)
1102    site=$ac_optarg ;;
1103
1104  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1105    ac_prev=srcdir ;;
1106  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1107    srcdir=$ac_optarg ;;
1108
1109  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1110  | --syscon | --sysco | --sysc | --sys | --sy)
1111    ac_prev=sysconfdir ;;
1112  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1113  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1114    sysconfdir=$ac_optarg ;;
1115
1116  -target | --target | --targe | --targ | --tar | --ta | --t)
1117    ac_prev=target_alias ;;
1118  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1119    target_alias=$ac_optarg ;;
1120
1121  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1122    verbose=yes ;;
1123
1124  -version | --version | --versio | --versi | --vers | -V)
1125    ac_init_version=: ;;
1126
1127  -with-* | --with-*)
1128    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1129    # Reject names that are not valid shell variable names.
1130    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131      as_fn_error $? "invalid package name: $ac_useropt"
1132    ac_useropt_orig=$ac_useropt
1133    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134    case $ac_user_opts in
1135      *"
1136"with_$ac_useropt"
1137"*) ;;
1138      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1139	 ac_unrecognized_sep=', ';;
1140    esac
1141    eval with_$ac_useropt=\$ac_optarg ;;
1142
1143  -without-* | --without-*)
1144    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1145    # Reject names that are not valid shell variable names.
1146    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1147      as_fn_error $? "invalid package name: $ac_useropt"
1148    ac_useropt_orig=$ac_useropt
1149    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150    case $ac_user_opts in
1151      *"
1152"with_$ac_useropt"
1153"*) ;;
1154      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1155	 ac_unrecognized_sep=', ';;
1156    esac
1157    eval with_$ac_useropt=no ;;
1158
1159  --x)
1160    # Obsolete; use --with-x.
1161    with_x=yes ;;
1162
1163  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1164  | --x-incl | --x-inc | --x-in | --x-i)
1165    ac_prev=x_includes ;;
1166  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1167  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1168    x_includes=$ac_optarg ;;
1169
1170  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1171  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1172    ac_prev=x_libraries ;;
1173  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1174  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1175    x_libraries=$ac_optarg ;;
1176
1177  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1178Try \`$0 --help' for more information"
1179    ;;
1180
1181  *=*)
1182    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1183    # Reject names that are not valid shell variable names.
1184    case $ac_envvar in #(
1185      '' | [0-9]* | *[!_$as_cr_alnum]* )
1186      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1187    esac
1188    eval $ac_envvar=\$ac_optarg
1189    export $ac_envvar ;;
1190
1191  *)
1192    # FIXME: should be removed in autoconf 3.0.
1193    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1194    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1195      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1196    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1197    ;;
1198
1199  esac
1200done
1201
1202if test -n "$ac_prev"; then
1203  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1204  as_fn_error $? "missing argument to $ac_option"
1205fi
1206
1207if test -n "$ac_unrecognized_opts"; then
1208  case $enable_option_checking in
1209    no) ;;
1210    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1211    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1212  esac
1213fi
1214
1215# Check all directory arguments for consistency.
1216for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1217		datadir sysconfdir sharedstatedir localstatedir includedir \
1218		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1219		libdir localedir mandir
1220do
1221  eval ac_val=\$$ac_var
1222  # Remove trailing slashes.
1223  case $ac_val in
1224    */ )
1225      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1226      eval $ac_var=\$ac_val;;
1227  esac
1228  # Be sure to have absolute directory names.
1229  case $ac_val in
1230    [\\/$]* | ?:[\\/]* )  continue;;
1231    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1232  esac
1233  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1234done
1235
1236# There might be people who depend on the old broken behavior: `$host'
1237# used to hold the argument of --host etc.
1238# FIXME: To remove some day.
1239build=$build_alias
1240host=$host_alias
1241target=$target_alias
1242
1243# FIXME: To remove some day.
1244if test "x$host_alias" != x; then
1245  if test "x$build_alias" = x; then
1246    cross_compiling=maybe
1247  elif test "x$build_alias" != "x$host_alias"; then
1248    cross_compiling=yes
1249  fi
1250fi
1251
1252ac_tool_prefix=
1253test -n "$host_alias" && ac_tool_prefix=$host_alias-
1254
1255test "$silent" = yes && exec 6>/dev/null
1256
1257
1258ac_pwd=`pwd` && test -n "$ac_pwd" &&
1259ac_ls_di=`ls -di .` &&
1260ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1261  as_fn_error $? "working directory cannot be determined"
1262test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263  as_fn_error $? "pwd does not report name of working directory"
1264
1265
1266# Find the source files, if location was not specified.
1267if test -z "$srcdir"; then
1268  ac_srcdir_defaulted=yes
1269  # Try the directory containing this script, then the parent directory.
1270  ac_confdir=`$as_dirname -- "$as_myself" ||
1271$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272	 X"$as_myself" : 'X\(//\)[^/]' \| \
1273	 X"$as_myself" : 'X\(//\)$' \| \
1274	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275$as_echo X"$as_myself" |
1276    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277	    s//\1/
1278	    q
1279	  }
1280	  /^X\(\/\/\)[^/].*/{
1281	    s//\1/
1282	    q
1283	  }
1284	  /^X\(\/\/\)$/{
1285	    s//\1/
1286	    q
1287	  }
1288	  /^X\(\/\).*/{
1289	    s//\1/
1290	    q
1291	  }
1292	  s/.*/./; q'`
1293  srcdir=$ac_confdir
1294  if test ! -r "$srcdir/$ac_unique_file"; then
1295    srcdir=..
1296  fi
1297else
1298  ac_srcdir_defaulted=no
1299fi
1300if test ! -r "$srcdir/$ac_unique_file"; then
1301  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1302  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1303fi
1304ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1305ac_abs_confdir=`(
1306	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1307	pwd)`
1308# When building in place, set srcdir=.
1309if test "$ac_abs_confdir" = "$ac_pwd"; then
1310  srcdir=.
1311fi
1312# Remove unnecessary trailing slashes from srcdir.
1313# Double slashes in file names in object file debugging info
1314# mess up M-x gdb in Emacs.
1315case $srcdir in
1316*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1317esac
1318for ac_var in $ac_precious_vars; do
1319  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1320  eval ac_env_${ac_var}_value=\$${ac_var}
1321  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1322  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1323done
1324
1325#
1326# Report the --help message.
1327#
1328if test "$ac_init_help" = "long"; then
1329  # Omit some internal or obsolete options to make the list less imposing.
1330  # This message is too long to be a string in the A/UX 3.1 sh.
1331  cat <<_ACEOF
1332\`configure' configures cegobridge 1.6.1 to adapt to many kinds of systems.
1333
1334Usage: $0 [OPTION]... [VAR=VALUE]...
1335
1336To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337VAR=VALUE.  See below for descriptions of some of the useful variables.
1338
1339Defaults for the options are specified in brackets.
1340
1341Configuration:
1342  -h, --help              display this help and exit
1343      --help=short        display options specific to this package
1344      --help=recursive    display the short help of all the included packages
1345  -V, --version           display version information and exit
1346  -q, --quiet, --silent   do not print \`checking ...' messages
1347      --cache-file=FILE   cache test results in FILE [disabled]
1348  -C, --config-cache      alias for \`--cache-file=config.cache'
1349  -n, --no-create         do not create output files
1350      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1351
1352Installation directories:
1353  --prefix=PREFIX         install architecture-independent files in PREFIX
1354                          [$ac_default_prefix]
1355  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1356                          [PREFIX]
1357
1358By default, \`make install' will install all the files in
1359\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1360an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361for instance \`--prefix=\$HOME'.
1362
1363For better control, use the options below.
1364
1365Fine tuning of the installation directories:
1366  --bindir=DIR            user executables [EPREFIX/bin]
1367  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1368  --libexecdir=DIR        program executables [EPREFIX/libexec]
1369  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1370  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1371  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1372  --libdir=DIR            object code libraries [EPREFIX/lib]
1373  --includedir=DIR        C header files [PREFIX/include]
1374  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1375  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1376  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1377  --infodir=DIR           info documentation [DATAROOTDIR/info]
1378  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1379  --mandir=DIR            man documentation [DATAROOTDIR/man]
1380  --docdir=DIR            documentation root [DATAROOTDIR/doc/cegobridge]
1381  --htmldir=DIR           html documentation [DOCDIR]
1382  --dvidir=DIR            dvi documentation [DOCDIR]
1383  --pdfdir=DIR            pdf documentation [DOCDIR]
1384  --psdir=DIR             ps documentation [DOCDIR]
1385_ACEOF
1386
1387  cat <<\_ACEOF
1388
1389Program names:
1390  --program-prefix=PREFIX            prepend PREFIX to installed program names
1391  --program-suffix=SUFFIX            append SUFFIX to installed program names
1392  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1393
1394System types:
1395  --build=BUILD     configure for building on BUILD [guessed]
1396  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1397_ACEOF
1398fi
1399
1400if test -n "$ac_init_help"; then
1401  case $ac_init_help in
1402     short | recursive ) echo "Configuration of cegobridge 1.6.1:";;
1403   esac
1404  cat <<\_ACEOF
1405
1406Optional Features:
1407  --disable-option-checking  ignore unrecognized --enable/--with options
1408  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1409  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1410  --enable-silent-rules   less verbose build output (undo: "make V=1")
1411  --disable-silent-rules  verbose build output (undo: "make V=0")
1412  --enable-dependency-tracking
1413                          do not reject slow dependency extractors
1414  --disable-dependency-tracking
1415                          speeds up one-time build
1416  --enable-shared[=PKGS]  build shared libraries [default=yes]
1417  --enable-static[=PKGS]  build static libraries [default=yes]
1418  --enable-fast-install[=PKGS]
1419                          optimize for fast installation [default=yes]
1420  --disable-libtool-lock  avoid locking (might break parallel builds)
1421
1422Optional Packages:
1423  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1424  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1425  --with-lfc-include-path location of the LFC headers, defaults to
1426                          /usr/local/include
1427  --with-lfc-lib-path     location of the LFC libraries
1428  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1429                          both]
1430  --with-aix-soname=aix|svr4|both
1431                          shared library versioning (aka "SONAME") variant to
1432                          provide on AIX, [default=aix].
1433  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1434  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1435                          compiler's sysroot if not specified).
1436
1437Some influential environment variables:
1438  CXX         C++ compiler command
1439  CXXFLAGS    C++ compiler flags
1440  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1441              nonstandard directory <lib dir>
1442  LIBS        libraries to pass to the linker, e.g. -l<library>
1443  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1444              you have headers in a nonstandard directory <include dir>
1445  CC          C compiler command
1446  CFLAGS      C compiler flags
1447  CPP         C preprocessor
1448  LT_SYS_LIBRARY_PATH
1449              User-defined run-time library search path.
1450  CXXCPP      C++ preprocessor
1451
1452Use these variables to override the choices made by `configure' or to help
1453it to find libraries and programs with nonstandard names/locations.
1454
1455Report bugs to <lemke@lemke-it.com>.
1456_ACEOF
1457ac_status=$?
1458fi
1459
1460if test "$ac_init_help" = "recursive"; then
1461  # If there are subdirs, report their specific --help.
1462  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1463    test -d "$ac_dir" ||
1464      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1465      continue
1466    ac_builddir=.
1467
1468case "$ac_dir" in
1469.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1470*)
1471  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1472  # A ".." for each directory in $ac_dir_suffix.
1473  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1474  case $ac_top_builddir_sub in
1475  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1476  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1477  esac ;;
1478esac
1479ac_abs_top_builddir=$ac_pwd
1480ac_abs_builddir=$ac_pwd$ac_dir_suffix
1481# for backward compatibility:
1482ac_top_builddir=$ac_top_build_prefix
1483
1484case $srcdir in
1485  .)  # We are building in place.
1486    ac_srcdir=.
1487    ac_top_srcdir=$ac_top_builddir_sub
1488    ac_abs_top_srcdir=$ac_pwd ;;
1489  [\\/]* | ?:[\\/]* )  # Absolute name.
1490    ac_srcdir=$srcdir$ac_dir_suffix;
1491    ac_top_srcdir=$srcdir
1492    ac_abs_top_srcdir=$srcdir ;;
1493  *) # Relative name.
1494    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1495    ac_top_srcdir=$ac_top_build_prefix$srcdir
1496    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1497esac
1498ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1499
1500    cd "$ac_dir" || { ac_status=$?; continue; }
1501    # Check for guested configure.
1502    if test -f "$ac_srcdir/configure.gnu"; then
1503      echo &&
1504      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1505    elif test -f "$ac_srcdir/configure"; then
1506      echo &&
1507      $SHELL "$ac_srcdir/configure" --help=recursive
1508    else
1509      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1510    fi || ac_status=$?
1511    cd "$ac_pwd" || { ac_status=$?; break; }
1512  done
1513fi
1514
1515test -n "$ac_init_help" && exit $ac_status
1516if $ac_init_version; then
1517  cat <<\_ACEOF
1518cegobridge configure 1.6.1
1519generated by GNU Autoconf 2.69
1520
1521Copyright (C) 2012 Free Software Foundation, Inc.
1522This configure script is free software; the Free Software Foundation
1523gives unlimited permission to copy, distribute and modify it.
1524_ACEOF
1525  exit
1526fi
1527
1528## ------------------------ ##
1529## Autoconf initialization. ##
1530## ------------------------ ##
1531
1532# ac_fn_cxx_try_compile LINENO
1533# ----------------------------
1534# Try to compile conftest.$ac_ext, and return whether this succeeded.
1535ac_fn_cxx_try_compile ()
1536{
1537  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538  rm -f conftest.$ac_objext
1539  if { { ac_try="$ac_compile"
1540case "(($ac_try" in
1541  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1542  *) ac_try_echo=$ac_try;;
1543esac
1544eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545$as_echo "$ac_try_echo"; } >&5
1546  (eval "$ac_compile") 2>conftest.err
1547  ac_status=$?
1548  if test -s conftest.err; then
1549    grep -v '^ *+' conftest.err >conftest.er1
1550    cat conftest.er1 >&5
1551    mv -f conftest.er1 conftest.err
1552  fi
1553  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1554  test $ac_status = 0; } && {
1555	 test -z "$ac_cxx_werror_flag" ||
1556	 test ! -s conftest.err
1557       } && test -s conftest.$ac_objext; then :
1558  ac_retval=0
1559else
1560  $as_echo "$as_me: failed program was:" >&5
1561sed 's/^/| /' conftest.$ac_ext >&5
1562
1563	ac_retval=1
1564fi
1565  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1566  as_fn_set_status $ac_retval
1567
1568} # ac_fn_cxx_try_compile
1569
1570# ac_fn_c_try_compile LINENO
1571# --------------------------
1572# Try to compile conftest.$ac_ext, and return whether this succeeded.
1573ac_fn_c_try_compile ()
1574{
1575  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576  rm -f conftest.$ac_objext
1577  if { { ac_try="$ac_compile"
1578case "(($ac_try" in
1579  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1580  *) ac_try_echo=$ac_try;;
1581esac
1582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1583$as_echo "$ac_try_echo"; } >&5
1584  (eval "$ac_compile") 2>conftest.err
1585  ac_status=$?
1586  if test -s conftest.err; then
1587    grep -v '^ *+' conftest.err >conftest.er1
1588    cat conftest.er1 >&5
1589    mv -f conftest.er1 conftest.err
1590  fi
1591  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592  test $ac_status = 0; } && {
1593	 test -z "$ac_c_werror_flag" ||
1594	 test ! -s conftest.err
1595       } && test -s conftest.$ac_objext; then :
1596  ac_retval=0
1597else
1598  $as_echo "$as_me: failed program was:" >&5
1599sed 's/^/| /' conftest.$ac_ext >&5
1600
1601	ac_retval=1
1602fi
1603  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604  as_fn_set_status $ac_retval
1605
1606} # ac_fn_c_try_compile
1607
1608# ac_fn_c_try_cpp LINENO
1609# ----------------------
1610# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1611ac_fn_c_try_cpp ()
1612{
1613  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614  if { { ac_try="$ac_cpp conftest.$ac_ext"
1615case "(($ac_try" in
1616  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1617  *) ac_try_echo=$ac_try;;
1618esac
1619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620$as_echo "$ac_try_echo"; } >&5
1621  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1622  ac_status=$?
1623  if test -s conftest.err; then
1624    grep -v '^ *+' conftest.err >conftest.er1
1625    cat conftest.er1 >&5
1626    mv -f conftest.er1 conftest.err
1627  fi
1628  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629  test $ac_status = 0; } > conftest.i && {
1630	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1631	 test ! -s conftest.err
1632       }; then :
1633  ac_retval=0
1634else
1635  $as_echo "$as_me: failed program was:" >&5
1636sed 's/^/| /' conftest.$ac_ext >&5
1637
1638    ac_retval=1
1639fi
1640  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1641  as_fn_set_status $ac_retval
1642
1643} # ac_fn_c_try_cpp
1644
1645# ac_fn_c_try_link LINENO
1646# -----------------------
1647# Try to link conftest.$ac_ext, and return whether this succeeded.
1648ac_fn_c_try_link ()
1649{
1650  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1651  rm -f conftest.$ac_objext conftest$ac_exeext
1652  if { { ac_try="$ac_link"
1653case "(($ac_try" in
1654  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1655  *) ac_try_echo=$ac_try;;
1656esac
1657eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658$as_echo "$ac_try_echo"; } >&5
1659  (eval "$ac_link") 2>conftest.err
1660  ac_status=$?
1661  if test -s conftest.err; then
1662    grep -v '^ *+' conftest.err >conftest.er1
1663    cat conftest.er1 >&5
1664    mv -f conftest.er1 conftest.err
1665  fi
1666  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667  test $ac_status = 0; } && {
1668	 test -z "$ac_c_werror_flag" ||
1669	 test ! -s conftest.err
1670       } && test -s conftest$ac_exeext && {
1671	 test "$cross_compiling" = yes ||
1672	 test -x conftest$ac_exeext
1673       }; then :
1674  ac_retval=0
1675else
1676  $as_echo "$as_me: failed program was:" >&5
1677sed 's/^/| /' conftest.$ac_ext >&5
1678
1679	ac_retval=1
1680fi
1681  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1682  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1683  # interfere with the next link command; also delete a directory that is
1684  # left behind by Apple's compiler.  We do this before executing the actions.
1685  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1686  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687  as_fn_set_status $ac_retval
1688
1689} # ac_fn_c_try_link
1690
1691# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1692# -------------------------------------------------------
1693# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1694# the include files in INCLUDES and setting the cache variable VAR
1695# accordingly.
1696ac_fn_c_check_header_mongrel ()
1697{
1698  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699  if eval \${$3+:} false; then :
1700  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1701$as_echo_n "checking for $2... " >&6; }
1702if eval \${$3+:} false; then :
1703  $as_echo_n "(cached) " >&6
1704fi
1705eval ac_res=\$$3
1706	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1707$as_echo "$ac_res" >&6; }
1708else
1709  # Is the header compilable?
1710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1711$as_echo_n "checking $2 usability... " >&6; }
1712cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713/* end confdefs.h.  */
1714$4
1715#include <$2>
1716_ACEOF
1717if ac_fn_c_try_compile "$LINENO"; then :
1718  ac_header_compiler=yes
1719else
1720  ac_header_compiler=no
1721fi
1722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1724$as_echo "$ac_header_compiler" >&6; }
1725
1726# Is the header present?
1727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1728$as_echo_n "checking $2 presence... " >&6; }
1729cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1730/* end confdefs.h.  */
1731#include <$2>
1732_ACEOF
1733if ac_fn_c_try_cpp "$LINENO"; then :
1734  ac_header_preproc=yes
1735else
1736  ac_header_preproc=no
1737fi
1738rm -f conftest.err conftest.i conftest.$ac_ext
1739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1740$as_echo "$ac_header_preproc" >&6; }
1741
1742# So?  What about this header?
1743case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1744  yes:no: )
1745    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1746$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1747    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1748$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1749    ;;
1750  no:yes:* )
1751    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1752$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1753    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1754$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1755    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1756$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1757    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1758$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1759    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1760$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1761( $as_echo "## --------------------------------- ##
1762## Report this to lemke@lemke-it.com ##
1763## --------------------------------- ##"
1764     ) | sed "s/^/$as_me: WARNING:     /" >&2
1765    ;;
1766esac
1767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768$as_echo_n "checking for $2... " >&6; }
1769if eval \${$3+:} false; then :
1770  $as_echo_n "(cached) " >&6
1771else
1772  eval "$3=\$ac_header_compiler"
1773fi
1774eval ac_res=\$$3
1775	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1776$as_echo "$ac_res" >&6; }
1777fi
1778  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779
1780} # ac_fn_c_check_header_mongrel
1781
1782# ac_fn_c_try_run LINENO
1783# ----------------------
1784# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1785# that executables *can* be run.
1786ac_fn_c_try_run ()
1787{
1788  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789  if { { ac_try="$ac_link"
1790case "(($ac_try" in
1791  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792  *) ac_try_echo=$ac_try;;
1793esac
1794eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795$as_echo "$ac_try_echo"; } >&5
1796  (eval "$ac_link") 2>&5
1797  ac_status=$?
1798  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1800  { { case "(($ac_try" in
1801  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1802  *) ac_try_echo=$ac_try;;
1803esac
1804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805$as_echo "$ac_try_echo"; } >&5
1806  (eval "$ac_try") 2>&5
1807  ac_status=$?
1808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809  test $ac_status = 0; }; }; then :
1810  ac_retval=0
1811else
1812  $as_echo "$as_me: program exited with status $ac_status" >&5
1813       $as_echo "$as_me: failed program was:" >&5
1814sed 's/^/| /' conftest.$ac_ext >&5
1815
1816       ac_retval=$ac_status
1817fi
1818  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1819  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820  as_fn_set_status $ac_retval
1821
1822} # ac_fn_c_try_run
1823
1824# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1825# -------------------------------------------------------
1826# Tests whether HEADER exists and can be compiled using the include files in
1827# INCLUDES, setting the cache variable VAR accordingly.
1828ac_fn_c_check_header_compile ()
1829{
1830  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832$as_echo_n "checking for $2... " >&6; }
1833if eval \${$3+:} false; then :
1834  $as_echo_n "(cached) " >&6
1835else
1836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837/* end confdefs.h.  */
1838$4
1839#include <$2>
1840_ACEOF
1841if ac_fn_c_try_compile "$LINENO"; then :
1842  eval "$3=yes"
1843else
1844  eval "$3=no"
1845fi
1846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1847fi
1848eval ac_res=\$$3
1849	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1850$as_echo "$ac_res" >&6; }
1851  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1852
1853} # ac_fn_c_check_header_compile
1854
1855# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1856# -------------------------------------------
1857# Tests whether TYPE exists after having included INCLUDES, setting cache
1858# variable VAR accordingly.
1859ac_fn_c_check_type ()
1860{
1861  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1863$as_echo_n "checking for $2... " >&6; }
1864if eval \${$3+:} false; then :
1865  $as_echo_n "(cached) " >&6
1866else
1867  eval "$3=no"
1868  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1869/* end confdefs.h.  */
1870$4
1871int
1872main ()
1873{
1874if (sizeof ($2))
1875	 return 0;
1876  ;
1877  return 0;
1878}
1879_ACEOF
1880if ac_fn_c_try_compile "$LINENO"; then :
1881  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1882/* end confdefs.h.  */
1883$4
1884int
1885main ()
1886{
1887if (sizeof (($2)))
1888	    return 0;
1889  ;
1890  return 0;
1891}
1892_ACEOF
1893if ac_fn_c_try_compile "$LINENO"; then :
1894
1895else
1896  eval "$3=yes"
1897fi
1898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1899fi
1900rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1901fi
1902eval ac_res=\$$3
1903	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1904$as_echo "$ac_res" >&6; }
1905  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1906
1907} # ac_fn_c_check_type
1908
1909# ac_fn_c_check_func LINENO FUNC VAR
1910# ----------------------------------
1911# Tests whether FUNC exists, setting the cache variable VAR accordingly
1912ac_fn_c_check_func ()
1913{
1914  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1916$as_echo_n "checking for $2... " >&6; }
1917if eval \${$3+:} false; then :
1918  $as_echo_n "(cached) " >&6
1919else
1920  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921/* end confdefs.h.  */
1922/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1923   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1924#define $2 innocuous_$2
1925
1926/* System header to define __stub macros and hopefully few prototypes,
1927    which can conflict with char $2 (); below.
1928    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1929    <limits.h> exists even on freestanding compilers.  */
1930
1931#ifdef __STDC__
1932# include <limits.h>
1933#else
1934# include <assert.h>
1935#endif
1936
1937#undef $2
1938
1939/* Override any GCC internal prototype to avoid an error.
1940   Use char because int might match the return type of a GCC
1941   builtin and then its argument prototype would still apply.  */
1942#ifdef __cplusplus
1943extern "C"
1944#endif
1945char $2 ();
1946/* The GNU C library defines this for functions which it implements
1947    to always fail with ENOSYS.  Some functions are actually named
1948    something starting with __ and the normal name is an alias.  */
1949#if defined __stub_$2 || defined __stub___$2
1950choke me
1951#endif
1952
1953int
1954main ()
1955{
1956return $2 ();
1957  ;
1958  return 0;
1959}
1960_ACEOF
1961if ac_fn_c_try_link "$LINENO"; then :
1962  eval "$3=yes"
1963else
1964  eval "$3=no"
1965fi
1966rm -f core conftest.err conftest.$ac_objext \
1967    conftest$ac_exeext conftest.$ac_ext
1968fi
1969eval ac_res=\$$3
1970	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971$as_echo "$ac_res" >&6; }
1972  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973
1974} # ac_fn_c_check_func
1975
1976# ac_fn_cxx_try_cpp LINENO
1977# ------------------------
1978# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1979ac_fn_cxx_try_cpp ()
1980{
1981  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982  if { { ac_try="$ac_cpp conftest.$ac_ext"
1983case "(($ac_try" in
1984  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985  *) ac_try_echo=$ac_try;;
1986esac
1987eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988$as_echo "$ac_try_echo"; } >&5
1989  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1990  ac_status=$?
1991  if test -s conftest.err; then
1992    grep -v '^ *+' conftest.err >conftest.er1
1993    cat conftest.er1 >&5
1994    mv -f conftest.er1 conftest.err
1995  fi
1996  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997  test $ac_status = 0; } > conftest.i && {
1998	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1999	 test ! -s conftest.err
2000       }; then :
2001  ac_retval=0
2002else
2003  $as_echo "$as_me: failed program was:" >&5
2004sed 's/^/| /' conftest.$ac_ext >&5
2005
2006    ac_retval=1
2007fi
2008  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2009  as_fn_set_status $ac_retval
2010
2011} # ac_fn_cxx_try_cpp
2012
2013# ac_fn_cxx_try_link LINENO
2014# -------------------------
2015# Try to link conftest.$ac_ext, and return whether this succeeded.
2016ac_fn_cxx_try_link ()
2017{
2018  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019  rm -f conftest.$ac_objext conftest$ac_exeext
2020  if { { ac_try="$ac_link"
2021case "(($ac_try" in
2022  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023  *) ac_try_echo=$ac_try;;
2024esac
2025eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026$as_echo "$ac_try_echo"; } >&5
2027  (eval "$ac_link") 2>conftest.err
2028  ac_status=$?
2029  if test -s conftest.err; then
2030    grep -v '^ *+' conftest.err >conftest.er1
2031    cat conftest.er1 >&5
2032    mv -f conftest.er1 conftest.err
2033  fi
2034  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035  test $ac_status = 0; } && {
2036	 test -z "$ac_cxx_werror_flag" ||
2037	 test ! -s conftest.err
2038       } && test -s conftest$ac_exeext && {
2039	 test "$cross_compiling" = yes ||
2040	 test -x conftest$ac_exeext
2041       }; then :
2042  ac_retval=0
2043else
2044  $as_echo "$as_me: failed program was:" >&5
2045sed 's/^/| /' conftest.$ac_ext >&5
2046
2047	ac_retval=1
2048fi
2049  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2050  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2051  # interfere with the next link command; also delete a directory that is
2052  # left behind by Apple's compiler.  We do this before executing the actions.
2053  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2054  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2055  as_fn_set_status $ac_retval
2056
2057} # ac_fn_cxx_try_link
2058cat >config.log <<_ACEOF
2059This file contains any messages produced by compilers while
2060running configure, to aid debugging if configure makes a mistake.
2061
2062It was created by cegobridge $as_me 1.6.1, which was
2063generated by GNU Autoconf 2.69.  Invocation command line was
2064
2065  $ $0 $@
2066
2067_ACEOF
2068exec 5>>config.log
2069{
2070cat <<_ASUNAME
2071## --------- ##
2072## Platform. ##
2073## --------- ##
2074
2075hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2076uname -m = `(uname -m) 2>/dev/null || echo unknown`
2077uname -r = `(uname -r) 2>/dev/null || echo unknown`
2078uname -s = `(uname -s) 2>/dev/null || echo unknown`
2079uname -v = `(uname -v) 2>/dev/null || echo unknown`
2080
2081/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2082/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2083
2084/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2085/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2086/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2087/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2088/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2089/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2090/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2091
2092_ASUNAME
2093
2094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095for as_dir in $PATH
2096do
2097  IFS=$as_save_IFS
2098  test -z "$as_dir" && as_dir=.
2099    $as_echo "PATH: $as_dir"
2100  done
2101IFS=$as_save_IFS
2102
2103} >&5
2104
2105cat >&5 <<_ACEOF
2106
2107
2108## ----------- ##
2109## Core tests. ##
2110## ----------- ##
2111
2112_ACEOF
2113
2114
2115# Keep a trace of the command line.
2116# Strip out --no-create and --no-recursion so they do not pile up.
2117# Strip out --silent because we don't want to record it for future runs.
2118# Also quote any args containing shell meta-characters.
2119# Make two passes to allow for proper duplicate-argument suppression.
2120ac_configure_args=
2121ac_configure_args0=
2122ac_configure_args1=
2123ac_must_keep_next=false
2124for ac_pass in 1 2
2125do
2126  for ac_arg
2127  do
2128    case $ac_arg in
2129    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2130    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2131    | -silent | --silent | --silen | --sile | --sil)
2132      continue ;;
2133    *\'*)
2134      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2135    esac
2136    case $ac_pass in
2137    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2138    2)
2139      as_fn_append ac_configure_args1 " '$ac_arg'"
2140      if test $ac_must_keep_next = true; then
2141	ac_must_keep_next=false # Got value, back to normal.
2142      else
2143	case $ac_arg in
2144	  *=* | --config-cache | -C | -disable-* | --disable-* \
2145	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2146	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2147	  | -with-* | --with-* | -without-* | --without-* | --x)
2148	    case "$ac_configure_args0 " in
2149	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2150	    esac
2151	    ;;
2152	  -* ) ac_must_keep_next=true ;;
2153	esac
2154      fi
2155      as_fn_append ac_configure_args " '$ac_arg'"
2156      ;;
2157    esac
2158  done
2159done
2160{ ac_configure_args0=; unset ac_configure_args0;}
2161{ ac_configure_args1=; unset ac_configure_args1;}
2162
2163# When interrupted or exit'd, cleanup temporary files, and complete
2164# config.log.  We remove comments because anyway the quotes in there
2165# would cause problems or look ugly.
2166# WARNING: Use '\'' to represent an apostrophe within the trap.
2167# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2168trap 'exit_status=$?
2169  # Save into config.log some information that might help in debugging.
2170  {
2171    echo
2172
2173    $as_echo "## ---------------- ##
2174## Cache variables. ##
2175## ---------------- ##"
2176    echo
2177    # The following way of writing the cache mishandles newlines in values,
2178(
2179  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2180    eval ac_val=\$$ac_var
2181    case $ac_val in #(
2182    *${as_nl}*)
2183      case $ac_var in #(
2184      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2185$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2186      esac
2187      case $ac_var in #(
2188      _ | IFS | as_nl) ;; #(
2189      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2190      *) { eval $ac_var=; unset $ac_var;} ;;
2191      esac ;;
2192    esac
2193  done
2194  (set) 2>&1 |
2195    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2196    *${as_nl}ac_space=\ *)
2197      sed -n \
2198	"s/'\''/'\''\\\\'\'''\''/g;
2199	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2200      ;; #(
2201    *)
2202      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2203      ;;
2204    esac |
2205    sort
2206)
2207    echo
2208
2209    $as_echo "## ----------------- ##
2210## Output variables. ##
2211## ----------------- ##"
2212    echo
2213    for ac_var in $ac_subst_vars
2214    do
2215      eval ac_val=\$$ac_var
2216      case $ac_val in
2217      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2218      esac
2219      $as_echo "$ac_var='\''$ac_val'\''"
2220    done | sort
2221    echo
2222
2223    if test -n "$ac_subst_files"; then
2224      $as_echo "## ------------------- ##
2225## File substitutions. ##
2226## ------------------- ##"
2227      echo
2228      for ac_var in $ac_subst_files
2229      do
2230	eval ac_val=\$$ac_var
2231	case $ac_val in
2232	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2233	esac
2234	$as_echo "$ac_var='\''$ac_val'\''"
2235      done | sort
2236      echo
2237    fi
2238
2239    if test -s confdefs.h; then
2240      $as_echo "## ----------- ##
2241## confdefs.h. ##
2242## ----------- ##"
2243      echo
2244      cat confdefs.h
2245      echo
2246    fi
2247    test "$ac_signal" != 0 &&
2248      $as_echo "$as_me: caught signal $ac_signal"
2249    $as_echo "$as_me: exit $exit_status"
2250  } >&5
2251  rm -f core *.core core.conftest.* &&
2252    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2253    exit $exit_status
2254' 0
2255for ac_signal in 1 2 13 15; do
2256  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2257done
2258ac_signal=0
2259
2260# confdefs.h avoids OS command line length limits that DEFS can exceed.
2261rm -f -r conftest* confdefs.h
2262
2263$as_echo "/* confdefs.h */" > confdefs.h
2264
2265# Predefined preprocessor variables.
2266
2267cat >>confdefs.h <<_ACEOF
2268#define PACKAGE_NAME "$PACKAGE_NAME"
2269_ACEOF
2270
2271cat >>confdefs.h <<_ACEOF
2272#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2273_ACEOF
2274
2275cat >>confdefs.h <<_ACEOF
2276#define PACKAGE_VERSION "$PACKAGE_VERSION"
2277_ACEOF
2278
2279cat >>confdefs.h <<_ACEOF
2280#define PACKAGE_STRING "$PACKAGE_STRING"
2281_ACEOF
2282
2283cat >>confdefs.h <<_ACEOF
2284#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2285_ACEOF
2286
2287cat >>confdefs.h <<_ACEOF
2288#define PACKAGE_URL "$PACKAGE_URL"
2289_ACEOF
2290
2291
2292# Let the site file select an alternate cache file if it wants to.
2293# Prefer an explicitly selected file to automatically selected ones.
2294ac_site_file1=NONE
2295ac_site_file2=NONE
2296if test -n "$CONFIG_SITE"; then
2297  # We do not want a PATH search for config.site.
2298  case $CONFIG_SITE in #((
2299    -*)  ac_site_file1=./$CONFIG_SITE;;
2300    */*) ac_site_file1=$CONFIG_SITE;;
2301    *)   ac_site_file1=./$CONFIG_SITE;;
2302  esac
2303elif test "x$prefix" != xNONE; then
2304  ac_site_file1=$prefix/share/config.site
2305  ac_site_file2=$prefix/etc/config.site
2306else
2307  ac_site_file1=$ac_default_prefix/share/config.site
2308  ac_site_file2=$ac_default_prefix/etc/config.site
2309fi
2310for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2311do
2312  test "x$ac_site_file" = xNONE && continue
2313  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2314    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2315$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2316    sed 's/^/| /' "$ac_site_file" >&5
2317    . "$ac_site_file" \
2318      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2319$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2320as_fn_error $? "failed to load site script $ac_site_file
2321See \`config.log' for more details" "$LINENO" 5; }
2322  fi
2323done
2324
2325if test -r "$cache_file"; then
2326  # Some versions of bash will fail to source /dev/null (special files
2327  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2328  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2329    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2330$as_echo "$as_me: loading cache $cache_file" >&6;}
2331    case $cache_file in
2332      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2333      *)                      . "./$cache_file";;
2334    esac
2335  fi
2336else
2337  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2338$as_echo "$as_me: creating cache $cache_file" >&6;}
2339  >$cache_file
2340fi
2341
2342# Check that the precious variables saved in the cache have kept the same
2343# value.
2344ac_cache_corrupted=false
2345for ac_var in $ac_precious_vars; do
2346  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2347  eval ac_new_set=\$ac_env_${ac_var}_set
2348  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2349  eval ac_new_val=\$ac_env_${ac_var}_value
2350  case $ac_old_set,$ac_new_set in
2351    set,)
2352      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2353$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2354      ac_cache_corrupted=: ;;
2355    ,set)
2356      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2357$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2358      ac_cache_corrupted=: ;;
2359    ,);;
2360    *)
2361      if test "x$ac_old_val" != "x$ac_new_val"; then
2362	# differences in whitespace do not lead to failure.
2363	ac_old_val_w=`echo x $ac_old_val`
2364	ac_new_val_w=`echo x $ac_new_val`
2365	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2366	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2367$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2368	  ac_cache_corrupted=:
2369	else
2370	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2371$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2372	  eval $ac_var=\$ac_old_val
2373	fi
2374	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2375$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2376	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2377$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2378      fi;;
2379  esac
2380  # Pass precious variables to config.status.
2381  if test "$ac_new_set" = set; then
2382    case $ac_new_val in
2383    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2384    *) ac_arg=$ac_var=$ac_new_val ;;
2385    esac
2386    case " $ac_configure_args " in
2387      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2388      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2389    esac
2390  fi
2391done
2392if $ac_cache_corrupted; then
2393  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2394$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2395  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2396$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2397  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2398fi
2399## -------------------- ##
2400## Main body of script. ##
2401## -------------------- ##
2402
2403ac_ext=c
2404ac_cpp='$CPP $CPPFLAGS'
2405ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2406ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2407ac_compiler_gnu=$ac_cv_c_compiler_gnu
2408
2409
2410ac_aux_dir=
2411for ac_dir in build-aux "$srcdir"/build-aux; do
2412  if test -f "$ac_dir/install-sh"; then
2413    ac_aux_dir=$ac_dir
2414    ac_install_sh="$ac_aux_dir/install-sh -c"
2415    break
2416  elif test -f "$ac_dir/install.sh"; then
2417    ac_aux_dir=$ac_dir
2418    ac_install_sh="$ac_aux_dir/install.sh -c"
2419    break
2420  elif test -f "$ac_dir/shtool"; then
2421    ac_aux_dir=$ac_dir
2422    ac_install_sh="$ac_aux_dir/shtool install -c"
2423    break
2424  fi
2425done
2426if test -z "$ac_aux_dir"; then
2427  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2428fi
2429
2430# These three variables are undocumented and unsupported,
2431# and are intended to be withdrawn in a future Autoconf release.
2432# They can cause serious problems if a builder's source tree is in a directory
2433# whose full name contains unusual characters.
2434ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2435ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2436ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2437
2438
2439
2440
2441am__api_version='1.13'
2442
2443# Find a good install program.  We prefer a C program (faster),
2444# so one script is as good as another.  But avoid the broken or
2445# incompatible versions:
2446# SysV /etc/install, /usr/sbin/install
2447# SunOS /usr/etc/install
2448# IRIX /sbin/install
2449# AIX /bin/install
2450# AmigaOS /C/install, which installs bootblocks on floppy discs
2451# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2452# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2453# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2454# OS/2's system install, which has a completely different semantic
2455# ./install, which can be erroneously created by make from ./install.sh.
2456# Reject install programs that cannot install multiple files.
2457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2458$as_echo_n "checking for a BSD-compatible install... " >&6; }
2459if test -z "$INSTALL"; then
2460if ${ac_cv_path_install+:} false; then :
2461  $as_echo_n "(cached) " >&6
2462else
2463  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464for as_dir in $PATH
2465do
2466  IFS=$as_save_IFS
2467  test -z "$as_dir" && as_dir=.
2468    # Account for people who put trailing slashes in PATH elements.
2469case $as_dir/ in #((
2470  ./ | .// | /[cC]/* | \
2471  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2472  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2473  /usr/ucb/* ) ;;
2474  *)
2475    # OSF1 and SCO ODT 3.0 have their own names for install.
2476    # Don't use installbsd from OSF since it installs stuff as root
2477    # by default.
2478    for ac_prog in ginstall scoinst install; do
2479      for ac_exec_ext in '' $ac_executable_extensions; do
2480	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2481	  if test $ac_prog = install &&
2482	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2483	    # AIX install.  It has an incompatible calling convention.
2484	    :
2485	  elif test $ac_prog = install &&
2486	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2487	    # program-specific install script used by HP pwplus--don't use.
2488	    :
2489	  else
2490	    rm -rf conftest.one conftest.two conftest.dir
2491	    echo one > conftest.one
2492	    echo two > conftest.two
2493	    mkdir conftest.dir
2494	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2495	      test -s conftest.one && test -s conftest.two &&
2496	      test -s conftest.dir/conftest.one &&
2497	      test -s conftest.dir/conftest.two
2498	    then
2499	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2500	      break 3
2501	    fi
2502	  fi
2503	fi
2504      done
2505    done
2506    ;;
2507esac
2508
2509  done
2510IFS=$as_save_IFS
2511
2512rm -rf conftest.one conftest.two conftest.dir
2513
2514fi
2515  if test "${ac_cv_path_install+set}" = set; then
2516    INSTALL=$ac_cv_path_install
2517  else
2518    # As a last resort, use the slow shell script.  Don't cache a
2519    # value for INSTALL within a source directory, because that will
2520    # break other packages using the cache if that directory is
2521    # removed, or if the value is a relative name.
2522    INSTALL=$ac_install_sh
2523  fi
2524fi
2525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2526$as_echo "$INSTALL" >&6; }
2527
2528# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2529# It thinks the first close brace ends the variable substitution.
2530test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2531
2532test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2533
2534test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2535
2536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2537$as_echo_n "checking whether build environment is sane... " >&6; }
2538# Reject unsafe characters in $srcdir or the absolute working directory
2539# name.  Accept space and tab only in the latter.
2540am_lf='
2541'
2542case `pwd` in
2543  *[\\\"\#\$\&\'\`$am_lf]*)
2544    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2545esac
2546case $srcdir in
2547  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2548    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2549esac
2550
2551# Do 'set' in a subshell so we don't clobber the current shell's
2552# arguments.  Must try -L first in case configure is actually a
2553# symlink; some systems play weird games with the mod time of symlinks
2554# (eg FreeBSD returns the mod time of the symlink's containing
2555# directory).
2556if (
2557   am_has_slept=no
2558   for am_try in 1 2; do
2559     echo "timestamp, slept: $am_has_slept" > conftest.file
2560     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2561     if test "$*" = "X"; then
2562	# -L didn't work.
2563	set X `ls -t "$srcdir/configure" conftest.file`
2564     fi
2565     if test "$*" != "X $srcdir/configure conftest.file" \
2566	&& test "$*" != "X conftest.file $srcdir/configure"; then
2567
2568	# If neither matched, then we have a broken ls.  This can happen
2569	# if, for instance, CONFIG_SHELL is bash and it inherits a
2570	# broken ls alias from the environment.  This has actually
2571	# happened.  Such a system could not be considered "sane".
2572	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2573  alias in your environment" "$LINENO" 5
2574     fi
2575     if test "$2" = conftest.file || test $am_try -eq 2; then
2576       break
2577     fi
2578     # Just in case.
2579     sleep 1
2580     am_has_slept=yes
2581   done
2582   test "$2" = conftest.file
2583   )
2584then
2585   # Ok.
2586   :
2587else
2588   as_fn_error $? "newly created file is older than distributed files!
2589Check your system clock" "$LINENO" 5
2590fi
2591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2592$as_echo "yes" >&6; }
2593# If we didn't sleep, we still need to ensure time stamps of config.status and
2594# generated files are strictly newer.
2595am_sleep_pid=
2596if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2597  ( sleep 1 ) &
2598  am_sleep_pid=$!
2599fi
2600
2601rm -f conftest.file
2602
2603test "$program_prefix" != NONE &&
2604  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2605# Use a double $ so make ignores it.
2606test "$program_suffix" != NONE &&
2607  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2608# Double any \ or $.
2609# By default was `s,x,x', remove it if useless.
2610ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2611program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2612
2613# expand $ac_aux_dir to an absolute path
2614am_aux_dir=`cd $ac_aux_dir && pwd`
2615
2616if test x"${MISSING+set}" != xset; then
2617  case $am_aux_dir in
2618  *\ * | *\	*)
2619    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2620  *)
2621    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2622  esac
2623fi
2624# Use eval to expand $SHELL
2625if eval "$MISSING --is-lightweight"; then
2626  am_missing_run="$MISSING "
2627else
2628  am_missing_run=
2629  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2630$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2631fi
2632
2633if test x"${install_sh}" != xset; then
2634  case $am_aux_dir in
2635  *\ * | *\	*)
2636    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2637  *)
2638    install_sh="\${SHELL} $am_aux_dir/install-sh"
2639  esac
2640fi
2641
2642# Installed binaries are usually stripped using 'strip' when the user
2643# run "make install-strip".  However 'strip' might not be the right
2644# tool to use in cross-compilation environments, therefore Automake
2645# will honor the 'STRIP' environment variable to overrule this program.
2646if test "$cross_compiling" != no; then
2647  if test -n "$ac_tool_prefix"; then
2648  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2649set dummy ${ac_tool_prefix}strip; ac_word=$2
2650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2651$as_echo_n "checking for $ac_word... " >&6; }
2652if ${ac_cv_prog_STRIP+:} false; then :
2653  $as_echo_n "(cached) " >&6
2654else
2655  if test -n "$STRIP"; then
2656  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2657else
2658as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659for as_dir in $PATH
2660do
2661  IFS=$as_save_IFS
2662  test -z "$as_dir" && as_dir=.
2663    for ac_exec_ext in '' $ac_executable_extensions; do
2664  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2665    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2666    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667    break 2
2668  fi
2669done
2670  done
2671IFS=$as_save_IFS
2672
2673fi
2674fi
2675STRIP=$ac_cv_prog_STRIP
2676if test -n "$STRIP"; then
2677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2678$as_echo "$STRIP" >&6; }
2679else
2680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2681$as_echo "no" >&6; }
2682fi
2683
2684
2685fi
2686if test -z "$ac_cv_prog_STRIP"; then
2687  ac_ct_STRIP=$STRIP
2688  # Extract the first word of "strip", so it can be a program name with args.
2689set dummy strip; ac_word=$2
2690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691$as_echo_n "checking for $ac_word... " >&6; }
2692if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2693  $as_echo_n "(cached) " >&6
2694else
2695  if test -n "$ac_ct_STRIP"; then
2696  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2697else
2698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2699for as_dir in $PATH
2700do
2701  IFS=$as_save_IFS
2702  test -z "$as_dir" && as_dir=.
2703    for ac_exec_ext in '' $ac_executable_extensions; do
2704  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2705    ac_cv_prog_ac_ct_STRIP="strip"
2706    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2707    break 2
2708  fi
2709done
2710  done
2711IFS=$as_save_IFS
2712
2713fi
2714fi
2715ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2716if test -n "$ac_ct_STRIP"; then
2717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2718$as_echo "$ac_ct_STRIP" >&6; }
2719else
2720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721$as_echo "no" >&6; }
2722fi
2723
2724  if test "x$ac_ct_STRIP" = x; then
2725    STRIP=":"
2726  else
2727    case $cross_compiling:$ac_tool_warned in
2728yes:)
2729{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2730$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2731ac_tool_warned=yes ;;
2732esac
2733    STRIP=$ac_ct_STRIP
2734  fi
2735else
2736  STRIP="$ac_cv_prog_STRIP"
2737fi
2738
2739fi
2740INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2741
2742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2743$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2744if test -z "$MKDIR_P"; then
2745  if ${ac_cv_path_mkdir+:} false; then :
2746  $as_echo_n "(cached) " >&6
2747else
2748  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2750do
2751  IFS=$as_save_IFS
2752  test -z "$as_dir" && as_dir=.
2753    for ac_prog in mkdir gmkdir; do
2754	 for ac_exec_ext in '' $ac_executable_extensions; do
2755	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2756	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2757	     'mkdir (GNU coreutils) '* | \
2758	     'mkdir (coreutils) '* | \
2759	     'mkdir (fileutils) '4.1*)
2760	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2761	       break 3;;
2762	   esac
2763	 done
2764       done
2765  done
2766IFS=$as_save_IFS
2767
2768fi
2769
2770  test -d ./--version && rmdir ./--version
2771  if test "${ac_cv_path_mkdir+set}" = set; then
2772    MKDIR_P="$ac_cv_path_mkdir -p"
2773  else
2774    # As a last resort, use the slow shell script.  Don't cache a
2775    # value for MKDIR_P within a source directory, because that will
2776    # break other packages using the cache if that directory is
2777    # removed, or if the value is a relative name.
2778    MKDIR_P="$ac_install_sh -d"
2779  fi
2780fi
2781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2782$as_echo "$MKDIR_P" >&6; }
2783
2784for ac_prog in gawk mawk nawk awk
2785do
2786  # Extract the first word of "$ac_prog", so it can be a program name with args.
2787set dummy $ac_prog; ac_word=$2
2788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2789$as_echo_n "checking for $ac_word... " >&6; }
2790if ${ac_cv_prog_AWK+:} false; then :
2791  $as_echo_n "(cached) " >&6
2792else
2793  if test -n "$AWK"; then
2794  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2795else
2796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797for as_dir in $PATH
2798do
2799  IFS=$as_save_IFS
2800  test -z "$as_dir" && as_dir=.
2801    for ac_exec_ext in '' $ac_executable_extensions; do
2802  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803    ac_cv_prog_AWK="$ac_prog"
2804    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2805    break 2
2806  fi
2807done
2808  done
2809IFS=$as_save_IFS
2810
2811fi
2812fi
2813AWK=$ac_cv_prog_AWK
2814if test -n "$AWK"; then
2815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2816$as_echo "$AWK" >&6; }
2817else
2818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2819$as_echo "no" >&6; }
2820fi
2821
2822
2823  test -n "$AWK" && break
2824done
2825
2826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2827$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2828set x ${MAKE-make}
2829ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2830if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2831  $as_echo_n "(cached) " >&6
2832else
2833  cat >conftest.make <<\_ACEOF
2834SHELL = /bin/sh
2835all:
2836	@echo '@@@%%%=$(MAKE)=@@@%%%'
2837_ACEOF
2838# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2839case `${MAKE-make} -f conftest.make 2>/dev/null` in
2840  *@@@%%%=?*=@@@%%%*)
2841    eval ac_cv_prog_make_${ac_make}_set=yes;;
2842  *)
2843    eval ac_cv_prog_make_${ac_make}_set=no;;
2844esac
2845rm -f conftest.make
2846fi
2847if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2849$as_echo "yes" >&6; }
2850  SET_MAKE=
2851else
2852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2853$as_echo "no" >&6; }
2854  SET_MAKE="MAKE=${MAKE-make}"
2855fi
2856
2857rm -rf .tst 2>/dev/null
2858mkdir .tst 2>/dev/null
2859if test -d .tst; then
2860  am__leading_dot=.
2861else
2862  am__leading_dot=_
2863fi
2864rmdir .tst 2>/dev/null
2865
2866# Check whether --enable-silent-rules was given.
2867if test "${enable_silent_rules+set}" = set; then :
2868  enableval=$enable_silent_rules;
2869fi
2870
2871case $enable_silent_rules in # (((
2872  yes) AM_DEFAULT_VERBOSITY=0;;
2873   no) AM_DEFAULT_VERBOSITY=1;;
2874    *) AM_DEFAULT_VERBOSITY=1;;
2875esac
2876am_make=${MAKE-make}
2877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2878$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2879if ${am_cv_make_support_nested_variables+:} false; then :
2880  $as_echo_n "(cached) " >&6
2881else
2882  if $as_echo 'TRUE=$(BAR$(V))
2883BAR0=false
2884BAR1=true
2885V=1
2886am__doit:
2887	@$(TRUE)
2888.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2889  am_cv_make_support_nested_variables=yes
2890else
2891  am_cv_make_support_nested_variables=no
2892fi
2893fi
2894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2895$as_echo "$am_cv_make_support_nested_variables" >&6; }
2896if test $am_cv_make_support_nested_variables = yes; then
2897    AM_V='$(V)'
2898  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2899else
2900  AM_V=$AM_DEFAULT_VERBOSITY
2901  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2902fi
2903AM_BACKSLASH='\'
2904
2905if test "`cd $srcdir && pwd`" != "`pwd`"; then
2906  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2907  # is not polluted with repeated "-I."
2908  am__isrc=' -I$(srcdir)'
2909  # test to see if srcdir already configured
2910  if test -f $srcdir/config.status; then
2911    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2912  fi
2913fi
2914
2915# test whether we have cygpath
2916if test -z "$CYGPATH_W"; then
2917  if (cygpath --version) >/dev/null 2>/dev/null; then
2918    CYGPATH_W='cygpath -w'
2919  else
2920    CYGPATH_W=echo
2921  fi
2922fi
2923
2924
2925# Define the identity of the package.
2926 PACKAGE='cegobridge'
2927 VERSION='1.6.1'
2928
2929
2930cat >>confdefs.h <<_ACEOF
2931#define PACKAGE "$PACKAGE"
2932_ACEOF
2933
2934
2935cat >>confdefs.h <<_ACEOF
2936#define VERSION "$VERSION"
2937_ACEOF
2938
2939# Some tools Automake needs.
2940
2941ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2942
2943
2944AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2945
2946
2947AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2948
2949
2950AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2951
2952
2953MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2954
2955# For better backward compatibility.  To be removed once Automake 1.9.x
2956# dies out for good.  For more background, see:
2957# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2958# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2959mkdir_p='$(MKDIR_P)'
2960
2961# We need awk for the "check" target.  The system "awk" is bad on
2962# some platforms.
2963# Always define AMTAR for backward compatibility.  Yes, it's still used
2964# in the wild :-(  We should find a proper way to deprecate it ...
2965AMTAR='$${TAR-tar}'
2966
2967am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2968
2969
2970
2971
2972
2973
2974ac_config_headers="$ac_config_headers config.h"
2975
2976
2977
2978
2979# Checks for programs.
2980ac_ext=cpp
2981ac_cpp='$CXXCPP $CPPFLAGS'
2982ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2983ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2984ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2985if test -z "$CXX"; then
2986  if test -n "$CCC"; then
2987    CXX=$CCC
2988  else
2989    if test -n "$ac_tool_prefix"; then
2990  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2991  do
2992    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2993set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2995$as_echo_n "checking for $ac_word... " >&6; }
2996if ${ac_cv_prog_CXX+:} false; then :
2997  $as_echo_n "(cached) " >&6
2998else
2999  if test -n "$CXX"; then
3000  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3001else
3002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003for as_dir in $PATH
3004do
3005  IFS=$as_save_IFS
3006  test -z "$as_dir" && as_dir=.
3007    for ac_exec_ext in '' $ac_executable_extensions; do
3008  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3009    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3010    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3011    break 2
3012  fi
3013done
3014  done
3015IFS=$as_save_IFS
3016
3017fi
3018fi
3019CXX=$ac_cv_prog_CXX
3020if test -n "$CXX"; then
3021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3022$as_echo "$CXX" >&6; }
3023else
3024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025$as_echo "no" >&6; }
3026fi
3027
3028
3029    test -n "$CXX" && break
3030  done
3031fi
3032if test -z "$CXX"; then
3033  ac_ct_CXX=$CXX
3034  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3035do
3036  # Extract the first word of "$ac_prog", so it can be a program name with args.
3037set dummy $ac_prog; ac_word=$2
3038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3039$as_echo_n "checking for $ac_word... " >&6; }
3040if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3041  $as_echo_n "(cached) " >&6
3042else
3043  if test -n "$ac_ct_CXX"; then
3044  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3045else
3046as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047for as_dir in $PATH
3048do
3049  IFS=$as_save_IFS
3050  test -z "$as_dir" && as_dir=.
3051    for ac_exec_ext in '' $ac_executable_extensions; do
3052  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3053    ac_cv_prog_ac_ct_CXX="$ac_prog"
3054    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055    break 2
3056  fi
3057done
3058  done
3059IFS=$as_save_IFS
3060
3061fi
3062fi
3063ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3064if test -n "$ac_ct_CXX"; then
3065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3066$as_echo "$ac_ct_CXX" >&6; }
3067else
3068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3069$as_echo "no" >&6; }
3070fi
3071
3072
3073  test -n "$ac_ct_CXX" && break
3074done
3075
3076  if test "x$ac_ct_CXX" = x; then
3077    CXX="g++"
3078  else
3079    case $cross_compiling:$ac_tool_warned in
3080yes:)
3081{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3082$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3083ac_tool_warned=yes ;;
3084esac
3085    CXX=$ac_ct_CXX
3086  fi
3087fi
3088
3089  fi
3090fi
3091# Provide some information about the compiler.
3092$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3093set X $ac_compile
3094ac_compiler=$2
3095for ac_option in --version -v -V -qversion; do
3096  { { ac_try="$ac_compiler $ac_option >&5"
3097case "(($ac_try" in
3098  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099  *) ac_try_echo=$ac_try;;
3100esac
3101eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3102$as_echo "$ac_try_echo"; } >&5
3103  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3104  ac_status=$?
3105  if test -s conftest.err; then
3106    sed '10a\
3107... rest of stderr output deleted ...
3108         10q' conftest.err >conftest.er1
3109    cat conftest.er1 >&5
3110  fi
3111  rm -f conftest.er1 conftest.err
3112  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3113  test $ac_status = 0; }
3114done
3115
3116cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3117/* end confdefs.h.  */
3118
3119int
3120main ()
3121{
3122
3123  ;
3124  return 0;
3125}
3126_ACEOF
3127ac_clean_files_save=$ac_clean_files
3128ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3129# Try to create an executable without -o first, disregard a.out.
3130# It will help us diagnose broken compilers, and finding out an intuition
3131# of exeext.
3132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3133$as_echo_n "checking whether the C++ compiler works... " >&6; }
3134ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3135
3136# The possible output files:
3137ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3138
3139ac_rmfiles=
3140for ac_file in $ac_files
3141do
3142  case $ac_file in
3143    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3144    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3145  esac
3146done
3147rm -f $ac_rmfiles
3148
3149if { { ac_try="$ac_link_default"
3150case "(($ac_try" in
3151  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3152  *) ac_try_echo=$ac_try;;
3153esac
3154eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3155$as_echo "$ac_try_echo"; } >&5
3156  (eval "$ac_link_default") 2>&5
3157  ac_status=$?
3158  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3159  test $ac_status = 0; }; then :
3160  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3161# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3162# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3163# so that the user can short-circuit this test for compilers unknown to
3164# Autoconf.
3165for ac_file in $ac_files ''
3166do
3167  test -f "$ac_file" || continue
3168  case $ac_file in
3169    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3170	;;
3171    [ab].out )
3172	# We found the default executable, but exeext='' is most
3173	# certainly right.
3174	break;;
3175    *.* )
3176	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3177	then :; else
3178	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3179	fi
3180	# We set ac_cv_exeext here because the later test for it is not
3181	# safe: cross compilers may not add the suffix if given an `-o'
3182	# argument, so we may need to know it at that point already.
3183	# Even if this section looks crufty: it has the advantage of
3184	# actually working.
3185	break;;
3186    * )
3187	break;;
3188  esac
3189done
3190test "$ac_cv_exeext" = no && ac_cv_exeext=
3191
3192else
3193  ac_file=''
3194fi
3195if test -z "$ac_file"; then :
3196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197$as_echo "no" >&6; }
3198$as_echo "$as_me: failed program was:" >&5
3199sed 's/^/| /' conftest.$ac_ext >&5
3200
3201{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3202$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3203as_fn_error 77 "C++ compiler cannot create executables
3204See \`config.log' for more details" "$LINENO" 5; }
3205else
3206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3207$as_echo "yes" >&6; }
3208fi
3209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3210$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3212$as_echo "$ac_file" >&6; }
3213ac_exeext=$ac_cv_exeext
3214
3215rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3216ac_clean_files=$ac_clean_files_save
3217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3218$as_echo_n "checking for suffix of executables... " >&6; }
3219if { { ac_try="$ac_link"
3220case "(($ac_try" in
3221  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3222  *) ac_try_echo=$ac_try;;
3223esac
3224eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3225$as_echo "$ac_try_echo"; } >&5
3226  (eval "$ac_link") 2>&5
3227  ac_status=$?
3228  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3229  test $ac_status = 0; }; then :
3230  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3231# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3232# work properly (i.e., refer to `conftest.exe'), while it won't with
3233# `rm'.
3234for ac_file in conftest.exe conftest conftest.*; do
3235  test -f "$ac_file" || continue
3236  case $ac_file in
3237    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3238    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3239	  break;;
3240    * ) break;;
3241  esac
3242done
3243else
3244  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3245$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3246as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3247See \`config.log' for more details" "$LINENO" 5; }
3248fi
3249rm -f conftest conftest$ac_cv_exeext
3250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3251$as_echo "$ac_cv_exeext" >&6; }
3252
3253rm -f conftest.$ac_ext
3254EXEEXT=$ac_cv_exeext
3255ac_exeext=$EXEEXT
3256cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257/* end confdefs.h.  */
3258#include <stdio.h>
3259int
3260main ()
3261{
3262FILE *f = fopen ("conftest.out", "w");
3263 return ferror (f) || fclose (f) != 0;
3264
3265  ;
3266  return 0;
3267}
3268_ACEOF
3269ac_clean_files="$ac_clean_files conftest.out"
3270# Check that the compiler produces executables we can run.  If not, either
3271# the compiler is broken, or we cross compile.
3272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3273$as_echo_n "checking whether we are cross compiling... " >&6; }
3274if test "$cross_compiling" != yes; then
3275  { { ac_try="$ac_link"
3276case "(($ac_try" in
3277  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278  *) ac_try_echo=$ac_try;;
3279esac
3280eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3281$as_echo "$ac_try_echo"; } >&5
3282  (eval "$ac_link") 2>&5
3283  ac_status=$?
3284  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3285  test $ac_status = 0; }
3286  if { ac_try='./conftest$ac_cv_exeext'
3287  { { case "(($ac_try" in
3288  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289  *) ac_try_echo=$ac_try;;
3290esac
3291eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3292$as_echo "$ac_try_echo"; } >&5
3293  (eval "$ac_try") 2>&5
3294  ac_status=$?
3295  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3296  test $ac_status = 0; }; }; then
3297    cross_compiling=no
3298  else
3299    if test "$cross_compiling" = maybe; then
3300	cross_compiling=yes
3301    else
3302	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3303$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3304as_fn_error $? "cannot run C++ compiled programs.
3305If you meant to cross compile, use \`--host'.
3306See \`config.log' for more details" "$LINENO" 5; }
3307    fi
3308  fi
3309fi
3310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3311$as_echo "$cross_compiling" >&6; }
3312
3313rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3314ac_clean_files=$ac_clean_files_save
3315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3316$as_echo_n "checking for suffix of object files... " >&6; }
3317if ${ac_cv_objext+:} false; then :
3318  $as_echo_n "(cached) " >&6
3319else
3320  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3321/* end confdefs.h.  */
3322
3323int
3324main ()
3325{
3326
3327  ;
3328  return 0;
3329}
3330_ACEOF
3331rm -f conftest.o conftest.obj
3332if { { ac_try="$ac_compile"
3333case "(($ac_try" in
3334  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335  *) ac_try_echo=$ac_try;;
3336esac
3337eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3338$as_echo "$ac_try_echo"; } >&5
3339  (eval "$ac_compile") 2>&5
3340  ac_status=$?
3341  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3342  test $ac_status = 0; }; then :
3343  for ac_file in conftest.o conftest.obj conftest.*; do
3344  test -f "$ac_file" || continue;
3345  case $ac_file in
3346    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3347    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3348       break;;
3349  esac
3350done
3351else
3352  $as_echo "$as_me: failed program was:" >&5
3353sed 's/^/| /' conftest.$ac_ext >&5
3354
3355{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3357as_fn_error $? "cannot compute suffix of object files: cannot compile
3358See \`config.log' for more details" "$LINENO" 5; }
3359fi
3360rm -f conftest.$ac_cv_objext conftest.$ac_ext
3361fi
3362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3363$as_echo "$ac_cv_objext" >&6; }
3364OBJEXT=$ac_cv_objext
3365ac_objext=$OBJEXT
3366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3367$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3368if ${ac_cv_cxx_compiler_gnu+:} false; then :
3369  $as_echo_n "(cached) " >&6
3370else
3371  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372/* end confdefs.h.  */
3373
3374int
3375main ()
3376{
3377#ifndef __GNUC__
3378       choke me
3379#endif
3380
3381  ;
3382  return 0;
3383}
3384_ACEOF
3385if ac_fn_cxx_try_compile "$LINENO"; then :
3386  ac_compiler_gnu=yes
3387else
3388  ac_compiler_gnu=no
3389fi
3390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3391ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3392
3393fi
3394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3395$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3396if test $ac_compiler_gnu = yes; then
3397  GXX=yes
3398else
3399  GXX=
3400fi
3401ac_test_CXXFLAGS=${CXXFLAGS+set}
3402ac_save_CXXFLAGS=$CXXFLAGS
3403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3404$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3405if ${ac_cv_prog_cxx_g+:} false; then :
3406  $as_echo_n "(cached) " >&6
3407else
3408  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3409   ac_cxx_werror_flag=yes
3410   ac_cv_prog_cxx_g=no
3411   CXXFLAGS="-g"
3412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413/* end confdefs.h.  */
3414
3415int
3416main ()
3417{
3418
3419  ;
3420  return 0;
3421}
3422_ACEOF
3423if ac_fn_cxx_try_compile "$LINENO"; then :
3424  ac_cv_prog_cxx_g=yes
3425else
3426  CXXFLAGS=""
3427      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428/* end confdefs.h.  */
3429
3430int
3431main ()
3432{
3433
3434  ;
3435  return 0;
3436}
3437_ACEOF
3438if ac_fn_cxx_try_compile "$LINENO"; then :
3439
3440else
3441  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3442	 CXXFLAGS="-g"
3443	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444/* end confdefs.h.  */
3445
3446int
3447main ()
3448{
3449
3450  ;
3451  return 0;
3452}
3453_ACEOF
3454if ac_fn_cxx_try_compile "$LINENO"; then :
3455  ac_cv_prog_cxx_g=yes
3456fi
3457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3458fi
3459rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3460fi
3461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3462   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3463fi
3464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3465$as_echo "$ac_cv_prog_cxx_g" >&6; }
3466if test "$ac_test_CXXFLAGS" = set; then
3467  CXXFLAGS=$ac_save_CXXFLAGS
3468elif test $ac_cv_prog_cxx_g = yes; then
3469  if test "$GXX" = yes; then
3470    CXXFLAGS="-g -O2"
3471  else
3472    CXXFLAGS="-g"
3473  fi
3474else
3475  if test "$GXX" = yes; then
3476    CXXFLAGS="-O2"
3477  else
3478    CXXFLAGS=
3479  fi
3480fi
3481ac_ext=c
3482ac_cpp='$CPP $CPPFLAGS'
3483ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485ac_compiler_gnu=$ac_cv_c_compiler_gnu
3486DEPDIR="${am__leading_dot}deps"
3487
3488ac_config_commands="$ac_config_commands depfiles"
3489
3490
3491am_make=${MAKE-make}
3492cat > confinc << 'END'
3493am__doit:
3494	@echo this is the am__doit target
3495.PHONY: am__doit
3496END
3497# If we don't find an include directive, just comment out the code.
3498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3499$as_echo_n "checking for style of include used by $am_make... " >&6; }
3500am__include="#"
3501am__quote=
3502_am_result=none
3503# First try GNU make style include.
3504echo "include confinc" > confmf
3505# Ignore all kinds of additional output from 'make'.
3506case `$am_make -s -f confmf 2> /dev/null` in #(
3507*the\ am__doit\ target*)
3508  am__include=include
3509  am__quote=
3510  _am_result=GNU
3511  ;;
3512esac
3513# Now try BSD make style include.
3514if test "$am__include" = "#"; then
3515   echo '.include "confinc"' > confmf
3516   case `$am_make -s -f confmf 2> /dev/null` in #(
3517   *the\ am__doit\ target*)
3518     am__include=.include
3519     am__quote="\""
3520     _am_result=BSD
3521     ;;
3522   esac
3523fi
3524
3525
3526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3527$as_echo "$_am_result" >&6; }
3528rm -f confinc confmf
3529
3530# Check whether --enable-dependency-tracking was given.
3531if test "${enable_dependency_tracking+set}" = set; then :
3532  enableval=$enable_dependency_tracking;
3533fi
3534
3535if test "x$enable_dependency_tracking" != xno; then
3536  am_depcomp="$ac_aux_dir/depcomp"
3537  AMDEPBACKSLASH='\'
3538  am__nodep='_no'
3539fi
3540 if test "x$enable_dependency_tracking" != xno; then
3541  AMDEP_TRUE=
3542  AMDEP_FALSE='#'
3543else
3544  AMDEP_TRUE='#'
3545  AMDEP_FALSE=
3546fi
3547
3548
3549
3550depcc="$CXX"  am_compiler_list=
3551
3552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3553$as_echo_n "checking dependency style of $depcc... " >&6; }
3554if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3555  $as_echo_n "(cached) " >&6
3556else
3557  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3558  # We make a subdir and do the tests there.  Otherwise we can end up
3559  # making bogus files that we don't know about and never remove.  For
3560  # instance it was reported that on HP-UX the gcc test will end up
3561  # making a dummy file named 'D' -- because '-MD' means "put the output
3562  # in D".
3563  rm -rf conftest.dir
3564  mkdir conftest.dir
3565  # Copy depcomp to subdir because otherwise we won't find it if we're
3566  # using a relative directory.
3567  cp "$am_depcomp" conftest.dir
3568  cd conftest.dir
3569  # We will build objects and dependencies in a subdirectory because
3570  # it helps to detect inapplicable dependency modes.  For instance
3571  # both Tru64's cc and ICC support -MD to output dependencies as a
3572  # side effect of compilation, but ICC will put the dependencies in
3573  # the current directory while Tru64 will put them in the object
3574  # directory.
3575  mkdir sub
3576
3577  am_cv_CXX_dependencies_compiler_type=none
3578  if test "$am_compiler_list" = ""; then
3579     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3580  fi
3581  am__universal=false
3582  case " $depcc " in #(
3583     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3584     esac
3585
3586  for depmode in $am_compiler_list; do
3587    # Setup a source with many dependencies, because some compilers
3588    # like to wrap large dependency lists on column 80 (with \), and
3589    # we should not choose a depcomp mode which is confused by this.
3590    #
3591    # We need to recreate these files for each test, as the compiler may
3592    # overwrite some of them when testing with obscure command lines.
3593    # This happens at least with the AIX C compiler.
3594    : > sub/conftest.c
3595    for i in 1 2 3 4 5 6; do
3596      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3597      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3598      # Solaris 10 /bin/sh.
3599      echo '/* dummy */' > sub/conftst$i.h
3600    done
3601    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3602
3603    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3604    # mode.  It turns out that the SunPro C++ compiler does not properly
3605    # handle '-M -o', and we need to detect this.  Also, some Intel
3606    # versions had trouble with output in subdirs.
3607    am__obj=sub/conftest.${OBJEXT-o}
3608    am__minus_obj="-o $am__obj"
3609    case $depmode in
3610    gcc)
3611      # This depmode causes a compiler race in universal mode.
3612      test "$am__universal" = false || continue
3613      ;;
3614    nosideeffect)
3615      # After this tag, mechanisms are not by side-effect, so they'll
3616      # only be used when explicitly requested.
3617      if test "x$enable_dependency_tracking" = xyes; then
3618	continue
3619      else
3620	break
3621      fi
3622      ;;
3623    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3624      # This compiler won't grok '-c -o', but also, the minuso test has
3625      # not run yet.  These depmodes are late enough in the game, and
3626      # so weak that their functioning should not be impacted.
3627      am__obj=conftest.${OBJEXT-o}
3628      am__minus_obj=
3629      ;;
3630    none) break ;;
3631    esac
3632    if depmode=$depmode \
3633       source=sub/conftest.c object=$am__obj \
3634       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3635       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3636         >/dev/null 2>conftest.err &&
3637       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3638       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3639       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3640       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3641      # icc doesn't choke on unknown options, it will just issue warnings
3642      # or remarks (even with -Werror).  So we grep stderr for any message
3643      # that says an option was ignored or not supported.
3644      # When given -MP, icc 7.0 and 7.1 complain thusly:
3645      #   icc: Command line warning: ignoring option '-M'; no argument required
3646      # The diagnosis changed in icc 8.0:
3647      #   icc: Command line remark: option '-MP' not supported
3648      if (grep 'ignoring option' conftest.err ||
3649          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3650        am_cv_CXX_dependencies_compiler_type=$depmode
3651        break
3652      fi
3653    fi
3654  done
3655
3656  cd ..
3657  rm -rf conftest.dir
3658else
3659  am_cv_CXX_dependencies_compiler_type=none
3660fi
3661
3662fi
3663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3664$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3665CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3666
3667 if
3668  test "x$enable_dependency_tracking" != xno \
3669  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3670  am__fastdepCXX_TRUE=
3671  am__fastdepCXX_FALSE='#'
3672else
3673  am__fastdepCXX_TRUE='#'
3674  am__fastdepCXX_FALSE=
3675fi
3676
3677
3678for ac_prog in gawk mawk nawk awk
3679do
3680  # Extract the first word of "$ac_prog", so it can be a program name with args.
3681set dummy $ac_prog; ac_word=$2
3682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3683$as_echo_n "checking for $ac_word... " >&6; }
3684if ${ac_cv_prog_AWK+:} false; then :
3685  $as_echo_n "(cached) " >&6
3686else
3687  if test -n "$AWK"; then
3688  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3689else
3690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691for as_dir in $PATH
3692do
3693  IFS=$as_save_IFS
3694  test -z "$as_dir" && as_dir=.
3695    for ac_exec_ext in '' $ac_executable_extensions; do
3696  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3697    ac_cv_prog_AWK="$ac_prog"
3698    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699    break 2
3700  fi
3701done
3702  done
3703IFS=$as_save_IFS
3704
3705fi
3706fi
3707AWK=$ac_cv_prog_AWK
3708if test -n "$AWK"; then
3709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3710$as_echo "$AWK" >&6; }
3711else
3712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713$as_echo "no" >&6; }
3714fi
3715
3716
3717  test -n "$AWK" && break
3718done
3719
3720ac_ext=c
3721ac_cpp='$CPP $CPPFLAGS'
3722ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724ac_compiler_gnu=$ac_cv_c_compiler_gnu
3725if test -n "$ac_tool_prefix"; then
3726  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3727set dummy ${ac_tool_prefix}gcc; ac_word=$2
3728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729$as_echo_n "checking for $ac_word... " >&6; }
3730if ${ac_cv_prog_CC+:} false; then :
3731  $as_echo_n "(cached) " >&6
3732else
3733  if test -n "$CC"; then
3734  ac_cv_prog_CC="$CC" # Let the user override the test.
3735else
3736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3737for as_dir in $PATH
3738do
3739  IFS=$as_save_IFS
3740  test -z "$as_dir" && as_dir=.
3741    for ac_exec_ext in '' $ac_executable_extensions; do
3742  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3743    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3744    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3745    break 2
3746  fi
3747done
3748  done
3749IFS=$as_save_IFS
3750
3751fi
3752fi
3753CC=$ac_cv_prog_CC
3754if test -n "$CC"; then
3755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3756$as_echo "$CC" >&6; }
3757else
3758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759$as_echo "no" >&6; }
3760fi
3761
3762
3763fi
3764if test -z "$ac_cv_prog_CC"; then
3765  ac_ct_CC=$CC
3766  # Extract the first word of "gcc", so it can be a program name with args.
3767set dummy gcc; ac_word=$2
3768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769$as_echo_n "checking for $ac_word... " >&6; }
3770if ${ac_cv_prog_ac_ct_CC+:} false; then :
3771  $as_echo_n "(cached) " >&6
3772else
3773  if test -n "$ac_ct_CC"; then
3774  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3775else
3776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777for as_dir in $PATH
3778do
3779  IFS=$as_save_IFS
3780  test -z "$as_dir" && as_dir=.
3781    for ac_exec_ext in '' $ac_executable_extensions; do
3782  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3783    ac_cv_prog_ac_ct_CC="gcc"
3784    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3785    break 2
3786  fi
3787done
3788  done
3789IFS=$as_save_IFS
3790
3791fi
3792fi
3793ac_ct_CC=$ac_cv_prog_ac_ct_CC
3794if test -n "$ac_ct_CC"; then
3795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3796$as_echo "$ac_ct_CC" >&6; }
3797else
3798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799$as_echo "no" >&6; }
3800fi
3801
3802  if test "x$ac_ct_CC" = x; then
3803    CC=""
3804  else
3805    case $cross_compiling:$ac_tool_warned in
3806yes:)
3807{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3808$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3809ac_tool_warned=yes ;;
3810esac
3811    CC=$ac_ct_CC
3812  fi
3813else
3814  CC="$ac_cv_prog_CC"
3815fi
3816
3817if test -z "$CC"; then
3818          if test -n "$ac_tool_prefix"; then
3819    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3820set dummy ${ac_tool_prefix}cc; ac_word=$2
3821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822$as_echo_n "checking for $ac_word... " >&6; }
3823if ${ac_cv_prog_CC+:} false; then :
3824  $as_echo_n "(cached) " >&6
3825else
3826  if test -n "$CC"; then
3827  ac_cv_prog_CC="$CC" # Let the user override the test.
3828else
3829as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3830for as_dir in $PATH
3831do
3832  IFS=$as_save_IFS
3833  test -z "$as_dir" && as_dir=.
3834    for ac_exec_ext in '' $ac_executable_extensions; do
3835  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3836    ac_cv_prog_CC="${ac_tool_prefix}cc"
3837    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838    break 2
3839  fi
3840done
3841  done
3842IFS=$as_save_IFS
3843
3844fi
3845fi
3846CC=$ac_cv_prog_CC
3847if test -n "$CC"; then
3848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3849$as_echo "$CC" >&6; }
3850else
3851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852$as_echo "no" >&6; }
3853fi
3854
3855
3856  fi
3857fi
3858if test -z "$CC"; then
3859  # Extract the first word of "cc", so it can be a program name with args.
3860set dummy cc; ac_word=$2
3861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862$as_echo_n "checking for $ac_word... " >&6; }
3863if ${ac_cv_prog_CC+:} false; then :
3864  $as_echo_n "(cached) " >&6
3865else
3866  if test -n "$CC"; then
3867  ac_cv_prog_CC="$CC" # Let the user override the test.
3868else
3869  ac_prog_rejected=no
3870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871for as_dir in $PATH
3872do
3873  IFS=$as_save_IFS
3874  test -z "$as_dir" && as_dir=.
3875    for ac_exec_ext in '' $ac_executable_extensions; do
3876  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3877    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3878       ac_prog_rejected=yes
3879       continue
3880     fi
3881    ac_cv_prog_CC="cc"
3882    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3883    break 2
3884  fi
3885done
3886  done
3887IFS=$as_save_IFS
3888
3889if test $ac_prog_rejected = yes; then
3890  # We found a bogon in the path, so make sure we never use it.
3891  set dummy $ac_cv_prog_CC
3892  shift
3893  if test $# != 0; then
3894    # We chose a different compiler from the bogus one.
3895    # However, it has the same basename, so the bogon will be chosen
3896    # first if we set CC to just the basename; use the full file name.
3897    shift
3898    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3899  fi
3900fi
3901fi
3902fi
3903CC=$ac_cv_prog_CC
3904if test -n "$CC"; then
3905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3906$as_echo "$CC" >&6; }
3907else
3908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3909$as_echo "no" >&6; }
3910fi
3911
3912
3913fi
3914if test -z "$CC"; then
3915  if test -n "$ac_tool_prefix"; then
3916  for ac_prog in cl.exe
3917  do
3918    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3919set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3921$as_echo_n "checking for $ac_word... " >&6; }
3922if ${ac_cv_prog_CC+:} false; then :
3923  $as_echo_n "(cached) " >&6
3924else
3925  if test -n "$CC"; then
3926  ac_cv_prog_CC="$CC" # Let the user override the test.
3927else
3928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929for as_dir in $PATH
3930do
3931  IFS=$as_save_IFS
3932  test -z "$as_dir" && as_dir=.
3933    for ac_exec_ext in '' $ac_executable_extensions; do
3934  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3935    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3936    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3937    break 2
3938  fi
3939done
3940  done
3941IFS=$as_save_IFS
3942
3943fi
3944fi
3945CC=$ac_cv_prog_CC
3946if test -n "$CC"; then
3947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3948$as_echo "$CC" >&6; }
3949else
3950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951$as_echo "no" >&6; }
3952fi
3953
3954
3955    test -n "$CC" && break
3956  done
3957fi
3958if test -z "$CC"; then
3959  ac_ct_CC=$CC
3960  for ac_prog in cl.exe
3961do
3962  # Extract the first word of "$ac_prog", so it can be a program name with args.
3963set dummy $ac_prog; ac_word=$2
3964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965$as_echo_n "checking for $ac_word... " >&6; }
3966if ${ac_cv_prog_ac_ct_CC+:} false; then :
3967  $as_echo_n "(cached) " >&6
3968else
3969  if test -n "$ac_ct_CC"; then
3970  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3971else
3972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973for as_dir in $PATH
3974do
3975  IFS=$as_save_IFS
3976  test -z "$as_dir" && as_dir=.
3977    for ac_exec_ext in '' $ac_executable_extensions; do
3978  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979    ac_cv_prog_ac_ct_CC="$ac_prog"
3980    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3981    break 2
3982  fi
3983done
3984  done
3985IFS=$as_save_IFS
3986
3987fi
3988fi
3989ac_ct_CC=$ac_cv_prog_ac_ct_CC
3990if test -n "$ac_ct_CC"; then
3991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3992$as_echo "$ac_ct_CC" >&6; }
3993else
3994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3995$as_echo "no" >&6; }
3996fi
3997
3998
3999  test -n "$ac_ct_CC" && break
4000done
4001
4002  if test "x$ac_ct_CC" = x; then
4003    CC=""
4004  else
4005    case $cross_compiling:$ac_tool_warned in
4006yes:)
4007{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4008$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4009ac_tool_warned=yes ;;
4010esac
4011    CC=$ac_ct_CC
4012  fi
4013fi
4014
4015fi
4016
4017
4018test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4019$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4020as_fn_error $? "no acceptable C compiler found in \$PATH
4021See \`config.log' for more details" "$LINENO" 5; }
4022
4023# Provide some information about the compiler.
4024$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4025set X $ac_compile
4026ac_compiler=$2
4027for ac_option in --version -v -V -qversion; do
4028  { { ac_try="$ac_compiler $ac_option >&5"
4029case "(($ac_try" in
4030  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031  *) ac_try_echo=$ac_try;;
4032esac
4033eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034$as_echo "$ac_try_echo"; } >&5
4035  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4036  ac_status=$?
4037  if test -s conftest.err; then
4038    sed '10a\
4039... rest of stderr output deleted ...
4040         10q' conftest.err >conftest.er1
4041    cat conftest.er1 >&5
4042  fi
4043  rm -f conftest.er1 conftest.err
4044  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4045  test $ac_status = 0; }
4046done
4047
4048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4049$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4050if ${ac_cv_c_compiler_gnu+:} false; then :
4051  $as_echo_n "(cached) " >&6
4052else
4053  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054/* end confdefs.h.  */
4055
4056int
4057main ()
4058{
4059#ifndef __GNUC__
4060       choke me
4061#endif
4062
4063  ;
4064  return 0;
4065}
4066_ACEOF
4067if ac_fn_c_try_compile "$LINENO"; then :
4068  ac_compiler_gnu=yes
4069else
4070  ac_compiler_gnu=no
4071fi
4072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4073ac_cv_c_compiler_gnu=$ac_compiler_gnu
4074
4075fi
4076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4077$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4078if test $ac_compiler_gnu = yes; then
4079  GCC=yes
4080else
4081  GCC=
4082fi
4083ac_test_CFLAGS=${CFLAGS+set}
4084ac_save_CFLAGS=$CFLAGS
4085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4086$as_echo_n "checking whether $CC accepts -g... " >&6; }
4087if ${ac_cv_prog_cc_g+:} false; then :
4088  $as_echo_n "(cached) " >&6
4089else
4090  ac_save_c_werror_flag=$ac_c_werror_flag
4091   ac_c_werror_flag=yes
4092   ac_cv_prog_cc_g=no
4093   CFLAGS="-g"
4094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095/* end confdefs.h.  */
4096
4097int
4098main ()
4099{
4100
4101  ;
4102  return 0;
4103}
4104_ACEOF
4105if ac_fn_c_try_compile "$LINENO"; then :
4106  ac_cv_prog_cc_g=yes
4107else
4108  CFLAGS=""
4109      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110/* end confdefs.h.  */
4111
4112int
4113main ()
4114{
4115
4116  ;
4117  return 0;
4118}
4119_ACEOF
4120if ac_fn_c_try_compile "$LINENO"; then :
4121
4122else
4123  ac_c_werror_flag=$ac_save_c_werror_flag
4124	 CFLAGS="-g"
4125	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126/* end confdefs.h.  */
4127
4128int
4129main ()
4130{
4131
4132  ;
4133  return 0;
4134}
4135_ACEOF
4136if ac_fn_c_try_compile "$LINENO"; then :
4137  ac_cv_prog_cc_g=yes
4138fi
4139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4140fi
4141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142fi
4143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144   ac_c_werror_flag=$ac_save_c_werror_flag
4145fi
4146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4147$as_echo "$ac_cv_prog_cc_g" >&6; }
4148if test "$ac_test_CFLAGS" = set; then
4149  CFLAGS=$ac_save_CFLAGS
4150elif test $ac_cv_prog_cc_g = yes; then
4151  if test "$GCC" = yes; then
4152    CFLAGS="-g -O2"
4153  else
4154    CFLAGS="-g"
4155  fi
4156else
4157  if test "$GCC" = yes; then
4158    CFLAGS="-O2"
4159  else
4160    CFLAGS=
4161  fi
4162fi
4163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4164$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4165if ${ac_cv_prog_cc_c89+:} false; then :
4166  $as_echo_n "(cached) " >&6
4167else
4168  ac_cv_prog_cc_c89=no
4169ac_save_CC=$CC
4170cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171/* end confdefs.h.  */
4172#include <stdarg.h>
4173#include <stdio.h>
4174struct stat;
4175/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4176struct buf { int x; };
4177FILE * (*rcsopen) (struct buf *, struct stat *, int);
4178static char *e (p, i)
4179     char **p;
4180     int i;
4181{
4182  return p[i];
4183}
4184static char *f (char * (*g) (char **, int), char **p, ...)
4185{
4186  char *s;
4187  va_list v;
4188  va_start (v,p);
4189  s = g (p, va_arg (v,int));
4190  va_end (v);
4191  return s;
4192}
4193
4194/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4195   function prototypes and stuff, but not '\xHH' hex character constants.
4196   These don't provoke an error unfortunately, instead are silently treated
4197   as 'x'.  The following induces an error, until -std is added to get
4198   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4199   array size at least.  It's necessary to write '\x00'==0 to get something
4200   that's true only with -std.  */
4201int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4202
4203/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4204   inside strings and character constants.  */
4205#define FOO(x) 'x'
4206int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4207
4208int test (int i, double x);
4209struct s1 {int (*f) (int a);};
4210struct s2 {int (*f) (double a);};
4211int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4212int argc;
4213char **argv;
4214int
4215main ()
4216{
4217return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4218  ;
4219  return 0;
4220}
4221_ACEOF
4222for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4223	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4224do
4225  CC="$ac_save_CC $ac_arg"
4226  if ac_fn_c_try_compile "$LINENO"; then :
4227  ac_cv_prog_cc_c89=$ac_arg
4228fi
4229rm -f core conftest.err conftest.$ac_objext
4230  test "x$ac_cv_prog_cc_c89" != "xno" && break
4231done
4232rm -f conftest.$ac_ext
4233CC=$ac_save_CC
4234
4235fi
4236# AC_CACHE_VAL
4237case "x$ac_cv_prog_cc_c89" in
4238  x)
4239    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4240$as_echo "none needed" >&6; } ;;
4241  xno)
4242    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4243$as_echo "unsupported" >&6; } ;;
4244  *)
4245    CC="$CC $ac_cv_prog_cc_c89"
4246    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4247$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4248esac
4249if test "x$ac_cv_prog_cc_c89" != xno; then :
4250
4251fi
4252
4253ac_ext=c
4254ac_cpp='$CPP $CPPFLAGS'
4255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4257ac_compiler_gnu=$ac_cv_c_compiler_gnu
4258
4259depcc="$CC"   am_compiler_list=
4260
4261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4262$as_echo_n "checking dependency style of $depcc... " >&6; }
4263if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4264  $as_echo_n "(cached) " >&6
4265else
4266  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4267  # We make a subdir and do the tests there.  Otherwise we can end up
4268  # making bogus files that we don't know about and never remove.  For
4269  # instance it was reported that on HP-UX the gcc test will end up
4270  # making a dummy file named 'D' -- because '-MD' means "put the output
4271  # in D".
4272  rm -rf conftest.dir
4273  mkdir conftest.dir
4274  # Copy depcomp to subdir because otherwise we won't find it if we're
4275  # using a relative directory.
4276  cp "$am_depcomp" conftest.dir
4277  cd conftest.dir
4278  # We will build objects and dependencies in a subdirectory because
4279  # it helps to detect inapplicable dependency modes.  For instance
4280  # both Tru64's cc and ICC support -MD to output dependencies as a
4281  # side effect of compilation, but ICC will put the dependencies in
4282  # the current directory while Tru64 will put them in the object
4283  # directory.
4284  mkdir sub
4285
4286  am_cv_CC_dependencies_compiler_type=none
4287  if test "$am_compiler_list" = ""; then
4288     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4289  fi
4290  am__universal=false
4291  case " $depcc " in #(
4292     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4293     esac
4294
4295  for depmode in $am_compiler_list; do
4296    # Setup a source with many dependencies, because some compilers
4297    # like to wrap large dependency lists on column 80 (with \), and
4298    # we should not choose a depcomp mode which is confused by this.
4299    #
4300    # We need to recreate these files for each test, as the compiler may
4301    # overwrite some of them when testing with obscure command lines.
4302    # This happens at least with the AIX C compiler.
4303    : > sub/conftest.c
4304    for i in 1 2 3 4 5 6; do
4305      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4306      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4307      # Solaris 10 /bin/sh.
4308      echo '/* dummy */' > sub/conftst$i.h
4309    done
4310    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4311
4312    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4313    # mode.  It turns out that the SunPro C++ compiler does not properly
4314    # handle '-M -o', and we need to detect this.  Also, some Intel
4315    # versions had trouble with output in subdirs.
4316    am__obj=sub/conftest.${OBJEXT-o}
4317    am__minus_obj="-o $am__obj"
4318    case $depmode in
4319    gcc)
4320      # This depmode causes a compiler race in universal mode.
4321      test "$am__universal" = false || continue
4322      ;;
4323    nosideeffect)
4324      # After this tag, mechanisms are not by side-effect, so they'll
4325      # only be used when explicitly requested.
4326      if test "x$enable_dependency_tracking" = xyes; then
4327	continue
4328      else
4329	break
4330      fi
4331      ;;
4332    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4333      # This compiler won't grok '-c -o', but also, the minuso test has
4334      # not run yet.  These depmodes are late enough in the game, and
4335      # so weak that their functioning should not be impacted.
4336      am__obj=conftest.${OBJEXT-o}
4337      am__minus_obj=
4338      ;;
4339    none) break ;;
4340    esac
4341    if depmode=$depmode \
4342       source=sub/conftest.c object=$am__obj \
4343       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4344       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4345         >/dev/null 2>conftest.err &&
4346       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4347       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4348       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4349       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4350      # icc doesn't choke on unknown options, it will just issue warnings
4351      # or remarks (even with -Werror).  So we grep stderr for any message
4352      # that says an option was ignored or not supported.
4353      # When given -MP, icc 7.0 and 7.1 complain thusly:
4354      #   icc: Command line warning: ignoring option '-M'; no argument required
4355      # The diagnosis changed in icc 8.0:
4356      #   icc: Command line remark: option '-MP' not supported
4357      if (grep 'ignoring option' conftest.err ||
4358          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4359        am_cv_CC_dependencies_compiler_type=$depmode
4360        break
4361      fi
4362    fi
4363  done
4364
4365  cd ..
4366  rm -rf conftest.dir
4367else
4368  am_cv_CC_dependencies_compiler_type=none
4369fi
4370
4371fi
4372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4373$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4374CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4375
4376 if
4377  test "x$enable_dependency_tracking" != xno \
4378  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4379  am__fastdepCC_TRUE=
4380  am__fastdepCC_FALSE='#'
4381else
4382  am__fastdepCC_TRUE='#'
4383  am__fastdepCC_FALSE=
4384fi
4385
4386
4387ac_ext=c
4388ac_cpp='$CPP $CPPFLAGS'
4389ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4390ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4391ac_compiler_gnu=$ac_cv_c_compiler_gnu
4392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4393$as_echo_n "checking how to run the C preprocessor... " >&6; }
4394# On Suns, sometimes $CPP names a directory.
4395if test -n "$CPP" && test -d "$CPP"; then
4396  CPP=
4397fi
4398if test -z "$CPP"; then
4399  if ${ac_cv_prog_CPP+:} false; then :
4400  $as_echo_n "(cached) " >&6
4401else
4402      # Double quotes because CPP needs to be expanded
4403    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4404    do
4405      ac_preproc_ok=false
4406for ac_c_preproc_warn_flag in '' yes
4407do
4408  # Use a header file that comes with gcc, so configuring glibc
4409  # with a fresh cross-compiler works.
4410  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4411  # <limits.h> exists even on freestanding compilers.
4412  # On the NeXT, cc -E runs the code through the compiler's parser,
4413  # not just through cpp. "Syntax error" is here to catch this case.
4414  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4415/* end confdefs.h.  */
4416#ifdef __STDC__
4417# include <limits.h>
4418#else
4419# include <assert.h>
4420#endif
4421		     Syntax error
4422_ACEOF
4423if ac_fn_c_try_cpp "$LINENO"; then :
4424
4425else
4426  # Broken: fails on valid input.
4427continue
4428fi
4429rm -f conftest.err conftest.i conftest.$ac_ext
4430
4431  # OK, works on sane cases.  Now check whether nonexistent headers
4432  # can be detected and how.
4433  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4434/* end confdefs.h.  */
4435#include <ac_nonexistent.h>
4436_ACEOF
4437if ac_fn_c_try_cpp "$LINENO"; then :
4438  # Broken: success on invalid input.
4439continue
4440else
4441  # Passes both tests.
4442ac_preproc_ok=:
4443break
4444fi
4445rm -f conftest.err conftest.i conftest.$ac_ext
4446
4447done
4448# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4449rm -f conftest.i conftest.err conftest.$ac_ext
4450if $ac_preproc_ok; then :
4451  break
4452fi
4453
4454    done
4455    ac_cv_prog_CPP=$CPP
4456
4457fi
4458  CPP=$ac_cv_prog_CPP
4459else
4460  ac_cv_prog_CPP=$CPP
4461fi
4462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4463$as_echo "$CPP" >&6; }
4464ac_preproc_ok=false
4465for ac_c_preproc_warn_flag in '' yes
4466do
4467  # Use a header file that comes with gcc, so configuring glibc
4468  # with a fresh cross-compiler works.
4469  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4470  # <limits.h> exists even on freestanding compilers.
4471  # On the NeXT, cc -E runs the code through the compiler's parser,
4472  # not just through cpp. "Syntax error" is here to catch this case.
4473  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474/* end confdefs.h.  */
4475#ifdef __STDC__
4476# include <limits.h>
4477#else
4478# include <assert.h>
4479#endif
4480		     Syntax error
4481_ACEOF
4482if ac_fn_c_try_cpp "$LINENO"; then :
4483
4484else
4485  # Broken: fails on valid input.
4486continue
4487fi
4488rm -f conftest.err conftest.i conftest.$ac_ext
4489
4490  # OK, works on sane cases.  Now check whether nonexistent headers
4491  # can be detected and how.
4492  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493/* end confdefs.h.  */
4494#include <ac_nonexistent.h>
4495_ACEOF
4496if ac_fn_c_try_cpp "$LINENO"; then :
4497  # Broken: success on invalid input.
4498continue
4499else
4500  # Passes both tests.
4501ac_preproc_ok=:
4502break
4503fi
4504rm -f conftest.err conftest.i conftest.$ac_ext
4505
4506done
4507# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4508rm -f conftest.i conftest.err conftest.$ac_ext
4509if $ac_preproc_ok; then :
4510
4511else
4512  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4513$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4514as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4515See \`config.log' for more details" "$LINENO" 5; }
4516fi
4517
4518ac_ext=c
4519ac_cpp='$CPP $CPPFLAGS'
4520ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4521ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4522ac_compiler_gnu=$ac_cv_c_compiler_gnu
4523
4524
4525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4526$as_echo_n "checking whether ln -s works... " >&6; }
4527LN_S=$as_ln_s
4528if test "$LN_S" = "ln -s"; then
4529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4530$as_echo "yes" >&6; }
4531else
4532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4533$as_echo "no, using $LN_S" >&6; }
4534fi
4535
4536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4537$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4538set x ${MAKE-make}
4539ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4540if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4541  $as_echo_n "(cached) " >&6
4542else
4543  cat >conftest.make <<\_ACEOF
4544SHELL = /bin/sh
4545all:
4546	@echo '@@@%%%=$(MAKE)=@@@%%%'
4547_ACEOF
4548# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4549case `${MAKE-make} -f conftest.make 2>/dev/null` in
4550  *@@@%%%=?*=@@@%%%*)
4551    eval ac_cv_prog_make_${ac_make}_set=yes;;
4552  *)
4553    eval ac_cv_prog_make_${ac_make}_set=no;;
4554esac
4555rm -f conftest.make
4556fi
4557if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4559$as_echo "yes" >&6; }
4560  SET_MAKE=
4561else
4562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4563$as_echo "no" >&6; }
4564  SET_MAKE="MAKE=${MAKE-make}"
4565fi
4566
4567
4568
4569if test -n "$ac_tool_prefix"; then
4570  for ac_prog in ar lib "link -lib"
4571  do
4572    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4573set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4575$as_echo_n "checking for $ac_word... " >&6; }
4576if ${ac_cv_prog_AR+:} false; then :
4577  $as_echo_n "(cached) " >&6
4578else
4579  if test -n "$AR"; then
4580  ac_cv_prog_AR="$AR" # Let the user override the test.
4581else
4582as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4583for as_dir in $PATH
4584do
4585  IFS=$as_save_IFS
4586  test -z "$as_dir" && as_dir=.
4587    for ac_exec_ext in '' $ac_executable_extensions; do
4588  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4589    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4590    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4591    break 2
4592  fi
4593done
4594  done
4595IFS=$as_save_IFS
4596
4597fi
4598fi
4599AR=$ac_cv_prog_AR
4600if test -n "$AR"; then
4601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4602$as_echo "$AR" >&6; }
4603else
4604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605$as_echo "no" >&6; }
4606fi
4607
4608
4609    test -n "$AR" && break
4610  done
4611fi
4612if test -z "$AR"; then
4613  ac_ct_AR=$AR
4614  for ac_prog in ar lib "link -lib"
4615do
4616  # Extract the first word of "$ac_prog", so it can be a program name with args.
4617set dummy $ac_prog; ac_word=$2
4618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4619$as_echo_n "checking for $ac_word... " >&6; }
4620if ${ac_cv_prog_ac_ct_AR+:} false; then :
4621  $as_echo_n "(cached) " >&6
4622else
4623  if test -n "$ac_ct_AR"; then
4624  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4625else
4626as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4627for as_dir in $PATH
4628do
4629  IFS=$as_save_IFS
4630  test -z "$as_dir" && as_dir=.
4631    for ac_exec_ext in '' $ac_executable_extensions; do
4632  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4633    ac_cv_prog_ac_ct_AR="$ac_prog"
4634    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4635    break 2
4636  fi
4637done
4638  done
4639IFS=$as_save_IFS
4640
4641fi
4642fi
4643ac_ct_AR=$ac_cv_prog_ac_ct_AR
4644if test -n "$ac_ct_AR"; then
4645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4646$as_echo "$ac_ct_AR" >&6; }
4647else
4648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649$as_echo "no" >&6; }
4650fi
4651
4652
4653  test -n "$ac_ct_AR" && break
4654done
4655
4656  if test "x$ac_ct_AR" = x; then
4657    AR="false"
4658  else
4659    case $cross_compiling:$ac_tool_warned in
4660yes:)
4661{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4662$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4663ac_tool_warned=yes ;;
4664esac
4665    AR=$ac_ct_AR
4666  fi
4667fi
4668
4669: ${AR=ar}
4670
4671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4672$as_echo_n "checking the archiver ($AR) interface... " >&6; }
4673if ${am_cv_ar_interface+:} false; then :
4674  $as_echo_n "(cached) " >&6
4675else
4676  am_cv_ar_interface=ar
4677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678/* end confdefs.h.  */
4679int some_variable = 0;
4680_ACEOF
4681if ac_fn_c_try_compile "$LINENO"; then :
4682  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4683      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4684  (eval $am_ar_try) 2>&5
4685  ac_status=$?
4686  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4687  test $ac_status = 0; }
4688      if test "$ac_status" -eq 0; then
4689        am_cv_ar_interface=ar
4690      else
4691        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4692        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4693  (eval $am_ar_try) 2>&5
4694  ac_status=$?
4695  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4696  test $ac_status = 0; }
4697        if test "$ac_status" -eq 0; then
4698          am_cv_ar_interface=lib
4699        else
4700          am_cv_ar_interface=unknown
4701        fi
4702      fi
4703      rm -f conftest.lib libconftest.a
4704
4705fi
4706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4707
4708fi
4709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4710$as_echo "$am_cv_ar_interface" >&6; }
4711
4712case $am_cv_ar_interface in
4713ar)
4714  ;;
4715lib)
4716  # Microsoft lib, so override with the ar-lib wrapper script.
4717  # FIXME: It is wrong to rewrite AR.
4718  # But if we don't then we get into trouble of one sort or another.
4719  # A longer-term fix would be to have automake use am__AR in this case,
4720  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4721  # similar.
4722  AR="$am_aux_dir/ar-lib $AR"
4723  ;;
4724unknown)
4725  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4726  ;;
4727esac
4728
4729
4730
4731# Get lfc include locations
4732
4733# Check whether --with-lfc-include-path was given.
4734if test "${with_lfc_include_path+set}" = set; then :
4735  withval=$with_lfc_include_path; LFC_CFLAGS="-I$withval"
4736else
4737  LFC_CFLAGS='-I/usr/local/include/'
4738fi
4739
4740
4741
4742
4743# Check whether --with-lfc-lib-path was given.
4744if test "${with_lfc_lib_path+set}" = set; then :
4745  withval=$with_lfc_lib_path; LFC_LIBS="-L$withval"
4746else
4747  LFC_LIBS='-L/usr/local/lib'
4748fi
4749
4750
4751
4752LDFLAGS="$LDFLAGS $LFC_LIBS"
4753
4754# Checks for libraries.
4755# FIXME: Replace `main' with a function in `-llfc':
4756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -llfcbase" >&5
4757$as_echo_n "checking for main in -llfcbase... " >&6; }
4758if ${ac_cv_lib_lfcbase_main+:} false; then :
4759  $as_echo_n "(cached) " >&6
4760else
4761  ac_check_lib_save_LIBS=$LIBS
4762LIBS="-llfcbase  $LIBS"
4763cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764/* end confdefs.h.  */
4765
4766
4767int
4768main ()
4769{
4770return main ();
4771  ;
4772  return 0;
4773}
4774_ACEOF
4775if ac_fn_c_try_link "$LINENO"; then :
4776  ac_cv_lib_lfcbase_main=yes
4777else
4778  ac_cv_lib_lfcbase_main=no
4779fi
4780rm -f core conftest.err conftest.$ac_objext \
4781    conftest$ac_exeext conftest.$ac_ext
4782LIBS=$ac_check_lib_save_LIBS
4783fi
4784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lfcbase_main" >&5
4785$as_echo "$ac_cv_lib_lfcbase_main" >&6; }
4786if test "x$ac_cv_lib_lfcbase_main" = xyes; then :
4787  cat >>confdefs.h <<_ACEOF
4788#define HAVE_LIBLFCBASE 1
4789_ACEOF
4790
4791  LIBS="-llfcbase $LIBS"
4792
4793fi
4794
4795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -llfcxml" >&5
4796$as_echo_n "checking for main in -llfcxml... " >&6; }
4797if ${ac_cv_lib_lfcxml_main+:} false; then :
4798  $as_echo_n "(cached) " >&6
4799else
4800  ac_check_lib_save_LIBS=$LIBS
4801LIBS="-llfcxml  $LIBS"
4802cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4803/* end confdefs.h.  */
4804
4805
4806int
4807main ()
4808{
4809return main ();
4810  ;
4811  return 0;
4812}
4813_ACEOF
4814if ac_fn_c_try_link "$LINENO"; then :
4815  ac_cv_lib_lfcxml_main=yes
4816else
4817  ac_cv_lib_lfcxml_main=no
4818fi
4819rm -f core conftest.err conftest.$ac_objext \
4820    conftest$ac_exeext conftest.$ac_ext
4821LIBS=$ac_check_lib_save_LIBS
4822fi
4823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lfcxml_main" >&5
4824$as_echo "$ac_cv_lib_lfcxml_main" >&6; }
4825if test "x$ac_cv_lib_lfcxml_main" = xyes; then :
4826  cat >>confdefs.h <<_ACEOF
4827#define HAVE_LIBLFCXML 1
4828_ACEOF
4829
4830  LIBS="-llfcxml $LIBS"
4831
4832fi
4833
4834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcego" >&5
4835$as_echo_n "checking for main in -lcego... " >&6; }
4836if ${ac_cv_lib_cego_main+:} false; then :
4837  $as_echo_n "(cached) " >&6
4838else
4839  ac_check_lib_save_LIBS=$LIBS
4840LIBS="-lcego  $LIBS"
4841cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4842/* end confdefs.h.  */
4843
4844
4845int
4846main ()
4847{
4848return main ();
4849  ;
4850  return 0;
4851}
4852_ACEOF
4853if ac_fn_c_try_link "$LINENO"; then :
4854  ac_cv_lib_cego_main=yes
4855else
4856  ac_cv_lib_cego_main=no
4857fi
4858rm -f core conftest.err conftest.$ac_objext \
4859    conftest$ac_exeext conftest.$ac_ext
4860LIBS=$ac_check_lib_save_LIBS
4861fi
4862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cego_main" >&5
4863$as_echo "$ac_cv_lib_cego_main" >&6; }
4864if test "x$ac_cv_lib_cego_main" = xyes; then :
4865  cat >>confdefs.h <<_ACEOF
4866#define HAVE_LIBCEGO 1
4867_ACEOF
4868
4869  LIBS="-lcego $LIBS"
4870
4871fi
4872
4873
4874# Checks for header files.
4875
4876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4877$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4878if ${ac_cv_path_GREP+:} false; then :
4879  $as_echo_n "(cached) " >&6
4880else
4881  if test -z "$GREP"; then
4882  ac_path_GREP_found=false
4883  # Loop through the user's path and test for each of PROGNAME-LIST
4884  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4886do
4887  IFS=$as_save_IFS
4888  test -z "$as_dir" && as_dir=.
4889    for ac_prog in grep ggrep; do
4890    for ac_exec_ext in '' $ac_executable_extensions; do
4891      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4892      as_fn_executable_p "$ac_path_GREP" || continue
4893# Check for GNU ac_path_GREP and select it if it is found.
4894  # Check for GNU $ac_path_GREP
4895case `"$ac_path_GREP" --version 2>&1` in
4896*GNU*)
4897  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4898*)
4899  ac_count=0
4900  $as_echo_n 0123456789 >"conftest.in"
4901  while :
4902  do
4903    cat "conftest.in" "conftest.in" >"conftest.tmp"
4904    mv "conftest.tmp" "conftest.in"
4905    cp "conftest.in" "conftest.nl"
4906    $as_echo 'GREP' >> "conftest.nl"
4907    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4908    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4909    as_fn_arith $ac_count + 1 && ac_count=$as_val
4910    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4911      # Best one so far, save it but keep looking for a better one
4912      ac_cv_path_GREP="$ac_path_GREP"
4913      ac_path_GREP_max=$ac_count
4914    fi
4915    # 10*(2^10) chars as input seems more than enough
4916    test $ac_count -gt 10 && break
4917  done
4918  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4919esac
4920
4921      $ac_path_GREP_found && break 3
4922    done
4923  done
4924  done
4925IFS=$as_save_IFS
4926  if test -z "$ac_cv_path_GREP"; then
4927    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4928  fi
4929else
4930  ac_cv_path_GREP=$GREP
4931fi
4932
4933fi
4934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4935$as_echo "$ac_cv_path_GREP" >&6; }
4936 GREP="$ac_cv_path_GREP"
4937
4938
4939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4940$as_echo_n "checking for egrep... " >&6; }
4941if ${ac_cv_path_EGREP+:} false; then :
4942  $as_echo_n "(cached) " >&6
4943else
4944  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4945   then ac_cv_path_EGREP="$GREP -E"
4946   else
4947     if test -z "$EGREP"; then
4948  ac_path_EGREP_found=false
4949  # Loop through the user's path and test for each of PROGNAME-LIST
4950  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4952do
4953  IFS=$as_save_IFS
4954  test -z "$as_dir" && as_dir=.
4955    for ac_prog in egrep; do
4956    for ac_exec_ext in '' $ac_executable_extensions; do
4957      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4958      as_fn_executable_p "$ac_path_EGREP" || continue
4959# Check for GNU ac_path_EGREP and select it if it is found.
4960  # Check for GNU $ac_path_EGREP
4961case `"$ac_path_EGREP" --version 2>&1` in
4962*GNU*)
4963  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4964*)
4965  ac_count=0
4966  $as_echo_n 0123456789 >"conftest.in"
4967  while :
4968  do
4969    cat "conftest.in" "conftest.in" >"conftest.tmp"
4970    mv "conftest.tmp" "conftest.in"
4971    cp "conftest.in" "conftest.nl"
4972    $as_echo 'EGREP' >> "conftest.nl"
4973    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4974    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4975    as_fn_arith $ac_count + 1 && ac_count=$as_val
4976    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4977      # Best one so far, save it but keep looking for a better one
4978      ac_cv_path_EGREP="$ac_path_EGREP"
4979      ac_path_EGREP_max=$ac_count
4980    fi
4981    # 10*(2^10) chars as input seems more than enough
4982    test $ac_count -gt 10 && break
4983  done
4984  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4985esac
4986
4987      $ac_path_EGREP_found && break 3
4988    done
4989  done
4990  done
4991IFS=$as_save_IFS
4992  if test -z "$ac_cv_path_EGREP"; then
4993    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4994  fi
4995else
4996  ac_cv_path_EGREP=$EGREP
4997fi
4998
4999   fi
5000fi
5001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5002$as_echo "$ac_cv_path_EGREP" >&6; }
5003 EGREP="$ac_cv_path_EGREP"
5004
5005
5006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5007$as_echo_n "checking for ANSI C header files... " >&6; }
5008if ${ac_cv_header_stdc+:} false; then :
5009  $as_echo_n "(cached) " >&6
5010else
5011  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5012/* end confdefs.h.  */
5013#include <stdlib.h>
5014#include <stdarg.h>
5015#include <string.h>
5016#include <float.h>
5017
5018int
5019main ()
5020{
5021
5022  ;
5023  return 0;
5024}
5025_ACEOF
5026if ac_fn_c_try_compile "$LINENO"; then :
5027  ac_cv_header_stdc=yes
5028else
5029  ac_cv_header_stdc=no
5030fi
5031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5032
5033if test $ac_cv_header_stdc = yes; then
5034  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5035  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5036/* end confdefs.h.  */
5037#include <string.h>
5038
5039_ACEOF
5040if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5041  $EGREP "memchr" >/dev/null 2>&1; then :
5042
5043else
5044  ac_cv_header_stdc=no
5045fi
5046rm -f conftest*
5047
5048fi
5049
5050if test $ac_cv_header_stdc = yes; then
5051  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5052  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5053/* end confdefs.h.  */
5054#include <stdlib.h>
5055
5056_ACEOF
5057if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5058  $EGREP "free" >/dev/null 2>&1; then :
5059
5060else
5061  ac_cv_header_stdc=no
5062fi
5063rm -f conftest*
5064
5065fi
5066
5067if test $ac_cv_header_stdc = yes; then
5068  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5069  if test "$cross_compiling" = yes; then :
5070  :
5071else
5072  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073/* end confdefs.h.  */
5074#include <ctype.h>
5075#include <stdlib.h>
5076#if ((' ' & 0x0FF) == 0x020)
5077# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5078# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5079#else
5080# define ISLOWER(c) \
5081		   (('a' <= (c) && (c) <= 'i') \
5082		     || ('j' <= (c) && (c) <= 'r') \
5083		     || ('s' <= (c) && (c) <= 'z'))
5084# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5085#endif
5086
5087#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5088int
5089main ()
5090{
5091  int i;
5092  for (i = 0; i < 256; i++)
5093    if (XOR (islower (i), ISLOWER (i))
5094	|| toupper (i) != TOUPPER (i))
5095      return 2;
5096  return 0;
5097}
5098_ACEOF
5099if ac_fn_c_try_run "$LINENO"; then :
5100
5101else
5102  ac_cv_header_stdc=no
5103fi
5104rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5105  conftest.$ac_objext conftest.beam conftest.$ac_ext
5106fi
5107
5108fi
5109fi
5110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5111$as_echo "$ac_cv_header_stdc" >&6; }
5112if test $ac_cv_header_stdc = yes; then
5113
5114$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5115
5116fi
5117
5118# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5119for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5120		  inttypes.h stdint.h unistd.h
5121do :
5122  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5123ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5124"
5125if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5126  cat >>confdefs.h <<_ACEOF
5127#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5128_ACEOF
5129
5130fi
5131
5132done
5133
5134
5135for ac_header in stdlib.h
5136do :
5137  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5138if test "x$ac_cv_header_stdlib_h" = xyes; then :
5139  cat >>confdefs.h <<_ACEOF
5140#define HAVE_STDLIB_H 1
5141_ACEOF
5142
5143fi
5144
5145done
5146
5147
5148# Checks for typedefs, structures, and compiler characteristics.
5149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5150$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5151if ${ac_cv_header_stdbool_h+:} false; then :
5152  $as_echo_n "(cached) " >&6
5153else
5154  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5155/* end confdefs.h.  */
5156
5157             #include <stdbool.h>
5158             #ifndef bool
5159              "error: bool is not defined"
5160             #endif
5161             #ifndef false
5162              "error: false is not defined"
5163             #endif
5164             #if false
5165              "error: false is not 0"
5166             #endif
5167             #ifndef true
5168              "error: true is not defined"
5169             #endif
5170             #if true != 1
5171              "error: true is not 1"
5172             #endif
5173             #ifndef __bool_true_false_are_defined
5174              "error: __bool_true_false_are_defined is not defined"
5175             #endif
5176
5177             struct s { _Bool s: 1; _Bool t; } s;
5178
5179             char a[true == 1 ? 1 : -1];
5180             char b[false == 0 ? 1 : -1];
5181             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5182             char d[(bool) 0.5 == true ? 1 : -1];
5183             /* See body of main program for 'e'.  */
5184             char f[(_Bool) 0.0 == false ? 1 : -1];
5185             char g[true];
5186             char h[sizeof (_Bool)];
5187             char i[sizeof s.t];
5188             enum { j = false, k = true, l = false * true, m = true * 256 };
5189             /* The following fails for
5190                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5191             _Bool n[m];
5192             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5193             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5194             /* Catch a bug in an HP-UX C compiler.  See
5195                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5196                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5197              */
5198             _Bool q = true;
5199             _Bool *pq = &q;
5200
5201int
5202main ()
5203{
5204
5205             bool e = &s;
5206             *pq |= q;
5207             *pq |= ! q;
5208             /* Refer to every declared value, to avoid compiler optimizations.  */
5209             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5210                     + !m + !n + !o + !p + !q + !pq);
5211
5212  ;
5213  return 0;
5214}
5215_ACEOF
5216if ac_fn_c_try_compile "$LINENO"; then :
5217  ac_cv_header_stdbool_h=yes
5218else
5219  ac_cv_header_stdbool_h=no
5220fi
5221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5222fi
5223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5224$as_echo "$ac_cv_header_stdbool_h" >&6; }
5225   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5226if test "x$ac_cv_type__Bool" = xyes; then :
5227
5228cat >>confdefs.h <<_ACEOF
5229#define HAVE__BOOL 1
5230_ACEOF
5231
5232
5233fi
5234
5235
5236
5237# Checks for library functions.
5238for ac_header in stdlib.h
5239do :
5240  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5241if test "x$ac_cv_header_stdlib_h" = xyes; then :
5242  cat >>confdefs.h <<_ACEOF
5243#define HAVE_STDLIB_H 1
5244_ACEOF
5245
5246fi
5247
5248done
5249
5250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5251$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5252if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5253  $as_echo_n "(cached) " >&6
5254else
5255  if test "$cross_compiling" = yes; then :
5256  ac_cv_func_malloc_0_nonnull=no
5257else
5258  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5259/* end confdefs.h.  */
5260#if defined STDC_HEADERS || defined HAVE_STDLIB_H
5261# include <stdlib.h>
5262#else
5263char *malloc ();
5264#endif
5265
5266int
5267main ()
5268{
5269return ! malloc (0);
5270  ;
5271  return 0;
5272}
5273_ACEOF
5274if ac_fn_c_try_run "$LINENO"; then :
5275  ac_cv_func_malloc_0_nonnull=yes
5276else
5277  ac_cv_func_malloc_0_nonnull=no
5278fi
5279rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5280  conftest.$ac_objext conftest.beam conftest.$ac_ext
5281fi
5282
5283fi
5284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5285$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5286if test $ac_cv_func_malloc_0_nonnull = yes; then :
5287
5288$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5289
5290else
5291  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5292
5293   case " $LIBOBJS " in
5294  *" malloc.$ac_objext "* ) ;;
5295  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5296 ;;
5297esac
5298
5299
5300$as_echo "#define malloc rpl_malloc" >>confdefs.h
5301
5302fi
5303
5304
5305for ac_header in stdlib.h
5306do :
5307  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5308if test "x$ac_cv_header_stdlib_h" = xyes; then :
5309  cat >>confdefs.h <<_ACEOF
5310#define HAVE_STDLIB_H 1
5311_ACEOF
5312
5313fi
5314
5315done
5316
5317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
5318$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5319if ${ac_cv_func_realloc_0_nonnull+:} false; then :
5320  $as_echo_n "(cached) " >&6
5321else
5322  if test "$cross_compiling" = yes; then :
5323  ac_cv_func_realloc_0_nonnull=no
5324else
5325  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326/* end confdefs.h.  */
5327#if defined STDC_HEADERS || defined HAVE_STDLIB_H
5328# include <stdlib.h>
5329#else
5330char *realloc ();
5331#endif
5332
5333int
5334main ()
5335{
5336return ! realloc (0, 0);
5337  ;
5338  return 0;
5339}
5340_ACEOF
5341if ac_fn_c_try_run "$LINENO"; then :
5342  ac_cv_func_realloc_0_nonnull=yes
5343else
5344  ac_cv_func_realloc_0_nonnull=no
5345fi
5346rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5347  conftest.$ac_objext conftest.beam conftest.$ac_ext
5348fi
5349
5350fi
5351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
5352$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5353if test $ac_cv_func_realloc_0_nonnull = yes; then :
5354
5355$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
5356
5357else
5358  $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
5359
5360   case " $LIBOBJS " in
5361  *" realloc.$ac_objext "* ) ;;
5362  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5363 ;;
5364esac
5365
5366
5367$as_echo "#define realloc rpl_realloc" >>confdefs.h
5368
5369fi
5370
5371
5372
5373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
5374$as_echo_n "checking for main in -lws2_32... " >&6; }
5375if ${ac_cv_lib_ws2_32_main+:} false; then :
5376  $as_echo_n "(cached) " >&6
5377else
5378  ac_check_lib_save_LIBS=$LIBS
5379LIBS="-lws2_32  $LIBS"
5380cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5381/* end confdefs.h.  */
5382
5383
5384int
5385main ()
5386{
5387return main ();
5388  ;
5389  return 0;
5390}
5391_ACEOF
5392if ac_fn_c_try_link "$LINENO"; then :
5393  ac_cv_lib_ws2_32_main=yes
5394else
5395  ac_cv_lib_ws2_32_main=no
5396fi
5397rm -f core conftest.err conftest.$ac_objext \
5398    conftest$ac_exeext conftest.$ac_ext
5399LIBS=$ac_check_lib_save_LIBS
5400fi
5401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
5402$as_echo "$ac_cv_lib_ws2_32_main" >&6; }
5403if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
5404  cat >>confdefs.h <<_ACEOF
5405#define HAVE_LIBWS2_32 1
5406_ACEOF
5407
5408  LIBS="-lws2_32 $LIBS"
5409
5410fi
5411
5412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsystre" >&5
5413$as_echo_n "checking for main in -lsystre... " >&6; }
5414if ${ac_cv_lib_systre_main+:} false; then :
5415  $as_echo_n "(cached) " >&6
5416else
5417  ac_check_lib_save_LIBS=$LIBS
5418LIBS="-lsystre  $LIBS"
5419cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5420/* end confdefs.h.  */
5421
5422
5423int
5424main ()
5425{
5426return main ();
5427  ;
5428  return 0;
5429}
5430_ACEOF
5431if ac_fn_c_try_link "$LINENO"; then :
5432  ac_cv_lib_systre_main=yes
5433else
5434  ac_cv_lib_systre_main=no
5435fi
5436rm -f core conftest.err conftest.$ac_objext \
5437    conftest$ac_exeext conftest.$ac_ext
5438LIBS=$ac_check_lib_save_LIBS
5439fi
5440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_systre_main" >&5
5441$as_echo "$ac_cv_lib_systre_main" >&6; }
5442if test "x$ac_cv_lib_systre_main" = xyes; then :
5443  cat >>confdefs.h <<_ACEOF
5444#define HAVE_LIBSYSTRE 1
5445_ACEOF
5446
5447  LIBS="-lsystre $LIBS"
5448
5449fi
5450
5451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
5452$as_echo_n "checking for main in -lcrypt... " >&6; }
5453if ${ac_cv_lib_crypt_main+:} false; then :
5454  $as_echo_n "(cached) " >&6
5455else
5456  ac_check_lib_save_LIBS=$LIBS
5457LIBS="-lcrypt  $LIBS"
5458cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5459/* end confdefs.h.  */
5460
5461
5462int
5463main ()
5464{
5465return main ();
5466  ;
5467  return 0;
5468}
5469_ACEOF
5470if ac_fn_c_try_link "$LINENO"; then :
5471  ac_cv_lib_crypt_main=yes
5472else
5473  ac_cv_lib_crypt_main=no
5474fi
5475rm -f core conftest.err conftest.$ac_objext \
5476    conftest$ac_exeext conftest.$ac_ext
5477LIBS=$ac_check_lib_save_LIBS
5478fi
5479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
5480$as_echo "$ac_cv_lib_crypt_main" >&6; }
5481if test "x$ac_cv_lib_crypt_main" = xyes; then :
5482  cat >>confdefs.h <<_ACEOF
5483#define HAVE_LIBCRYPT 1
5484_ACEOF
5485
5486  LIBS="-lcrypt $LIBS"
5487
5488fi
5489
5490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lrt" >&5
5491$as_echo_n "checking for main in -lrt... " >&6; }
5492if ${ac_cv_lib_rt_main+:} false; then :
5493  $as_echo_n "(cached) " >&6
5494else
5495  ac_check_lib_save_LIBS=$LIBS
5496LIBS="-lrt  $LIBS"
5497cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498/* end confdefs.h.  */
5499
5500
5501int
5502main ()
5503{
5504return main ();
5505  ;
5506  return 0;
5507}
5508_ACEOF
5509if ac_fn_c_try_link "$LINENO"; then :
5510  ac_cv_lib_rt_main=yes
5511else
5512  ac_cv_lib_rt_main=no
5513fi
5514rm -f core conftest.err conftest.$ac_objext \
5515    conftest$ac_exeext conftest.$ac_ext
5516LIBS=$ac_check_lib_save_LIBS
5517fi
5518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_main" >&5
5519$as_echo "$ac_cv_lib_rt_main" >&6; }
5520if test "x$ac_cv_lib_rt_main" = xyes; then :
5521  cat >>confdefs.h <<_ACEOF
5522#define HAVE_LIBRT 1
5523_ACEOF
5524
5525  LIBS="-lrt $LIBS"
5526
5527fi
5528
5529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
5530$as_echo_n "checking for main in -lpthread... " >&6; }
5531if ${ac_cv_lib_pthread_main+:} false; then :
5532  $as_echo_n "(cached) " >&6
5533else
5534  ac_check_lib_save_LIBS=$LIBS
5535LIBS="-lpthread  $LIBS"
5536cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5537/* end confdefs.h.  */
5538
5539
5540int
5541main ()
5542{
5543return main ();
5544  ;
5545  return 0;
5546}
5547_ACEOF
5548if ac_fn_c_try_link "$LINENO"; then :
5549  ac_cv_lib_pthread_main=yes
5550else
5551  ac_cv_lib_pthread_main=no
5552fi
5553rm -f core conftest.err conftest.$ac_objext \
5554    conftest$ac_exeext conftest.$ac_ext
5555LIBS=$ac_check_lib_save_LIBS
5556fi
5557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
5558$as_echo "$ac_cv_lib_pthread_main" >&6; }
5559if test "x$ac_cv_lib_pthread_main" = xyes; then :
5560  cat >>confdefs.h <<_ACEOF
5561#define HAVE_LIBPTHREAD 1
5562_ACEOF
5563
5564  LIBS="-lpthread $LIBS"
5565
5566fi
5567
5568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
5569$as_echo_n "checking for main in -lsocket... " >&6; }
5570if ${ac_cv_lib_socket_main+:} false; then :
5571  $as_echo_n "(cached) " >&6
5572else
5573  ac_check_lib_save_LIBS=$LIBS
5574LIBS="-lsocket  $LIBS"
5575cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5576/* end confdefs.h.  */
5577
5578
5579int
5580main ()
5581{
5582return main ();
5583  ;
5584  return 0;
5585}
5586_ACEOF
5587if ac_fn_c_try_link "$LINENO"; then :
5588  ac_cv_lib_socket_main=yes
5589else
5590  ac_cv_lib_socket_main=no
5591fi
5592rm -f core conftest.err conftest.$ac_objext \
5593    conftest$ac_exeext conftest.$ac_ext
5594LIBS=$ac_check_lib_save_LIBS
5595fi
5596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
5597$as_echo "$ac_cv_lib_socket_main" >&6; }
5598if test "x$ac_cv_lib_socket_main" = xyes; then :
5599  cat >>confdefs.h <<_ACEOF
5600#define HAVE_LIBSOCKET 1
5601_ACEOF
5602
5603  LIBS="-lsocket $LIBS"
5604
5605fi
5606
5607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
5608$as_echo_n "checking for main in -lnsl... " >&6; }
5609if ${ac_cv_lib_nsl_main+:} false; then :
5610  $as_echo_n "(cached) " >&6
5611else
5612  ac_check_lib_save_LIBS=$LIBS
5613LIBS="-lnsl  $LIBS"
5614cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5615/* end confdefs.h.  */
5616
5617
5618int
5619main ()
5620{
5621return main ();
5622  ;
5623  return 0;
5624}
5625_ACEOF
5626if ac_fn_c_try_link "$LINENO"; then :
5627  ac_cv_lib_nsl_main=yes
5628else
5629  ac_cv_lib_nsl_main=no
5630fi
5631rm -f core conftest.err conftest.$ac_objext \
5632    conftest$ac_exeext conftest.$ac_ext
5633LIBS=$ac_check_lib_save_LIBS
5634fi
5635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
5636$as_echo "$ac_cv_lib_nsl_main" >&6; }
5637if test "x$ac_cv_lib_nsl_main" = xyes; then :
5638  cat >>confdefs.h <<_ACEOF
5639#define HAVE_LIBNSL 1
5640_ACEOF
5641
5642  LIBS="-lnsl $LIBS"
5643
5644fi
5645
5646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurses" >&5
5647$as_echo_n "checking for main in -lcurses... " >&6; }
5648if ${ac_cv_lib_curses_main+:} false; then :
5649  $as_echo_n "(cached) " >&6
5650else
5651  ac_check_lib_save_LIBS=$LIBS
5652LIBS="-lcurses  $LIBS"
5653cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5654/* end confdefs.h.  */
5655
5656
5657int
5658main ()
5659{
5660return main ();
5661  ;
5662  return 0;
5663}
5664_ACEOF
5665if ac_fn_c_try_link "$LINENO"; then :
5666  ac_cv_lib_curses_main=yes
5667else
5668  ac_cv_lib_curses_main=no
5669fi
5670rm -f core conftest.err conftest.$ac_objext \
5671    conftest$ac_exeext conftest.$ac_ext
5672LIBS=$ac_check_lib_save_LIBS
5673fi
5674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_main" >&5
5675$as_echo "$ac_cv_lib_curses_main" >&6; }
5676if test "x$ac_cv_lib_curses_main" = xyes; then :
5677  cat >>confdefs.h <<_ACEOF
5678#define HAVE_LIBCURSES 1
5679_ACEOF
5680
5681  LIBS="-lcurses $LIBS"
5682
5683fi
5684
5685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lncurses" >&5
5686$as_echo_n "checking for main in -lncurses... " >&6; }
5687if ${ac_cv_lib_ncurses_main+:} false; then :
5688  $as_echo_n "(cached) " >&6
5689else
5690  ac_check_lib_save_LIBS=$LIBS
5691LIBS="-lncurses  $LIBS"
5692cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5693/* end confdefs.h.  */
5694
5695
5696int
5697main ()
5698{
5699return main ();
5700  ;
5701  return 0;
5702}
5703_ACEOF
5704if ac_fn_c_try_link "$LINENO"; then :
5705  ac_cv_lib_ncurses_main=yes
5706else
5707  ac_cv_lib_ncurses_main=no
5708fi
5709rm -f core conftest.err conftest.$ac_objext \
5710    conftest$ac_exeext conftest.$ac_ext
5711LIBS=$ac_check_lib_save_LIBS
5712fi
5713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_main" >&5
5714$as_echo "$ac_cv_lib_ncurses_main" >&6; }
5715if test "x$ac_cv_lib_ncurses_main" = xyes; then :
5716  cat >>confdefs.h <<_ACEOF
5717#define HAVE_LIBNCURSES 1
5718_ACEOF
5719
5720  LIBS="-lncurses $LIBS"
5721
5722fi
5723
5724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lhistory" >&5
5725$as_echo_n "checking for main in -lhistory... " >&6; }
5726if ${ac_cv_lib_history_main+:} false; then :
5727  $as_echo_n "(cached) " >&6
5728else
5729  ac_check_lib_save_LIBS=$LIBS
5730LIBS="-lhistory  $LIBS"
5731cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5732/* end confdefs.h.  */
5733
5734
5735int
5736main ()
5737{
5738return main ();
5739  ;
5740  return 0;
5741}
5742_ACEOF
5743if ac_fn_c_try_link "$LINENO"; then :
5744  ac_cv_lib_history_main=yes
5745else
5746  ac_cv_lib_history_main=no
5747fi
5748rm -f core conftest.err conftest.$ac_objext \
5749    conftest$ac_exeext conftest.$ac_ext
5750LIBS=$ac_check_lib_save_LIBS
5751fi
5752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_main" >&5
5753$as_echo "$ac_cv_lib_history_main" >&6; }
5754if test "x$ac_cv_lib_history_main" = xyes; then :
5755  cat >>confdefs.h <<_ACEOF
5756#define HAVE_LIBHISTORY 1
5757_ACEOF
5758
5759  LIBS="-lhistory $LIBS"
5760
5761fi
5762
5763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lreadline" >&5
5764$as_echo_n "checking for main in -lreadline... " >&6; }
5765if ${ac_cv_lib_readline_main+:} false; then :
5766  $as_echo_n "(cached) " >&6
5767else
5768  ac_check_lib_save_LIBS=$LIBS
5769LIBS="-lreadline  $LIBS"
5770cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5771/* end confdefs.h.  */
5772
5773
5774int
5775main ()
5776{
5777return main ();
5778  ;
5779  return 0;
5780}
5781_ACEOF
5782if ac_fn_c_try_link "$LINENO"; then :
5783  ac_cv_lib_readline_main=yes
5784else
5785  ac_cv_lib_readline_main=no
5786fi
5787rm -f core conftest.err conftest.$ac_objext \
5788    conftest$ac_exeext conftest.$ac_ext
5789LIBS=$ac_check_lib_save_LIBS
5790fi
5791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_main" >&5
5792$as_echo "$ac_cv_lib_readline_main" >&6; }
5793if test "x$ac_cv_lib_readline_main" = xyes; then :
5794  cat >>confdefs.h <<_ACEOF
5795#define HAVE_LIBREADLINE 1
5796_ACEOF
5797
5798  LIBS="-lreadline $LIBS"
5799
5800fi
5801
5802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -llfcbase" >&5
5803$as_echo_n "checking for main in -llfcbase... " >&6; }
5804if ${ac_cv_lib_lfcbase_main+:} false; then :
5805  $as_echo_n "(cached) " >&6
5806else
5807  ac_check_lib_save_LIBS=$LIBS
5808LIBS="-llfcbase  $LIBS"
5809cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5810/* end confdefs.h.  */
5811
5812
5813int
5814main ()
5815{
5816return main ();
5817  ;
5818  return 0;
5819}
5820_ACEOF
5821if ac_fn_c_try_link "$LINENO"; then :
5822  ac_cv_lib_lfcbase_main=yes
5823else
5824  ac_cv_lib_lfcbase_main=no
5825fi
5826rm -f core conftest.err conftest.$ac_objext \
5827    conftest$ac_exeext conftest.$ac_ext
5828LIBS=$ac_check_lib_save_LIBS
5829fi
5830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lfcbase_main" >&5
5831$as_echo "$ac_cv_lib_lfcbase_main" >&6; }
5832if test "x$ac_cv_lib_lfcbase_main" = xyes; then :
5833  cat >>confdefs.h <<_ACEOF
5834#define HAVE_LIBLFCBASE 1
5835_ACEOF
5836
5837  LIBS="-llfcbase $LIBS"
5838
5839fi
5840
5841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -llfcxml" >&5
5842$as_echo_n "checking for main in -llfcxml... " >&6; }
5843if ${ac_cv_lib_lfcxml_main+:} false; then :
5844  $as_echo_n "(cached) " >&6
5845else
5846  ac_check_lib_save_LIBS=$LIBS
5847LIBS="-llfcxml  $LIBS"
5848cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5849/* end confdefs.h.  */
5850
5851
5852int
5853main ()
5854{
5855return main ();
5856  ;
5857  return 0;
5858}
5859_ACEOF
5860if ac_fn_c_try_link "$LINENO"; then :
5861  ac_cv_lib_lfcxml_main=yes
5862else
5863  ac_cv_lib_lfcxml_main=no
5864fi
5865rm -f core conftest.err conftest.$ac_objext \
5866    conftest$ac_exeext conftest.$ac_ext
5867LIBS=$ac_check_lib_save_LIBS
5868fi
5869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lfcxml_main" >&5
5870$as_echo "$ac_cv_lib_lfcxml_main" >&6; }
5871if test "x$ac_cv_lib_lfcxml_main" = xyes; then :
5872  cat >>confdefs.h <<_ACEOF
5873#define HAVE_LIBLFCXML 1
5874_ACEOF
5875
5876  LIBS="-llfcxml $LIBS"
5877
5878fi
5879
5880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcego" >&5
5881$as_echo_n "checking for main in -lcego... " >&6; }
5882if ${ac_cv_lib_cego_main+:} false; then :
5883  $as_echo_n "(cached) " >&6
5884else
5885  ac_check_lib_save_LIBS=$LIBS
5886LIBS="-lcego  $LIBS"
5887cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5888/* end confdefs.h.  */
5889
5890
5891int
5892main ()
5893{
5894return main ();
5895  ;
5896  return 0;
5897}
5898_ACEOF
5899if ac_fn_c_try_link "$LINENO"; then :
5900  ac_cv_lib_cego_main=yes
5901else
5902  ac_cv_lib_cego_main=no
5903fi
5904rm -f core conftest.err conftest.$ac_objext \
5905    conftest$ac_exeext conftest.$ac_ext
5906LIBS=$ac_check_lib_save_LIBS
5907fi
5908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cego_main" >&5
5909$as_echo "$ac_cv_lib_cego_main" >&6; }
5910if test "x$ac_cv_lib_cego_main" = xyes; then :
5911  cat >>confdefs.h <<_ACEOF
5912#define HAVE_LIBCEGO 1
5913_ACEOF
5914
5915  LIBS="-lcego $LIBS"
5916
5917fi
5918
5919
5920
5921ac_config_files="$ac_config_files Makefile src/Makefile samples/Makefile"
5922
5923
5924case `pwd` in
5925  *\ * | *\	*)
5926    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5927$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5928esac
5929
5930
5931
5932macro_version='2.4.6'
5933macro_revision='2.4.6'
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947ltmain=$ac_aux_dir/ltmain.sh
5948
5949# Make sure we can run config.sub.
5950$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5951  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5952
5953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5954$as_echo_n "checking build system type... " >&6; }
5955if ${ac_cv_build+:} false; then :
5956  $as_echo_n "(cached) " >&6
5957else
5958  ac_build_alias=$build_alias
5959test "x$ac_build_alias" = x &&
5960  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5961test "x$ac_build_alias" = x &&
5962  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5963ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5964  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5965
5966fi
5967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5968$as_echo "$ac_cv_build" >&6; }
5969case $ac_cv_build in
5970*-*-*) ;;
5971*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5972esac
5973build=$ac_cv_build
5974ac_save_IFS=$IFS; IFS='-'
5975set x $ac_cv_build
5976shift
5977build_cpu=$1
5978build_vendor=$2
5979shift; shift
5980# Remember, the first character of IFS is used to create $*,
5981# except with old shells:
5982build_os=$*
5983IFS=$ac_save_IFS
5984case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5985
5986
5987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5988$as_echo_n "checking host system type... " >&6; }
5989if ${ac_cv_host+:} false; then :
5990  $as_echo_n "(cached) " >&6
5991else
5992  if test "x$host_alias" = x; then
5993  ac_cv_host=$ac_cv_build
5994else
5995  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5996    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5997fi
5998
5999fi
6000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6001$as_echo "$ac_cv_host" >&6; }
6002case $ac_cv_host in
6003*-*-*) ;;
6004*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6005esac
6006host=$ac_cv_host
6007ac_save_IFS=$IFS; IFS='-'
6008set x $ac_cv_host
6009shift
6010host_cpu=$1
6011host_vendor=$2
6012shift; shift
6013# Remember, the first character of IFS is used to create $*,
6014# except with old shells:
6015host_os=$*
6016IFS=$ac_save_IFS
6017case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6018
6019
6020# Backslashify metacharacters that are still active within
6021# double-quoted strings.
6022sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6023
6024# Same as above, but do not quote variable references.
6025double_quote_subst='s/\(["`\\]\)/\\\1/g'
6026
6027# Sed substitution to delay expansion of an escaped shell variable in a
6028# double_quote_subst'ed string.
6029delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6030
6031# Sed substitution to delay expansion of an escaped single quote.
6032delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6033
6034# Sed substitution to avoid accidental globbing in evaled expressions
6035no_glob_subst='s/\*/\\\*/g'
6036
6037ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6038ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6039ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6040
6041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6042$as_echo_n "checking how to print strings... " >&6; }
6043# Test print first, because it will be a builtin if present.
6044if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6045   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6046  ECHO='print -r --'
6047elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6048  ECHO='printf %s\n'
6049else
6050  # Use this function as a fallback that always works.
6051  func_fallback_echo ()
6052  {
6053    eval 'cat <<_LTECHO_EOF
6054$1
6055_LTECHO_EOF'
6056  }
6057  ECHO='func_fallback_echo'
6058fi
6059
6060# func_echo_all arg...
6061# Invoke $ECHO with all args, space-separated.
6062func_echo_all ()
6063{
6064    $ECHO ""
6065}
6066
6067case $ECHO in
6068  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6069$as_echo "printf" >&6; } ;;
6070  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6071$as_echo "print -r" >&6; } ;;
6072  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6073$as_echo "cat" >&6; } ;;
6074esac
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6090$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6091if ${ac_cv_path_SED+:} false; then :
6092  $as_echo_n "(cached) " >&6
6093else
6094            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6095     for ac_i in 1 2 3 4 5 6 7; do
6096       ac_script="$ac_script$as_nl$ac_script"
6097     done
6098     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6099     { ac_script=; unset ac_script;}
6100     if test -z "$SED"; then
6101  ac_path_SED_found=false
6102  # Loop through the user's path and test for each of PROGNAME-LIST
6103  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104for as_dir in $PATH
6105do
6106  IFS=$as_save_IFS
6107  test -z "$as_dir" && as_dir=.
6108    for ac_prog in sed gsed; do
6109    for ac_exec_ext in '' $ac_executable_extensions; do
6110      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6111      as_fn_executable_p "$ac_path_SED" || continue
6112# Check for GNU ac_path_SED and select it if it is found.
6113  # Check for GNU $ac_path_SED
6114case `"$ac_path_SED" --version 2>&1` in
6115*GNU*)
6116  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6117*)
6118  ac_count=0
6119  $as_echo_n 0123456789 >"conftest.in"
6120  while :
6121  do
6122    cat "conftest.in" "conftest.in" >"conftest.tmp"
6123    mv "conftest.tmp" "conftest.in"
6124    cp "conftest.in" "conftest.nl"
6125    $as_echo '' >> "conftest.nl"
6126    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6127    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6128    as_fn_arith $ac_count + 1 && ac_count=$as_val
6129    if test $ac_count -gt ${ac_path_SED_max-0}; then
6130      # Best one so far, save it but keep looking for a better one
6131      ac_cv_path_SED="$ac_path_SED"
6132      ac_path_SED_max=$ac_count
6133    fi
6134    # 10*(2^10) chars as input seems more than enough
6135    test $ac_count -gt 10 && break
6136  done
6137  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6138esac
6139
6140      $ac_path_SED_found && break 3
6141    done
6142  done
6143  done
6144IFS=$as_save_IFS
6145  if test -z "$ac_cv_path_SED"; then
6146    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6147  fi
6148else
6149  ac_cv_path_SED=$SED
6150fi
6151
6152fi
6153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6154$as_echo "$ac_cv_path_SED" >&6; }
6155 SED="$ac_cv_path_SED"
6156  rm -f conftest.sed
6157
6158test -z "$SED" && SED=sed
6159Xsed="$SED -e 1s/^X//"
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6172$as_echo_n "checking for fgrep... " >&6; }
6173if ${ac_cv_path_FGREP+:} false; then :
6174  $as_echo_n "(cached) " >&6
6175else
6176  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6177   then ac_cv_path_FGREP="$GREP -F"
6178   else
6179     if test -z "$FGREP"; then
6180  ac_path_FGREP_found=false
6181  # Loop through the user's path and test for each of PROGNAME-LIST
6182  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6184do
6185  IFS=$as_save_IFS
6186  test -z "$as_dir" && as_dir=.
6187    for ac_prog in fgrep; do
6188    for ac_exec_ext in '' $ac_executable_extensions; do
6189      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6190      as_fn_executable_p "$ac_path_FGREP" || continue
6191# Check for GNU ac_path_FGREP and select it if it is found.
6192  # Check for GNU $ac_path_FGREP
6193case `"$ac_path_FGREP" --version 2>&1` in
6194*GNU*)
6195  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6196*)
6197  ac_count=0
6198  $as_echo_n 0123456789 >"conftest.in"
6199  while :
6200  do
6201    cat "conftest.in" "conftest.in" >"conftest.tmp"
6202    mv "conftest.tmp" "conftest.in"
6203    cp "conftest.in" "conftest.nl"
6204    $as_echo 'FGREP' >> "conftest.nl"
6205    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6206    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6207    as_fn_arith $ac_count + 1 && ac_count=$as_val
6208    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6209      # Best one so far, save it but keep looking for a better one
6210      ac_cv_path_FGREP="$ac_path_FGREP"
6211      ac_path_FGREP_max=$ac_count
6212    fi
6213    # 10*(2^10) chars as input seems more than enough
6214    test $ac_count -gt 10 && break
6215  done
6216  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6217esac
6218
6219      $ac_path_FGREP_found && break 3
6220    done
6221  done
6222  done
6223IFS=$as_save_IFS
6224  if test -z "$ac_cv_path_FGREP"; then
6225    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6226  fi
6227else
6228  ac_cv_path_FGREP=$FGREP
6229fi
6230
6231   fi
6232fi
6233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6234$as_echo "$ac_cv_path_FGREP" >&6; }
6235 FGREP="$ac_cv_path_FGREP"
6236
6237
6238test -z "$GREP" && GREP=grep
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258# Check whether --with-gnu-ld was given.
6259if test "${with_gnu_ld+set}" = set; then :
6260  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6261else
6262  with_gnu_ld=no
6263fi
6264
6265ac_prog=ld
6266if test yes = "$GCC"; then
6267  # Check if gcc -print-prog-name=ld gives a path.
6268  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6269$as_echo_n "checking for ld used by $CC... " >&6; }
6270  case $host in
6271  *-*-mingw*)
6272    # gcc leaves a trailing carriage return, which upsets mingw
6273    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6274  *)
6275    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6276  esac
6277  case $ac_prog in
6278    # Accept absolute paths.
6279    [\\/]* | ?:[\\/]*)
6280      re_direlt='/[^/][^/]*/\.\./'
6281      # Canonicalize the pathname of ld
6282      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6283      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6284	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6285      done
6286      test -z "$LD" && LD=$ac_prog
6287      ;;
6288  "")
6289    # If it fails, then pretend we aren't using GCC.
6290    ac_prog=ld
6291    ;;
6292  *)
6293    # If it is relative, then search for the first ld in PATH.
6294    with_gnu_ld=unknown
6295    ;;
6296  esac
6297elif test yes = "$with_gnu_ld"; then
6298  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6299$as_echo_n "checking for GNU ld... " >&6; }
6300else
6301  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6302$as_echo_n "checking for non-GNU ld... " >&6; }
6303fi
6304if ${lt_cv_path_LD+:} false; then :
6305  $as_echo_n "(cached) " >&6
6306else
6307  if test -z "$LD"; then
6308  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6309  for ac_dir in $PATH; do
6310    IFS=$lt_save_ifs
6311    test -z "$ac_dir" && ac_dir=.
6312    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6313      lt_cv_path_LD=$ac_dir/$ac_prog
6314      # Check to see if the program is GNU ld.  I'd rather use --version,
6315      # but apparently some variants of GNU ld only accept -v.
6316      # Break only if it was the GNU/non-GNU ld that we prefer.
6317      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6318      *GNU* | *'with BFD'*)
6319	test no != "$with_gnu_ld" && break
6320	;;
6321      *)
6322	test yes != "$with_gnu_ld" && break
6323	;;
6324      esac
6325    fi
6326  done
6327  IFS=$lt_save_ifs
6328else
6329  lt_cv_path_LD=$LD # Let the user override the test with a path.
6330fi
6331fi
6332
6333LD=$lt_cv_path_LD
6334if test -n "$LD"; then
6335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6336$as_echo "$LD" >&6; }
6337else
6338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6339$as_echo "no" >&6; }
6340fi
6341test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6343$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6344if ${lt_cv_prog_gnu_ld+:} false; then :
6345  $as_echo_n "(cached) " >&6
6346else
6347  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6348case `$LD -v 2>&1 </dev/null` in
6349*GNU* | *'with BFD'*)
6350  lt_cv_prog_gnu_ld=yes
6351  ;;
6352*)
6353  lt_cv_prog_gnu_ld=no
6354  ;;
6355esac
6356fi
6357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6358$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6359with_gnu_ld=$lt_cv_prog_gnu_ld
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6370$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6371if ${lt_cv_path_NM+:} false; then :
6372  $as_echo_n "(cached) " >&6
6373else
6374  if test -n "$NM"; then
6375  # Let the user override the test.
6376  lt_cv_path_NM=$NM
6377else
6378  lt_nm_to_check=${ac_tool_prefix}nm
6379  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6380    lt_nm_to_check="$lt_nm_to_check nm"
6381  fi
6382  for lt_tmp_nm in $lt_nm_to_check; do
6383    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6384    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6385      IFS=$lt_save_ifs
6386      test -z "$ac_dir" && ac_dir=.
6387      tmp_nm=$ac_dir/$lt_tmp_nm
6388      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6389	# Check to see if the nm accepts a BSD-compat flag.
6390	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6391	#   nm: unknown option "B" ignored
6392	# Tru64's nm complains that /dev/null is an invalid object file
6393	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6394	case $build_os in
6395	mingw*) lt_bad_file=conftest.nm/nofile ;;
6396	*) lt_bad_file=/dev/null ;;
6397	esac
6398	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6399	*$lt_bad_file* | *'Invalid file or object type'*)
6400	  lt_cv_path_NM="$tmp_nm -B"
6401	  break 2
6402	  ;;
6403	*)
6404	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6405	  */dev/null*)
6406	    lt_cv_path_NM="$tmp_nm -p"
6407	    break 2
6408	    ;;
6409	  *)
6410	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6411	    continue # so that we can try to find one that supports BSD flags
6412	    ;;
6413	  esac
6414	  ;;
6415	esac
6416      fi
6417    done
6418    IFS=$lt_save_ifs
6419  done
6420  : ${lt_cv_path_NM=no}
6421fi
6422fi
6423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6424$as_echo "$lt_cv_path_NM" >&6; }
6425if test no != "$lt_cv_path_NM"; then
6426  NM=$lt_cv_path_NM
6427else
6428  # Didn't find any BSD compatible name lister, look for dumpbin.
6429  if test -n "$DUMPBIN"; then :
6430    # Let the user override the test.
6431  else
6432    if test -n "$ac_tool_prefix"; then
6433  for ac_prog in dumpbin "link -dump"
6434  do
6435    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6436set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6438$as_echo_n "checking for $ac_word... " >&6; }
6439if ${ac_cv_prog_DUMPBIN+:} false; then :
6440  $as_echo_n "(cached) " >&6
6441else
6442  if test -n "$DUMPBIN"; then
6443  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6444else
6445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446for as_dir in $PATH
6447do
6448  IFS=$as_save_IFS
6449  test -z "$as_dir" && as_dir=.
6450    for ac_exec_ext in '' $ac_executable_extensions; do
6451  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6452    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6453    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6454    break 2
6455  fi
6456done
6457  done
6458IFS=$as_save_IFS
6459
6460fi
6461fi
6462DUMPBIN=$ac_cv_prog_DUMPBIN
6463if test -n "$DUMPBIN"; then
6464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6465$as_echo "$DUMPBIN" >&6; }
6466else
6467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6468$as_echo "no" >&6; }
6469fi
6470
6471
6472    test -n "$DUMPBIN" && break
6473  done
6474fi
6475if test -z "$DUMPBIN"; then
6476  ac_ct_DUMPBIN=$DUMPBIN
6477  for ac_prog in dumpbin "link -dump"
6478do
6479  # Extract the first word of "$ac_prog", so it can be a program name with args.
6480set dummy $ac_prog; ac_word=$2
6481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6482$as_echo_n "checking for $ac_word... " >&6; }
6483if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6484  $as_echo_n "(cached) " >&6
6485else
6486  if test -n "$ac_ct_DUMPBIN"; then
6487  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6488else
6489as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490for as_dir in $PATH
6491do
6492  IFS=$as_save_IFS
6493  test -z "$as_dir" && as_dir=.
6494    for ac_exec_ext in '' $ac_executable_extensions; do
6495  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6496    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6497    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498    break 2
6499  fi
6500done
6501  done
6502IFS=$as_save_IFS
6503
6504fi
6505fi
6506ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6507if test -n "$ac_ct_DUMPBIN"; then
6508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6509$as_echo "$ac_ct_DUMPBIN" >&6; }
6510else
6511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512$as_echo "no" >&6; }
6513fi
6514
6515
6516  test -n "$ac_ct_DUMPBIN" && break
6517done
6518
6519  if test "x$ac_ct_DUMPBIN" = x; then
6520    DUMPBIN=":"
6521  else
6522    case $cross_compiling:$ac_tool_warned in
6523yes:)
6524{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6525$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6526ac_tool_warned=yes ;;
6527esac
6528    DUMPBIN=$ac_ct_DUMPBIN
6529  fi
6530fi
6531
6532    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6533    *COFF*)
6534      DUMPBIN="$DUMPBIN -symbols -headers"
6535      ;;
6536    *)
6537      DUMPBIN=:
6538      ;;
6539    esac
6540  fi
6541
6542  if test : != "$DUMPBIN"; then
6543    NM=$DUMPBIN
6544  fi
6545fi
6546test -z "$NM" && NM=nm
6547
6548
6549
6550
6551
6552
6553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6554$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6555if ${lt_cv_nm_interface+:} false; then :
6556  $as_echo_n "(cached) " >&6
6557else
6558  lt_cv_nm_interface="BSD nm"
6559  echo "int some_variable = 0;" > conftest.$ac_ext
6560  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6561  (eval "$ac_compile" 2>conftest.err)
6562  cat conftest.err >&5
6563  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6564  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6565  cat conftest.err >&5
6566  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6567  cat conftest.out >&5
6568  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6569    lt_cv_nm_interface="MS dumpbin"
6570  fi
6571  rm -f conftest*
6572fi
6573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6574$as_echo "$lt_cv_nm_interface" >&6; }
6575
6576# find the maximum length of command line arguments
6577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6578$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6579if ${lt_cv_sys_max_cmd_len+:} false; then :
6580  $as_echo_n "(cached) " >&6
6581else
6582    i=0
6583  teststring=ABCD
6584
6585  case $build_os in
6586  msdosdjgpp*)
6587    # On DJGPP, this test can blow up pretty badly due to problems in libc
6588    # (any single argument exceeding 2000 bytes causes a buffer overrun
6589    # during glob expansion).  Even if it were fixed, the result of this
6590    # check would be larger than it should be.
6591    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6592    ;;
6593
6594  gnu*)
6595    # Under GNU Hurd, this test is not required because there is
6596    # no limit to the length of command line arguments.
6597    # Libtool will interpret -1 as no limit whatsoever
6598    lt_cv_sys_max_cmd_len=-1;
6599    ;;
6600
6601  cygwin* | mingw* | cegcc*)
6602    # On Win9x/ME, this test blows up -- it succeeds, but takes
6603    # about 5 minutes as the teststring grows exponentially.
6604    # Worse, since 9x/ME are not pre-emptively multitasking,
6605    # you end up with a "frozen" computer, even though with patience
6606    # the test eventually succeeds (with a max line length of 256k).
6607    # Instead, let's just punt: use the minimum linelength reported by
6608    # all of the supported platforms: 8192 (on NT/2K/XP).
6609    lt_cv_sys_max_cmd_len=8192;
6610    ;;
6611
6612  mint*)
6613    # On MiNT this can take a long time and run out of memory.
6614    lt_cv_sys_max_cmd_len=8192;
6615    ;;
6616
6617  amigaos*)
6618    # On AmigaOS with pdksh, this test takes hours, literally.
6619    # So we just punt and use a minimum line length of 8192.
6620    lt_cv_sys_max_cmd_len=8192;
6621    ;;
6622
6623  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6624    # This has been around since 386BSD, at least.  Likely further.
6625    if test -x /sbin/sysctl; then
6626      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6627    elif test -x /usr/sbin/sysctl; then
6628      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6629    else
6630      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6631    fi
6632    # And add a safety zone
6633    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6634    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6635    ;;
6636
6637  interix*)
6638    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6639    lt_cv_sys_max_cmd_len=196608
6640    ;;
6641
6642  os2*)
6643    # The test takes a long time on OS/2.
6644    lt_cv_sys_max_cmd_len=8192
6645    ;;
6646
6647  osf*)
6648    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6649    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6650    # nice to cause kernel panics so lets avoid the loop below.
6651    # First set a reasonable default.
6652    lt_cv_sys_max_cmd_len=16384
6653    #
6654    if test -x /sbin/sysconfig; then
6655      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6656        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6657      esac
6658    fi
6659    ;;
6660  sco3.2v5*)
6661    lt_cv_sys_max_cmd_len=102400
6662    ;;
6663  sysv5* | sco5v6* | sysv4.2uw2*)
6664    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6665    if test -n "$kargmax"; then
6666      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6667    else
6668      lt_cv_sys_max_cmd_len=32768
6669    fi
6670    ;;
6671  *)
6672    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6673    if test -n "$lt_cv_sys_max_cmd_len" && \
6674       test undefined != "$lt_cv_sys_max_cmd_len"; then
6675      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6676      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6677    else
6678      # Make teststring a little bigger before we do anything with it.
6679      # a 1K string should be a reasonable start.
6680      for i in 1 2 3 4 5 6 7 8; do
6681        teststring=$teststring$teststring
6682      done
6683      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6684      # If test is not a shell built-in, we'll probably end up computing a
6685      # maximum length that is only half of the actual maximum length, but
6686      # we can't tell.
6687      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6688	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6689	      test 17 != "$i" # 1/2 MB should be enough
6690      do
6691        i=`expr $i + 1`
6692        teststring=$teststring$teststring
6693      done
6694      # Only check the string length outside the loop.
6695      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6696      teststring=
6697      # Add a significant safety factor because C++ compilers can tack on
6698      # massive amounts of additional arguments before passing them to the
6699      # linker.  It appears as though 1/2 is a usable value.
6700      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6701    fi
6702    ;;
6703  esac
6704
6705fi
6706
6707if test -n "$lt_cv_sys_max_cmd_len"; then
6708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6709$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6710else
6711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6712$as_echo "none" >&6; }
6713fi
6714max_cmd_len=$lt_cv_sys_max_cmd_len
6715
6716
6717
6718
6719
6720
6721: ${CP="cp -f"}
6722: ${MV="mv -f"}
6723: ${RM="rm -f"}
6724
6725if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6726  lt_unset=unset
6727else
6728  lt_unset=false
6729fi
6730
6731
6732
6733
6734
6735# test EBCDIC or ASCII
6736case `echo X|tr X '\101'` in
6737 A) # ASCII based system
6738    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6739  lt_SP2NL='tr \040 \012'
6740  lt_NL2SP='tr \015\012 \040\040'
6741  ;;
6742 *) # EBCDIC based system
6743  lt_SP2NL='tr \100 \n'
6744  lt_NL2SP='tr \r\n \100\100'
6745  ;;
6746esac
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6757$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6758if ${lt_cv_to_host_file_cmd+:} false; then :
6759  $as_echo_n "(cached) " >&6
6760else
6761  case $host in
6762  *-*-mingw* )
6763    case $build in
6764      *-*-mingw* ) # actually msys
6765        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6766        ;;
6767      *-*-cygwin* )
6768        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6769        ;;
6770      * ) # otherwise, assume *nix
6771        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6772        ;;
6773    esac
6774    ;;
6775  *-*-cygwin* )
6776    case $build in
6777      *-*-mingw* ) # actually msys
6778        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6779        ;;
6780      *-*-cygwin* )
6781        lt_cv_to_host_file_cmd=func_convert_file_noop
6782        ;;
6783      * ) # otherwise, assume *nix
6784        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6785        ;;
6786    esac
6787    ;;
6788  * ) # unhandled hosts (and "normal" native builds)
6789    lt_cv_to_host_file_cmd=func_convert_file_noop
6790    ;;
6791esac
6792
6793fi
6794
6795to_host_file_cmd=$lt_cv_to_host_file_cmd
6796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6797$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6798
6799
6800
6801
6802
6803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6804$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6805if ${lt_cv_to_tool_file_cmd+:} false; then :
6806  $as_echo_n "(cached) " >&6
6807else
6808  #assume ordinary cross tools, or native build.
6809lt_cv_to_tool_file_cmd=func_convert_file_noop
6810case $host in
6811  *-*-mingw* )
6812    case $build in
6813      *-*-mingw* ) # actually msys
6814        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6815        ;;
6816    esac
6817    ;;
6818esac
6819
6820fi
6821
6822to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6824$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6825
6826
6827
6828
6829
6830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6831$as_echo_n "checking for $LD option to reload object files... " >&6; }
6832if ${lt_cv_ld_reload_flag+:} false; then :
6833  $as_echo_n "(cached) " >&6
6834else
6835  lt_cv_ld_reload_flag='-r'
6836fi
6837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6838$as_echo "$lt_cv_ld_reload_flag" >&6; }
6839reload_flag=$lt_cv_ld_reload_flag
6840case $reload_flag in
6841"" | " "*) ;;
6842*) reload_flag=" $reload_flag" ;;
6843esac
6844reload_cmds='$LD$reload_flag -o $output$reload_objs'
6845case $host_os in
6846  cygwin* | mingw* | pw32* | cegcc*)
6847    if test yes != "$GCC"; then
6848      reload_cmds=false
6849    fi
6850    ;;
6851  darwin*)
6852    if test yes = "$GCC"; then
6853      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6854    else
6855      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6856    fi
6857    ;;
6858esac
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868if test -n "$ac_tool_prefix"; then
6869  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6870set dummy ${ac_tool_prefix}objdump; ac_word=$2
6871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6872$as_echo_n "checking for $ac_word... " >&6; }
6873if ${ac_cv_prog_OBJDUMP+:} false; then :
6874  $as_echo_n "(cached) " >&6
6875else
6876  if test -n "$OBJDUMP"; then
6877  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6878else
6879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880for as_dir in $PATH
6881do
6882  IFS=$as_save_IFS
6883  test -z "$as_dir" && as_dir=.
6884    for ac_exec_ext in '' $ac_executable_extensions; do
6885  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6886    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6887    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6888    break 2
6889  fi
6890done
6891  done
6892IFS=$as_save_IFS
6893
6894fi
6895fi
6896OBJDUMP=$ac_cv_prog_OBJDUMP
6897if test -n "$OBJDUMP"; then
6898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6899$as_echo "$OBJDUMP" >&6; }
6900else
6901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6902$as_echo "no" >&6; }
6903fi
6904
6905
6906fi
6907if test -z "$ac_cv_prog_OBJDUMP"; then
6908  ac_ct_OBJDUMP=$OBJDUMP
6909  # Extract the first word of "objdump", so it can be a program name with args.
6910set dummy objdump; ac_word=$2
6911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6912$as_echo_n "checking for $ac_word... " >&6; }
6913if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6914  $as_echo_n "(cached) " >&6
6915else
6916  if test -n "$ac_ct_OBJDUMP"; then
6917  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6918else
6919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6920for as_dir in $PATH
6921do
6922  IFS=$as_save_IFS
6923  test -z "$as_dir" && as_dir=.
6924    for ac_exec_ext in '' $ac_executable_extensions; do
6925  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6926    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6927    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6928    break 2
6929  fi
6930done
6931  done
6932IFS=$as_save_IFS
6933
6934fi
6935fi
6936ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6937if test -n "$ac_ct_OBJDUMP"; then
6938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6939$as_echo "$ac_ct_OBJDUMP" >&6; }
6940else
6941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6942$as_echo "no" >&6; }
6943fi
6944
6945  if test "x$ac_ct_OBJDUMP" = x; then
6946    OBJDUMP="false"
6947  else
6948    case $cross_compiling:$ac_tool_warned in
6949yes:)
6950{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6951$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6952ac_tool_warned=yes ;;
6953esac
6954    OBJDUMP=$ac_ct_OBJDUMP
6955  fi
6956else
6957  OBJDUMP="$ac_cv_prog_OBJDUMP"
6958fi
6959
6960test -z "$OBJDUMP" && OBJDUMP=objdump
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6971$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6972if ${lt_cv_deplibs_check_method+:} false; then :
6973  $as_echo_n "(cached) " >&6
6974else
6975  lt_cv_file_magic_cmd='$MAGIC_CMD'
6976lt_cv_file_magic_test_file=
6977lt_cv_deplibs_check_method='unknown'
6978# Need to set the preceding variable on all platforms that support
6979# interlibrary dependencies.
6980# 'none' -- dependencies not supported.
6981# 'unknown' -- same as none, but documents that we really don't know.
6982# 'pass_all' -- all dependencies passed with no checks.
6983# 'test_compile' -- check by making test program.
6984# 'file_magic [[regex]]' -- check by looking for files in library path
6985# that responds to the $file_magic_cmd with a given extended regex.
6986# If you have 'file' or equivalent on your system and you're not sure
6987# whether 'pass_all' will *always* work, you probably want this one.
6988
6989case $host_os in
6990aix[4-9]*)
6991  lt_cv_deplibs_check_method=pass_all
6992  ;;
6993
6994beos*)
6995  lt_cv_deplibs_check_method=pass_all
6996  ;;
6997
6998bsdi[45]*)
6999  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7000  lt_cv_file_magic_cmd='/usr/bin/file -L'
7001  lt_cv_file_magic_test_file=/shlib/libc.so
7002  ;;
7003
7004cygwin*)
7005  # func_win32_libid is a shell function defined in ltmain.sh
7006  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7007  lt_cv_file_magic_cmd='func_win32_libid'
7008  ;;
7009
7010mingw* | pw32*)
7011  # Base MSYS/MinGW do not provide the 'file' command needed by
7012  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7013  # unless we find 'file', for example because we are cross-compiling.
7014  if ( file / ) >/dev/null 2>&1; then
7015    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7016    lt_cv_file_magic_cmd='func_win32_libid'
7017  else
7018    # Keep this pattern in sync with the one in func_win32_libid.
7019    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7020    lt_cv_file_magic_cmd='$OBJDUMP -f'
7021  fi
7022  ;;
7023
7024cegcc*)
7025  # use the weaker test based on 'objdump'. See mingw*.
7026  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7027  lt_cv_file_magic_cmd='$OBJDUMP -f'
7028  ;;
7029
7030darwin* | rhapsody*)
7031  lt_cv_deplibs_check_method=pass_all
7032  ;;
7033
7034freebsd* | dragonfly*)
7035  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7036    case $host_cpu in
7037    i*86 )
7038      # Not sure whether the presence of OpenBSD here was a mistake.
7039      # Let's accept both of them until this is cleared up.
7040      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7041      lt_cv_file_magic_cmd=/usr/bin/file
7042      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7043      ;;
7044    esac
7045  else
7046    lt_cv_deplibs_check_method=pass_all
7047  fi
7048  ;;
7049
7050haiku*)
7051  lt_cv_deplibs_check_method=pass_all
7052  ;;
7053
7054hpux10.20* | hpux11*)
7055  lt_cv_file_magic_cmd=/usr/bin/file
7056  case $host_cpu in
7057  ia64*)
7058    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7059    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7060    ;;
7061  hppa*64*)
7062    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]'
7063    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7064    ;;
7065  *)
7066    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7067    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7068    ;;
7069  esac
7070  ;;
7071
7072interix[3-9]*)
7073  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7074  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7075  ;;
7076
7077irix5* | irix6* | nonstopux*)
7078  case $LD in
7079  *-32|*"-32 ") libmagic=32-bit;;
7080  *-n32|*"-n32 ") libmagic=N32;;
7081  *-64|*"-64 ") libmagic=64-bit;;
7082  *) libmagic=never-match;;
7083  esac
7084  lt_cv_deplibs_check_method=pass_all
7085  ;;
7086
7087# This must be glibc/ELF.
7088linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7089  lt_cv_deplibs_check_method=pass_all
7090  ;;
7091
7092netbsd*)
7093  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7094    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7095  else
7096    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7097  fi
7098  ;;
7099
7100newos6*)
7101  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7102  lt_cv_file_magic_cmd=/usr/bin/file
7103  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7104  ;;
7105
7106*nto* | *qnx*)
7107  lt_cv_deplibs_check_method=pass_all
7108  ;;
7109
7110openbsd* | bitrig*)
7111  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7112    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7113  else
7114    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7115  fi
7116  ;;
7117
7118osf3* | osf4* | osf5*)
7119  lt_cv_deplibs_check_method=pass_all
7120  ;;
7121
7122rdos*)
7123  lt_cv_deplibs_check_method=pass_all
7124  ;;
7125
7126solaris*)
7127  lt_cv_deplibs_check_method=pass_all
7128  ;;
7129
7130sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7131  lt_cv_deplibs_check_method=pass_all
7132  ;;
7133
7134sysv4 | sysv4.3*)
7135  case $host_vendor in
7136  motorola)
7137    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]'
7138    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7139    ;;
7140  ncr)
7141    lt_cv_deplibs_check_method=pass_all
7142    ;;
7143  sequent)
7144    lt_cv_file_magic_cmd='/bin/file'
7145    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7146    ;;
7147  sni)
7148    lt_cv_file_magic_cmd='/bin/file'
7149    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7150    lt_cv_file_magic_test_file=/lib/libc.so
7151    ;;
7152  siemens)
7153    lt_cv_deplibs_check_method=pass_all
7154    ;;
7155  pc)
7156    lt_cv_deplibs_check_method=pass_all
7157    ;;
7158  esac
7159  ;;
7160
7161tpf*)
7162  lt_cv_deplibs_check_method=pass_all
7163  ;;
7164os2*)
7165  lt_cv_deplibs_check_method=pass_all
7166  ;;
7167esac
7168
7169fi
7170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7171$as_echo "$lt_cv_deplibs_check_method" >&6; }
7172
7173file_magic_glob=
7174want_nocaseglob=no
7175if test "$build" = "$host"; then
7176  case $host_os in
7177  mingw* | pw32*)
7178    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7179      want_nocaseglob=yes
7180    else
7181      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7182    fi
7183    ;;
7184  esac
7185fi
7186
7187file_magic_cmd=$lt_cv_file_magic_cmd
7188deplibs_check_method=$lt_cv_deplibs_check_method
7189test -z "$deplibs_check_method" && deplibs_check_method=unknown
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212if test -n "$ac_tool_prefix"; then
7213  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7214set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216$as_echo_n "checking for $ac_word... " >&6; }
7217if ${ac_cv_prog_DLLTOOL+:} false; then :
7218  $as_echo_n "(cached) " >&6
7219else
7220  if test -n "$DLLTOOL"; then
7221  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7222else
7223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224for as_dir in $PATH
7225do
7226  IFS=$as_save_IFS
7227  test -z "$as_dir" && as_dir=.
7228    for ac_exec_ext in '' $ac_executable_extensions; do
7229  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7230    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7231    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7232    break 2
7233  fi
7234done
7235  done
7236IFS=$as_save_IFS
7237
7238fi
7239fi
7240DLLTOOL=$ac_cv_prog_DLLTOOL
7241if test -n "$DLLTOOL"; then
7242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7243$as_echo "$DLLTOOL" >&6; }
7244else
7245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246$as_echo "no" >&6; }
7247fi
7248
7249
7250fi
7251if test -z "$ac_cv_prog_DLLTOOL"; then
7252  ac_ct_DLLTOOL=$DLLTOOL
7253  # Extract the first word of "dlltool", so it can be a program name with args.
7254set dummy dlltool; ac_word=$2
7255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7256$as_echo_n "checking for $ac_word... " >&6; }
7257if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7258  $as_echo_n "(cached) " >&6
7259else
7260  if test -n "$ac_ct_DLLTOOL"; then
7261  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7262else
7263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7264for as_dir in $PATH
7265do
7266  IFS=$as_save_IFS
7267  test -z "$as_dir" && as_dir=.
7268    for ac_exec_ext in '' $ac_executable_extensions; do
7269  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7271    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7272    break 2
7273  fi
7274done
7275  done
7276IFS=$as_save_IFS
7277
7278fi
7279fi
7280ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7281if test -n "$ac_ct_DLLTOOL"; then
7282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7283$as_echo "$ac_ct_DLLTOOL" >&6; }
7284else
7285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286$as_echo "no" >&6; }
7287fi
7288
7289  if test "x$ac_ct_DLLTOOL" = x; then
7290    DLLTOOL="false"
7291  else
7292    case $cross_compiling:$ac_tool_warned in
7293yes:)
7294{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7295$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7296ac_tool_warned=yes ;;
7297esac
7298    DLLTOOL=$ac_ct_DLLTOOL
7299  fi
7300else
7301  DLLTOOL="$ac_cv_prog_DLLTOOL"
7302fi
7303
7304test -z "$DLLTOOL" && DLLTOOL=dlltool
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7316$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7317if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7318  $as_echo_n "(cached) " >&6
7319else
7320  lt_cv_sharedlib_from_linklib_cmd='unknown'
7321
7322case $host_os in
7323cygwin* | mingw* | pw32* | cegcc*)
7324  # two different shell functions defined in ltmain.sh;
7325  # decide which one to use based on capabilities of $DLLTOOL
7326  case `$DLLTOOL --help 2>&1` in
7327  *--identify-strict*)
7328    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7329    ;;
7330  *)
7331    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7332    ;;
7333  esac
7334  ;;
7335*)
7336  # fallback: assume linklib IS sharedlib
7337  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7338  ;;
7339esac
7340
7341fi
7342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7343$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7344sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7345test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7346
7347
7348
7349
7350
7351
7352
7353if test -n "$ac_tool_prefix"; then
7354  for ac_prog in ar
7355  do
7356    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7357set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359$as_echo_n "checking for $ac_word... " >&6; }
7360if ${ac_cv_prog_AR+:} false; then :
7361  $as_echo_n "(cached) " >&6
7362else
7363  if test -n "$AR"; then
7364  ac_cv_prog_AR="$AR" # Let the user override the test.
7365else
7366as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367for as_dir in $PATH
7368do
7369  IFS=$as_save_IFS
7370  test -z "$as_dir" && as_dir=.
7371    for ac_exec_ext in '' $ac_executable_extensions; do
7372  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7373    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7374    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7375    break 2
7376  fi
7377done
7378  done
7379IFS=$as_save_IFS
7380
7381fi
7382fi
7383AR=$ac_cv_prog_AR
7384if test -n "$AR"; then
7385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7386$as_echo "$AR" >&6; }
7387else
7388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389$as_echo "no" >&6; }
7390fi
7391
7392
7393    test -n "$AR" && break
7394  done
7395fi
7396if test -z "$AR"; then
7397  ac_ct_AR=$AR
7398  for ac_prog in ar
7399do
7400  # Extract the first word of "$ac_prog", so it can be a program name with args.
7401set dummy $ac_prog; ac_word=$2
7402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403$as_echo_n "checking for $ac_word... " >&6; }
7404if ${ac_cv_prog_ac_ct_AR+:} false; then :
7405  $as_echo_n "(cached) " >&6
7406else
7407  if test -n "$ac_ct_AR"; then
7408  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7409else
7410as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411for as_dir in $PATH
7412do
7413  IFS=$as_save_IFS
7414  test -z "$as_dir" && as_dir=.
7415    for ac_exec_ext in '' $ac_executable_extensions; do
7416  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7417    ac_cv_prog_ac_ct_AR="$ac_prog"
7418    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419    break 2
7420  fi
7421done
7422  done
7423IFS=$as_save_IFS
7424
7425fi
7426fi
7427ac_ct_AR=$ac_cv_prog_ac_ct_AR
7428if test -n "$ac_ct_AR"; then
7429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7430$as_echo "$ac_ct_AR" >&6; }
7431else
7432  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433$as_echo "no" >&6; }
7434fi
7435
7436
7437  test -n "$ac_ct_AR" && break
7438done
7439
7440  if test "x$ac_ct_AR" = x; then
7441    AR="false"
7442  else
7443    case $cross_compiling:$ac_tool_warned in
7444yes:)
7445{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7446$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7447ac_tool_warned=yes ;;
7448esac
7449    AR=$ac_ct_AR
7450  fi
7451fi
7452
7453: ${AR=ar}
7454: ${AR_FLAGS=cru}
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7467$as_echo_n "checking for archiver @FILE support... " >&6; }
7468if ${lt_cv_ar_at_file+:} false; then :
7469  $as_echo_n "(cached) " >&6
7470else
7471  lt_cv_ar_at_file=no
7472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7473/* end confdefs.h.  */
7474
7475int
7476main ()
7477{
7478
7479  ;
7480  return 0;
7481}
7482_ACEOF
7483if ac_fn_c_try_compile "$LINENO"; then :
7484  echo conftest.$ac_objext > conftest.lst
7485      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7486      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7487  (eval $lt_ar_try) 2>&5
7488  ac_status=$?
7489  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7490  test $ac_status = 0; }
7491      if test 0 -eq "$ac_status"; then
7492	# Ensure the archiver fails upon bogus file names.
7493	rm -f conftest.$ac_objext libconftest.a
7494	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7495  (eval $lt_ar_try) 2>&5
7496  ac_status=$?
7497  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7498  test $ac_status = 0; }
7499	if test 0 -ne "$ac_status"; then
7500          lt_cv_ar_at_file=@
7501        fi
7502      fi
7503      rm -f conftest.* libconftest.a
7504
7505fi
7506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7507
7508fi
7509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7510$as_echo "$lt_cv_ar_at_file" >&6; }
7511
7512if test no = "$lt_cv_ar_at_file"; then
7513  archiver_list_spec=
7514else
7515  archiver_list_spec=$lt_cv_ar_at_file
7516fi
7517
7518
7519
7520
7521
7522
7523
7524if test -n "$ac_tool_prefix"; then
7525  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7526set dummy ${ac_tool_prefix}strip; ac_word=$2
7527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7528$as_echo_n "checking for $ac_word... " >&6; }
7529if ${ac_cv_prog_STRIP+:} false; then :
7530  $as_echo_n "(cached) " >&6
7531else
7532  if test -n "$STRIP"; then
7533  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7534else
7535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7536for as_dir in $PATH
7537do
7538  IFS=$as_save_IFS
7539  test -z "$as_dir" && as_dir=.
7540    for ac_exec_ext in '' $ac_executable_extensions; do
7541  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7542    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7543    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544    break 2
7545  fi
7546done
7547  done
7548IFS=$as_save_IFS
7549
7550fi
7551fi
7552STRIP=$ac_cv_prog_STRIP
7553if test -n "$STRIP"; then
7554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7555$as_echo "$STRIP" >&6; }
7556else
7557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7558$as_echo "no" >&6; }
7559fi
7560
7561
7562fi
7563if test -z "$ac_cv_prog_STRIP"; then
7564  ac_ct_STRIP=$STRIP
7565  # Extract the first word of "strip", so it can be a program name with args.
7566set dummy strip; ac_word=$2
7567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568$as_echo_n "checking for $ac_word... " >&6; }
7569if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7570  $as_echo_n "(cached) " >&6
7571else
7572  if test -n "$ac_ct_STRIP"; then
7573  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7574else
7575as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7576for as_dir in $PATH
7577do
7578  IFS=$as_save_IFS
7579  test -z "$as_dir" && as_dir=.
7580    for ac_exec_ext in '' $ac_executable_extensions; do
7581  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7582    ac_cv_prog_ac_ct_STRIP="strip"
7583    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584    break 2
7585  fi
7586done
7587  done
7588IFS=$as_save_IFS
7589
7590fi
7591fi
7592ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7593if test -n "$ac_ct_STRIP"; then
7594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7595$as_echo "$ac_ct_STRIP" >&6; }
7596else
7597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598$as_echo "no" >&6; }
7599fi
7600
7601  if test "x$ac_ct_STRIP" = x; then
7602    STRIP=":"
7603  else
7604    case $cross_compiling:$ac_tool_warned in
7605yes:)
7606{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7607$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7608ac_tool_warned=yes ;;
7609esac
7610    STRIP=$ac_ct_STRIP
7611  fi
7612else
7613  STRIP="$ac_cv_prog_STRIP"
7614fi
7615
7616test -z "$STRIP" && STRIP=:
7617
7618
7619
7620
7621
7622
7623if test -n "$ac_tool_prefix"; then
7624  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7625set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7627$as_echo_n "checking for $ac_word... " >&6; }
7628if ${ac_cv_prog_RANLIB+:} false; then :
7629  $as_echo_n "(cached) " >&6
7630else
7631  if test -n "$RANLIB"; then
7632  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7633else
7634as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635for as_dir in $PATH
7636do
7637  IFS=$as_save_IFS
7638  test -z "$as_dir" && as_dir=.
7639    for ac_exec_ext in '' $ac_executable_extensions; do
7640  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7641    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7642    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7643    break 2
7644  fi
7645done
7646  done
7647IFS=$as_save_IFS
7648
7649fi
7650fi
7651RANLIB=$ac_cv_prog_RANLIB
7652if test -n "$RANLIB"; then
7653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7654$as_echo "$RANLIB" >&6; }
7655else
7656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657$as_echo "no" >&6; }
7658fi
7659
7660
7661fi
7662if test -z "$ac_cv_prog_RANLIB"; then
7663  ac_ct_RANLIB=$RANLIB
7664  # Extract the first word of "ranlib", so it can be a program name with args.
7665set dummy ranlib; ac_word=$2
7666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7667$as_echo_n "checking for $ac_word... " >&6; }
7668if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7669  $as_echo_n "(cached) " >&6
7670else
7671  if test -n "$ac_ct_RANLIB"; then
7672  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7673else
7674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675for as_dir in $PATH
7676do
7677  IFS=$as_save_IFS
7678  test -z "$as_dir" && as_dir=.
7679    for ac_exec_ext in '' $ac_executable_extensions; do
7680  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7681    ac_cv_prog_ac_ct_RANLIB="ranlib"
7682    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7683    break 2
7684  fi
7685done
7686  done
7687IFS=$as_save_IFS
7688
7689fi
7690fi
7691ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7692if test -n "$ac_ct_RANLIB"; then
7693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7694$as_echo "$ac_ct_RANLIB" >&6; }
7695else
7696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7697$as_echo "no" >&6; }
7698fi
7699
7700  if test "x$ac_ct_RANLIB" = x; then
7701    RANLIB=":"
7702  else
7703    case $cross_compiling:$ac_tool_warned in
7704yes:)
7705{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7706$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7707ac_tool_warned=yes ;;
7708esac
7709    RANLIB=$ac_ct_RANLIB
7710  fi
7711else
7712  RANLIB="$ac_cv_prog_RANLIB"
7713fi
7714
7715test -z "$RANLIB" && RANLIB=:
7716
7717
7718
7719
7720
7721
7722# Determine commands to create old-style static archives.
7723old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7724old_postinstall_cmds='chmod 644 $oldlib'
7725old_postuninstall_cmds=
7726
7727if test -n "$RANLIB"; then
7728  case $host_os in
7729  bitrig* | openbsd*)
7730    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7731    ;;
7732  *)
7733    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7734    ;;
7735  esac
7736  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7737fi
7738
7739case $host_os in
7740  darwin*)
7741    lock_old_archive_extraction=yes ;;
7742  *)
7743    lock_old_archive_extraction=no ;;
7744esac
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784# If no C compiler was specified, use CC.
7785LTCC=${LTCC-"$CC"}
7786
7787# If no C compiler flags were specified, use CFLAGS.
7788LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7789
7790# Allow CC to be a program name with arguments.
7791compiler=$CC
7792
7793
7794# Check for command to grab the raw symbol name followed by C symbol from nm.
7795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7796$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7797if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7798  $as_echo_n "(cached) " >&6
7799else
7800
7801# These are sane defaults that work on at least a few old systems.
7802# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7803
7804# Character class describing NM global symbol codes.
7805symcode='[BCDEGRST]'
7806
7807# Regexp to match symbols that can be accessed directly from C.
7808sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7809
7810# Define system-specific variables.
7811case $host_os in
7812aix*)
7813  symcode='[BCDT]'
7814  ;;
7815cygwin* | mingw* | pw32* | cegcc*)
7816  symcode='[ABCDGISTW]'
7817  ;;
7818hpux*)
7819  if test ia64 = "$host_cpu"; then
7820    symcode='[ABCDEGRST]'
7821  fi
7822  ;;
7823irix* | nonstopux*)
7824  symcode='[BCDEGRST]'
7825  ;;
7826osf*)
7827  symcode='[BCDEGQRST]'
7828  ;;
7829solaris*)
7830  symcode='[BDRT]'
7831  ;;
7832sco3.2v5*)
7833  symcode='[DT]'
7834  ;;
7835sysv4.2uw2*)
7836  symcode='[DT]'
7837  ;;
7838sysv5* | sco5v6* | unixware* | OpenUNIX*)
7839  symcode='[ABDT]'
7840  ;;
7841sysv4)
7842  symcode='[DFNSTU]'
7843  ;;
7844esac
7845
7846# If we're using GNU nm, then use its standard symbol codes.
7847case `$NM -V 2>&1` in
7848*GNU* | *'with BFD'*)
7849  symcode='[ABCDGIRSTW]' ;;
7850esac
7851
7852if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7853  # Gets list of data symbols to import.
7854  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7855  # Adjust the below global symbol transforms to fixup imported variables.
7856  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7857  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7858  lt_c_name_lib_hook="\
7859  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7860  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7861else
7862  # Disable hooks by default.
7863  lt_cv_sys_global_symbol_to_import=
7864  lt_cdecl_hook=
7865  lt_c_name_hook=
7866  lt_c_name_lib_hook=
7867fi
7868
7869# Transform an extracted symbol line into a proper C declaration.
7870# Some systems (esp. on ia64) link data and code symbols differently,
7871# so use this general approach.
7872lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7873$lt_cdecl_hook\
7874" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7875" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7876
7877# Transform an extracted symbol line into symbol name and symbol address
7878lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7879$lt_c_name_hook\
7880" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7881" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7882
7883# Transform an extracted symbol line into symbol name with lib prefix and
7884# symbol address.
7885lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7886$lt_c_name_lib_hook\
7887" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7888" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7889" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7890
7891# Handle CRLF in mingw tool chain
7892opt_cr=
7893case $build_os in
7894mingw*)
7895  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7896  ;;
7897esac
7898
7899# Try without a prefix underscore, then with it.
7900for ac_symprfx in "" "_"; do
7901
7902  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7903  symxfrm="\\1 $ac_symprfx\\2 \\2"
7904
7905  # Write the raw and C identifiers.
7906  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7907    # Fake it for dumpbin and say T for any non-static function,
7908    # D for any global variable and I for any imported variable.
7909    # Also find C++ and __fastcall symbols from MSVC++,
7910    # which start with @ or ?.
7911    lt_cv_sys_global_symbol_pipe="$AWK '"\
7912"     {last_section=section; section=\$ 3};"\
7913"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7914"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7915"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7916"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7917"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7918"     \$ 0!~/External *\|/{next};"\
7919"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7920"     {if(hide[section]) next};"\
7921"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7922"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7923"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7924"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7925"     ' prfx=^$ac_symprfx"
7926  else
7927    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7928  fi
7929  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7930
7931  # Check to see that the pipe works correctly.
7932  pipe_works=no
7933
7934  rm -f conftest*
7935  cat > conftest.$ac_ext <<_LT_EOF
7936#ifdef __cplusplus
7937extern "C" {
7938#endif
7939char nm_test_var;
7940void nm_test_func(void);
7941void nm_test_func(void){}
7942#ifdef __cplusplus
7943}
7944#endif
7945int main(){nm_test_var='a';nm_test_func();return(0);}
7946_LT_EOF
7947
7948  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7949  (eval $ac_compile) 2>&5
7950  ac_status=$?
7951  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7952  test $ac_status = 0; }; then
7953    # Now try to grab the symbols.
7954    nlist=conftest.nm
7955    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7956  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7957  ac_status=$?
7958  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7959  test $ac_status = 0; } && test -s "$nlist"; then
7960      # Try sorting and uniquifying the output.
7961      if sort "$nlist" | uniq > "$nlist"T; then
7962	mv -f "$nlist"T "$nlist"
7963      else
7964	rm -f "$nlist"T
7965      fi
7966
7967      # Make sure that we snagged all the symbols we need.
7968      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7969	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7970	  cat <<_LT_EOF > conftest.$ac_ext
7971/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7972#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7973/* DATA imports from DLLs on WIN32 can't be const, because runtime
7974   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7975# define LT_DLSYM_CONST
7976#elif defined __osf__
7977/* This system does not cope well with relocations in const data.  */
7978# define LT_DLSYM_CONST
7979#else
7980# define LT_DLSYM_CONST const
7981#endif
7982
7983#ifdef __cplusplus
7984extern "C" {
7985#endif
7986
7987_LT_EOF
7988	  # Now generate the symbol file.
7989	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7990
7991	  cat <<_LT_EOF >> conftest.$ac_ext
7992
7993/* The mapping between symbol names and symbols.  */
7994LT_DLSYM_CONST struct {
7995  const char *name;
7996  void       *address;
7997}
7998lt__PROGRAM__LTX_preloaded_symbols[] =
7999{
8000  { "@PROGRAM@", (void *) 0 },
8001_LT_EOF
8002	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8003	  cat <<\_LT_EOF >> conftest.$ac_ext
8004  {0, (void *) 0}
8005};
8006
8007/* This works around a problem in FreeBSD linker */
8008#ifdef FREEBSD_WORKAROUND
8009static const void *lt_preloaded_setup() {
8010  return lt__PROGRAM__LTX_preloaded_symbols;
8011}
8012#endif
8013
8014#ifdef __cplusplus
8015}
8016#endif
8017_LT_EOF
8018	  # Now try linking the two files.
8019	  mv conftest.$ac_objext conftstm.$ac_objext
8020	  lt_globsym_save_LIBS=$LIBS
8021	  lt_globsym_save_CFLAGS=$CFLAGS
8022	  LIBS=conftstm.$ac_objext
8023	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8024	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8025  (eval $ac_link) 2>&5
8026  ac_status=$?
8027  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8028  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8029	    pipe_works=yes
8030	  fi
8031	  LIBS=$lt_globsym_save_LIBS
8032	  CFLAGS=$lt_globsym_save_CFLAGS
8033	else
8034	  echo "cannot find nm_test_func in $nlist" >&5
8035	fi
8036      else
8037	echo "cannot find nm_test_var in $nlist" >&5
8038      fi
8039    else
8040      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8041    fi
8042  else
8043    echo "$progname: failed program was:" >&5
8044    cat conftest.$ac_ext >&5
8045  fi
8046  rm -rf conftest* conftst*
8047
8048  # Do not use the global_symbol_pipe unless it works.
8049  if test yes = "$pipe_works"; then
8050    break
8051  else
8052    lt_cv_sys_global_symbol_pipe=
8053  fi
8054done
8055
8056fi
8057
8058if test -z "$lt_cv_sys_global_symbol_pipe"; then
8059  lt_cv_sys_global_symbol_to_cdecl=
8060fi
8061if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8063$as_echo "failed" >&6; }
8064else
8065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8066$as_echo "ok" >&6; }
8067fi
8068
8069# Response file support.
8070if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8071  nm_file_list_spec='@'
8072elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8073  nm_file_list_spec='@'
8074fi
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8113$as_echo_n "checking for sysroot... " >&6; }
8114
8115# Check whether --with-sysroot was given.
8116if test "${with_sysroot+set}" = set; then :
8117  withval=$with_sysroot;
8118else
8119  with_sysroot=no
8120fi
8121
8122
8123lt_sysroot=
8124case $with_sysroot in #(
8125 yes)
8126   if test yes = "$GCC"; then
8127     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8128   fi
8129   ;; #(
8130 /*)
8131   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8132   ;; #(
8133 no|'')
8134   ;; #(
8135 *)
8136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8137$as_echo "$with_sysroot" >&6; }
8138   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8139   ;;
8140esac
8141
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8143$as_echo "${lt_sysroot:-no}" >&6; }
8144
8145
8146
8147
8148
8149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8150$as_echo_n "checking for a working dd... " >&6; }
8151if ${ac_cv_path_lt_DD+:} false; then :
8152  $as_echo_n "(cached) " >&6
8153else
8154  printf 0123456789abcdef0123456789abcdef >conftest.i
8155cat conftest.i conftest.i >conftest2.i
8156: ${lt_DD:=$DD}
8157if test -z "$lt_DD"; then
8158  ac_path_lt_DD_found=false
8159  # Loop through the user's path and test for each of PROGNAME-LIST
8160  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8161for as_dir in $PATH
8162do
8163  IFS=$as_save_IFS
8164  test -z "$as_dir" && as_dir=.
8165    for ac_prog in dd; do
8166    for ac_exec_ext in '' $ac_executable_extensions; do
8167      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8168      as_fn_executable_p "$ac_path_lt_DD" || continue
8169if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8170  cmp -s conftest.i conftest.out \
8171  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8172fi
8173      $ac_path_lt_DD_found && break 3
8174    done
8175  done
8176  done
8177IFS=$as_save_IFS
8178  if test -z "$ac_cv_path_lt_DD"; then
8179    :
8180  fi
8181else
8182  ac_cv_path_lt_DD=$lt_DD
8183fi
8184
8185rm -f conftest.i conftest2.i conftest.out
8186fi
8187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8188$as_echo "$ac_cv_path_lt_DD" >&6; }
8189
8190
8191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8192$as_echo_n "checking how to truncate binary pipes... " >&6; }
8193if ${lt_cv_truncate_bin+:} false; then :
8194  $as_echo_n "(cached) " >&6
8195else
8196  printf 0123456789abcdef0123456789abcdef >conftest.i
8197cat conftest.i conftest.i >conftest2.i
8198lt_cv_truncate_bin=
8199if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8200  cmp -s conftest.i conftest.out \
8201  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8202fi
8203rm -f conftest.i conftest2.i conftest.out
8204test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8205fi
8206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8207$as_echo "$lt_cv_truncate_bin" >&6; }
8208
8209
8210
8211
8212
8213
8214
8215# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8216func_cc_basename ()
8217{
8218    for cc_temp in $*""; do
8219      case $cc_temp in
8220        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8221        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8222        \-*) ;;
8223        *) break;;
8224      esac
8225    done
8226    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8227}
8228
8229# Check whether --enable-libtool-lock was given.
8230if test "${enable_libtool_lock+set}" = set; then :
8231  enableval=$enable_libtool_lock;
8232fi
8233
8234test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8235
8236# Some flags need to be propagated to the compiler or linker for good
8237# libtool support.
8238case $host in
8239ia64-*-hpux*)
8240  # Find out what ABI is being produced by ac_compile, and set mode
8241  # options accordingly.
8242  echo 'int i;' > conftest.$ac_ext
8243  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8244  (eval $ac_compile) 2>&5
8245  ac_status=$?
8246  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8247  test $ac_status = 0; }; then
8248    case `/usr/bin/file conftest.$ac_objext` in
8249      *ELF-32*)
8250	HPUX_IA64_MODE=32
8251	;;
8252      *ELF-64*)
8253	HPUX_IA64_MODE=64
8254	;;
8255    esac
8256  fi
8257  rm -rf conftest*
8258  ;;
8259*-*-irix6*)
8260  # Find out what ABI is being produced by ac_compile, and set linker
8261  # options accordingly.
8262  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8263  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8264  (eval $ac_compile) 2>&5
8265  ac_status=$?
8266  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8267  test $ac_status = 0; }; then
8268    if test yes = "$lt_cv_prog_gnu_ld"; then
8269      case `/usr/bin/file conftest.$ac_objext` in
8270	*32-bit*)
8271	  LD="${LD-ld} -melf32bsmip"
8272	  ;;
8273	*N32*)
8274	  LD="${LD-ld} -melf32bmipn32"
8275	  ;;
8276	*64-bit*)
8277	  LD="${LD-ld} -melf64bmip"
8278	;;
8279      esac
8280    else
8281      case `/usr/bin/file conftest.$ac_objext` in
8282	*32-bit*)
8283	  LD="${LD-ld} -32"
8284	  ;;
8285	*N32*)
8286	  LD="${LD-ld} -n32"
8287	  ;;
8288	*64-bit*)
8289	  LD="${LD-ld} -64"
8290	  ;;
8291      esac
8292    fi
8293  fi
8294  rm -rf conftest*
8295  ;;
8296
8297mips64*-*linux*)
8298  # Find out what ABI is being produced by ac_compile, and set linker
8299  # options accordingly.
8300  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8301  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8302  (eval $ac_compile) 2>&5
8303  ac_status=$?
8304  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8305  test $ac_status = 0; }; then
8306    emul=elf
8307    case `/usr/bin/file conftest.$ac_objext` in
8308      *32-bit*)
8309	emul="${emul}32"
8310	;;
8311      *64-bit*)
8312	emul="${emul}64"
8313	;;
8314    esac
8315    case `/usr/bin/file conftest.$ac_objext` in
8316      *MSB*)
8317	emul="${emul}btsmip"
8318	;;
8319      *LSB*)
8320	emul="${emul}ltsmip"
8321	;;
8322    esac
8323    case `/usr/bin/file conftest.$ac_objext` in
8324      *N32*)
8325	emul="${emul}n32"
8326	;;
8327    esac
8328    LD="${LD-ld} -m $emul"
8329  fi
8330  rm -rf conftest*
8331  ;;
8332
8333x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8334s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8335  # Find out what ABI is being produced by ac_compile, and set linker
8336  # options accordingly.  Note that the listed cases only cover the
8337  # situations where additional linker options are needed (such as when
8338  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8339  # vice versa); the common cases where no linker options are needed do
8340  # not appear in the list.
8341  echo 'int i;' > conftest.$ac_ext
8342  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8343  (eval $ac_compile) 2>&5
8344  ac_status=$?
8345  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8346  test $ac_status = 0; }; then
8347    case `/usr/bin/file conftest.o` in
8348      *32-bit*)
8349	case $host in
8350	  x86_64-*kfreebsd*-gnu)
8351	    LD="${LD-ld} -m elf_i386_fbsd"
8352	    ;;
8353	  x86_64-*linux*)
8354	    case `/usr/bin/file conftest.o` in
8355	      *x86-64*)
8356		LD="${LD-ld} -m elf32_x86_64"
8357		;;
8358	      *)
8359		LD="${LD-ld} -m elf_i386"
8360		;;
8361	    esac
8362	    ;;
8363	  powerpc64le-*linux*)
8364	    LD="${LD-ld} -m elf32lppclinux"
8365	    ;;
8366	  powerpc64-*linux*)
8367	    LD="${LD-ld} -m elf32ppclinux"
8368	    ;;
8369	  s390x-*linux*)
8370	    LD="${LD-ld} -m elf_s390"
8371	    ;;
8372	  sparc64-*linux*)
8373	    LD="${LD-ld} -m elf32_sparc"
8374	    ;;
8375	esac
8376	;;
8377      *64-bit*)
8378	case $host in
8379	  x86_64-*kfreebsd*-gnu)
8380	    LD="${LD-ld} -m elf_x86_64_fbsd"
8381	    ;;
8382	  x86_64-*linux*)
8383	    LD="${LD-ld} -m elf_x86_64"
8384	    ;;
8385	  powerpcle-*linux*)
8386	    LD="${LD-ld} -m elf64lppc"
8387	    ;;
8388	  powerpc-*linux*)
8389	    LD="${LD-ld} -m elf64ppc"
8390	    ;;
8391	  s390*-*linux*|s390*-*tpf*)
8392	    LD="${LD-ld} -m elf64_s390"
8393	    ;;
8394	  sparc*-*linux*)
8395	    LD="${LD-ld} -m elf64_sparc"
8396	    ;;
8397	esac
8398	;;
8399    esac
8400  fi
8401  rm -rf conftest*
8402  ;;
8403
8404*-*-sco3.2v5*)
8405  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8406  SAVE_CFLAGS=$CFLAGS
8407  CFLAGS="$CFLAGS -belf"
8408  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8409$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8410if ${lt_cv_cc_needs_belf+:} false; then :
8411  $as_echo_n "(cached) " >&6
8412else
8413  ac_ext=c
8414ac_cpp='$CPP $CPPFLAGS'
8415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8417ac_compiler_gnu=$ac_cv_c_compiler_gnu
8418
8419     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8420/* end confdefs.h.  */
8421
8422int
8423main ()
8424{
8425
8426  ;
8427  return 0;
8428}
8429_ACEOF
8430if ac_fn_c_try_link "$LINENO"; then :
8431  lt_cv_cc_needs_belf=yes
8432else
8433  lt_cv_cc_needs_belf=no
8434fi
8435rm -f core conftest.err conftest.$ac_objext \
8436    conftest$ac_exeext conftest.$ac_ext
8437     ac_ext=c
8438ac_cpp='$CPP $CPPFLAGS'
8439ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8440ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8441ac_compiler_gnu=$ac_cv_c_compiler_gnu
8442
8443fi
8444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8445$as_echo "$lt_cv_cc_needs_belf" >&6; }
8446  if test yes != "$lt_cv_cc_needs_belf"; then
8447    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8448    CFLAGS=$SAVE_CFLAGS
8449  fi
8450  ;;
8451*-*solaris*)
8452  # Find out what ABI is being produced by ac_compile, and set linker
8453  # options accordingly.
8454  echo 'int i;' > conftest.$ac_ext
8455  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8456  (eval $ac_compile) 2>&5
8457  ac_status=$?
8458  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8459  test $ac_status = 0; }; then
8460    case `/usr/bin/file conftest.o` in
8461    *64-bit*)
8462      case $lt_cv_prog_gnu_ld in
8463      yes*)
8464        case $host in
8465        i?86-*-solaris*|x86_64-*-solaris*)
8466          LD="${LD-ld} -m elf_x86_64"
8467          ;;
8468        sparc*-*-solaris*)
8469          LD="${LD-ld} -m elf64_sparc"
8470          ;;
8471        esac
8472        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8473        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8474          LD=${LD-ld}_sol2
8475        fi
8476        ;;
8477      *)
8478	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8479	  LD="${LD-ld} -64"
8480	fi
8481	;;
8482      esac
8483      ;;
8484    esac
8485  fi
8486  rm -rf conftest*
8487  ;;
8488esac
8489
8490need_locks=$enable_libtool_lock
8491
8492if test -n "$ac_tool_prefix"; then
8493  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8494set dummy ${ac_tool_prefix}mt; ac_word=$2
8495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8496$as_echo_n "checking for $ac_word... " >&6; }
8497if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8498  $as_echo_n "(cached) " >&6
8499else
8500  if test -n "$MANIFEST_TOOL"; then
8501  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8502else
8503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8504for as_dir in $PATH
8505do
8506  IFS=$as_save_IFS
8507  test -z "$as_dir" && as_dir=.
8508    for ac_exec_ext in '' $ac_executable_extensions; do
8509  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8510    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8511    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8512    break 2
8513  fi
8514done
8515  done
8516IFS=$as_save_IFS
8517
8518fi
8519fi
8520MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8521if test -n "$MANIFEST_TOOL"; then
8522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8523$as_echo "$MANIFEST_TOOL" >&6; }
8524else
8525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8526$as_echo "no" >&6; }
8527fi
8528
8529
8530fi
8531if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8532  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8533  # Extract the first word of "mt", so it can be a program name with args.
8534set dummy mt; ac_word=$2
8535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8536$as_echo_n "checking for $ac_word... " >&6; }
8537if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8538  $as_echo_n "(cached) " >&6
8539else
8540  if test -n "$ac_ct_MANIFEST_TOOL"; then
8541  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8542else
8543as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8544for as_dir in $PATH
8545do
8546  IFS=$as_save_IFS
8547  test -z "$as_dir" && as_dir=.
8548    for ac_exec_ext in '' $ac_executable_extensions; do
8549  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8550    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8551    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8552    break 2
8553  fi
8554done
8555  done
8556IFS=$as_save_IFS
8557
8558fi
8559fi
8560ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8561if test -n "$ac_ct_MANIFEST_TOOL"; then
8562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8563$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8564else
8565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8566$as_echo "no" >&6; }
8567fi
8568
8569  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8570    MANIFEST_TOOL=":"
8571  else
8572    case $cross_compiling:$ac_tool_warned in
8573yes:)
8574{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8575$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8576ac_tool_warned=yes ;;
8577esac
8578    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8579  fi
8580else
8581  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8582fi
8583
8584test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8586$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8587if ${lt_cv_path_mainfest_tool+:} false; then :
8588  $as_echo_n "(cached) " >&6
8589else
8590  lt_cv_path_mainfest_tool=no
8591  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8592  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8593  cat conftest.err >&5
8594  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8595    lt_cv_path_mainfest_tool=yes
8596  fi
8597  rm -f conftest*
8598fi
8599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8600$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8601if test yes != "$lt_cv_path_mainfest_tool"; then
8602  MANIFEST_TOOL=:
8603fi
8604
8605
8606
8607
8608
8609
8610  case $host_os in
8611    rhapsody* | darwin*)
8612    if test -n "$ac_tool_prefix"; then
8613  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8614set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8616$as_echo_n "checking for $ac_word... " >&6; }
8617if ${ac_cv_prog_DSYMUTIL+:} false; then :
8618  $as_echo_n "(cached) " >&6
8619else
8620  if test -n "$DSYMUTIL"; then
8621  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8622else
8623as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8624for as_dir in $PATH
8625do
8626  IFS=$as_save_IFS
8627  test -z "$as_dir" && as_dir=.
8628    for ac_exec_ext in '' $ac_executable_extensions; do
8629  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8630    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8631    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8632    break 2
8633  fi
8634done
8635  done
8636IFS=$as_save_IFS
8637
8638fi
8639fi
8640DSYMUTIL=$ac_cv_prog_DSYMUTIL
8641if test -n "$DSYMUTIL"; then
8642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8643$as_echo "$DSYMUTIL" >&6; }
8644else
8645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8646$as_echo "no" >&6; }
8647fi
8648
8649
8650fi
8651if test -z "$ac_cv_prog_DSYMUTIL"; then
8652  ac_ct_DSYMUTIL=$DSYMUTIL
8653  # Extract the first word of "dsymutil", so it can be a program name with args.
8654set dummy dsymutil; ac_word=$2
8655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8656$as_echo_n "checking for $ac_word... " >&6; }
8657if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8658  $as_echo_n "(cached) " >&6
8659else
8660  if test -n "$ac_ct_DSYMUTIL"; then
8661  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8662else
8663as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8664for as_dir in $PATH
8665do
8666  IFS=$as_save_IFS
8667  test -z "$as_dir" && as_dir=.
8668    for ac_exec_ext in '' $ac_executable_extensions; do
8669  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8670    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8671    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8672    break 2
8673  fi
8674done
8675  done
8676IFS=$as_save_IFS
8677
8678fi
8679fi
8680ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8681if test -n "$ac_ct_DSYMUTIL"; then
8682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8683$as_echo "$ac_ct_DSYMUTIL" >&6; }
8684else
8685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8686$as_echo "no" >&6; }
8687fi
8688
8689  if test "x$ac_ct_DSYMUTIL" = x; then
8690    DSYMUTIL=":"
8691  else
8692    case $cross_compiling:$ac_tool_warned in
8693yes:)
8694{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8695$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8696ac_tool_warned=yes ;;
8697esac
8698    DSYMUTIL=$ac_ct_DSYMUTIL
8699  fi
8700else
8701  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8702fi
8703
8704    if test -n "$ac_tool_prefix"; then
8705  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8706set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8708$as_echo_n "checking for $ac_word... " >&6; }
8709if ${ac_cv_prog_NMEDIT+:} false; then :
8710  $as_echo_n "(cached) " >&6
8711else
8712  if test -n "$NMEDIT"; then
8713  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8714else
8715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8716for as_dir in $PATH
8717do
8718  IFS=$as_save_IFS
8719  test -z "$as_dir" && as_dir=.
8720    for ac_exec_ext in '' $ac_executable_extensions; do
8721  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8722    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8723    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8724    break 2
8725  fi
8726done
8727  done
8728IFS=$as_save_IFS
8729
8730fi
8731fi
8732NMEDIT=$ac_cv_prog_NMEDIT
8733if test -n "$NMEDIT"; then
8734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8735$as_echo "$NMEDIT" >&6; }
8736else
8737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8738$as_echo "no" >&6; }
8739fi
8740
8741
8742fi
8743if test -z "$ac_cv_prog_NMEDIT"; then
8744  ac_ct_NMEDIT=$NMEDIT
8745  # Extract the first word of "nmedit", so it can be a program name with args.
8746set dummy nmedit; ac_word=$2
8747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8748$as_echo_n "checking for $ac_word... " >&6; }
8749if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8750  $as_echo_n "(cached) " >&6
8751else
8752  if test -n "$ac_ct_NMEDIT"; then
8753  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8754else
8755as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8756for as_dir in $PATH
8757do
8758  IFS=$as_save_IFS
8759  test -z "$as_dir" && as_dir=.
8760    for ac_exec_ext in '' $ac_executable_extensions; do
8761  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8762    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8763    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8764    break 2
8765  fi
8766done
8767  done
8768IFS=$as_save_IFS
8769
8770fi
8771fi
8772ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8773if test -n "$ac_ct_NMEDIT"; then
8774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8775$as_echo "$ac_ct_NMEDIT" >&6; }
8776else
8777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8778$as_echo "no" >&6; }
8779fi
8780
8781  if test "x$ac_ct_NMEDIT" = x; then
8782    NMEDIT=":"
8783  else
8784    case $cross_compiling:$ac_tool_warned in
8785yes:)
8786{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8787$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8788ac_tool_warned=yes ;;
8789esac
8790    NMEDIT=$ac_ct_NMEDIT
8791  fi
8792else
8793  NMEDIT="$ac_cv_prog_NMEDIT"
8794fi
8795
8796    if test -n "$ac_tool_prefix"; then
8797  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8798set dummy ${ac_tool_prefix}lipo; ac_word=$2
8799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8800$as_echo_n "checking for $ac_word... " >&6; }
8801if ${ac_cv_prog_LIPO+:} false; then :
8802  $as_echo_n "(cached) " >&6
8803else
8804  if test -n "$LIPO"; then
8805  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8806else
8807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8808for as_dir in $PATH
8809do
8810  IFS=$as_save_IFS
8811  test -z "$as_dir" && as_dir=.
8812    for ac_exec_ext in '' $ac_executable_extensions; do
8813  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8814    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8815    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8816    break 2
8817  fi
8818done
8819  done
8820IFS=$as_save_IFS
8821
8822fi
8823fi
8824LIPO=$ac_cv_prog_LIPO
8825if test -n "$LIPO"; then
8826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8827$as_echo "$LIPO" >&6; }
8828else
8829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8830$as_echo "no" >&6; }
8831fi
8832
8833
8834fi
8835if test -z "$ac_cv_prog_LIPO"; then
8836  ac_ct_LIPO=$LIPO
8837  # Extract the first word of "lipo", so it can be a program name with args.
8838set dummy lipo; ac_word=$2
8839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8840$as_echo_n "checking for $ac_word... " >&6; }
8841if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8842  $as_echo_n "(cached) " >&6
8843else
8844  if test -n "$ac_ct_LIPO"; then
8845  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8846else
8847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8848for as_dir in $PATH
8849do
8850  IFS=$as_save_IFS
8851  test -z "$as_dir" && as_dir=.
8852    for ac_exec_ext in '' $ac_executable_extensions; do
8853  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8854    ac_cv_prog_ac_ct_LIPO="lipo"
8855    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8856    break 2
8857  fi
8858done
8859  done
8860IFS=$as_save_IFS
8861
8862fi
8863fi
8864ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8865if test -n "$ac_ct_LIPO"; then
8866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8867$as_echo "$ac_ct_LIPO" >&6; }
8868else
8869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8870$as_echo "no" >&6; }
8871fi
8872
8873  if test "x$ac_ct_LIPO" = x; then
8874    LIPO=":"
8875  else
8876    case $cross_compiling:$ac_tool_warned in
8877yes:)
8878{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8879$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8880ac_tool_warned=yes ;;
8881esac
8882    LIPO=$ac_ct_LIPO
8883  fi
8884else
8885  LIPO="$ac_cv_prog_LIPO"
8886fi
8887
8888    if test -n "$ac_tool_prefix"; then
8889  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8890set dummy ${ac_tool_prefix}otool; ac_word=$2
8891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8892$as_echo_n "checking for $ac_word... " >&6; }
8893if ${ac_cv_prog_OTOOL+:} false; then :
8894  $as_echo_n "(cached) " >&6
8895else
8896  if test -n "$OTOOL"; then
8897  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8898else
8899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8900for as_dir in $PATH
8901do
8902  IFS=$as_save_IFS
8903  test -z "$as_dir" && as_dir=.
8904    for ac_exec_ext in '' $ac_executable_extensions; do
8905  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8906    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8907    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8908    break 2
8909  fi
8910done
8911  done
8912IFS=$as_save_IFS
8913
8914fi
8915fi
8916OTOOL=$ac_cv_prog_OTOOL
8917if test -n "$OTOOL"; then
8918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8919$as_echo "$OTOOL" >&6; }
8920else
8921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922$as_echo "no" >&6; }
8923fi
8924
8925
8926fi
8927if test -z "$ac_cv_prog_OTOOL"; then
8928  ac_ct_OTOOL=$OTOOL
8929  # Extract the first word of "otool", so it can be a program name with args.
8930set dummy otool; ac_word=$2
8931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8932$as_echo_n "checking for $ac_word... " >&6; }
8933if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8934  $as_echo_n "(cached) " >&6
8935else
8936  if test -n "$ac_ct_OTOOL"; then
8937  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8938else
8939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8940for as_dir in $PATH
8941do
8942  IFS=$as_save_IFS
8943  test -z "$as_dir" && as_dir=.
8944    for ac_exec_ext in '' $ac_executable_extensions; do
8945  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8946    ac_cv_prog_ac_ct_OTOOL="otool"
8947    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8948    break 2
8949  fi
8950done
8951  done
8952IFS=$as_save_IFS
8953
8954fi
8955fi
8956ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8957if test -n "$ac_ct_OTOOL"; then
8958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8959$as_echo "$ac_ct_OTOOL" >&6; }
8960else
8961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8962$as_echo "no" >&6; }
8963fi
8964
8965  if test "x$ac_ct_OTOOL" = x; then
8966    OTOOL=":"
8967  else
8968    case $cross_compiling:$ac_tool_warned in
8969yes:)
8970{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8971$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8972ac_tool_warned=yes ;;
8973esac
8974    OTOOL=$ac_ct_OTOOL
8975  fi
8976else
8977  OTOOL="$ac_cv_prog_OTOOL"
8978fi
8979
8980    if test -n "$ac_tool_prefix"; then
8981  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8982set dummy ${ac_tool_prefix}otool64; ac_word=$2
8983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8984$as_echo_n "checking for $ac_word... " >&6; }
8985if ${ac_cv_prog_OTOOL64+:} false; then :
8986  $as_echo_n "(cached) " >&6
8987else
8988  if test -n "$OTOOL64"; then
8989  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8990else
8991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8992for as_dir in $PATH
8993do
8994  IFS=$as_save_IFS
8995  test -z "$as_dir" && as_dir=.
8996    for ac_exec_ext in '' $ac_executable_extensions; do
8997  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8998    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8999    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9000    break 2
9001  fi
9002done
9003  done
9004IFS=$as_save_IFS
9005
9006fi
9007fi
9008OTOOL64=$ac_cv_prog_OTOOL64
9009if test -n "$OTOOL64"; then
9010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9011$as_echo "$OTOOL64" >&6; }
9012else
9013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9014$as_echo "no" >&6; }
9015fi
9016
9017
9018fi
9019if test -z "$ac_cv_prog_OTOOL64"; then
9020  ac_ct_OTOOL64=$OTOOL64
9021  # Extract the first word of "otool64", so it can be a program name with args.
9022set dummy otool64; ac_word=$2
9023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9024$as_echo_n "checking for $ac_word... " >&6; }
9025if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9026  $as_echo_n "(cached) " >&6
9027else
9028  if test -n "$ac_ct_OTOOL64"; then
9029  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9030else
9031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9032for as_dir in $PATH
9033do
9034  IFS=$as_save_IFS
9035  test -z "$as_dir" && as_dir=.
9036    for ac_exec_ext in '' $ac_executable_extensions; do
9037  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9038    ac_cv_prog_ac_ct_OTOOL64="otool64"
9039    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9040    break 2
9041  fi
9042done
9043  done
9044IFS=$as_save_IFS
9045
9046fi
9047fi
9048ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9049if test -n "$ac_ct_OTOOL64"; then
9050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9051$as_echo "$ac_ct_OTOOL64" >&6; }
9052else
9053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9054$as_echo "no" >&6; }
9055fi
9056
9057  if test "x$ac_ct_OTOOL64" = x; then
9058    OTOOL64=":"
9059  else
9060    case $cross_compiling:$ac_tool_warned in
9061yes:)
9062{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9063$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9064ac_tool_warned=yes ;;
9065esac
9066    OTOOL64=$ac_ct_OTOOL64
9067  fi
9068else
9069  OTOOL64="$ac_cv_prog_OTOOL64"
9070fi
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9099$as_echo_n "checking for -single_module linker flag... " >&6; }
9100if ${lt_cv_apple_cc_single_mod+:} false; then :
9101  $as_echo_n "(cached) " >&6
9102else
9103  lt_cv_apple_cc_single_mod=no
9104      if test -z "$LT_MULTI_MODULE"; then
9105	# By default we will add the -single_module flag. You can override
9106	# by either setting the environment variable LT_MULTI_MODULE
9107	# non-empty at configure time, or by adding -multi_module to the
9108	# link flags.
9109	rm -rf libconftest.dylib*
9110	echo "int foo(void){return 1;}" > conftest.c
9111	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9112-dynamiclib -Wl,-single_module conftest.c" >&5
9113	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9114	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9115        _lt_result=$?
9116	# If there is a non-empty error log, and "single_module"
9117	# appears in it, assume the flag caused a linker warning
9118        if test -s conftest.err && $GREP single_module conftest.err; then
9119	  cat conftest.err >&5
9120	# Otherwise, if the output was created with a 0 exit code from
9121	# the compiler, it worked.
9122	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9123	  lt_cv_apple_cc_single_mod=yes
9124	else
9125	  cat conftest.err >&5
9126	fi
9127	rm -rf libconftest.dylib*
9128	rm -f conftest.*
9129      fi
9130fi
9131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9132$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9133
9134    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9135$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9136if ${lt_cv_ld_exported_symbols_list+:} false; then :
9137  $as_echo_n "(cached) " >&6
9138else
9139  lt_cv_ld_exported_symbols_list=no
9140      save_LDFLAGS=$LDFLAGS
9141      echo "_main" > conftest.sym
9142      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9143      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144/* end confdefs.h.  */
9145
9146int
9147main ()
9148{
9149
9150  ;
9151  return 0;
9152}
9153_ACEOF
9154if ac_fn_c_try_link "$LINENO"; then :
9155  lt_cv_ld_exported_symbols_list=yes
9156else
9157  lt_cv_ld_exported_symbols_list=no
9158fi
9159rm -f core conftest.err conftest.$ac_objext \
9160    conftest$ac_exeext conftest.$ac_ext
9161	LDFLAGS=$save_LDFLAGS
9162
9163fi
9164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9165$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9166
9167    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9168$as_echo_n "checking for -force_load linker flag... " >&6; }
9169if ${lt_cv_ld_force_load+:} false; then :
9170  $as_echo_n "(cached) " >&6
9171else
9172  lt_cv_ld_force_load=no
9173      cat > conftest.c << _LT_EOF
9174int forced_loaded() { return 2;}
9175_LT_EOF
9176      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9177      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9178      echo "$AR cru libconftest.a conftest.o" >&5
9179      $AR cru libconftest.a conftest.o 2>&5
9180      echo "$RANLIB libconftest.a" >&5
9181      $RANLIB libconftest.a 2>&5
9182      cat > conftest.c << _LT_EOF
9183int main() { return 0;}
9184_LT_EOF
9185      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9186      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9187      _lt_result=$?
9188      if test -s conftest.err && $GREP force_load conftest.err; then
9189	cat conftest.err >&5
9190      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9191	lt_cv_ld_force_load=yes
9192      else
9193	cat conftest.err >&5
9194      fi
9195        rm -f conftest.err libconftest.a conftest conftest.c
9196        rm -rf conftest.dSYM
9197
9198fi
9199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9200$as_echo "$lt_cv_ld_force_load" >&6; }
9201    case $host_os in
9202    rhapsody* | darwin1.[012])
9203      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9204    darwin1.*)
9205      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9206    darwin*) # darwin 5.x on
9207      # if running on 10.5 or later, the deployment target defaults
9208      # to the OS version, if on x86, and 10.4, the deployment
9209      # target defaults to 10.4. Don't you love it?
9210      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9211	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9212	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9213	10.[012][,.]*)
9214	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9215	10.*)
9216	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9217      esac
9218    ;;
9219  esac
9220    if test yes = "$lt_cv_apple_cc_single_mod"; then
9221      _lt_dar_single_mod='$single_module'
9222    fi
9223    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9224      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9225    else
9226      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9227    fi
9228    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9229      _lt_dsymutil='~$DSYMUTIL $lib || :'
9230    else
9231      _lt_dsymutil=
9232    fi
9233    ;;
9234  esac
9235
9236# func_munge_path_list VARIABLE PATH
9237# -----------------------------------
9238# VARIABLE is name of variable containing _space_ separated list of
9239# directories to be munged by the contents of PATH, which is string
9240# having a format:
9241# "DIR[:DIR]:"
9242#       string "DIR[ DIR]" will be prepended to VARIABLE
9243# ":DIR[:DIR]"
9244#       string "DIR[ DIR]" will be appended to VARIABLE
9245# "DIRP[:DIRP]::[DIRA:]DIRA"
9246#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9247#       "DIRA[ DIRA]" will be appended to VARIABLE
9248# "DIR[:DIR]"
9249#       VARIABLE will be replaced by "DIR[ DIR]"
9250func_munge_path_list ()
9251{
9252    case x$2 in
9253    x)
9254        ;;
9255    *:)
9256        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9257        ;;
9258    x:*)
9259        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9260        ;;
9261    *::*)
9262        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9263        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9264        ;;
9265    *)
9266        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9267        ;;
9268    esac
9269}
9270
9271for ac_header in dlfcn.h
9272do :
9273  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9274"
9275if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9276  cat >>confdefs.h <<_ACEOF
9277#define HAVE_DLFCN_H 1
9278_ACEOF
9279
9280fi
9281
9282done
9283
9284
9285
9286
9287func_stripname_cnf ()
9288{
9289  case $2 in
9290  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9291  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9292  esac
9293} # func_stripname_cnf
9294
9295
9296
9297
9298
9299# Set options
9300
9301
9302
9303        enable_dlopen=no
9304
9305
9306  enable_win32_dll=no
9307
9308
9309            # Check whether --enable-shared was given.
9310if test "${enable_shared+set}" = set; then :
9311  enableval=$enable_shared; p=${PACKAGE-default}
9312    case $enableval in
9313    yes) enable_shared=yes ;;
9314    no) enable_shared=no ;;
9315    *)
9316      enable_shared=no
9317      # Look at the argument we got.  We use all the common list separators.
9318      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9319      for pkg in $enableval; do
9320	IFS=$lt_save_ifs
9321	if test "X$pkg" = "X$p"; then
9322	  enable_shared=yes
9323	fi
9324      done
9325      IFS=$lt_save_ifs
9326      ;;
9327    esac
9328else
9329  enable_shared=yes
9330fi
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340  # Check whether --enable-static was given.
9341if test "${enable_static+set}" = set; then :
9342  enableval=$enable_static; p=${PACKAGE-default}
9343    case $enableval in
9344    yes) enable_static=yes ;;
9345    no) enable_static=no ;;
9346    *)
9347     enable_static=no
9348      # Look at the argument we got.  We use all the common list separators.
9349      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9350      for pkg in $enableval; do
9351	IFS=$lt_save_ifs
9352	if test "X$pkg" = "X$p"; then
9353	  enable_static=yes
9354	fi
9355      done
9356      IFS=$lt_save_ifs
9357      ;;
9358    esac
9359else
9360  enable_static=yes
9361fi
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372# Check whether --with-pic was given.
9373if test "${with_pic+set}" = set; then :
9374  withval=$with_pic; lt_p=${PACKAGE-default}
9375    case $withval in
9376    yes|no) pic_mode=$withval ;;
9377    *)
9378      pic_mode=default
9379      # Look at the argument we got.  We use all the common list separators.
9380      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9381      for lt_pkg in $withval; do
9382	IFS=$lt_save_ifs
9383	if test "X$lt_pkg" = "X$lt_p"; then
9384	  pic_mode=yes
9385	fi
9386      done
9387      IFS=$lt_save_ifs
9388      ;;
9389    esac
9390else
9391  pic_mode=default
9392fi
9393
9394
9395
9396
9397
9398
9399
9400
9401  # Check whether --enable-fast-install was given.
9402if test "${enable_fast_install+set}" = set; then :
9403  enableval=$enable_fast_install; p=${PACKAGE-default}
9404    case $enableval in
9405    yes) enable_fast_install=yes ;;
9406    no) enable_fast_install=no ;;
9407    *)
9408      enable_fast_install=no
9409      # Look at the argument we got.  We use all the common list separators.
9410      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9411      for pkg in $enableval; do
9412	IFS=$lt_save_ifs
9413	if test "X$pkg" = "X$p"; then
9414	  enable_fast_install=yes
9415	fi
9416      done
9417      IFS=$lt_save_ifs
9418      ;;
9419    esac
9420else
9421  enable_fast_install=yes
9422fi
9423
9424
9425
9426
9427
9428
9429
9430
9431  shared_archive_member_spec=
9432case $host,$enable_shared in
9433power*-*-aix[5-9]*,yes)
9434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9435$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9436
9437# Check whether --with-aix-soname was given.
9438if test "${with_aix_soname+set}" = set; then :
9439  withval=$with_aix_soname; case $withval in
9440    aix|svr4|both)
9441      ;;
9442    *)
9443      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9444      ;;
9445    esac
9446    lt_cv_with_aix_soname=$with_aix_soname
9447else
9448  if ${lt_cv_with_aix_soname+:} false; then :
9449  $as_echo_n "(cached) " >&6
9450else
9451  lt_cv_with_aix_soname=aix
9452fi
9453
9454    with_aix_soname=$lt_cv_with_aix_soname
9455fi
9456
9457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9458$as_echo "$with_aix_soname" >&6; }
9459  if test aix != "$with_aix_soname"; then
9460    # For the AIX way of multilib, we name the shared archive member
9461    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9462    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9463    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9464    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9465    if test 64 = "${OBJECT_MODE-32}"; then
9466      shared_archive_member_spec=shr_64
9467    else
9468      shared_archive_member_spec=shr
9469    fi
9470  fi
9471  ;;
9472*)
9473  with_aix_soname=aix
9474  ;;
9475esac
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486# This can be used to rebuild libtool when needed
9487LIBTOOL_DEPS=$ltmain
9488
9489# Always use our own libtool.
9490LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521test -z "$LN_S" && LN_S="ln -s"
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536if test -n "${ZSH_VERSION+set}"; then
9537   setopt NO_GLOB_SUBST
9538fi
9539
9540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9541$as_echo_n "checking for objdir... " >&6; }
9542if ${lt_cv_objdir+:} false; then :
9543  $as_echo_n "(cached) " >&6
9544else
9545  rm -f .libs 2>/dev/null
9546mkdir .libs 2>/dev/null
9547if test -d .libs; then
9548  lt_cv_objdir=.libs
9549else
9550  # MS-DOS does not allow filenames that begin with a dot.
9551  lt_cv_objdir=_libs
9552fi
9553rmdir .libs 2>/dev/null
9554fi
9555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9556$as_echo "$lt_cv_objdir" >&6; }
9557objdir=$lt_cv_objdir
9558
9559
9560
9561
9562
9563cat >>confdefs.h <<_ACEOF
9564#define LT_OBJDIR "$lt_cv_objdir/"
9565_ACEOF
9566
9567
9568
9569
9570case $host_os in
9571aix3*)
9572  # AIX sometimes has problems with the GCC collect2 program.  For some
9573  # reason, if we set the COLLECT_NAMES environment variable, the problems
9574  # vanish in a puff of smoke.
9575  if test set != "${COLLECT_NAMES+set}"; then
9576    COLLECT_NAMES=
9577    export COLLECT_NAMES
9578  fi
9579  ;;
9580esac
9581
9582# Global variables:
9583ofile=libtool
9584can_build_shared=yes
9585
9586# All known linkers require a '.a' archive for static linking (except MSVC,
9587# which needs '.lib').
9588libext=a
9589
9590with_gnu_ld=$lt_cv_prog_gnu_ld
9591
9592old_CC=$CC
9593old_CFLAGS=$CFLAGS
9594
9595# Set sane defaults for various variables
9596test -z "$CC" && CC=cc
9597test -z "$LTCC" && LTCC=$CC
9598test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9599test -z "$LD" && LD=ld
9600test -z "$ac_objext" && ac_objext=o
9601
9602func_cc_basename $compiler
9603cc_basename=$func_cc_basename_result
9604
9605
9606# Only perform the check for file, if the check method requires it
9607test -z "$MAGIC_CMD" && MAGIC_CMD=file
9608case $deplibs_check_method in
9609file_magic*)
9610  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9611    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9612$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9613if ${lt_cv_path_MAGIC_CMD+:} false; then :
9614  $as_echo_n "(cached) " >&6
9615else
9616  case $MAGIC_CMD in
9617[\\/*] |  ?:[\\/]*)
9618  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9619  ;;
9620*)
9621  lt_save_MAGIC_CMD=$MAGIC_CMD
9622  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9623  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9624  for ac_dir in $ac_dummy; do
9625    IFS=$lt_save_ifs
9626    test -z "$ac_dir" && ac_dir=.
9627    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9628      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9629      if test -n "$file_magic_test_file"; then
9630	case $deplibs_check_method in
9631	"file_magic "*)
9632	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9633	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9634	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9635	    $EGREP "$file_magic_regex" > /dev/null; then
9636	    :
9637	  else
9638	    cat <<_LT_EOF 1>&2
9639
9640*** Warning: the command libtool uses to detect shared libraries,
9641*** $file_magic_cmd, produces output that libtool cannot recognize.
9642*** The result is that libtool may fail to recognize shared libraries
9643*** as such.  This will affect the creation of libtool libraries that
9644*** depend on shared libraries, but programs linked with such libtool
9645*** libraries will work regardless of this problem.  Nevertheless, you
9646*** may want to report the problem to your system manager and/or to
9647*** bug-libtool@gnu.org
9648
9649_LT_EOF
9650	  fi ;;
9651	esac
9652      fi
9653      break
9654    fi
9655  done
9656  IFS=$lt_save_ifs
9657  MAGIC_CMD=$lt_save_MAGIC_CMD
9658  ;;
9659esac
9660fi
9661
9662MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9663if test -n "$MAGIC_CMD"; then
9664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9665$as_echo "$MAGIC_CMD" >&6; }
9666else
9667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9668$as_echo "no" >&6; }
9669fi
9670
9671
9672
9673
9674
9675if test -z "$lt_cv_path_MAGIC_CMD"; then
9676  if test -n "$ac_tool_prefix"; then
9677    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9678$as_echo_n "checking for file... " >&6; }
9679if ${lt_cv_path_MAGIC_CMD+:} false; then :
9680  $as_echo_n "(cached) " >&6
9681else
9682  case $MAGIC_CMD in
9683[\\/*] |  ?:[\\/]*)
9684  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9685  ;;
9686*)
9687  lt_save_MAGIC_CMD=$MAGIC_CMD
9688  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9689  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9690  for ac_dir in $ac_dummy; do
9691    IFS=$lt_save_ifs
9692    test -z "$ac_dir" && ac_dir=.
9693    if test -f "$ac_dir/file"; then
9694      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9695      if test -n "$file_magic_test_file"; then
9696	case $deplibs_check_method in
9697	"file_magic "*)
9698	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9699	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9700	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9701	    $EGREP "$file_magic_regex" > /dev/null; then
9702	    :
9703	  else
9704	    cat <<_LT_EOF 1>&2
9705
9706*** Warning: the command libtool uses to detect shared libraries,
9707*** $file_magic_cmd, produces output that libtool cannot recognize.
9708*** The result is that libtool may fail to recognize shared libraries
9709*** as such.  This will affect the creation of libtool libraries that
9710*** depend on shared libraries, but programs linked with such libtool
9711*** libraries will work regardless of this problem.  Nevertheless, you
9712*** may want to report the problem to your system manager and/or to
9713*** bug-libtool@gnu.org
9714
9715_LT_EOF
9716	  fi ;;
9717	esac
9718      fi
9719      break
9720    fi
9721  done
9722  IFS=$lt_save_ifs
9723  MAGIC_CMD=$lt_save_MAGIC_CMD
9724  ;;
9725esac
9726fi
9727
9728MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9729if test -n "$MAGIC_CMD"; then
9730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9731$as_echo "$MAGIC_CMD" >&6; }
9732else
9733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9734$as_echo "no" >&6; }
9735fi
9736
9737
9738  else
9739    MAGIC_CMD=:
9740  fi
9741fi
9742
9743  fi
9744  ;;
9745esac
9746
9747# Use C for the default configuration in the libtool script
9748
9749lt_save_CC=$CC
9750ac_ext=c
9751ac_cpp='$CPP $CPPFLAGS'
9752ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9753ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9754ac_compiler_gnu=$ac_cv_c_compiler_gnu
9755
9756
9757# Source file extension for C test sources.
9758ac_ext=c
9759
9760# Object file extension for compiled C test sources.
9761objext=o
9762objext=$objext
9763
9764# Code to be used in simple compile tests
9765lt_simple_compile_test_code="int some_variable = 0;"
9766
9767# Code to be used in simple link tests
9768lt_simple_link_test_code='int main(){return(0);}'
9769
9770
9771
9772
9773
9774
9775
9776# If no C compiler was specified, use CC.
9777LTCC=${LTCC-"$CC"}
9778
9779# If no C compiler flags were specified, use CFLAGS.
9780LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9781
9782# Allow CC to be a program name with arguments.
9783compiler=$CC
9784
9785# Save the default compiler, since it gets overwritten when the other
9786# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9787compiler_DEFAULT=$CC
9788
9789# save warnings/boilerplate of simple test code
9790ac_outfile=conftest.$ac_objext
9791echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9792eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9793_lt_compiler_boilerplate=`cat conftest.err`
9794$RM conftest*
9795
9796ac_outfile=conftest.$ac_objext
9797echo "$lt_simple_link_test_code" >conftest.$ac_ext
9798eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9799_lt_linker_boilerplate=`cat conftest.err`
9800$RM -r conftest*
9801
9802
9803## CAVEAT EMPTOR:
9804## There is no encapsulation within the following macros, do not change
9805## the running order or otherwise move them around unless you know exactly
9806## what you are doing...
9807if test -n "$compiler"; then
9808
9809lt_prog_compiler_no_builtin_flag=
9810
9811if test yes = "$GCC"; then
9812  case $cc_basename in
9813  nvcc*)
9814    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9815  *)
9816    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9817  esac
9818
9819  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9820$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9821if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9822  $as_echo_n "(cached) " >&6
9823else
9824  lt_cv_prog_compiler_rtti_exceptions=no
9825   ac_outfile=conftest.$ac_objext
9826   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9827   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9828   # Insert the option either (1) after the last *FLAGS variable, or
9829   # (2) before a word containing "conftest.", or (3) at the end.
9830   # Note that $ac_compile itself does not contain backslashes and begins
9831   # with a dollar sign (not a hyphen), so the echo should work correctly.
9832   # The option is referenced via a variable to avoid confusing sed.
9833   lt_compile=`echo "$ac_compile" | $SED \
9834   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9835   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9836   -e 's:$: $lt_compiler_flag:'`
9837   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9838   (eval "$lt_compile" 2>conftest.err)
9839   ac_status=$?
9840   cat conftest.err >&5
9841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9842   if (exit $ac_status) && test -s "$ac_outfile"; then
9843     # The compiler can only warn and ignore the option if not recognized
9844     # So say no if there are warnings other than the usual output.
9845     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9846     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9847     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9848       lt_cv_prog_compiler_rtti_exceptions=yes
9849     fi
9850   fi
9851   $RM conftest*
9852
9853fi
9854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9855$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9856
9857if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9858    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9859else
9860    :
9861fi
9862
9863fi
9864
9865
9866
9867
9868
9869
9870  lt_prog_compiler_wl=
9871lt_prog_compiler_pic=
9872lt_prog_compiler_static=
9873
9874
9875  if test yes = "$GCC"; then
9876    lt_prog_compiler_wl='-Wl,'
9877    lt_prog_compiler_static='-static'
9878
9879    case $host_os in
9880      aix*)
9881      # All AIX code is PIC.
9882      if test ia64 = "$host_cpu"; then
9883	# AIX 5 now supports IA64 processor
9884	lt_prog_compiler_static='-Bstatic'
9885      fi
9886      lt_prog_compiler_pic='-fPIC'
9887      ;;
9888
9889    amigaos*)
9890      case $host_cpu in
9891      powerpc)
9892            # see comment about AmigaOS4 .so support
9893            lt_prog_compiler_pic='-fPIC'
9894        ;;
9895      m68k)
9896            # FIXME: we need at least 68020 code to build shared libraries, but
9897            # adding the '-m68020' flag to GCC prevents building anything better,
9898            # like '-m68040'.
9899            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9900        ;;
9901      esac
9902      ;;
9903
9904    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9905      # PIC is the default for these OSes.
9906      ;;
9907
9908    mingw* | cygwin* | pw32* | os2* | cegcc*)
9909      # This hack is so that the source file can tell whether it is being
9910      # built for inclusion in a dll (and should export symbols for example).
9911      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9912      # (--disable-auto-import) libraries
9913      lt_prog_compiler_pic='-DDLL_EXPORT'
9914      case $host_os in
9915      os2*)
9916	lt_prog_compiler_static='$wl-static'
9917	;;
9918      esac
9919      ;;
9920
9921    darwin* | rhapsody*)
9922      # PIC is the default on this platform
9923      # Common symbols not allowed in MH_DYLIB files
9924      lt_prog_compiler_pic='-fno-common'
9925      ;;
9926
9927    haiku*)
9928      # PIC is the default for Haiku.
9929      # The "-static" flag exists, but is broken.
9930      lt_prog_compiler_static=
9931      ;;
9932
9933    hpux*)
9934      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9935      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9936      # sets the default TLS model and affects inlining.
9937      case $host_cpu in
9938      hppa*64*)
9939	# +Z the default
9940	;;
9941      *)
9942	lt_prog_compiler_pic='-fPIC'
9943	;;
9944      esac
9945      ;;
9946
9947    interix[3-9]*)
9948      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9949      # Instead, we relocate shared libraries at runtime.
9950      ;;
9951
9952    msdosdjgpp*)
9953      # Just because we use GCC doesn't mean we suddenly get shared libraries
9954      # on systems that don't support them.
9955      lt_prog_compiler_can_build_shared=no
9956      enable_shared=no
9957      ;;
9958
9959    *nto* | *qnx*)
9960      # QNX uses GNU C++, but need to define -shared option too, otherwise
9961      # it will coredump.
9962      lt_prog_compiler_pic='-fPIC -shared'
9963      ;;
9964
9965    sysv4*MP*)
9966      if test -d /usr/nec; then
9967	lt_prog_compiler_pic=-Kconform_pic
9968      fi
9969      ;;
9970
9971    *)
9972      lt_prog_compiler_pic='-fPIC'
9973      ;;
9974    esac
9975
9976    case $cc_basename in
9977    nvcc*) # Cuda Compiler Driver 2.2
9978      lt_prog_compiler_wl='-Xlinker '
9979      if test -n "$lt_prog_compiler_pic"; then
9980        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9981      fi
9982      ;;
9983    esac
9984  else
9985    # PORTME Check for flag to pass linker flags through the system compiler.
9986    case $host_os in
9987    aix*)
9988      lt_prog_compiler_wl='-Wl,'
9989      if test ia64 = "$host_cpu"; then
9990	# AIX 5 now supports IA64 processor
9991	lt_prog_compiler_static='-Bstatic'
9992      else
9993	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9994      fi
9995      ;;
9996
9997    darwin* | rhapsody*)
9998      # PIC is the default on this platform
9999      # Common symbols not allowed in MH_DYLIB files
10000      lt_prog_compiler_pic='-fno-common'
10001      case $cc_basename in
10002      nagfor*)
10003        # NAG Fortran compiler
10004        lt_prog_compiler_wl='-Wl,-Wl,,'
10005        lt_prog_compiler_pic='-PIC'
10006        lt_prog_compiler_static='-Bstatic'
10007        ;;
10008      esac
10009      ;;
10010
10011    mingw* | cygwin* | pw32* | os2* | cegcc*)
10012      # This hack is so that the source file can tell whether it is being
10013      # built for inclusion in a dll (and should export symbols for example).
10014      lt_prog_compiler_pic='-DDLL_EXPORT'
10015      case $host_os in
10016      os2*)
10017	lt_prog_compiler_static='$wl-static'
10018	;;
10019      esac
10020      ;;
10021
10022    hpux9* | hpux10* | hpux11*)
10023      lt_prog_compiler_wl='-Wl,'
10024      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10025      # not for PA HP-UX.
10026      case $host_cpu in
10027      hppa*64*|ia64*)
10028	# +Z the default
10029	;;
10030      *)
10031	lt_prog_compiler_pic='+Z'
10032	;;
10033      esac
10034      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10035      lt_prog_compiler_static='$wl-a ${wl}archive'
10036      ;;
10037
10038    irix5* | irix6* | nonstopux*)
10039      lt_prog_compiler_wl='-Wl,'
10040      # PIC (with -KPIC) is the default.
10041      lt_prog_compiler_static='-non_shared'
10042      ;;
10043
10044    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10045      case $cc_basename in
10046      # old Intel for x86_64, which still supported -KPIC.
10047      ecc*)
10048	lt_prog_compiler_wl='-Wl,'
10049	lt_prog_compiler_pic='-KPIC'
10050	lt_prog_compiler_static='-static'
10051        ;;
10052      # icc used to be incompatible with GCC.
10053      # ICC 10 doesn't accept -KPIC any more.
10054      icc* | ifort*)
10055	lt_prog_compiler_wl='-Wl,'
10056	lt_prog_compiler_pic='-fPIC'
10057	lt_prog_compiler_static='-static'
10058        ;;
10059      # Lahey Fortran 8.1.
10060      lf95*)
10061	lt_prog_compiler_wl='-Wl,'
10062	lt_prog_compiler_pic='--shared'
10063	lt_prog_compiler_static='--static'
10064	;;
10065      nagfor*)
10066	# NAG Fortran compiler
10067	lt_prog_compiler_wl='-Wl,-Wl,,'
10068	lt_prog_compiler_pic='-PIC'
10069	lt_prog_compiler_static='-Bstatic'
10070	;;
10071      tcc*)
10072	# Fabrice Bellard et al's Tiny C Compiler
10073	lt_prog_compiler_wl='-Wl,'
10074	lt_prog_compiler_pic='-fPIC'
10075	lt_prog_compiler_static='-static'
10076	;;
10077      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10078        # Portland Group compilers (*not* the Pentium gcc compiler,
10079	# which looks to be a dead project)
10080	lt_prog_compiler_wl='-Wl,'
10081	lt_prog_compiler_pic='-fpic'
10082	lt_prog_compiler_static='-Bstatic'
10083        ;;
10084      ccc*)
10085        lt_prog_compiler_wl='-Wl,'
10086        # All Alpha code is PIC.
10087        lt_prog_compiler_static='-non_shared'
10088        ;;
10089      xl* | bgxl* | bgf* | mpixl*)
10090	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10091	lt_prog_compiler_wl='-Wl,'
10092	lt_prog_compiler_pic='-qpic'
10093	lt_prog_compiler_static='-qstaticlink'
10094	;;
10095      *)
10096	case `$CC -V 2>&1 | sed 5q` in
10097	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10098	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10099	  lt_prog_compiler_pic='-KPIC'
10100	  lt_prog_compiler_static='-Bstatic'
10101	  lt_prog_compiler_wl=''
10102	  ;;
10103	*Sun\ F* | *Sun*Fortran*)
10104	  lt_prog_compiler_pic='-KPIC'
10105	  lt_prog_compiler_static='-Bstatic'
10106	  lt_prog_compiler_wl='-Qoption ld '
10107	  ;;
10108	*Sun\ C*)
10109	  # Sun C 5.9
10110	  lt_prog_compiler_pic='-KPIC'
10111	  lt_prog_compiler_static='-Bstatic'
10112	  lt_prog_compiler_wl='-Wl,'
10113	  ;;
10114        *Intel*\ [CF]*Compiler*)
10115	  lt_prog_compiler_wl='-Wl,'
10116	  lt_prog_compiler_pic='-fPIC'
10117	  lt_prog_compiler_static='-static'
10118	  ;;
10119	*Portland\ Group*)
10120	  lt_prog_compiler_wl='-Wl,'
10121	  lt_prog_compiler_pic='-fpic'
10122	  lt_prog_compiler_static='-Bstatic'
10123	  ;;
10124	esac
10125	;;
10126      esac
10127      ;;
10128
10129    newsos6)
10130      lt_prog_compiler_pic='-KPIC'
10131      lt_prog_compiler_static='-Bstatic'
10132      ;;
10133
10134    *nto* | *qnx*)
10135      # QNX uses GNU C++, but need to define -shared option too, otherwise
10136      # it will coredump.
10137      lt_prog_compiler_pic='-fPIC -shared'
10138      ;;
10139
10140    osf3* | osf4* | osf5*)
10141      lt_prog_compiler_wl='-Wl,'
10142      # All OSF/1 code is PIC.
10143      lt_prog_compiler_static='-non_shared'
10144      ;;
10145
10146    rdos*)
10147      lt_prog_compiler_static='-non_shared'
10148      ;;
10149
10150    solaris*)
10151      lt_prog_compiler_pic='-KPIC'
10152      lt_prog_compiler_static='-Bstatic'
10153      case $cc_basename in
10154      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10155	lt_prog_compiler_wl='-Qoption ld ';;
10156      *)
10157	lt_prog_compiler_wl='-Wl,';;
10158      esac
10159      ;;
10160
10161    sunos4*)
10162      lt_prog_compiler_wl='-Qoption ld '
10163      lt_prog_compiler_pic='-PIC'
10164      lt_prog_compiler_static='-Bstatic'
10165      ;;
10166
10167    sysv4 | sysv4.2uw2* | sysv4.3*)
10168      lt_prog_compiler_wl='-Wl,'
10169      lt_prog_compiler_pic='-KPIC'
10170      lt_prog_compiler_static='-Bstatic'
10171      ;;
10172
10173    sysv4*MP*)
10174      if test -d /usr/nec; then
10175	lt_prog_compiler_pic='-Kconform_pic'
10176	lt_prog_compiler_static='-Bstatic'
10177      fi
10178      ;;
10179
10180    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10181      lt_prog_compiler_wl='-Wl,'
10182      lt_prog_compiler_pic='-KPIC'
10183      lt_prog_compiler_static='-Bstatic'
10184      ;;
10185
10186    unicos*)
10187      lt_prog_compiler_wl='-Wl,'
10188      lt_prog_compiler_can_build_shared=no
10189      ;;
10190
10191    uts4*)
10192      lt_prog_compiler_pic='-pic'
10193      lt_prog_compiler_static='-Bstatic'
10194      ;;
10195
10196    *)
10197      lt_prog_compiler_can_build_shared=no
10198      ;;
10199    esac
10200  fi
10201
10202case $host_os in
10203  # For platforms that do not support PIC, -DPIC is meaningless:
10204  *djgpp*)
10205    lt_prog_compiler_pic=
10206    ;;
10207  *)
10208    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10209    ;;
10210esac
10211
10212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10213$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10214if ${lt_cv_prog_compiler_pic+:} false; then :
10215  $as_echo_n "(cached) " >&6
10216else
10217  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10218fi
10219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10220$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10221lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10222
10223#
10224# Check to make sure the PIC flag actually works.
10225#
10226if test -n "$lt_prog_compiler_pic"; then
10227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10228$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10229if ${lt_cv_prog_compiler_pic_works+:} false; then :
10230  $as_echo_n "(cached) " >&6
10231else
10232  lt_cv_prog_compiler_pic_works=no
10233   ac_outfile=conftest.$ac_objext
10234   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10235   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10236   # Insert the option either (1) after the last *FLAGS variable, or
10237   # (2) before a word containing "conftest.", or (3) at the end.
10238   # Note that $ac_compile itself does not contain backslashes and begins
10239   # with a dollar sign (not a hyphen), so the echo should work correctly.
10240   # The option is referenced via a variable to avoid confusing sed.
10241   lt_compile=`echo "$ac_compile" | $SED \
10242   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10243   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10244   -e 's:$: $lt_compiler_flag:'`
10245   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10246   (eval "$lt_compile" 2>conftest.err)
10247   ac_status=$?
10248   cat conftest.err >&5
10249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250   if (exit $ac_status) && test -s "$ac_outfile"; then
10251     # The compiler can only warn and ignore the option if not recognized
10252     # So say no if there are warnings other than the usual output.
10253     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10254     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10255     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10256       lt_cv_prog_compiler_pic_works=yes
10257     fi
10258   fi
10259   $RM conftest*
10260
10261fi
10262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10263$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10264
10265if test yes = "$lt_cv_prog_compiler_pic_works"; then
10266    case $lt_prog_compiler_pic in
10267     "" | " "*) ;;
10268     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10269     esac
10270else
10271    lt_prog_compiler_pic=
10272     lt_prog_compiler_can_build_shared=no
10273fi
10274
10275fi
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287#
10288# Check to make sure the static flag actually works.
10289#
10290wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10292$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10293if ${lt_cv_prog_compiler_static_works+:} false; then :
10294  $as_echo_n "(cached) " >&6
10295else
10296  lt_cv_prog_compiler_static_works=no
10297   save_LDFLAGS=$LDFLAGS
10298   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10299   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10300   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10301     # The linker can only warn and ignore the option if not recognized
10302     # So say no if there are warnings
10303     if test -s conftest.err; then
10304       # Append any errors to the config.log.
10305       cat conftest.err 1>&5
10306       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10307       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10308       if diff conftest.exp conftest.er2 >/dev/null; then
10309         lt_cv_prog_compiler_static_works=yes
10310       fi
10311     else
10312       lt_cv_prog_compiler_static_works=yes
10313     fi
10314   fi
10315   $RM -r conftest*
10316   LDFLAGS=$save_LDFLAGS
10317
10318fi
10319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10320$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10321
10322if test yes = "$lt_cv_prog_compiler_static_works"; then
10323    :
10324else
10325    lt_prog_compiler_static=
10326fi
10327
10328
10329
10330
10331
10332
10333
10334  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10335$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10336if ${lt_cv_prog_compiler_c_o+:} false; then :
10337  $as_echo_n "(cached) " >&6
10338else
10339  lt_cv_prog_compiler_c_o=no
10340   $RM -r conftest 2>/dev/null
10341   mkdir conftest
10342   cd conftest
10343   mkdir out
10344   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10345
10346   lt_compiler_flag="-o out/conftest2.$ac_objext"
10347   # Insert the option either (1) after the last *FLAGS variable, or
10348   # (2) before a word containing "conftest.", or (3) at the end.
10349   # Note that $ac_compile itself does not contain backslashes and begins
10350   # with a dollar sign (not a hyphen), so the echo should work correctly.
10351   lt_compile=`echo "$ac_compile" | $SED \
10352   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10353   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10354   -e 's:$: $lt_compiler_flag:'`
10355   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10356   (eval "$lt_compile" 2>out/conftest.err)
10357   ac_status=$?
10358   cat out/conftest.err >&5
10359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10361   then
10362     # The compiler can only warn and ignore the option if not recognized
10363     # So say no if there are warnings
10364     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10365     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10366     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10367       lt_cv_prog_compiler_c_o=yes
10368     fi
10369   fi
10370   chmod u+w . 2>&5
10371   $RM conftest*
10372   # SGI C++ compiler will create directory out/ii_files/ for
10373   # template instantiation
10374   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10375   $RM out/* && rmdir out
10376   cd ..
10377   $RM -r conftest
10378   $RM conftest*
10379
10380fi
10381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10382$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10383
10384
10385
10386
10387
10388
10389  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10390$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10391if ${lt_cv_prog_compiler_c_o+:} false; then :
10392  $as_echo_n "(cached) " >&6
10393else
10394  lt_cv_prog_compiler_c_o=no
10395   $RM -r conftest 2>/dev/null
10396   mkdir conftest
10397   cd conftest
10398   mkdir out
10399   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10400
10401   lt_compiler_flag="-o out/conftest2.$ac_objext"
10402   # Insert the option either (1) after the last *FLAGS variable, or
10403   # (2) before a word containing "conftest.", or (3) at the end.
10404   # Note that $ac_compile itself does not contain backslashes and begins
10405   # with a dollar sign (not a hyphen), so the echo should work correctly.
10406   lt_compile=`echo "$ac_compile" | $SED \
10407   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10408   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10409   -e 's:$: $lt_compiler_flag:'`
10410   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10411   (eval "$lt_compile" 2>out/conftest.err)
10412   ac_status=$?
10413   cat out/conftest.err >&5
10414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10416   then
10417     # The compiler can only warn and ignore the option if not recognized
10418     # So say no if there are warnings
10419     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10420     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10421     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10422       lt_cv_prog_compiler_c_o=yes
10423     fi
10424   fi
10425   chmod u+w . 2>&5
10426   $RM conftest*
10427   # SGI C++ compiler will create directory out/ii_files/ for
10428   # template instantiation
10429   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10430   $RM out/* && rmdir out
10431   cd ..
10432   $RM -r conftest
10433   $RM conftest*
10434
10435fi
10436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10437$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10438
10439
10440
10441
10442hard_links=nottested
10443if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10444  # do not overwrite the value of need_locks provided by the user
10445  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10446$as_echo_n "checking if we can lock with hard links... " >&6; }
10447  hard_links=yes
10448  $RM conftest*
10449  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10450  touch conftest.a
10451  ln conftest.a conftest.b 2>&5 || hard_links=no
10452  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10454$as_echo "$hard_links" >&6; }
10455  if test no = "$hard_links"; then
10456    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10457$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10458    need_locks=warn
10459  fi
10460else
10461  need_locks=no
10462fi
10463
10464
10465
10466
10467
10468
10469  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10470$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10471
10472  runpath_var=
10473  allow_undefined_flag=
10474  always_export_symbols=no
10475  archive_cmds=
10476  archive_expsym_cmds=
10477  compiler_needs_object=no
10478  enable_shared_with_static_runtimes=no
10479  export_dynamic_flag_spec=
10480  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10481  hardcode_automatic=no
10482  hardcode_direct=no
10483  hardcode_direct_absolute=no
10484  hardcode_libdir_flag_spec=
10485  hardcode_libdir_separator=
10486  hardcode_minus_L=no
10487  hardcode_shlibpath_var=unsupported
10488  inherit_rpath=no
10489  link_all_deplibs=unknown
10490  module_cmds=
10491  module_expsym_cmds=
10492  old_archive_from_new_cmds=
10493  old_archive_from_expsyms_cmds=
10494  thread_safe_flag_spec=
10495  whole_archive_flag_spec=
10496  # include_expsyms should be a list of space-separated symbols to be *always*
10497  # included in the symbol list
10498  include_expsyms=
10499  # exclude_expsyms can be an extended regexp of symbols to exclude
10500  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10501  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10502  # as well as any symbol that contains 'd'.
10503  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10504  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10505  # platforms (ab)use it in PIC code, but their linkers get confused if
10506  # the symbol is explicitly referenced.  Since portable code cannot
10507  # rely on this symbol name, it's probably fine to never include it in
10508  # preloaded symbol tables.
10509  # Exclude shared library initialization/finalization symbols.
10510  extract_expsyms_cmds=
10511
10512  case $host_os in
10513  cygwin* | mingw* | pw32* | cegcc*)
10514    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10515    # When not using gcc, we currently assume that we are using
10516    # Microsoft Visual C++.
10517    if test yes != "$GCC"; then
10518      with_gnu_ld=no
10519    fi
10520    ;;
10521  interix*)
10522    # we just hope/assume this is gcc and not c89 (= MSVC++)
10523    with_gnu_ld=yes
10524    ;;
10525  openbsd* | bitrig*)
10526    with_gnu_ld=no
10527    ;;
10528  esac
10529
10530  ld_shlibs=yes
10531
10532  # On some targets, GNU ld is compatible enough with the native linker
10533  # that we're better off using the native interface for both.
10534  lt_use_gnu_ld_interface=no
10535  if test yes = "$with_gnu_ld"; then
10536    case $host_os in
10537      aix*)
10538	# The AIX port of GNU ld has always aspired to compatibility
10539	# with the native linker.  However, as the warning in the GNU ld
10540	# block says, versions before 2.19.5* couldn't really create working
10541	# shared libraries, regardless of the interface used.
10542	case `$LD -v 2>&1` in
10543	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10544	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10545	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10546	  *)
10547	    lt_use_gnu_ld_interface=yes
10548	    ;;
10549	esac
10550	;;
10551      *)
10552	lt_use_gnu_ld_interface=yes
10553	;;
10554    esac
10555  fi
10556
10557  if test yes = "$lt_use_gnu_ld_interface"; then
10558    # If archive_cmds runs LD, not CC, wlarc should be empty
10559    wlarc='$wl'
10560
10561    # Set some defaults for GNU ld with shared library support. These
10562    # are reset later if shared libraries are not supported. Putting them
10563    # here allows them to be overridden if necessary.
10564    runpath_var=LD_RUN_PATH
10565    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10566    export_dynamic_flag_spec='$wl--export-dynamic'
10567    # ancient GNU ld didn't support --whole-archive et. al.
10568    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10569      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10570    else
10571      whole_archive_flag_spec=
10572    fi
10573    supports_anon_versioning=no
10574    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10575      *GNU\ gold*) supports_anon_versioning=yes ;;
10576      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10577      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10578      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10579      *\ 2.11.*) ;; # other 2.11 versions
10580      *) supports_anon_versioning=yes ;;
10581    esac
10582
10583    # See if GNU ld supports shared libraries.
10584    case $host_os in
10585    aix[3-9]*)
10586      # On AIX/PPC, the GNU linker is very broken
10587      if test ia64 != "$host_cpu"; then
10588	ld_shlibs=no
10589	cat <<_LT_EOF 1>&2
10590
10591*** Warning: the GNU linker, at least up to release 2.19, is reported
10592*** to be unable to reliably create shared libraries on AIX.
10593*** Therefore, libtool is disabling shared libraries support.  If you
10594*** really care for shared libraries, you may want to install binutils
10595*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10596*** You will then need to restart the configuration process.
10597
10598_LT_EOF
10599      fi
10600      ;;
10601
10602    amigaos*)
10603      case $host_cpu in
10604      powerpc)
10605            # see comment about AmigaOS4 .so support
10606            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10607            archive_expsym_cmds=''
10608        ;;
10609      m68k)
10610            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)'
10611            hardcode_libdir_flag_spec='-L$libdir'
10612            hardcode_minus_L=yes
10613        ;;
10614      esac
10615      ;;
10616
10617    beos*)
10618      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10619	allow_undefined_flag=unsupported
10620	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10621	# support --undefined.  This deserves some investigation.  FIXME
10622	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10623      else
10624	ld_shlibs=no
10625      fi
10626      ;;
10627
10628    cygwin* | mingw* | pw32* | cegcc*)
10629      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10630      # as there is no search path for DLLs.
10631      hardcode_libdir_flag_spec='-L$libdir'
10632      export_dynamic_flag_spec='$wl--export-all-symbols'
10633      allow_undefined_flag=unsupported
10634      always_export_symbols=no
10635      enable_shared_with_static_runtimes=yes
10636      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'
10637      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10638
10639      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10640        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10641	# If the export-symbols file already is a .def file, use it as
10642	# is; otherwise, prepend EXPORTS...
10643	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10644          cp $export_symbols $output_objdir/$soname.def;
10645        else
10646          echo EXPORTS > $output_objdir/$soname.def;
10647          cat $export_symbols >> $output_objdir/$soname.def;
10648        fi~
10649        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10650      else
10651	ld_shlibs=no
10652      fi
10653      ;;
10654
10655    haiku*)
10656      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10657      link_all_deplibs=yes
10658      ;;
10659
10660    os2*)
10661      hardcode_libdir_flag_spec='-L$libdir'
10662      hardcode_minus_L=yes
10663      allow_undefined_flag=unsupported
10664      shrext_cmds=.dll
10665      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10666	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10667	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10668	$ECHO EXPORTS >> $output_objdir/$libname.def~
10669	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10670	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10671	emximp -o $lib $output_objdir/$libname.def'
10672      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10673	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10674	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10675	$ECHO EXPORTS >> $output_objdir/$libname.def~
10676	prefix_cmds="$SED"~
10677	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10678	  prefix_cmds="$prefix_cmds -e 1d";
10679	fi~
10680	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10681	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10682	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10683	emximp -o $lib $output_objdir/$libname.def'
10684      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10685      enable_shared_with_static_runtimes=yes
10686      ;;
10687
10688    interix[3-9]*)
10689      hardcode_direct=no
10690      hardcode_shlibpath_var=no
10691      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10692      export_dynamic_flag_spec='$wl-E'
10693      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10694      # Instead, shared libraries are loaded at an image base (0x10000000 by
10695      # default) and relocated if they conflict, which is a slow very memory
10696      # consuming and fragmenting process.  To avoid this, we pick a random,
10697      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10698      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10699      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10700      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'
10701      ;;
10702
10703    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10704      tmp_diet=no
10705      if test linux-dietlibc = "$host_os"; then
10706	case $cc_basename in
10707	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10708	esac
10709      fi
10710      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10711	 && test no = "$tmp_diet"
10712      then
10713	tmp_addflag=' $pic_flag'
10714	tmp_sharedflag='-shared'
10715	case $cc_basename,$host_cpu in
10716        pgcc*)				# Portland Group C compiler
10717	  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'
10718	  tmp_addflag=' $pic_flag'
10719	  ;;
10720	pgf77* | pgf90* | pgf95* | pgfortran*)
10721					# Portland Group f77 and f90 compilers
10722	  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'
10723	  tmp_addflag=' $pic_flag -Mnomain' ;;
10724	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10725	  tmp_addflag=' -i_dynamic' ;;
10726	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10727	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10728	ifc* | ifort*)			# Intel Fortran compiler
10729	  tmp_addflag=' -nofor_main' ;;
10730	lf95*)				# Lahey Fortran 8.1
10731	  whole_archive_flag_spec=
10732	  tmp_sharedflag='--shared' ;;
10733        nagfor*)                        # NAGFOR 5.3
10734          tmp_sharedflag='-Wl,-shared' ;;
10735	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10736	  tmp_sharedflag='-qmkshrobj'
10737	  tmp_addflag= ;;
10738	nvcc*)	# Cuda Compiler Driver 2.2
10739	  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'
10740	  compiler_needs_object=yes
10741	  ;;
10742	esac
10743	case `$CC -V 2>&1 | sed 5q` in
10744	*Sun\ C*)			# Sun C 5.9
10745	  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'
10746	  compiler_needs_object=yes
10747	  tmp_sharedflag='-G' ;;
10748	*Sun\ F*)			# Sun Fortran 8.3
10749	  tmp_sharedflag='-G' ;;
10750	esac
10751	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10752
10753        if test yes = "$supports_anon_versioning"; then
10754          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10755            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10756            echo "local: *; };" >> $output_objdir/$libname.ver~
10757            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10758        fi
10759
10760	case $cc_basename in
10761	tcc*)
10762	  export_dynamic_flag_spec='-rdynamic'
10763	  ;;
10764	xlf* | bgf* | bgxlf* | mpixlf*)
10765	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10766	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10767	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10768	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10769	  if test yes = "$supports_anon_versioning"; then
10770	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10771              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10772              echo "local: *; };" >> $output_objdir/$libname.ver~
10773              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10774	  fi
10775	  ;;
10776	esac
10777      else
10778        ld_shlibs=no
10779      fi
10780      ;;
10781
10782    netbsd*)
10783      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10784	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10785	wlarc=
10786      else
10787	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10788	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10789      fi
10790      ;;
10791
10792    solaris*)
10793      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10794	ld_shlibs=no
10795	cat <<_LT_EOF 1>&2
10796
10797*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10798*** create shared libraries on Solaris systems.  Therefore, libtool
10799*** is disabling shared libraries support.  We urge you to upgrade GNU
10800*** binutils to release 2.9.1 or newer.  Another option is to modify
10801*** your PATH or compiler configuration so that the native linker is
10802*** used, and then restart.
10803
10804_LT_EOF
10805      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10806	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10807	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10808      else
10809	ld_shlibs=no
10810      fi
10811      ;;
10812
10813    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10814      case `$LD -v 2>&1` in
10815        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10816	ld_shlibs=no
10817	cat <<_LT_EOF 1>&2
10818
10819*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10820*** reliably create shared libraries on SCO systems.  Therefore, libtool
10821*** is disabling shared libraries support.  We urge you to upgrade GNU
10822*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10823*** your PATH or compiler configuration so that the native linker is
10824*** used, and then restart.
10825
10826_LT_EOF
10827	;;
10828	*)
10829	  # For security reasons, it is highly recommended that you always
10830	  # use absolute paths for naming shared libraries, and exclude the
10831	  # DT_RUNPATH tag from executables and libraries.  But doing so
10832	  # requires that you compile everything twice, which is a pain.
10833	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10834	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10835	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10836	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10837	  else
10838	    ld_shlibs=no
10839	  fi
10840	;;
10841      esac
10842      ;;
10843
10844    sunos4*)
10845      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10846      wlarc=
10847      hardcode_direct=yes
10848      hardcode_shlibpath_var=no
10849      ;;
10850
10851    *)
10852      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10853	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10854	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10855      else
10856	ld_shlibs=no
10857      fi
10858      ;;
10859    esac
10860
10861    if test no = "$ld_shlibs"; then
10862      runpath_var=
10863      hardcode_libdir_flag_spec=
10864      export_dynamic_flag_spec=
10865      whole_archive_flag_spec=
10866    fi
10867  else
10868    # PORTME fill in a description of your system's linker (not GNU ld)
10869    case $host_os in
10870    aix3*)
10871      allow_undefined_flag=unsupported
10872      always_export_symbols=yes
10873      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'
10874      # Note: this linker hardcodes the directories in LIBPATH if there
10875      # are no directories specified by -L.
10876      hardcode_minus_L=yes
10877      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10878	# Neither direct hardcoding nor static linking is supported with a
10879	# broken collect2.
10880	hardcode_direct=unsupported
10881      fi
10882      ;;
10883
10884    aix[4-9]*)
10885      if test ia64 = "$host_cpu"; then
10886	# On IA64, the linker does run time linking by default, so we don't
10887	# have to do anything special.
10888	aix_use_runtimelinking=no
10889	exp_sym_flag='-Bexport'
10890	no_entry_flag=
10891      else
10892	# If we're using GNU nm, then we don't want the "-C" option.
10893	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10894	# Without the "-l" option, or with the "-B" option, AIX nm treats
10895	# weak defined symbols like other global defined symbols, whereas
10896	# GNU nm marks them as "W".
10897	# While the 'weak' keyword is ignored in the Export File, we need
10898	# it in the Import File for the 'aix-soname' feature, so we have
10899	# to replace the "-B" option with "-P" for AIX nm.
10900	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10901	  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'
10902	else
10903	  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'
10904	fi
10905	aix_use_runtimelinking=no
10906
10907	# Test if we are trying to use run time linking or normal
10908	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10909	# have runtime linking enabled, and use it for executables.
10910	# For shared libraries, we enable/disable runtime linking
10911	# depending on the kind of the shared library created -
10912	# when "with_aix_soname,aix_use_runtimelinking" is:
10913	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10914	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10915	#            lib.a           static archive
10916	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10917	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10918	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10919	#            lib.a(lib.so.V) shared, rtl:no
10920	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10921	#            lib.a           static archive
10922	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10923	  for ld_flag in $LDFLAGS; do
10924	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10925	    aix_use_runtimelinking=yes
10926	    break
10927	  fi
10928	  done
10929	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10930	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10931	    # so we don't have lib.a shared libs to link our executables.
10932	    # We have to force runtime linking in this case.
10933	    aix_use_runtimelinking=yes
10934	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10935	  fi
10936	  ;;
10937	esac
10938
10939	exp_sym_flag='-bexport'
10940	no_entry_flag='-bnoentry'
10941      fi
10942
10943      # When large executables or shared objects are built, AIX ld can
10944      # have problems creating the table of contents.  If linking a library
10945      # or program results in "error TOC overflow" add -mminimal-toc to
10946      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10947      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10948
10949      archive_cmds=''
10950      hardcode_direct=yes
10951      hardcode_direct_absolute=yes
10952      hardcode_libdir_separator=':'
10953      link_all_deplibs=yes
10954      file_list_spec='$wl-f,'
10955      case $with_aix_soname,$aix_use_runtimelinking in
10956      aix,*) ;; # traditional, no import file
10957      svr4,* | *,yes) # use import file
10958	# The Import File defines what to hardcode.
10959	hardcode_direct=no
10960	hardcode_direct_absolute=no
10961	;;
10962      esac
10963
10964      if test yes = "$GCC"; then
10965	case $host_os in aix4.[012]|aix4.[012].*)
10966	# We only want to do this on AIX 4.2 and lower, the check
10967	# below for broken collect2 doesn't work under 4.3+
10968	  collect2name=`$CC -print-prog-name=collect2`
10969	  if test -f "$collect2name" &&
10970	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10971	  then
10972	  # We have reworked collect2
10973	  :
10974	  else
10975	  # We have old collect2
10976	  hardcode_direct=unsupported
10977	  # It fails to find uninstalled libraries when the uninstalled
10978	  # path is not listed in the libpath.  Setting hardcode_minus_L
10979	  # to unsupported forces relinking
10980	  hardcode_minus_L=yes
10981	  hardcode_libdir_flag_spec='-L$libdir'
10982	  hardcode_libdir_separator=
10983	  fi
10984	  ;;
10985	esac
10986	shared_flag='-shared'
10987	if test yes = "$aix_use_runtimelinking"; then
10988	  shared_flag="$shared_flag "'$wl-G'
10989	fi
10990	# Need to ensure runtime linking is disabled for the traditional
10991	# shared library, or the linker may eventually find shared libraries
10992	# /with/ Import File - we do not want to mix them.
10993	shared_flag_aix='-shared'
10994	shared_flag_svr4='-shared $wl-G'
10995      else
10996	# not using gcc
10997	if test ia64 = "$host_cpu"; then
10998	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10999	# chokes on -Wl,-G. The following line is correct:
11000	  shared_flag='-G'
11001	else
11002	  if test yes = "$aix_use_runtimelinking"; then
11003	    shared_flag='$wl-G'
11004	  else
11005	    shared_flag='$wl-bM:SRE'
11006	  fi
11007	  shared_flag_aix='$wl-bM:SRE'
11008	  shared_flag_svr4='$wl-G'
11009	fi
11010      fi
11011
11012      export_dynamic_flag_spec='$wl-bexpall'
11013      # It seems that -bexpall does not export symbols beginning with
11014      # underscore (_), so it is better to generate a list of symbols to export.
11015      always_export_symbols=yes
11016      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11017	# Warning - without using the other runtime loading flags (-brtl),
11018	# -berok will link without error, but may produce a broken library.
11019	allow_undefined_flag='-berok'
11020        # Determine the default libpath from the value encoded in an
11021        # empty executable.
11022        if test set = "${lt_cv_aix_libpath+set}"; then
11023  aix_libpath=$lt_cv_aix_libpath
11024else
11025  if ${lt_cv_aix_libpath_+:} false; then :
11026  $as_echo_n "(cached) " >&6
11027else
11028  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029/* end confdefs.h.  */
11030
11031int
11032main ()
11033{
11034
11035  ;
11036  return 0;
11037}
11038_ACEOF
11039if ac_fn_c_try_link "$LINENO"; then :
11040
11041  lt_aix_libpath_sed='
11042      /Import File Strings/,/^$/ {
11043	  /^0/ {
11044	      s/^0  *\([^ ]*\) *$/\1/
11045	      p
11046	  }
11047      }'
11048  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11049  # Check for a 64-bit object if we didn't find anything.
11050  if test -z "$lt_cv_aix_libpath_"; then
11051    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11052  fi
11053fi
11054rm -f core conftest.err conftest.$ac_objext \
11055    conftest$ac_exeext conftest.$ac_ext
11056  if test -z "$lt_cv_aix_libpath_"; then
11057    lt_cv_aix_libpath_=/usr/lib:/lib
11058  fi
11059
11060fi
11061
11062  aix_libpath=$lt_cv_aix_libpath_
11063fi
11064
11065        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11066        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
11067      else
11068	if test ia64 = "$host_cpu"; then
11069	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11070	  allow_undefined_flag="-z nodefs"
11071	  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"
11072	else
11073	 # Determine the default libpath from the value encoded in an
11074	 # empty executable.
11075	 if test set = "${lt_cv_aix_libpath+set}"; then
11076  aix_libpath=$lt_cv_aix_libpath
11077else
11078  if ${lt_cv_aix_libpath_+:} false; then :
11079  $as_echo_n "(cached) " >&6
11080else
11081  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11082/* end confdefs.h.  */
11083
11084int
11085main ()
11086{
11087
11088  ;
11089  return 0;
11090}
11091_ACEOF
11092if ac_fn_c_try_link "$LINENO"; then :
11093
11094  lt_aix_libpath_sed='
11095      /Import File Strings/,/^$/ {
11096	  /^0/ {
11097	      s/^0  *\([^ ]*\) *$/\1/
11098	      p
11099	  }
11100      }'
11101  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11102  # Check for a 64-bit object if we didn't find anything.
11103  if test -z "$lt_cv_aix_libpath_"; then
11104    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11105  fi
11106fi
11107rm -f core conftest.err conftest.$ac_objext \
11108    conftest$ac_exeext conftest.$ac_ext
11109  if test -z "$lt_cv_aix_libpath_"; then
11110    lt_cv_aix_libpath_=/usr/lib:/lib
11111  fi
11112
11113fi
11114
11115  aix_libpath=$lt_cv_aix_libpath_
11116fi
11117
11118	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11119	  # Warning - without using the other run time loading flags,
11120	  # -berok will link without error, but may produce a broken library.
11121	  no_undefined_flag=' $wl-bernotok'
11122	  allow_undefined_flag=' $wl-berok'
11123	  if test yes = "$with_gnu_ld"; then
11124	    # We only use this code for GNU lds that support --whole-archive.
11125	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11126	  else
11127	    # Exported symbols can be pulled into shared objects from archives
11128	    whole_archive_flag_spec='$convenience'
11129	  fi
11130	  archive_cmds_need_lc=yes
11131	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11132	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11133	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11134	  if test svr4 != "$with_aix_soname"; then
11135	    # This is similar to how AIX traditionally builds its shared libraries.
11136	    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'
11137	  fi
11138	  if test aix != "$with_aix_soname"; then
11139	    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'
11140	  else
11141	    # used by -dlpreopen to get the symbols
11142	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11143	  fi
11144	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11145	fi
11146      fi
11147      ;;
11148
11149    amigaos*)
11150      case $host_cpu in
11151      powerpc)
11152            # see comment about AmigaOS4 .so support
11153            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11154            archive_expsym_cmds=''
11155        ;;
11156      m68k)
11157            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)'
11158            hardcode_libdir_flag_spec='-L$libdir'
11159            hardcode_minus_L=yes
11160        ;;
11161      esac
11162      ;;
11163
11164    bsdi[45]*)
11165      export_dynamic_flag_spec=-rdynamic
11166      ;;
11167
11168    cygwin* | mingw* | pw32* | cegcc*)
11169      # When not using gcc, we currently assume that we are using
11170      # Microsoft Visual C++.
11171      # hardcode_libdir_flag_spec is actually meaningless, as there is
11172      # no search path for DLLs.
11173      case $cc_basename in
11174      cl*)
11175	# Native MSVC
11176	hardcode_libdir_flag_spec=' '
11177	allow_undefined_flag=unsupported
11178	always_export_symbols=yes
11179	file_list_spec='@'
11180	# Tell ltmain to make .lib files, not .a files.
11181	libext=lib
11182	# Tell ltmain to make .dll files, not .so files.
11183	shrext_cmds=.dll
11184	# FIXME: Setting linknames here is a bad hack.
11185	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11186	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11187            cp "$export_symbols" "$output_objdir/$soname.def";
11188            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11189          else
11190            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11191          fi~
11192          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11193          linknames='
11194	# The linker will not automatically build a static lib if we build a DLL.
11195	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11196	enable_shared_with_static_runtimes=yes
11197	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11198	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11199	# Don't use ranlib
11200	old_postinstall_cmds='chmod 644 $oldlib'
11201	postlink_cmds='lt_outputfile="@OUTPUT@"~
11202          lt_tool_outputfile="@TOOL_OUTPUT@"~
11203          case $lt_outputfile in
11204            *.exe|*.EXE) ;;
11205            *)
11206              lt_outputfile=$lt_outputfile.exe
11207              lt_tool_outputfile=$lt_tool_outputfile.exe
11208              ;;
11209          esac~
11210          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11211            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11212            $RM "$lt_outputfile.manifest";
11213          fi'
11214	;;
11215      *)
11216	# Assume MSVC wrapper
11217	hardcode_libdir_flag_spec=' '
11218	allow_undefined_flag=unsupported
11219	# Tell ltmain to make .lib files, not .a files.
11220	libext=lib
11221	# Tell ltmain to make .dll files, not .so files.
11222	shrext_cmds=.dll
11223	# FIXME: Setting linknames here is a bad hack.
11224	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11225	# The linker will automatically build a .lib file if we build a DLL.
11226	old_archive_from_new_cmds='true'
11227	# FIXME: Should let the user specify the lib program.
11228	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11229	enable_shared_with_static_runtimes=yes
11230	;;
11231      esac
11232      ;;
11233
11234    darwin* | rhapsody*)
11235
11236
11237  archive_cmds_need_lc=no
11238  hardcode_direct=no
11239  hardcode_automatic=yes
11240  hardcode_shlibpath_var=unsupported
11241  if test yes = "$lt_cv_ld_force_load"; then
11242    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\"`'
11243
11244  else
11245    whole_archive_flag_spec=''
11246  fi
11247  link_all_deplibs=yes
11248  allow_undefined_flag=$_lt_dar_allow_undefined
11249  case $cc_basename in
11250     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11251     *) _lt_dar_can_shared=$GCC ;;
11252  esac
11253  if test yes = "$_lt_dar_can_shared"; then
11254    output_verbose_link_cmd=func_echo_all
11255    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11256    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11257    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"
11258    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"
11259
11260  else
11261  ld_shlibs=no
11262  fi
11263
11264      ;;
11265
11266    dgux*)
11267      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11268      hardcode_libdir_flag_spec='-L$libdir'
11269      hardcode_shlibpath_var=no
11270      ;;
11271
11272    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11273    # support.  Future versions do this automatically, but an explicit c++rt0.o
11274    # does not break anything, and helps significantly (at the cost of a little
11275    # extra space).
11276    freebsd2.2*)
11277      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11278      hardcode_libdir_flag_spec='-R$libdir'
11279      hardcode_direct=yes
11280      hardcode_shlibpath_var=no
11281      ;;
11282
11283    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11284    freebsd2.*)
11285      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11286      hardcode_direct=yes
11287      hardcode_minus_L=yes
11288      hardcode_shlibpath_var=no
11289      ;;
11290
11291    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11292    freebsd* | dragonfly*)
11293      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11294      hardcode_libdir_flag_spec='-R$libdir'
11295      hardcode_direct=yes
11296      hardcode_shlibpath_var=no
11297      ;;
11298
11299    hpux9*)
11300      if test yes = "$GCC"; then
11301	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'
11302      else
11303	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'
11304      fi
11305      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11306      hardcode_libdir_separator=:
11307      hardcode_direct=yes
11308
11309      # hardcode_minus_L: Not really in the search PATH,
11310      # but as the default location of the library.
11311      hardcode_minus_L=yes
11312      export_dynamic_flag_spec='$wl-E'
11313      ;;
11314
11315    hpux10*)
11316      if test yes,no = "$GCC,$with_gnu_ld"; then
11317	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11318      else
11319	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11320      fi
11321      if test no = "$with_gnu_ld"; then
11322	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11323	hardcode_libdir_separator=:
11324	hardcode_direct=yes
11325	hardcode_direct_absolute=yes
11326	export_dynamic_flag_spec='$wl-E'
11327	# hardcode_minus_L: Not really in the search PATH,
11328	# but as the default location of the library.
11329	hardcode_minus_L=yes
11330      fi
11331      ;;
11332
11333    hpux11*)
11334      if test yes,no = "$GCC,$with_gnu_ld"; then
11335	case $host_cpu in
11336	hppa*64*)
11337	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11338	  ;;
11339	ia64*)
11340	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11341	  ;;
11342	*)
11343	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11344	  ;;
11345	esac
11346      else
11347	case $host_cpu in
11348	hppa*64*)
11349	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11350	  ;;
11351	ia64*)
11352	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11353	  ;;
11354	*)
11355
11356	  # Older versions of the 11.00 compiler do not understand -b yet
11357	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11358	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11359$as_echo_n "checking if $CC understands -b... " >&6; }
11360if ${lt_cv_prog_compiler__b+:} false; then :
11361  $as_echo_n "(cached) " >&6
11362else
11363  lt_cv_prog_compiler__b=no
11364   save_LDFLAGS=$LDFLAGS
11365   LDFLAGS="$LDFLAGS -b"
11366   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11367   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11368     # The linker can only warn and ignore the option if not recognized
11369     # So say no if there are warnings
11370     if test -s conftest.err; then
11371       # Append any errors to the config.log.
11372       cat conftest.err 1>&5
11373       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11374       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11375       if diff conftest.exp conftest.er2 >/dev/null; then
11376         lt_cv_prog_compiler__b=yes
11377       fi
11378     else
11379       lt_cv_prog_compiler__b=yes
11380     fi
11381   fi
11382   $RM -r conftest*
11383   LDFLAGS=$save_LDFLAGS
11384
11385fi
11386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11387$as_echo "$lt_cv_prog_compiler__b" >&6; }
11388
11389if test yes = "$lt_cv_prog_compiler__b"; then
11390    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11391else
11392    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11393fi
11394
11395	  ;;
11396	esac
11397      fi
11398      if test no = "$with_gnu_ld"; then
11399	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11400	hardcode_libdir_separator=:
11401
11402	case $host_cpu in
11403	hppa*64*|ia64*)
11404	  hardcode_direct=no
11405	  hardcode_shlibpath_var=no
11406	  ;;
11407	*)
11408	  hardcode_direct=yes
11409	  hardcode_direct_absolute=yes
11410	  export_dynamic_flag_spec='$wl-E'
11411
11412	  # hardcode_minus_L: Not really in the search PATH,
11413	  # but as the default location of the library.
11414	  hardcode_minus_L=yes
11415	  ;;
11416	esac
11417      fi
11418      ;;
11419
11420    irix5* | irix6* | nonstopux*)
11421      if test yes = "$GCC"; then
11422	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'
11423	# Try to use the -exported_symbol ld option, if it does not
11424	# work, assume that -exports_file does not work either and
11425	# implicitly export all symbols.
11426	# This should be the same for all languages, so no per-tag cache variable.
11427	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11428$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11429if ${lt_cv_irix_exported_symbol+:} false; then :
11430  $as_echo_n "(cached) " >&6
11431else
11432  save_LDFLAGS=$LDFLAGS
11433	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11434	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435/* end confdefs.h.  */
11436int foo (void) { return 0; }
11437_ACEOF
11438if ac_fn_c_try_link "$LINENO"; then :
11439  lt_cv_irix_exported_symbol=yes
11440else
11441  lt_cv_irix_exported_symbol=no
11442fi
11443rm -f core conftest.err conftest.$ac_objext \
11444    conftest$ac_exeext conftest.$ac_ext
11445           LDFLAGS=$save_LDFLAGS
11446fi
11447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11448$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11449	if test yes = "$lt_cv_irix_exported_symbol"; then
11450          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'
11451	fi
11452      else
11453	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'
11454	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'
11455      fi
11456      archive_cmds_need_lc='no'
11457      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11458      hardcode_libdir_separator=:
11459      inherit_rpath=yes
11460      link_all_deplibs=yes
11461      ;;
11462
11463    linux*)
11464      case $cc_basename in
11465      tcc*)
11466	# Fabrice Bellard et al's Tiny C Compiler
11467	ld_shlibs=yes
11468	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11469	;;
11470      esac
11471      ;;
11472
11473    netbsd*)
11474      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11475	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11476      else
11477	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11478      fi
11479      hardcode_libdir_flag_spec='-R$libdir'
11480      hardcode_direct=yes
11481      hardcode_shlibpath_var=no
11482      ;;
11483
11484    newsos6)
11485      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11486      hardcode_direct=yes
11487      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11488      hardcode_libdir_separator=:
11489      hardcode_shlibpath_var=no
11490      ;;
11491
11492    *nto* | *qnx*)
11493      ;;
11494
11495    openbsd* | bitrig*)
11496      if test -f /usr/libexec/ld.so; then
11497	hardcode_direct=yes
11498	hardcode_shlibpath_var=no
11499	hardcode_direct_absolute=yes
11500	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11501	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11502	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11503	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11504	  export_dynamic_flag_spec='$wl-E'
11505	else
11506	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11507	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11508	fi
11509      else
11510	ld_shlibs=no
11511      fi
11512      ;;
11513
11514    os2*)
11515      hardcode_libdir_flag_spec='-L$libdir'
11516      hardcode_minus_L=yes
11517      allow_undefined_flag=unsupported
11518      shrext_cmds=.dll
11519      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11520	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11521	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11522	$ECHO EXPORTS >> $output_objdir/$libname.def~
11523	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11524	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11525	emximp -o $lib $output_objdir/$libname.def'
11526      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11527	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11528	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11529	$ECHO EXPORTS >> $output_objdir/$libname.def~
11530	prefix_cmds="$SED"~
11531	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11532	  prefix_cmds="$prefix_cmds -e 1d";
11533	fi~
11534	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11535	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11536	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11537	emximp -o $lib $output_objdir/$libname.def'
11538      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11539      enable_shared_with_static_runtimes=yes
11540      ;;
11541
11542    osf3*)
11543      if test yes = "$GCC"; then
11544	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11545	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'
11546      else
11547	allow_undefined_flag=' -expect_unresolved \*'
11548	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'
11549      fi
11550      archive_cmds_need_lc='no'
11551      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11552      hardcode_libdir_separator=:
11553      ;;
11554
11555    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11556      if test yes = "$GCC"; then
11557	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11558	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'
11559	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11560      else
11561	allow_undefined_flag=' -expect_unresolved \*'
11562	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'
11563	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~
11564          $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'
11565
11566	# Both c and cxx compiler support -rpath directly
11567	hardcode_libdir_flag_spec='-rpath $libdir'
11568      fi
11569      archive_cmds_need_lc='no'
11570      hardcode_libdir_separator=:
11571      ;;
11572
11573    solaris*)
11574      no_undefined_flag=' -z defs'
11575      if test yes = "$GCC"; then
11576	wlarc='$wl'
11577	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11578	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11579          $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'
11580      else
11581	case `$CC -V 2>&1` in
11582	*"Compilers 5.0"*)
11583	  wlarc=''
11584	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11585	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11586            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11587	  ;;
11588	*)
11589	  wlarc='$wl'
11590	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11591	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11592            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11593	  ;;
11594	esac
11595      fi
11596      hardcode_libdir_flag_spec='-R$libdir'
11597      hardcode_shlibpath_var=no
11598      case $host_os in
11599      solaris2.[0-5] | solaris2.[0-5].*) ;;
11600      *)
11601	# The compiler driver will combine and reorder linker options,
11602	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11603	# but is careful enough not to reorder.
11604	# Supported since Solaris 2.6 (maybe 2.5.1?)
11605	if test yes = "$GCC"; then
11606	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11607	else
11608	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11609	fi
11610	;;
11611      esac
11612      link_all_deplibs=yes
11613      ;;
11614
11615    sunos4*)
11616      if test sequent = "$host_vendor"; then
11617	# Use $CC to link under sequent, because it throws in some extra .o
11618	# files that make .init and .fini sections work.
11619	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11620      else
11621	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11622      fi
11623      hardcode_libdir_flag_spec='-L$libdir'
11624      hardcode_direct=yes
11625      hardcode_minus_L=yes
11626      hardcode_shlibpath_var=no
11627      ;;
11628
11629    sysv4)
11630      case $host_vendor in
11631	sni)
11632	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11633	  hardcode_direct=yes # is this really true???
11634	;;
11635	siemens)
11636	  ## LD is ld it makes a PLAMLIB
11637	  ## CC just makes a GrossModule.
11638	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11639	  reload_cmds='$CC -r -o $output$reload_objs'
11640	  hardcode_direct=no
11641        ;;
11642	motorola)
11643	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11644	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11645	;;
11646      esac
11647      runpath_var='LD_RUN_PATH'
11648      hardcode_shlibpath_var=no
11649      ;;
11650
11651    sysv4.3*)
11652      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11653      hardcode_shlibpath_var=no
11654      export_dynamic_flag_spec='-Bexport'
11655      ;;
11656
11657    sysv4*MP*)
11658      if test -d /usr/nec; then
11659	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11660	hardcode_shlibpath_var=no
11661	runpath_var=LD_RUN_PATH
11662	hardcode_runpath_var=yes
11663	ld_shlibs=yes
11664      fi
11665      ;;
11666
11667    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11668      no_undefined_flag='$wl-z,text'
11669      archive_cmds_need_lc=no
11670      hardcode_shlibpath_var=no
11671      runpath_var='LD_RUN_PATH'
11672
11673      if test yes = "$GCC"; then
11674	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11675	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11676      else
11677	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11678	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11679      fi
11680      ;;
11681
11682    sysv5* | sco3.2v5* | sco5v6*)
11683      # Note: We CANNOT use -z defs as we might desire, because we do not
11684      # link with -lc, and that would cause any symbols used from libc to
11685      # always be unresolved, which means just about no library would
11686      # ever link correctly.  If we're not using GNU ld we use -z text
11687      # though, which does catch some bad symbols but isn't as heavy-handed
11688      # as -z defs.
11689      no_undefined_flag='$wl-z,text'
11690      allow_undefined_flag='$wl-z,nodefs'
11691      archive_cmds_need_lc=no
11692      hardcode_shlibpath_var=no
11693      hardcode_libdir_flag_spec='$wl-R,$libdir'
11694      hardcode_libdir_separator=':'
11695      link_all_deplibs=yes
11696      export_dynamic_flag_spec='$wl-Bexport'
11697      runpath_var='LD_RUN_PATH'
11698
11699      if test yes = "$GCC"; then
11700	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11701	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11702      else
11703	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11704	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11705      fi
11706      ;;
11707
11708    uts4*)
11709      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11710      hardcode_libdir_flag_spec='-L$libdir'
11711      hardcode_shlibpath_var=no
11712      ;;
11713
11714    *)
11715      ld_shlibs=no
11716      ;;
11717    esac
11718
11719    if test sni = "$host_vendor"; then
11720      case $host in
11721      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11722	export_dynamic_flag_spec='$wl-Blargedynsym'
11723	;;
11724      esac
11725    fi
11726  fi
11727
11728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11729$as_echo "$ld_shlibs" >&6; }
11730test no = "$ld_shlibs" && can_build_shared=no
11731
11732with_gnu_ld=$with_gnu_ld
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748#
11749# Do we need to explicitly link libc?
11750#
11751case "x$archive_cmds_need_lc" in
11752x|xyes)
11753  # Assume -lc should be added
11754  archive_cmds_need_lc=yes
11755
11756  if test yes,yes = "$GCC,$enable_shared"; then
11757    case $archive_cmds in
11758    *'~'*)
11759      # FIXME: we may have to deal with multi-command sequences.
11760      ;;
11761    '$CC '*)
11762      # Test whether the compiler implicitly links with -lc since on some
11763      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11764      # to ld, don't add -lc before -lgcc.
11765      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11766$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11767if ${lt_cv_archive_cmds_need_lc+:} false; then :
11768  $as_echo_n "(cached) " >&6
11769else
11770  $RM conftest*
11771	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11772
11773	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11774  (eval $ac_compile) 2>&5
11775  ac_status=$?
11776  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11777  test $ac_status = 0; } 2>conftest.err; then
11778	  soname=conftest
11779	  lib=conftest
11780	  libobjs=conftest.$ac_objext
11781	  deplibs=
11782	  wl=$lt_prog_compiler_wl
11783	  pic_flag=$lt_prog_compiler_pic
11784	  compiler_flags=-v
11785	  linker_flags=-v
11786	  verstring=
11787	  output_objdir=.
11788	  libname=conftest
11789	  lt_save_allow_undefined_flag=$allow_undefined_flag
11790	  allow_undefined_flag=
11791	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11792  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11793  ac_status=$?
11794  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11795  test $ac_status = 0; }
11796	  then
11797	    lt_cv_archive_cmds_need_lc=no
11798	  else
11799	    lt_cv_archive_cmds_need_lc=yes
11800	  fi
11801	  allow_undefined_flag=$lt_save_allow_undefined_flag
11802	else
11803	  cat conftest.err 1>&5
11804	fi
11805	$RM conftest*
11806
11807fi
11808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11809$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11810      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11811      ;;
11812    esac
11813  fi
11814  ;;
11815esac
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11969$as_echo_n "checking dynamic linker characteristics... " >&6; }
11970
11971if test yes = "$GCC"; then
11972  case $host_os in
11973    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11974    *) lt_awk_arg='/^libraries:/' ;;
11975  esac
11976  case $host_os in
11977    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11978    *) lt_sed_strip_eq='s|=/|/|g' ;;
11979  esac
11980  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11981  case $lt_search_path_spec in
11982  *\;*)
11983    # if the path contains ";" then we assume it to be the separator
11984    # otherwise default to the standard path separator (i.e. ":") - it is
11985    # assumed that no part of a normal pathname contains ";" but that should
11986    # okay in the real world where ";" in dirpaths is itself problematic.
11987    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11988    ;;
11989  *)
11990    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11991    ;;
11992  esac
11993  # Ok, now we have the path, separated by spaces, we can step through it
11994  # and add multilib dir if necessary...
11995  lt_tmp_lt_search_path_spec=
11996  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11997  # ...but if some path component already ends with the multilib dir we assume
11998  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11999  case "$lt_multi_os_dir; $lt_search_path_spec " in
12000  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12001    lt_multi_os_dir=
12002    ;;
12003  esac
12004  for lt_sys_path in $lt_search_path_spec; do
12005    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12006      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12007    elif test -n "$lt_multi_os_dir"; then
12008      test -d "$lt_sys_path" && \
12009	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12010    fi
12011  done
12012  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12013BEGIN {RS = " "; FS = "/|\n";} {
12014  lt_foo = "";
12015  lt_count = 0;
12016  for (lt_i = NF; lt_i > 0; lt_i--) {
12017    if ($lt_i != "" && $lt_i != ".") {
12018      if ($lt_i == "..") {
12019        lt_count++;
12020      } else {
12021        if (lt_count == 0) {
12022          lt_foo = "/" $lt_i lt_foo;
12023        } else {
12024          lt_count--;
12025        }
12026      }
12027    }
12028  }
12029  if (lt_foo != "") { lt_freq[lt_foo]++; }
12030  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12031}'`
12032  # AWK program above erroneously prepends '/' to C:/dos/paths
12033  # for these hosts.
12034  case $host_os in
12035    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12036      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12037  esac
12038  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12039else
12040  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12041fi
12042library_names_spec=
12043libname_spec='lib$name'
12044soname_spec=
12045shrext_cmds=.so
12046postinstall_cmds=
12047postuninstall_cmds=
12048finish_cmds=
12049finish_eval=
12050shlibpath_var=
12051shlibpath_overrides_runpath=unknown
12052version_type=none
12053dynamic_linker="$host_os ld.so"
12054sys_lib_dlsearch_path_spec="/lib /usr/lib"
12055need_lib_prefix=unknown
12056hardcode_into_libs=no
12057
12058# when you set need_version to no, make sure it does not cause -set_version
12059# flags to be left without arguments
12060need_version=unknown
12061
12062
12063
12064case $host_os in
12065aix3*)
12066  version_type=linux # correct to gnu/linux during the next big refactor
12067  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12068  shlibpath_var=LIBPATH
12069
12070  # AIX 3 has no versioning support, so we append a major version to the name.
12071  soname_spec='$libname$release$shared_ext$major'
12072  ;;
12073
12074aix[4-9]*)
12075  version_type=linux # correct to gnu/linux during the next big refactor
12076  need_lib_prefix=no
12077  need_version=no
12078  hardcode_into_libs=yes
12079  if test ia64 = "$host_cpu"; then
12080    # AIX 5 supports IA64
12081    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12082    shlibpath_var=LD_LIBRARY_PATH
12083  else
12084    # With GCC up to 2.95.x, collect2 would create an import file
12085    # for dependence libraries.  The import file would start with
12086    # the line '#! .'.  This would cause the generated library to
12087    # depend on '.', always an invalid library.  This was fixed in
12088    # development snapshots of GCC prior to 3.0.
12089    case $host_os in
12090      aix4 | aix4.[01] | aix4.[01].*)
12091      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12092	   echo ' yes '
12093	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12094	:
12095      else
12096	can_build_shared=no
12097      fi
12098      ;;
12099    esac
12100    # Using Import Files as archive members, it is possible to support
12101    # filename-based versioning of shared library archives on AIX. While
12102    # this would work for both with and without runtime linking, it will
12103    # prevent static linking of such archives. So we do filename-based
12104    # shared library versioning with .so extension only, which is used
12105    # when both runtime linking and shared linking is enabled.
12106    # Unfortunately, runtime linking may impact performance, so we do
12107    # not want this to be the default eventually. Also, we use the
12108    # versioned .so libs for executables only if there is the -brtl
12109    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12110    # To allow for filename-based versioning support, we need to create
12111    # libNAME.so.V as an archive file, containing:
12112    # *) an Import File, referring to the versioned filename of the
12113    #    archive as well as the shared archive member, telling the
12114    #    bitwidth (32 or 64) of that shared object, and providing the
12115    #    list of exported symbols of that shared object, eventually
12116    #    decorated with the 'weak' keyword
12117    # *) the shared object with the F_LOADONLY flag set, to really avoid
12118    #    it being seen by the linker.
12119    # At run time we better use the real file rather than another symlink,
12120    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12121
12122    case $with_aix_soname,$aix_use_runtimelinking in
12123    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12124    # soname into executable. Probably we can add versioning support to
12125    # collect2, so additional links can be useful in future.
12126    aix,yes) # traditional libtool
12127      dynamic_linker='AIX unversionable lib.so'
12128      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12129      # instead of lib<name>.a to let people know that these are not
12130      # typical AIX shared libraries.
12131      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12132      ;;
12133    aix,no) # traditional AIX only
12134      dynamic_linker='AIX lib.a(lib.so.V)'
12135      # We preserve .a as extension for shared libraries through AIX4.2
12136      # and later when we are not doing run time linking.
12137      library_names_spec='$libname$release.a $libname.a'
12138      soname_spec='$libname$release$shared_ext$major'
12139      ;;
12140    svr4,*) # full svr4 only
12141      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12142      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12143      # We do not specify a path in Import Files, so LIBPATH fires.
12144      shlibpath_overrides_runpath=yes
12145      ;;
12146    *,yes) # both, prefer svr4
12147      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12148      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12149      # unpreferred sharedlib libNAME.a needs extra handling
12150      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"'
12151      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"'
12152      # We do not specify a path in Import Files, so LIBPATH fires.
12153      shlibpath_overrides_runpath=yes
12154      ;;
12155    *,no) # both, prefer aix
12156      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12157      library_names_spec='$libname$release.a $libname.a'
12158      soname_spec='$libname$release$shared_ext$major'
12159      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12160      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)'
12161      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"'
12162      ;;
12163    esac
12164    shlibpath_var=LIBPATH
12165  fi
12166  ;;
12167
12168amigaos*)
12169  case $host_cpu in
12170  powerpc)
12171    # Since July 2007 AmigaOS4 officially supports .so libraries.
12172    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12173    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12174    ;;
12175  m68k)
12176    library_names_spec='$libname.ixlibrary $libname.a'
12177    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12178    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'
12179    ;;
12180  esac
12181  ;;
12182
12183beos*)
12184  library_names_spec='$libname$shared_ext'
12185  dynamic_linker="$host_os ld.so"
12186  shlibpath_var=LIBRARY_PATH
12187  ;;
12188
12189bsdi[45]*)
12190  version_type=linux # correct to gnu/linux during the next big refactor
12191  need_version=no
12192  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12193  soname_spec='$libname$release$shared_ext$major'
12194  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12195  shlibpath_var=LD_LIBRARY_PATH
12196  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12197  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12198  # the default ld.so.conf also contains /usr/contrib/lib and
12199  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12200  # libtool to hard-code these into programs
12201  ;;
12202
12203cygwin* | mingw* | pw32* | cegcc*)
12204  version_type=windows
12205  shrext_cmds=.dll
12206  need_version=no
12207  need_lib_prefix=no
12208
12209  case $GCC,$cc_basename in
12210  yes,*)
12211    # gcc
12212    library_names_spec='$libname.dll.a'
12213    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12214    postinstall_cmds='base_file=`basename \$file`~
12215      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12216      dldir=$destdir/`dirname \$dlpath`~
12217      test -d \$dldir || mkdir -p \$dldir~
12218      $install_prog $dir/$dlname \$dldir/$dlname~
12219      chmod a+x \$dldir/$dlname~
12220      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12221        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12222      fi'
12223    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12224      dlpath=$dir/\$dldll~
12225       $RM \$dlpath'
12226    shlibpath_overrides_runpath=yes
12227
12228    case $host_os in
12229    cygwin*)
12230      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12231      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12232
12233      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12234      ;;
12235    mingw* | cegcc*)
12236      # MinGW DLLs use traditional 'lib' prefix
12237      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12238      ;;
12239    pw32*)
12240      # pw32 DLLs use 'pw' prefix rather than 'lib'
12241      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12242      ;;
12243    esac
12244    dynamic_linker='Win32 ld.exe'
12245    ;;
12246
12247  *,cl*)
12248    # Native MSVC
12249    libname_spec='$name'
12250    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12251    library_names_spec='$libname.dll.lib'
12252
12253    case $build_os in
12254    mingw*)
12255      sys_lib_search_path_spec=
12256      lt_save_ifs=$IFS
12257      IFS=';'
12258      for lt_path in $LIB
12259      do
12260        IFS=$lt_save_ifs
12261        # Let DOS variable expansion print the short 8.3 style file name.
12262        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12263        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12264      done
12265      IFS=$lt_save_ifs
12266      # Convert to MSYS style.
12267      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12268      ;;
12269    cygwin*)
12270      # Convert to unix form, then to dos form, then back to unix form
12271      # but this time dos style (no spaces!) so that the unix form looks
12272      # like /cygdrive/c/PROGRA~1:/cygdr...
12273      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12274      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12275      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12276      ;;
12277    *)
12278      sys_lib_search_path_spec=$LIB
12279      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12280        # It is most probably a Windows format PATH.
12281        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12282      else
12283        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12284      fi
12285      # FIXME: find the short name or the path components, as spaces are
12286      # common. (e.g. "Program Files" -> "PROGRA~1")
12287      ;;
12288    esac
12289
12290    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12291    postinstall_cmds='base_file=`basename \$file`~
12292      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12293      dldir=$destdir/`dirname \$dlpath`~
12294      test -d \$dldir || mkdir -p \$dldir~
12295      $install_prog $dir/$dlname \$dldir/$dlname'
12296    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12297      dlpath=$dir/\$dldll~
12298       $RM \$dlpath'
12299    shlibpath_overrides_runpath=yes
12300    dynamic_linker='Win32 link.exe'
12301    ;;
12302
12303  *)
12304    # Assume MSVC wrapper
12305    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12306    dynamic_linker='Win32 ld.exe'
12307    ;;
12308  esac
12309  # FIXME: first we should search . and the directory the executable is in
12310  shlibpath_var=PATH
12311  ;;
12312
12313darwin* | rhapsody*)
12314  dynamic_linker="$host_os dyld"
12315  version_type=darwin
12316  need_lib_prefix=no
12317  need_version=no
12318  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12319  soname_spec='$libname$release$major$shared_ext'
12320  shlibpath_overrides_runpath=yes
12321  shlibpath_var=DYLD_LIBRARY_PATH
12322  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12323
12324  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12325  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12326  ;;
12327
12328dgux*)
12329  version_type=linux # correct to gnu/linux during the next big refactor
12330  need_lib_prefix=no
12331  need_version=no
12332  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12333  soname_spec='$libname$release$shared_ext$major'
12334  shlibpath_var=LD_LIBRARY_PATH
12335  ;;
12336
12337freebsd* | dragonfly*)
12338  # DragonFly does not have aout.  When/if they implement a new
12339  # versioning mechanism, adjust this.
12340  if test -x /usr/bin/objformat; then
12341    objformat=`/usr/bin/objformat`
12342  else
12343    case $host_os in
12344    freebsd[23].*) objformat=aout ;;
12345    *) objformat=elf ;;
12346    esac
12347  fi
12348  version_type=freebsd-$objformat
12349  case $version_type in
12350    freebsd-elf*)
12351      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12352      soname_spec='$libname$release$shared_ext$major'
12353      need_version=no
12354      need_lib_prefix=no
12355      ;;
12356    freebsd-*)
12357      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12358      need_version=yes
12359      ;;
12360  esac
12361  shlibpath_var=LD_LIBRARY_PATH
12362  case $host_os in
12363  freebsd2.*)
12364    shlibpath_overrides_runpath=yes
12365    ;;
12366  freebsd3.[01]* | freebsdelf3.[01]*)
12367    shlibpath_overrides_runpath=yes
12368    hardcode_into_libs=yes
12369    ;;
12370  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12371  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12372    shlibpath_overrides_runpath=no
12373    hardcode_into_libs=yes
12374    ;;
12375  *) # from 4.6 on, and DragonFly
12376    shlibpath_overrides_runpath=yes
12377    hardcode_into_libs=yes
12378    ;;
12379  esac
12380  ;;
12381
12382haiku*)
12383  version_type=linux # correct to gnu/linux during the next big refactor
12384  need_lib_prefix=no
12385  need_version=no
12386  dynamic_linker="$host_os runtime_loader"
12387  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12388  soname_spec='$libname$release$shared_ext$major'
12389  shlibpath_var=LIBRARY_PATH
12390  shlibpath_overrides_runpath=no
12391  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12392  hardcode_into_libs=yes
12393  ;;
12394
12395hpux9* | hpux10* | hpux11*)
12396  # Give a soname corresponding to the major version so that dld.sl refuses to
12397  # link against other versions.
12398  version_type=sunos
12399  need_lib_prefix=no
12400  need_version=no
12401  case $host_cpu in
12402  ia64*)
12403    shrext_cmds='.so'
12404    hardcode_into_libs=yes
12405    dynamic_linker="$host_os dld.so"
12406    shlibpath_var=LD_LIBRARY_PATH
12407    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12408    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12409    soname_spec='$libname$release$shared_ext$major'
12410    if test 32 = "$HPUX_IA64_MODE"; then
12411      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12412      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12413    else
12414      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12415      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12416    fi
12417    ;;
12418  hppa*64*)
12419    shrext_cmds='.sl'
12420    hardcode_into_libs=yes
12421    dynamic_linker="$host_os dld.sl"
12422    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12423    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12424    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12425    soname_spec='$libname$release$shared_ext$major'
12426    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12427    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12428    ;;
12429  *)
12430    shrext_cmds='.sl'
12431    dynamic_linker="$host_os dld.sl"
12432    shlibpath_var=SHLIB_PATH
12433    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12434    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12435    soname_spec='$libname$release$shared_ext$major'
12436    ;;
12437  esac
12438  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12439  postinstall_cmds='chmod 555 $lib'
12440  # or fails outright, so override atomically:
12441  install_override_mode=555
12442  ;;
12443
12444interix[3-9]*)
12445  version_type=linux # correct to gnu/linux during the next big refactor
12446  need_lib_prefix=no
12447  need_version=no
12448  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12449  soname_spec='$libname$release$shared_ext$major'
12450  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12451  shlibpath_var=LD_LIBRARY_PATH
12452  shlibpath_overrides_runpath=no
12453  hardcode_into_libs=yes
12454  ;;
12455
12456irix5* | irix6* | nonstopux*)
12457  case $host_os in
12458    nonstopux*) version_type=nonstopux ;;
12459    *)
12460	if test yes = "$lt_cv_prog_gnu_ld"; then
12461		version_type=linux # correct to gnu/linux during the next big refactor
12462	else
12463		version_type=irix
12464	fi ;;
12465  esac
12466  need_lib_prefix=no
12467  need_version=no
12468  soname_spec='$libname$release$shared_ext$major'
12469  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12470  case $host_os in
12471  irix5* | nonstopux*)
12472    libsuff= shlibsuff=
12473    ;;
12474  *)
12475    case $LD in # libtool.m4 will add one of these switches to LD
12476    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12477      libsuff= shlibsuff= libmagic=32-bit;;
12478    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12479      libsuff=32 shlibsuff=N32 libmagic=N32;;
12480    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12481      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12482    *) libsuff= shlibsuff= libmagic=never-match;;
12483    esac
12484    ;;
12485  esac
12486  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12487  shlibpath_overrides_runpath=no
12488  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12489  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12490  hardcode_into_libs=yes
12491  ;;
12492
12493# No shared lib support for Linux oldld, aout, or coff.
12494linux*oldld* | linux*aout* | linux*coff*)
12495  dynamic_linker=no
12496  ;;
12497
12498linux*android*)
12499  version_type=none # Android doesn't support versioned libraries.
12500  need_lib_prefix=no
12501  need_version=no
12502  library_names_spec='$libname$release$shared_ext'
12503  soname_spec='$libname$release$shared_ext'
12504  finish_cmds=
12505  shlibpath_var=LD_LIBRARY_PATH
12506  shlibpath_overrides_runpath=yes
12507
12508  # This implies no fast_install, which is unacceptable.
12509  # Some rework will be needed to allow for fast_install
12510  # before this can be enabled.
12511  hardcode_into_libs=yes
12512
12513  dynamic_linker='Android linker'
12514  # Don't embed -rpath directories since the linker doesn't support them.
12515  hardcode_libdir_flag_spec='-L$libdir'
12516  ;;
12517
12518# This must be glibc/ELF.
12519linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12520  version_type=linux # correct to gnu/linux during the next big refactor
12521  need_lib_prefix=no
12522  need_version=no
12523  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12524  soname_spec='$libname$release$shared_ext$major'
12525  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12526  shlibpath_var=LD_LIBRARY_PATH
12527  shlibpath_overrides_runpath=no
12528
12529  # Some binutils ld are patched to set DT_RUNPATH
12530  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12531  $as_echo_n "(cached) " >&6
12532else
12533  lt_cv_shlibpath_overrides_runpath=no
12534    save_LDFLAGS=$LDFLAGS
12535    save_libdir=$libdir
12536    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12537	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12538    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539/* end confdefs.h.  */
12540
12541int
12542main ()
12543{
12544
12545  ;
12546  return 0;
12547}
12548_ACEOF
12549if ac_fn_c_try_link "$LINENO"; then :
12550  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12551  lt_cv_shlibpath_overrides_runpath=yes
12552fi
12553fi
12554rm -f core conftest.err conftest.$ac_objext \
12555    conftest$ac_exeext conftest.$ac_ext
12556    LDFLAGS=$save_LDFLAGS
12557    libdir=$save_libdir
12558
12559fi
12560
12561  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12562
12563  # This implies no fast_install, which is unacceptable.
12564  # Some rework will be needed to allow for fast_install
12565  # before this can be enabled.
12566  hardcode_into_libs=yes
12567
12568  # Ideally, we could use ldconfig to report *all* directores which are
12569  # searched for libraries, however this is still not possible.  Aside from not
12570  # being certain /sbin/ldconfig is available, command
12571  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12572  # even though it is searched at run-time.  Try to do the best guess by
12573  # appending ld.so.conf contents (and includes) to the search path.
12574  if test -f /etc/ld.so.conf; then
12575    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' ' '`
12576    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12577  fi
12578
12579  # We used to test for /lib/ld.so.1 and disable shared libraries on
12580  # powerpc, because MkLinux only supported shared libraries with the
12581  # GNU dynamic linker.  Since this was broken with cross compilers,
12582  # most powerpc-linux boxes support dynamic linking these days and
12583  # people can always --disable-shared, the test was removed, and we
12584  # assume the GNU/Linux dynamic linker is in use.
12585  dynamic_linker='GNU/Linux ld.so'
12586  ;;
12587
12588netbsd*)
12589  version_type=sunos
12590  need_lib_prefix=no
12591  need_version=no
12592  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12593    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12594    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12595    dynamic_linker='NetBSD (a.out) ld.so'
12596  else
12597    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12598    soname_spec='$libname$release$shared_ext$major'
12599    dynamic_linker='NetBSD ld.elf_so'
12600  fi
12601  shlibpath_var=LD_LIBRARY_PATH
12602  shlibpath_overrides_runpath=yes
12603  hardcode_into_libs=yes
12604  ;;
12605
12606newsos6)
12607  version_type=linux # correct to gnu/linux during the next big refactor
12608  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12609  shlibpath_var=LD_LIBRARY_PATH
12610  shlibpath_overrides_runpath=yes
12611  ;;
12612
12613*nto* | *qnx*)
12614  version_type=qnx
12615  need_lib_prefix=no
12616  need_version=no
12617  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12618  soname_spec='$libname$release$shared_ext$major'
12619  shlibpath_var=LD_LIBRARY_PATH
12620  shlibpath_overrides_runpath=no
12621  hardcode_into_libs=yes
12622  dynamic_linker='ldqnx.so'
12623  ;;
12624
12625openbsd* | bitrig*)
12626  version_type=sunos
12627  sys_lib_dlsearch_path_spec=/usr/lib
12628  need_lib_prefix=no
12629  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12630    need_version=no
12631  else
12632    need_version=yes
12633  fi
12634  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12635  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12636  shlibpath_var=LD_LIBRARY_PATH
12637  shlibpath_overrides_runpath=yes
12638  ;;
12639
12640os2*)
12641  libname_spec='$name'
12642  version_type=windows
12643  shrext_cmds=.dll
12644  need_version=no
12645  need_lib_prefix=no
12646  # OS/2 can only load a DLL with a base name of 8 characters or less.
12647  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12648    v=$($ECHO $release$versuffix | tr -d .-);
12649    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12650    $ECHO $n$v`$shared_ext'
12651  library_names_spec='${libname}_dll.$libext'
12652  dynamic_linker='OS/2 ld.exe'
12653  shlibpath_var=BEGINLIBPATH
12654  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12655  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12656  postinstall_cmds='base_file=`basename \$file`~
12657    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12658    dldir=$destdir/`dirname \$dlpath`~
12659    test -d \$dldir || mkdir -p \$dldir~
12660    $install_prog $dir/$dlname \$dldir/$dlname~
12661    chmod a+x \$dldir/$dlname~
12662    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12663      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12664    fi'
12665  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12666    dlpath=$dir/\$dldll~
12667    $RM \$dlpath'
12668  ;;
12669
12670osf3* | osf4* | osf5*)
12671  version_type=osf
12672  need_lib_prefix=no
12673  need_version=no
12674  soname_spec='$libname$release$shared_ext$major'
12675  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12676  shlibpath_var=LD_LIBRARY_PATH
12677  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12678  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12679  ;;
12680
12681rdos*)
12682  dynamic_linker=no
12683  ;;
12684
12685solaris*)
12686  version_type=linux # correct to gnu/linux during the next big refactor
12687  need_lib_prefix=no
12688  need_version=no
12689  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12690  soname_spec='$libname$release$shared_ext$major'
12691  shlibpath_var=LD_LIBRARY_PATH
12692  shlibpath_overrides_runpath=yes
12693  hardcode_into_libs=yes
12694  # ldd complains unless libraries are executable
12695  postinstall_cmds='chmod +x $lib'
12696  ;;
12697
12698sunos4*)
12699  version_type=sunos
12700  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12701  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12702  shlibpath_var=LD_LIBRARY_PATH
12703  shlibpath_overrides_runpath=yes
12704  if test yes = "$with_gnu_ld"; then
12705    need_lib_prefix=no
12706  fi
12707  need_version=yes
12708  ;;
12709
12710sysv4 | sysv4.3*)
12711  version_type=linux # correct to gnu/linux during the next big refactor
12712  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12713  soname_spec='$libname$release$shared_ext$major'
12714  shlibpath_var=LD_LIBRARY_PATH
12715  case $host_vendor in
12716    sni)
12717      shlibpath_overrides_runpath=no
12718      need_lib_prefix=no
12719      runpath_var=LD_RUN_PATH
12720      ;;
12721    siemens)
12722      need_lib_prefix=no
12723      ;;
12724    motorola)
12725      need_lib_prefix=no
12726      need_version=no
12727      shlibpath_overrides_runpath=no
12728      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12729      ;;
12730  esac
12731  ;;
12732
12733sysv4*MP*)
12734  if test -d /usr/nec; then
12735    version_type=linux # correct to gnu/linux during the next big refactor
12736    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12737    soname_spec='$libname$shared_ext.$major'
12738    shlibpath_var=LD_LIBRARY_PATH
12739  fi
12740  ;;
12741
12742sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12743  version_type=sco
12744  need_lib_prefix=no
12745  need_version=no
12746  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12747  soname_spec='$libname$release$shared_ext$major'
12748  shlibpath_var=LD_LIBRARY_PATH
12749  shlibpath_overrides_runpath=yes
12750  hardcode_into_libs=yes
12751  if test yes = "$with_gnu_ld"; then
12752    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12753  else
12754    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12755    case $host_os in
12756      sco3.2v5*)
12757        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12758	;;
12759    esac
12760  fi
12761  sys_lib_dlsearch_path_spec='/usr/lib'
12762  ;;
12763
12764tpf*)
12765  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12766  version_type=linux # correct to gnu/linux during the next big refactor
12767  need_lib_prefix=no
12768  need_version=no
12769  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12770  shlibpath_var=LD_LIBRARY_PATH
12771  shlibpath_overrides_runpath=no
12772  hardcode_into_libs=yes
12773  ;;
12774
12775uts4*)
12776  version_type=linux # correct to gnu/linux during the next big refactor
12777  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12778  soname_spec='$libname$release$shared_ext$major'
12779  shlibpath_var=LD_LIBRARY_PATH
12780  ;;
12781
12782*)
12783  dynamic_linker=no
12784  ;;
12785esac
12786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12787$as_echo "$dynamic_linker" >&6; }
12788test no = "$dynamic_linker" && can_build_shared=no
12789
12790variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12791if test yes = "$GCC"; then
12792  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12793fi
12794
12795if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12796  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12797fi
12798
12799if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12800  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12801fi
12802
12803# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12804configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12805
12806# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12807func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12808
12809# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12810configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12909$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12910hardcode_action=
12911if test -n "$hardcode_libdir_flag_spec" ||
12912   test -n "$runpath_var" ||
12913   test yes = "$hardcode_automatic"; then
12914
12915  # We can hardcode non-existent directories.
12916  if test no != "$hardcode_direct" &&
12917     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12918     # have to relink, otherwise we might link with an installed library
12919     # when we should be linking with a yet-to-be-installed one
12920     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12921     test no != "$hardcode_minus_L"; then
12922    # Linking always hardcodes the temporary library directory.
12923    hardcode_action=relink
12924  else
12925    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12926    hardcode_action=immediate
12927  fi
12928else
12929  # We cannot hardcode anything, or else we can only hardcode existing
12930  # directories.
12931  hardcode_action=unsupported
12932fi
12933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12934$as_echo "$hardcode_action" >&6; }
12935
12936if test relink = "$hardcode_action" ||
12937   test yes = "$inherit_rpath"; then
12938  # Fast installation is not supported
12939  enable_fast_install=no
12940elif test yes = "$shlibpath_overrides_runpath" ||
12941     test no = "$enable_shared"; then
12942  # Fast installation is not necessary
12943  enable_fast_install=needless
12944fi
12945
12946
12947
12948
12949
12950
12951  if test yes != "$enable_dlopen"; then
12952  enable_dlopen=unknown
12953  enable_dlopen_self=unknown
12954  enable_dlopen_self_static=unknown
12955else
12956  lt_cv_dlopen=no
12957  lt_cv_dlopen_libs=
12958
12959  case $host_os in
12960  beos*)
12961    lt_cv_dlopen=load_add_on
12962    lt_cv_dlopen_libs=
12963    lt_cv_dlopen_self=yes
12964    ;;
12965
12966  mingw* | pw32* | cegcc*)
12967    lt_cv_dlopen=LoadLibrary
12968    lt_cv_dlopen_libs=
12969    ;;
12970
12971  cygwin*)
12972    lt_cv_dlopen=dlopen
12973    lt_cv_dlopen_libs=
12974    ;;
12975
12976  darwin*)
12977    # if libdl is installed we need to link against it
12978    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12979$as_echo_n "checking for dlopen in -ldl... " >&6; }
12980if ${ac_cv_lib_dl_dlopen+:} false; then :
12981  $as_echo_n "(cached) " >&6
12982else
12983  ac_check_lib_save_LIBS=$LIBS
12984LIBS="-ldl  $LIBS"
12985cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986/* end confdefs.h.  */
12987
12988/* Override any GCC internal prototype to avoid an error.
12989   Use char because int might match the return type of a GCC
12990   builtin and then its argument prototype would still apply.  */
12991#ifdef __cplusplus
12992extern "C"
12993#endif
12994char dlopen ();
12995int
12996main ()
12997{
12998return dlopen ();
12999  ;
13000  return 0;
13001}
13002_ACEOF
13003if ac_fn_c_try_link "$LINENO"; then :
13004  ac_cv_lib_dl_dlopen=yes
13005else
13006  ac_cv_lib_dl_dlopen=no
13007fi
13008rm -f core conftest.err conftest.$ac_objext \
13009    conftest$ac_exeext conftest.$ac_ext
13010LIBS=$ac_check_lib_save_LIBS
13011fi
13012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13013$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13014if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13015  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13016else
13017
13018    lt_cv_dlopen=dyld
13019    lt_cv_dlopen_libs=
13020    lt_cv_dlopen_self=yes
13021
13022fi
13023
13024    ;;
13025
13026  tpf*)
13027    # Don't try to run any link tests for TPF.  We know it's impossible
13028    # because TPF is a cross-compiler, and we know how we open DSOs.
13029    lt_cv_dlopen=dlopen
13030    lt_cv_dlopen_libs=
13031    lt_cv_dlopen_self=no
13032    ;;
13033
13034  *)
13035    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13036if test "x$ac_cv_func_shl_load" = xyes; then :
13037  lt_cv_dlopen=shl_load
13038else
13039  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13040$as_echo_n "checking for shl_load in -ldld... " >&6; }
13041if ${ac_cv_lib_dld_shl_load+:} false; then :
13042  $as_echo_n "(cached) " >&6
13043else
13044  ac_check_lib_save_LIBS=$LIBS
13045LIBS="-ldld  $LIBS"
13046cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13047/* end confdefs.h.  */
13048
13049/* Override any GCC internal prototype to avoid an error.
13050   Use char because int might match the return type of a GCC
13051   builtin and then its argument prototype would still apply.  */
13052#ifdef __cplusplus
13053extern "C"
13054#endif
13055char shl_load ();
13056int
13057main ()
13058{
13059return shl_load ();
13060  ;
13061  return 0;
13062}
13063_ACEOF
13064if ac_fn_c_try_link "$LINENO"; then :
13065  ac_cv_lib_dld_shl_load=yes
13066else
13067  ac_cv_lib_dld_shl_load=no
13068fi
13069rm -f core conftest.err conftest.$ac_objext \
13070    conftest$ac_exeext conftest.$ac_ext
13071LIBS=$ac_check_lib_save_LIBS
13072fi
13073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13074$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13075if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13076  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13077else
13078  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13079if test "x$ac_cv_func_dlopen" = xyes; then :
13080  lt_cv_dlopen=dlopen
13081else
13082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13083$as_echo_n "checking for dlopen in -ldl... " >&6; }
13084if ${ac_cv_lib_dl_dlopen+:} false; then :
13085  $as_echo_n "(cached) " >&6
13086else
13087  ac_check_lib_save_LIBS=$LIBS
13088LIBS="-ldl  $LIBS"
13089cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090/* end confdefs.h.  */
13091
13092/* Override any GCC internal prototype to avoid an error.
13093   Use char because int might match the return type of a GCC
13094   builtin and then its argument prototype would still apply.  */
13095#ifdef __cplusplus
13096extern "C"
13097#endif
13098char dlopen ();
13099int
13100main ()
13101{
13102return dlopen ();
13103  ;
13104  return 0;
13105}
13106_ACEOF
13107if ac_fn_c_try_link "$LINENO"; then :
13108  ac_cv_lib_dl_dlopen=yes
13109else
13110  ac_cv_lib_dl_dlopen=no
13111fi
13112rm -f core conftest.err conftest.$ac_objext \
13113    conftest$ac_exeext conftest.$ac_ext
13114LIBS=$ac_check_lib_save_LIBS
13115fi
13116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13117$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13118if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13119  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13120else
13121  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13122$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13123if ${ac_cv_lib_svld_dlopen+:} false; then :
13124  $as_echo_n "(cached) " >&6
13125else
13126  ac_check_lib_save_LIBS=$LIBS
13127LIBS="-lsvld  $LIBS"
13128cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129/* end confdefs.h.  */
13130
13131/* Override any GCC internal prototype to avoid an error.
13132   Use char because int might match the return type of a GCC
13133   builtin and then its argument prototype would still apply.  */
13134#ifdef __cplusplus
13135extern "C"
13136#endif
13137char dlopen ();
13138int
13139main ()
13140{
13141return dlopen ();
13142  ;
13143  return 0;
13144}
13145_ACEOF
13146if ac_fn_c_try_link "$LINENO"; then :
13147  ac_cv_lib_svld_dlopen=yes
13148else
13149  ac_cv_lib_svld_dlopen=no
13150fi
13151rm -f core conftest.err conftest.$ac_objext \
13152    conftest$ac_exeext conftest.$ac_ext
13153LIBS=$ac_check_lib_save_LIBS
13154fi
13155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13156$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13157if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13158  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13159else
13160  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13161$as_echo_n "checking for dld_link in -ldld... " >&6; }
13162if ${ac_cv_lib_dld_dld_link+:} false; then :
13163  $as_echo_n "(cached) " >&6
13164else
13165  ac_check_lib_save_LIBS=$LIBS
13166LIBS="-ldld  $LIBS"
13167cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13168/* end confdefs.h.  */
13169
13170/* Override any GCC internal prototype to avoid an error.
13171   Use char because int might match the return type of a GCC
13172   builtin and then its argument prototype would still apply.  */
13173#ifdef __cplusplus
13174extern "C"
13175#endif
13176char dld_link ();
13177int
13178main ()
13179{
13180return dld_link ();
13181  ;
13182  return 0;
13183}
13184_ACEOF
13185if ac_fn_c_try_link "$LINENO"; then :
13186  ac_cv_lib_dld_dld_link=yes
13187else
13188  ac_cv_lib_dld_dld_link=no
13189fi
13190rm -f core conftest.err conftest.$ac_objext \
13191    conftest$ac_exeext conftest.$ac_ext
13192LIBS=$ac_check_lib_save_LIBS
13193fi
13194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13195$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13196if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13197  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13198fi
13199
13200
13201fi
13202
13203
13204fi
13205
13206
13207fi
13208
13209
13210fi
13211
13212
13213fi
13214
13215    ;;
13216  esac
13217
13218  if test no = "$lt_cv_dlopen"; then
13219    enable_dlopen=no
13220  else
13221    enable_dlopen=yes
13222  fi
13223
13224  case $lt_cv_dlopen in
13225  dlopen)
13226    save_CPPFLAGS=$CPPFLAGS
13227    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13228
13229    save_LDFLAGS=$LDFLAGS
13230    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13231
13232    save_LIBS=$LIBS
13233    LIBS="$lt_cv_dlopen_libs $LIBS"
13234
13235    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13236$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13237if ${lt_cv_dlopen_self+:} false; then :
13238  $as_echo_n "(cached) " >&6
13239else
13240  	  if test yes = "$cross_compiling"; then :
13241  lt_cv_dlopen_self=cross
13242else
13243  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13244  lt_status=$lt_dlunknown
13245  cat > conftest.$ac_ext <<_LT_EOF
13246#line $LINENO "configure"
13247#include "confdefs.h"
13248
13249#if HAVE_DLFCN_H
13250#include <dlfcn.h>
13251#endif
13252
13253#include <stdio.h>
13254
13255#ifdef RTLD_GLOBAL
13256#  define LT_DLGLOBAL		RTLD_GLOBAL
13257#else
13258#  ifdef DL_GLOBAL
13259#    define LT_DLGLOBAL		DL_GLOBAL
13260#  else
13261#    define LT_DLGLOBAL		0
13262#  endif
13263#endif
13264
13265/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13266   find out it does not work in some platform. */
13267#ifndef LT_DLLAZY_OR_NOW
13268#  ifdef RTLD_LAZY
13269#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13270#  else
13271#    ifdef DL_LAZY
13272#      define LT_DLLAZY_OR_NOW		DL_LAZY
13273#    else
13274#      ifdef RTLD_NOW
13275#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13276#      else
13277#        ifdef DL_NOW
13278#          define LT_DLLAZY_OR_NOW	DL_NOW
13279#        else
13280#          define LT_DLLAZY_OR_NOW	0
13281#        endif
13282#      endif
13283#    endif
13284#  endif
13285#endif
13286
13287/* When -fvisibility=hidden is used, assume the code has been annotated
13288   correspondingly for the symbols needed.  */
13289#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13290int fnord () __attribute__((visibility("default")));
13291#endif
13292
13293int fnord () { return 42; }
13294int main ()
13295{
13296  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13297  int status = $lt_dlunknown;
13298
13299  if (self)
13300    {
13301      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13302      else
13303        {
13304	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13305          else puts (dlerror ());
13306	}
13307      /* dlclose (self); */
13308    }
13309  else
13310    puts (dlerror ());
13311
13312  return status;
13313}
13314_LT_EOF
13315  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13316  (eval $ac_link) 2>&5
13317  ac_status=$?
13318  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13319  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13320    (./conftest; exit; ) >&5 2>/dev/null
13321    lt_status=$?
13322    case x$lt_status in
13323      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13324      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13325      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13326    esac
13327  else :
13328    # compilation failed
13329    lt_cv_dlopen_self=no
13330  fi
13331fi
13332rm -fr conftest*
13333
13334
13335fi
13336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13337$as_echo "$lt_cv_dlopen_self" >&6; }
13338
13339    if test yes = "$lt_cv_dlopen_self"; then
13340      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13341      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13342$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13343if ${lt_cv_dlopen_self_static+:} false; then :
13344  $as_echo_n "(cached) " >&6
13345else
13346  	  if test yes = "$cross_compiling"; then :
13347  lt_cv_dlopen_self_static=cross
13348else
13349  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13350  lt_status=$lt_dlunknown
13351  cat > conftest.$ac_ext <<_LT_EOF
13352#line $LINENO "configure"
13353#include "confdefs.h"
13354
13355#if HAVE_DLFCN_H
13356#include <dlfcn.h>
13357#endif
13358
13359#include <stdio.h>
13360
13361#ifdef RTLD_GLOBAL
13362#  define LT_DLGLOBAL		RTLD_GLOBAL
13363#else
13364#  ifdef DL_GLOBAL
13365#    define LT_DLGLOBAL		DL_GLOBAL
13366#  else
13367#    define LT_DLGLOBAL		0
13368#  endif
13369#endif
13370
13371/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13372   find out it does not work in some platform. */
13373#ifndef LT_DLLAZY_OR_NOW
13374#  ifdef RTLD_LAZY
13375#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13376#  else
13377#    ifdef DL_LAZY
13378#      define LT_DLLAZY_OR_NOW		DL_LAZY
13379#    else
13380#      ifdef RTLD_NOW
13381#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13382#      else
13383#        ifdef DL_NOW
13384#          define LT_DLLAZY_OR_NOW	DL_NOW
13385#        else
13386#          define LT_DLLAZY_OR_NOW	0
13387#        endif
13388#      endif
13389#    endif
13390#  endif
13391#endif
13392
13393/* When -fvisibility=hidden is used, assume the code has been annotated
13394   correspondingly for the symbols needed.  */
13395#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13396int fnord () __attribute__((visibility("default")));
13397#endif
13398
13399int fnord () { return 42; }
13400int main ()
13401{
13402  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13403  int status = $lt_dlunknown;
13404
13405  if (self)
13406    {
13407      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13408      else
13409        {
13410	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13411          else puts (dlerror ());
13412	}
13413      /* dlclose (self); */
13414    }
13415  else
13416    puts (dlerror ());
13417
13418  return status;
13419}
13420_LT_EOF
13421  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13422  (eval $ac_link) 2>&5
13423  ac_status=$?
13424  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13425  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13426    (./conftest; exit; ) >&5 2>/dev/null
13427    lt_status=$?
13428    case x$lt_status in
13429      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13430      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13431      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13432    esac
13433  else :
13434    # compilation failed
13435    lt_cv_dlopen_self_static=no
13436  fi
13437fi
13438rm -fr conftest*
13439
13440
13441fi
13442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13443$as_echo "$lt_cv_dlopen_self_static" >&6; }
13444    fi
13445
13446    CPPFLAGS=$save_CPPFLAGS
13447    LDFLAGS=$save_LDFLAGS
13448    LIBS=$save_LIBS
13449    ;;
13450  esac
13451
13452  case $lt_cv_dlopen_self in
13453  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13454  *) enable_dlopen_self=unknown ;;
13455  esac
13456
13457  case $lt_cv_dlopen_self_static in
13458  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13459  *) enable_dlopen_self_static=unknown ;;
13460  esac
13461fi
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479striplib=
13480old_striplib=
13481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13482$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13483if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13484  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13485  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13487$as_echo "yes" >&6; }
13488else
13489# FIXME - insert some real tests, host_os isn't really good enough
13490  case $host_os in
13491  darwin*)
13492    if test -n "$STRIP"; then
13493      striplib="$STRIP -x"
13494      old_striplib="$STRIP -S"
13495      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13496$as_echo "yes" >&6; }
13497    else
13498      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13499$as_echo "no" >&6; }
13500    fi
13501    ;;
13502  *)
13503    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13504$as_echo "no" >&6; }
13505    ;;
13506  esac
13507fi
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520  # Report what library types will actually be built
13521  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13522$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13524$as_echo "$can_build_shared" >&6; }
13525
13526  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13527$as_echo_n "checking whether to build shared libraries... " >&6; }
13528  test no = "$can_build_shared" && enable_shared=no
13529
13530  # On AIX, shared libraries and static libraries use the same namespace, and
13531  # are all built from PIC.
13532  case $host_os in
13533  aix3*)
13534    test yes = "$enable_shared" && enable_static=no
13535    if test -n "$RANLIB"; then
13536      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13537      postinstall_cmds='$RANLIB $lib'
13538    fi
13539    ;;
13540
13541  aix[4-9]*)
13542    if test ia64 != "$host_cpu"; then
13543      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13544      yes,aix,yes) ;;			# shared object as lib.so file only
13545      yes,svr4,*) ;;			# shared object as lib.so archive member only
13546      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13547      esac
13548    fi
13549    ;;
13550  esac
13551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13552$as_echo "$enable_shared" >&6; }
13553
13554  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13555$as_echo_n "checking whether to build static libraries... " >&6; }
13556  # Make sure either enable_shared or enable_static is yes.
13557  test yes = "$enable_shared" || enable_static=yes
13558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13559$as_echo "$enable_static" >&6; }
13560
13561
13562
13563
13564fi
13565ac_ext=c
13566ac_cpp='$CPP $CPPFLAGS'
13567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13569ac_compiler_gnu=$ac_cv_c_compiler_gnu
13570
13571CC=$lt_save_CC
13572
13573      if test -n "$CXX" && ( test no != "$CXX" &&
13574    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13575    (test g++ != "$CXX"))); then
13576  ac_ext=cpp
13577ac_cpp='$CXXCPP $CPPFLAGS'
13578ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13579ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13580ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13582$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13583if test -z "$CXXCPP"; then
13584  if ${ac_cv_prog_CXXCPP+:} false; then :
13585  $as_echo_n "(cached) " >&6
13586else
13587      # Double quotes because CXXCPP needs to be expanded
13588    for CXXCPP in "$CXX -E" "/lib/cpp"
13589    do
13590      ac_preproc_ok=false
13591for ac_cxx_preproc_warn_flag in '' yes
13592do
13593  # Use a header file that comes with gcc, so configuring glibc
13594  # with a fresh cross-compiler works.
13595  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13596  # <limits.h> exists even on freestanding compilers.
13597  # On the NeXT, cc -E runs the code through the compiler's parser,
13598  # not just through cpp. "Syntax error" is here to catch this case.
13599  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13600/* end confdefs.h.  */
13601#ifdef __STDC__
13602# include <limits.h>
13603#else
13604# include <assert.h>
13605#endif
13606		     Syntax error
13607_ACEOF
13608if ac_fn_cxx_try_cpp "$LINENO"; then :
13609
13610else
13611  # Broken: fails on valid input.
13612continue
13613fi
13614rm -f conftest.err conftest.i conftest.$ac_ext
13615
13616  # OK, works on sane cases.  Now check whether nonexistent headers
13617  # can be detected and how.
13618  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13619/* end confdefs.h.  */
13620#include <ac_nonexistent.h>
13621_ACEOF
13622if ac_fn_cxx_try_cpp "$LINENO"; then :
13623  # Broken: success on invalid input.
13624continue
13625else
13626  # Passes both tests.
13627ac_preproc_ok=:
13628break
13629fi
13630rm -f conftest.err conftest.i conftest.$ac_ext
13631
13632done
13633# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13634rm -f conftest.i conftest.err conftest.$ac_ext
13635if $ac_preproc_ok; then :
13636  break
13637fi
13638
13639    done
13640    ac_cv_prog_CXXCPP=$CXXCPP
13641
13642fi
13643  CXXCPP=$ac_cv_prog_CXXCPP
13644else
13645  ac_cv_prog_CXXCPP=$CXXCPP
13646fi
13647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13648$as_echo "$CXXCPP" >&6; }
13649ac_preproc_ok=false
13650for ac_cxx_preproc_warn_flag in '' yes
13651do
13652  # Use a header file that comes with gcc, so configuring glibc
13653  # with a fresh cross-compiler works.
13654  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13655  # <limits.h> exists even on freestanding compilers.
13656  # On the NeXT, cc -E runs the code through the compiler's parser,
13657  # not just through cpp. "Syntax error" is here to catch this case.
13658  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13659/* end confdefs.h.  */
13660#ifdef __STDC__
13661# include <limits.h>
13662#else
13663# include <assert.h>
13664#endif
13665		     Syntax error
13666_ACEOF
13667if ac_fn_cxx_try_cpp "$LINENO"; then :
13668
13669else
13670  # Broken: fails on valid input.
13671continue
13672fi
13673rm -f conftest.err conftest.i conftest.$ac_ext
13674
13675  # OK, works on sane cases.  Now check whether nonexistent headers
13676  # can be detected and how.
13677  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13678/* end confdefs.h.  */
13679#include <ac_nonexistent.h>
13680_ACEOF
13681if ac_fn_cxx_try_cpp "$LINENO"; then :
13682  # Broken: success on invalid input.
13683continue
13684else
13685  # Passes both tests.
13686ac_preproc_ok=:
13687break
13688fi
13689rm -f conftest.err conftest.i conftest.$ac_ext
13690
13691done
13692# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13693rm -f conftest.i conftest.err conftest.$ac_ext
13694if $ac_preproc_ok; then :
13695
13696else
13697  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13698$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13699as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13700See \`config.log' for more details" "$LINENO" 5; }
13701fi
13702
13703ac_ext=c
13704ac_cpp='$CPP $CPPFLAGS'
13705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13707ac_compiler_gnu=$ac_cv_c_compiler_gnu
13708
13709else
13710  _lt_caught_CXX_error=yes
13711fi
13712
13713ac_ext=cpp
13714ac_cpp='$CXXCPP $CPPFLAGS'
13715ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13716ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13717ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13718
13719archive_cmds_need_lc_CXX=no
13720allow_undefined_flag_CXX=
13721always_export_symbols_CXX=no
13722archive_expsym_cmds_CXX=
13723compiler_needs_object_CXX=no
13724export_dynamic_flag_spec_CXX=
13725hardcode_direct_CXX=no
13726hardcode_direct_absolute_CXX=no
13727hardcode_libdir_flag_spec_CXX=
13728hardcode_libdir_separator_CXX=
13729hardcode_minus_L_CXX=no
13730hardcode_shlibpath_var_CXX=unsupported
13731hardcode_automatic_CXX=no
13732inherit_rpath_CXX=no
13733module_cmds_CXX=
13734module_expsym_cmds_CXX=
13735link_all_deplibs_CXX=unknown
13736old_archive_cmds_CXX=$old_archive_cmds
13737reload_flag_CXX=$reload_flag
13738reload_cmds_CXX=$reload_cmds
13739no_undefined_flag_CXX=
13740whole_archive_flag_spec_CXX=
13741enable_shared_with_static_runtimes_CXX=no
13742
13743# Source file extension for C++ test sources.
13744ac_ext=cpp
13745
13746# Object file extension for compiled C++ test sources.
13747objext=o
13748objext_CXX=$objext
13749
13750# No sense in running all these tests if we already determined that
13751# the CXX compiler isn't working.  Some variables (like enable_shared)
13752# are currently assumed to apply to all compilers on this platform,
13753# and will be corrupted by setting them based on a non-working compiler.
13754if test yes != "$_lt_caught_CXX_error"; then
13755  # Code to be used in simple compile tests
13756  lt_simple_compile_test_code="int some_variable = 0;"
13757
13758  # Code to be used in simple link tests
13759  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13760
13761  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13762
13763
13764
13765
13766
13767
13768# If no C compiler was specified, use CC.
13769LTCC=${LTCC-"$CC"}
13770
13771# If no C compiler flags were specified, use CFLAGS.
13772LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13773
13774# Allow CC to be a program name with arguments.
13775compiler=$CC
13776
13777
13778  # save warnings/boilerplate of simple test code
13779  ac_outfile=conftest.$ac_objext
13780echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13781eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13782_lt_compiler_boilerplate=`cat conftest.err`
13783$RM conftest*
13784
13785  ac_outfile=conftest.$ac_objext
13786echo "$lt_simple_link_test_code" >conftest.$ac_ext
13787eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13788_lt_linker_boilerplate=`cat conftest.err`
13789$RM -r conftest*
13790
13791
13792  # Allow CC to be a program name with arguments.
13793  lt_save_CC=$CC
13794  lt_save_CFLAGS=$CFLAGS
13795  lt_save_LD=$LD
13796  lt_save_GCC=$GCC
13797  GCC=$GXX
13798  lt_save_with_gnu_ld=$with_gnu_ld
13799  lt_save_path_LD=$lt_cv_path_LD
13800  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13801    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13802  else
13803    $as_unset lt_cv_prog_gnu_ld
13804  fi
13805  if test -n "${lt_cv_path_LDCXX+set}"; then
13806    lt_cv_path_LD=$lt_cv_path_LDCXX
13807  else
13808    $as_unset lt_cv_path_LD
13809  fi
13810  test -z "${LDCXX+set}" || LD=$LDCXX
13811  CC=${CXX-"c++"}
13812  CFLAGS=$CXXFLAGS
13813  compiler=$CC
13814  compiler_CXX=$CC
13815  func_cc_basename $compiler
13816cc_basename=$func_cc_basename_result
13817
13818
13819  if test -n "$compiler"; then
13820    # We don't want -fno-exception when compiling C++ code, so set the
13821    # no_builtin_flag separately
13822    if test yes = "$GXX"; then
13823      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13824    else
13825      lt_prog_compiler_no_builtin_flag_CXX=
13826    fi
13827
13828    if test yes = "$GXX"; then
13829      # Set up default GNU C++ configuration
13830
13831
13832
13833# Check whether --with-gnu-ld was given.
13834if test "${with_gnu_ld+set}" = set; then :
13835  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13836else
13837  with_gnu_ld=no
13838fi
13839
13840ac_prog=ld
13841if test yes = "$GCC"; then
13842  # Check if gcc -print-prog-name=ld gives a path.
13843  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13844$as_echo_n "checking for ld used by $CC... " >&6; }
13845  case $host in
13846  *-*-mingw*)
13847    # gcc leaves a trailing carriage return, which upsets mingw
13848    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13849  *)
13850    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13851  esac
13852  case $ac_prog in
13853    # Accept absolute paths.
13854    [\\/]* | ?:[\\/]*)
13855      re_direlt='/[^/][^/]*/\.\./'
13856      # Canonicalize the pathname of ld
13857      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13858      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13859	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13860      done
13861      test -z "$LD" && LD=$ac_prog
13862      ;;
13863  "")
13864    # If it fails, then pretend we aren't using GCC.
13865    ac_prog=ld
13866    ;;
13867  *)
13868    # If it is relative, then search for the first ld in PATH.
13869    with_gnu_ld=unknown
13870    ;;
13871  esac
13872elif test yes = "$with_gnu_ld"; then
13873  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13874$as_echo_n "checking for GNU ld... " >&6; }
13875else
13876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13877$as_echo_n "checking for non-GNU ld... " >&6; }
13878fi
13879if ${lt_cv_path_LD+:} false; then :
13880  $as_echo_n "(cached) " >&6
13881else
13882  if test -z "$LD"; then
13883  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13884  for ac_dir in $PATH; do
13885    IFS=$lt_save_ifs
13886    test -z "$ac_dir" && ac_dir=.
13887    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13888      lt_cv_path_LD=$ac_dir/$ac_prog
13889      # Check to see if the program is GNU ld.  I'd rather use --version,
13890      # but apparently some variants of GNU ld only accept -v.
13891      # Break only if it was the GNU/non-GNU ld that we prefer.
13892      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13893      *GNU* | *'with BFD'*)
13894	test no != "$with_gnu_ld" && break
13895	;;
13896      *)
13897	test yes != "$with_gnu_ld" && break
13898	;;
13899      esac
13900    fi
13901  done
13902  IFS=$lt_save_ifs
13903else
13904  lt_cv_path_LD=$LD # Let the user override the test with a path.
13905fi
13906fi
13907
13908LD=$lt_cv_path_LD
13909if test -n "$LD"; then
13910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13911$as_echo "$LD" >&6; }
13912else
13913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13914$as_echo "no" >&6; }
13915fi
13916test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13918$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13919if ${lt_cv_prog_gnu_ld+:} false; then :
13920  $as_echo_n "(cached) " >&6
13921else
13922  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13923case `$LD -v 2>&1 </dev/null` in
13924*GNU* | *'with BFD'*)
13925  lt_cv_prog_gnu_ld=yes
13926  ;;
13927*)
13928  lt_cv_prog_gnu_ld=no
13929  ;;
13930esac
13931fi
13932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13933$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13934with_gnu_ld=$lt_cv_prog_gnu_ld
13935
13936
13937
13938
13939
13940
13941
13942      # Check if GNU C++ uses GNU ld as the underlying linker, since the
13943      # archiving commands below assume that GNU ld is being used.
13944      if test yes = "$with_gnu_ld"; then
13945        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13946        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'
13947
13948        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13949        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13950
13951        # If archive_cmds runs LD, not CC, wlarc should be empty
13952        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13953        #     investigate it a little bit more. (MM)
13954        wlarc='$wl'
13955
13956        # ancient GNU ld didn't support --whole-archive et. al.
13957        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13958	  $GREP 'no-whole-archive' > /dev/null; then
13959          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13960        else
13961          whole_archive_flag_spec_CXX=
13962        fi
13963      else
13964        with_gnu_ld=no
13965        wlarc=
13966
13967        # A generic and very simple default shared library creation
13968        # command for GNU C++ for the case where it uses the native
13969        # linker, instead of GNU ld.  If possible, this setting should
13970        # overridden to take advantage of the native linker features on
13971        # the platform it is being used on.
13972        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13973      fi
13974
13975      # Commands to make compiler produce verbose output that lists
13976      # what "hidden" libraries, object files and flags are used when
13977      # linking a shared library.
13978      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13979
13980    else
13981      GXX=no
13982      with_gnu_ld=no
13983      wlarc=
13984    fi
13985
13986    # PORTME: fill in a description of your system's C++ link characteristics
13987    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13988$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13989    ld_shlibs_CXX=yes
13990    case $host_os in
13991      aix3*)
13992        # FIXME: insert proper C++ library support
13993        ld_shlibs_CXX=no
13994        ;;
13995      aix[4-9]*)
13996        if test ia64 = "$host_cpu"; then
13997          # On IA64, the linker does run time linking by default, so we don't
13998          # have to do anything special.
13999          aix_use_runtimelinking=no
14000          exp_sym_flag='-Bexport'
14001          no_entry_flag=
14002        else
14003          aix_use_runtimelinking=no
14004
14005          # Test if we are trying to use run time linking or normal
14006          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14007          # have runtime linking enabled, and use it for executables.
14008          # For shared libraries, we enable/disable runtime linking
14009          # depending on the kind of the shared library created -
14010          # when "with_aix_soname,aix_use_runtimelinking" is:
14011          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
14012          # "aix,yes"  lib.so          shared, rtl:yes, for executables
14013          #            lib.a           static archive
14014          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
14015          #            lib.a(lib.so.V) shared, rtl:no,  for executables
14016          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14017          #            lib.a(lib.so.V) shared, rtl:no
14018          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14019          #            lib.a           static archive
14020          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14021	    for ld_flag in $LDFLAGS; do
14022	      case $ld_flag in
14023	      *-brtl*)
14024	        aix_use_runtimelinking=yes
14025	        break
14026	        ;;
14027	      esac
14028	    done
14029	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14030	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
14031	      # so we don't have lib.a shared libs to link our executables.
14032	      # We have to force runtime linking in this case.
14033	      aix_use_runtimelinking=yes
14034	      LDFLAGS="$LDFLAGS -Wl,-brtl"
14035	    fi
14036	    ;;
14037          esac
14038
14039          exp_sym_flag='-bexport'
14040          no_entry_flag='-bnoentry'
14041        fi
14042
14043        # When large executables or shared objects are built, AIX ld can
14044        # have problems creating the table of contents.  If linking a library
14045        # or program results in "error TOC overflow" add -mminimal-toc to
14046        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14047        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14048
14049        archive_cmds_CXX=''
14050        hardcode_direct_CXX=yes
14051        hardcode_direct_absolute_CXX=yes
14052        hardcode_libdir_separator_CXX=':'
14053        link_all_deplibs_CXX=yes
14054        file_list_spec_CXX='$wl-f,'
14055        case $with_aix_soname,$aix_use_runtimelinking in
14056        aix,*) ;;	# no import file
14057        svr4,* | *,yes) # use import file
14058          # The Import File defines what to hardcode.
14059          hardcode_direct_CXX=no
14060          hardcode_direct_absolute_CXX=no
14061          ;;
14062        esac
14063
14064        if test yes = "$GXX"; then
14065          case $host_os in aix4.[012]|aix4.[012].*)
14066          # We only want to do this on AIX 4.2 and lower, the check
14067          # below for broken collect2 doesn't work under 4.3+
14068	  collect2name=`$CC -print-prog-name=collect2`
14069	  if test -f "$collect2name" &&
14070	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14071	  then
14072	    # We have reworked collect2
14073	    :
14074	  else
14075	    # We have old collect2
14076	    hardcode_direct_CXX=unsupported
14077	    # It fails to find uninstalled libraries when the uninstalled
14078	    # path is not listed in the libpath.  Setting hardcode_minus_L
14079	    # to unsupported forces relinking
14080	    hardcode_minus_L_CXX=yes
14081	    hardcode_libdir_flag_spec_CXX='-L$libdir'
14082	    hardcode_libdir_separator_CXX=
14083	  fi
14084          esac
14085          shared_flag='-shared'
14086	  if test yes = "$aix_use_runtimelinking"; then
14087	    shared_flag=$shared_flag' $wl-G'
14088	  fi
14089	  # Need to ensure runtime linking is disabled for the traditional
14090	  # shared library, or the linker may eventually find shared libraries
14091	  # /with/ Import File - we do not want to mix them.
14092	  shared_flag_aix='-shared'
14093	  shared_flag_svr4='-shared $wl-G'
14094        else
14095          # not using gcc
14096          if test ia64 = "$host_cpu"; then
14097	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14098	  # chokes on -Wl,-G. The following line is correct:
14099	  shared_flag='-G'
14100          else
14101	    if test yes = "$aix_use_runtimelinking"; then
14102	      shared_flag='$wl-G'
14103	    else
14104	      shared_flag='$wl-bM:SRE'
14105	    fi
14106	    shared_flag_aix='$wl-bM:SRE'
14107	    shared_flag_svr4='$wl-G'
14108          fi
14109        fi
14110
14111        export_dynamic_flag_spec_CXX='$wl-bexpall'
14112        # It seems that -bexpall does not export symbols beginning with
14113        # underscore (_), so it is better to generate a list of symbols to
14114	# export.
14115        always_export_symbols_CXX=yes
14116	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14117          # Warning - without using the other runtime loading flags (-brtl),
14118          # -berok will link without error, but may produce a broken library.
14119          # The "-G" linker flag allows undefined symbols.
14120          no_undefined_flag_CXX='-bernotok'
14121          # Determine the default libpath from the value encoded in an empty
14122          # executable.
14123          if test set = "${lt_cv_aix_libpath+set}"; then
14124  aix_libpath=$lt_cv_aix_libpath
14125else
14126  if ${lt_cv_aix_libpath__CXX+:} false; then :
14127  $as_echo_n "(cached) " >&6
14128else
14129  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14130/* end confdefs.h.  */
14131
14132int
14133main ()
14134{
14135
14136  ;
14137  return 0;
14138}
14139_ACEOF
14140if ac_fn_cxx_try_link "$LINENO"; then :
14141
14142  lt_aix_libpath_sed='
14143      /Import File Strings/,/^$/ {
14144	  /^0/ {
14145	      s/^0  *\([^ ]*\) *$/\1/
14146	      p
14147	  }
14148      }'
14149  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14150  # Check for a 64-bit object if we didn't find anything.
14151  if test -z "$lt_cv_aix_libpath__CXX"; then
14152    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14153  fi
14154fi
14155rm -f core conftest.err conftest.$ac_objext \
14156    conftest$ac_exeext conftest.$ac_ext
14157  if test -z "$lt_cv_aix_libpath__CXX"; then
14158    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14159  fi
14160
14161fi
14162
14163  aix_libpath=$lt_cv_aix_libpath__CXX
14164fi
14165
14166          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14167
14168          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
14169        else
14170          if test ia64 = "$host_cpu"; then
14171	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14172	    allow_undefined_flag_CXX="-z nodefs"
14173	    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"
14174          else
14175	    # Determine the default libpath from the value encoded in an
14176	    # empty executable.
14177	    if test set = "${lt_cv_aix_libpath+set}"; then
14178  aix_libpath=$lt_cv_aix_libpath
14179else
14180  if ${lt_cv_aix_libpath__CXX+:} false; then :
14181  $as_echo_n "(cached) " >&6
14182else
14183  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14184/* end confdefs.h.  */
14185
14186int
14187main ()
14188{
14189
14190  ;
14191  return 0;
14192}
14193_ACEOF
14194if ac_fn_cxx_try_link "$LINENO"; then :
14195
14196  lt_aix_libpath_sed='
14197      /Import File Strings/,/^$/ {
14198	  /^0/ {
14199	      s/^0  *\([^ ]*\) *$/\1/
14200	      p
14201	  }
14202      }'
14203  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14204  # Check for a 64-bit object if we didn't find anything.
14205  if test -z "$lt_cv_aix_libpath__CXX"; then
14206    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14207  fi
14208fi
14209rm -f core conftest.err conftest.$ac_objext \
14210    conftest$ac_exeext conftest.$ac_ext
14211  if test -z "$lt_cv_aix_libpath__CXX"; then
14212    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14213  fi
14214
14215fi
14216
14217  aix_libpath=$lt_cv_aix_libpath__CXX
14218fi
14219
14220	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14221	    # Warning - without using the other run time loading flags,
14222	    # -berok will link without error, but may produce a broken library.
14223	    no_undefined_flag_CXX=' $wl-bernotok'
14224	    allow_undefined_flag_CXX=' $wl-berok'
14225	    if test yes = "$with_gnu_ld"; then
14226	      # We only use this code for GNU lds that support --whole-archive.
14227	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14228	    else
14229	      # Exported symbols can be pulled into shared objects from archives
14230	      whole_archive_flag_spec_CXX='$convenience'
14231	    fi
14232	    archive_cmds_need_lc_CXX=yes
14233	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14234	    # -brtl affects multiple linker settings, -berok does not and is overridden later
14235	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14236	    if test svr4 != "$with_aix_soname"; then
14237	      # This is similar to how AIX traditionally builds its shared
14238	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14239	      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'
14240	    fi
14241	    if test aix != "$with_aix_soname"; then
14242	      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'
14243	    else
14244	      # used by -dlpreopen to get the symbols
14245	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14246	    fi
14247	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14248          fi
14249        fi
14250        ;;
14251
14252      beos*)
14253	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14254	  allow_undefined_flag_CXX=unsupported
14255	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14256	  # support --undefined.  This deserves some investigation.  FIXME
14257	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14258	else
14259	  ld_shlibs_CXX=no
14260	fi
14261	;;
14262
14263      chorus*)
14264        case $cc_basename in
14265          *)
14266	  # FIXME: insert proper C++ library support
14267	  ld_shlibs_CXX=no
14268	  ;;
14269        esac
14270        ;;
14271
14272      cygwin* | mingw* | pw32* | cegcc*)
14273	case $GXX,$cc_basename in
14274	,cl* | no,cl*)
14275	  # Native MSVC
14276	  # hardcode_libdir_flag_spec is actually meaningless, as there is
14277	  # no search path for DLLs.
14278	  hardcode_libdir_flag_spec_CXX=' '
14279	  allow_undefined_flag_CXX=unsupported
14280	  always_export_symbols_CXX=yes
14281	  file_list_spec_CXX='@'
14282	  # Tell ltmain to make .lib files, not .a files.
14283	  libext=lib
14284	  # Tell ltmain to make .dll files, not .so files.
14285	  shrext_cmds=.dll
14286	  # FIXME: Setting linknames here is a bad hack.
14287	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14288	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14289              cp "$export_symbols" "$output_objdir/$soname.def";
14290              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14291            else
14292              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14293            fi~
14294            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14295            linknames='
14296	  # The linker will not automatically build a static lib if we build a DLL.
14297	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14298	  enable_shared_with_static_runtimes_CXX=yes
14299	  # Don't use ranlib
14300	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
14301	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14302            lt_tool_outputfile="@TOOL_OUTPUT@"~
14303            case $lt_outputfile in
14304              *.exe|*.EXE) ;;
14305              *)
14306                lt_outputfile=$lt_outputfile.exe
14307                lt_tool_outputfile=$lt_tool_outputfile.exe
14308                ;;
14309            esac~
14310            func_to_tool_file "$lt_outputfile"~
14311            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14312              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14313              $RM "$lt_outputfile.manifest";
14314            fi'
14315	  ;;
14316	*)
14317	  # g++
14318	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14319	  # as there is no search path for DLLs.
14320	  hardcode_libdir_flag_spec_CXX='-L$libdir'
14321	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14322	  allow_undefined_flag_CXX=unsupported
14323	  always_export_symbols_CXX=no
14324	  enable_shared_with_static_runtimes_CXX=yes
14325
14326	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14327	    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'
14328	    # If the export-symbols file already is a .def file, use it as
14329	    # is; otherwise, prepend EXPORTS...
14330	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14331              cp $export_symbols $output_objdir/$soname.def;
14332            else
14333              echo EXPORTS > $output_objdir/$soname.def;
14334              cat $export_symbols >> $output_objdir/$soname.def;
14335            fi~
14336            $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'
14337	  else
14338	    ld_shlibs_CXX=no
14339	  fi
14340	  ;;
14341	esac
14342	;;
14343      darwin* | rhapsody*)
14344
14345
14346  archive_cmds_need_lc_CXX=no
14347  hardcode_direct_CXX=no
14348  hardcode_automatic_CXX=yes
14349  hardcode_shlibpath_var_CXX=unsupported
14350  if test yes = "$lt_cv_ld_force_load"; then
14351    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\"`'
14352
14353  else
14354    whole_archive_flag_spec_CXX=''
14355  fi
14356  link_all_deplibs_CXX=yes
14357  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14358  case $cc_basename in
14359     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14360     *) _lt_dar_can_shared=$GCC ;;
14361  esac
14362  if test yes = "$_lt_dar_can_shared"; then
14363    output_verbose_link_cmd=func_echo_all
14364    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"
14365    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14366    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"
14367    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"
14368       if test yes != "$lt_cv_apple_cc_single_mod"; then
14369      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"
14370      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"
14371    fi
14372
14373  else
14374  ld_shlibs_CXX=no
14375  fi
14376
14377	;;
14378
14379      os2*)
14380	hardcode_libdir_flag_spec_CXX='-L$libdir'
14381	hardcode_minus_L_CXX=yes
14382	allow_undefined_flag_CXX=unsupported
14383	shrext_cmds=.dll
14384	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14385	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14386	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14387	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14388	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14389	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14390	  emximp -o $lib $output_objdir/$libname.def'
14391	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14392	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14393	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14394	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14395	  prefix_cmds="$SED"~
14396	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14397	    prefix_cmds="$prefix_cmds -e 1d";
14398	  fi~
14399	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14400	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14401	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14402	  emximp -o $lib $output_objdir/$libname.def'
14403	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14404	enable_shared_with_static_runtimes_CXX=yes
14405	;;
14406
14407      dgux*)
14408        case $cc_basename in
14409          ec++*)
14410	    # FIXME: insert proper C++ library support
14411	    ld_shlibs_CXX=no
14412	    ;;
14413          ghcx*)
14414	    # Green Hills C++ Compiler
14415	    # FIXME: insert proper C++ library support
14416	    ld_shlibs_CXX=no
14417	    ;;
14418          *)
14419	    # FIXME: insert proper C++ library support
14420	    ld_shlibs_CXX=no
14421	    ;;
14422        esac
14423        ;;
14424
14425      freebsd2.*)
14426        # C++ shared libraries reported to be fairly broken before
14427	# switch to ELF
14428        ld_shlibs_CXX=no
14429        ;;
14430
14431      freebsd-elf*)
14432        archive_cmds_need_lc_CXX=no
14433        ;;
14434
14435      freebsd* | dragonfly*)
14436        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14437        # conventions
14438        ld_shlibs_CXX=yes
14439        ;;
14440
14441      haiku*)
14442        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14443        link_all_deplibs_CXX=yes
14444        ;;
14445
14446      hpux9*)
14447        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14448        hardcode_libdir_separator_CXX=:
14449        export_dynamic_flag_spec_CXX='$wl-E'
14450        hardcode_direct_CXX=yes
14451        hardcode_minus_L_CXX=yes # Not in the search PATH,
14452				             # but as the default
14453				             # location of the library.
14454
14455        case $cc_basename in
14456          CC*)
14457            # FIXME: insert proper C++ library support
14458            ld_shlibs_CXX=no
14459            ;;
14460          aCC*)
14461            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'
14462            # Commands to make compiler produce verbose output that lists
14463            # what "hidden" libraries, object files and flags are used when
14464            # linking a shared library.
14465            #
14466            # There doesn't appear to be a way to prevent this compiler from
14467            # explicitly linking system object files so we need to strip them
14468            # from the output so that they don't get included in the library
14469            # dependencies.
14470            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"'
14471            ;;
14472          *)
14473            if test yes = "$GXX"; then
14474              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'
14475            else
14476              # FIXME: insert proper C++ library support
14477              ld_shlibs_CXX=no
14478            fi
14479            ;;
14480        esac
14481        ;;
14482
14483      hpux10*|hpux11*)
14484        if test no = "$with_gnu_ld"; then
14485	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14486	  hardcode_libdir_separator_CXX=:
14487
14488          case $host_cpu in
14489            hppa*64*|ia64*)
14490              ;;
14491            *)
14492	      export_dynamic_flag_spec_CXX='$wl-E'
14493              ;;
14494          esac
14495        fi
14496        case $host_cpu in
14497          hppa*64*|ia64*)
14498            hardcode_direct_CXX=no
14499            hardcode_shlibpath_var_CXX=no
14500            ;;
14501          *)
14502            hardcode_direct_CXX=yes
14503            hardcode_direct_absolute_CXX=yes
14504            hardcode_minus_L_CXX=yes # Not in the search PATH,
14505					         # but as the default
14506					         # location of the library.
14507            ;;
14508        esac
14509
14510        case $cc_basename in
14511          CC*)
14512	    # FIXME: insert proper C++ library support
14513	    ld_shlibs_CXX=no
14514	    ;;
14515          aCC*)
14516	    case $host_cpu in
14517	      hppa*64*)
14518	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14519	        ;;
14520	      ia64*)
14521	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14522	        ;;
14523	      *)
14524	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14525	        ;;
14526	    esac
14527	    # Commands to make compiler produce verbose output that lists
14528	    # what "hidden" libraries, object files and flags are used when
14529	    # linking a shared library.
14530	    #
14531	    # There doesn't appear to be a way to prevent this compiler from
14532	    # explicitly linking system object files so we need to strip them
14533	    # from the output so that they don't get included in the library
14534	    # dependencies.
14535	    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"'
14536	    ;;
14537          *)
14538	    if test yes = "$GXX"; then
14539	      if test no = "$with_gnu_ld"; then
14540	        case $host_cpu in
14541	          hppa*64*)
14542	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14543	            ;;
14544	          ia64*)
14545	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14546	            ;;
14547	          *)
14548	            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'
14549	            ;;
14550	        esac
14551	      fi
14552	    else
14553	      # FIXME: insert proper C++ library support
14554	      ld_shlibs_CXX=no
14555	    fi
14556	    ;;
14557        esac
14558        ;;
14559
14560      interix[3-9]*)
14561	hardcode_direct_CXX=no
14562	hardcode_shlibpath_var_CXX=no
14563	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14564	export_dynamic_flag_spec_CXX='$wl-E'
14565	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14566	# Instead, shared libraries are loaded at an image base (0x10000000 by
14567	# default) and relocated if they conflict, which is a slow very memory
14568	# consuming and fragmenting process.  To avoid this, we pick a random,
14569	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14570	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14571	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'
14572	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'
14573	;;
14574      irix5* | irix6*)
14575        case $cc_basename in
14576          CC*)
14577	    # SGI C++
14578	    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'
14579
14580	    # Archives containing C++ object files must be created using
14581	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14582	    # necessary to make sure instantiated templates are included
14583	    # in the archive.
14584	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14585	    ;;
14586          *)
14587	    if test yes = "$GXX"; then
14588	      if test no = "$with_gnu_ld"; then
14589	        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'
14590	      else
14591	        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'
14592	      fi
14593	    fi
14594	    link_all_deplibs_CXX=yes
14595	    ;;
14596        esac
14597        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14598        hardcode_libdir_separator_CXX=:
14599        inherit_rpath_CXX=yes
14600        ;;
14601
14602      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14603        case $cc_basename in
14604          KCC*)
14605	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14606
14607	    # KCC will only create a shared library if the output file
14608	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14609	    # to its proper name (with version) after linking.
14610	    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'
14611	    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'
14612	    # Commands to make compiler produce verbose output that lists
14613	    # what "hidden" libraries, object files and flags are used when
14614	    # linking a shared library.
14615	    #
14616	    # There doesn't appear to be a way to prevent this compiler from
14617	    # explicitly linking system object files so we need to strip them
14618	    # from the output so that they don't get included in the library
14619	    # dependencies.
14620	    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"'
14621
14622	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14623	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14624
14625	    # Archives containing C++ object files must be created using
14626	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14627	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14628	    ;;
14629	  icpc* | ecpc* )
14630	    # Intel C++
14631	    with_gnu_ld=yes
14632	    # version 8.0 and above of icpc choke on multiply defined symbols
14633	    # if we add $predep_objects and $postdep_objects, however 7.1 and
14634	    # earlier do not add the objects themselves.
14635	    case `$CC -V 2>&1` in
14636	      *"Version 7."*)
14637	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14638		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'
14639		;;
14640	      *)  # Version 8.0 or newer
14641	        tmp_idyn=
14642	        case $host_cpu in
14643		  ia64*) tmp_idyn=' -i_dynamic';;
14644		esac
14645	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14646		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'
14647		;;
14648	    esac
14649	    archive_cmds_need_lc_CXX=no
14650	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14651	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14652	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14653	    ;;
14654          pgCC* | pgcpp*)
14655            # Portland Group C++ compiler
14656	    case `$CC -V` in
14657	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14658	      prelink_cmds_CXX='tpldir=Template.dir~
14659               rm -rf $tpldir~
14660               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14661               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14662	      old_archive_cmds_CXX='tpldir=Template.dir~
14663                rm -rf $tpldir~
14664                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14665                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14666                $RANLIB $oldlib'
14667	      archive_cmds_CXX='tpldir=Template.dir~
14668                rm -rf $tpldir~
14669                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14670                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14671	      archive_expsym_cmds_CXX='tpldir=Template.dir~
14672                rm -rf $tpldir~
14673                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14674                $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'
14675	      ;;
14676	    *) # Version 6 and above use weak symbols
14677	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14678	      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'
14679	      ;;
14680	    esac
14681
14682	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14683	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14684	    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'
14685            ;;
14686	  cxx*)
14687	    # Compaq C++
14688	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14689	    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'
14690
14691	    runpath_var=LD_RUN_PATH
14692	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14693	    hardcode_libdir_separator_CXX=:
14694
14695	    # Commands to make compiler produce verbose output that lists
14696	    # what "hidden" libraries, object files and flags are used when
14697	    # linking a shared library.
14698	    #
14699	    # There doesn't appear to be a way to prevent this compiler from
14700	    # explicitly linking system object files so we need to strip them
14701	    # from the output so that they don't get included in the library
14702	    # dependencies.
14703	    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'
14704	    ;;
14705	  xl* | mpixl* | bgxl*)
14706	    # IBM XL 8.0 on PPC, with GNU ld
14707	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14708	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14709	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14710	    if test yes = "$supports_anon_versioning"; then
14711	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14712                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14713                echo "local: *; };" >> $output_objdir/$libname.ver~
14714                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14715	    fi
14716	    ;;
14717	  *)
14718	    case `$CC -V 2>&1 | sed 5q` in
14719	    *Sun\ C*)
14720	      # Sun C++ 5.9
14721	      no_undefined_flag_CXX=' -zdefs'
14722	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14723	      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'
14724	      hardcode_libdir_flag_spec_CXX='-R$libdir'
14725	      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'
14726	      compiler_needs_object_CXX=yes
14727
14728	      # Not sure whether something based on
14729	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14730	      # would be better.
14731	      output_verbose_link_cmd='func_echo_all'
14732
14733	      # Archives containing C++ object files must be created using
14734	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14735	      # necessary to make sure instantiated templates are included
14736	      # in the archive.
14737	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14738	      ;;
14739	    esac
14740	    ;;
14741	esac
14742	;;
14743
14744      lynxos*)
14745        # FIXME: insert proper C++ library support
14746	ld_shlibs_CXX=no
14747	;;
14748
14749      m88k*)
14750        # FIXME: insert proper C++ library support
14751        ld_shlibs_CXX=no
14752	;;
14753
14754      mvs*)
14755        case $cc_basename in
14756          cxx*)
14757	    # FIXME: insert proper C++ library support
14758	    ld_shlibs_CXX=no
14759	    ;;
14760	  *)
14761	    # FIXME: insert proper C++ library support
14762	    ld_shlibs_CXX=no
14763	    ;;
14764	esac
14765	;;
14766
14767      netbsd*)
14768        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14769	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14770	  wlarc=
14771	  hardcode_libdir_flag_spec_CXX='-R$libdir'
14772	  hardcode_direct_CXX=yes
14773	  hardcode_shlibpath_var_CXX=no
14774	fi
14775	# Workaround some broken pre-1.5 toolchains
14776	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14777	;;
14778
14779      *nto* | *qnx*)
14780        ld_shlibs_CXX=yes
14781	;;
14782
14783      openbsd* | bitrig*)
14784	if test -f /usr/libexec/ld.so; then
14785	  hardcode_direct_CXX=yes
14786	  hardcode_shlibpath_var_CXX=no
14787	  hardcode_direct_absolute_CXX=yes
14788	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14789	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14790	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14791	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14792	    export_dynamic_flag_spec_CXX='$wl-E'
14793	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14794	  fi
14795	  output_verbose_link_cmd=func_echo_all
14796	else
14797	  ld_shlibs_CXX=no
14798	fi
14799	;;
14800
14801      osf3* | osf4* | osf5*)
14802        case $cc_basename in
14803          KCC*)
14804	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14805
14806	    # KCC will only create a shared library if the output file
14807	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14808	    # to its proper name (with version) after linking.
14809	    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'
14810
14811	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14812	    hardcode_libdir_separator_CXX=:
14813
14814	    # Archives containing C++ object files must be created using
14815	    # the KAI C++ compiler.
14816	    case $host in
14817	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14818	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14819	    esac
14820	    ;;
14821          RCC*)
14822	    # Rational C++ 2.4.1
14823	    # FIXME: insert proper C++ library support
14824	    ld_shlibs_CXX=no
14825	    ;;
14826          cxx*)
14827	    case $host in
14828	      osf3*)
14829	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14830	        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'
14831	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14832		;;
14833	      *)
14834	        allow_undefined_flag_CXX=' -expect_unresolved \*'
14835	        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'
14836	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14837                  echo "-hidden">> $lib.exp~
14838                  $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~
14839                  $RM $lib.exp'
14840	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14841		;;
14842	    esac
14843
14844	    hardcode_libdir_separator_CXX=:
14845
14846	    # Commands to make compiler produce verbose output that lists
14847	    # what "hidden" libraries, object files and flags are used when
14848	    # linking a shared library.
14849	    #
14850	    # There doesn't appear to be a way to prevent this compiler from
14851	    # explicitly linking system object files so we need to strip them
14852	    # from the output so that they don't get included in the library
14853	    # dependencies.
14854	    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"'
14855	    ;;
14856	  *)
14857	    if test yes,no = "$GXX,$with_gnu_ld"; then
14858	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14859	      case $host in
14860	        osf3*)
14861	          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'
14862		  ;;
14863	        *)
14864	          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'
14865		  ;;
14866	      esac
14867
14868	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14869	      hardcode_libdir_separator_CXX=:
14870
14871	      # Commands to make compiler produce verbose output that lists
14872	      # what "hidden" libraries, object files and flags are used when
14873	      # linking a shared library.
14874	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14875
14876	    else
14877	      # FIXME: insert proper C++ library support
14878	      ld_shlibs_CXX=no
14879	    fi
14880	    ;;
14881        esac
14882        ;;
14883
14884      psos*)
14885        # FIXME: insert proper C++ library support
14886        ld_shlibs_CXX=no
14887        ;;
14888
14889      sunos4*)
14890        case $cc_basename in
14891          CC*)
14892	    # Sun C++ 4.x
14893	    # FIXME: insert proper C++ library support
14894	    ld_shlibs_CXX=no
14895	    ;;
14896          lcc*)
14897	    # Lucid
14898	    # FIXME: insert proper C++ library support
14899	    ld_shlibs_CXX=no
14900	    ;;
14901          *)
14902	    # FIXME: insert proper C++ library support
14903	    ld_shlibs_CXX=no
14904	    ;;
14905        esac
14906        ;;
14907
14908      solaris*)
14909        case $cc_basename in
14910          CC* | sunCC*)
14911	    # Sun C++ 4.2, 5.x and Centerline C++
14912            archive_cmds_need_lc_CXX=yes
14913	    no_undefined_flag_CXX=' -zdefs'
14914	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14915	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14916              $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'
14917
14918	    hardcode_libdir_flag_spec_CXX='-R$libdir'
14919	    hardcode_shlibpath_var_CXX=no
14920	    case $host_os in
14921	      solaris2.[0-5] | solaris2.[0-5].*) ;;
14922	      *)
14923		# The compiler driver will combine and reorder linker options,
14924		# but understands '-z linker_flag'.
14925	        # Supported since Solaris 2.6 (maybe 2.5.1?)
14926		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14927	        ;;
14928	    esac
14929	    link_all_deplibs_CXX=yes
14930
14931	    output_verbose_link_cmd='func_echo_all'
14932
14933	    # Archives containing C++ object files must be created using
14934	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14935	    # necessary to make sure instantiated templates are included
14936	    # in the archive.
14937	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14938	    ;;
14939          gcx*)
14940	    # Green Hills C++ Compiler
14941	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14942
14943	    # The C++ compiler must be used to create the archive.
14944	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14945	    ;;
14946          *)
14947	    # GNU C++ compiler with Solaris linker
14948	    if test yes,no = "$GXX,$with_gnu_ld"; then
14949	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
14950	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14951	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14952	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14953                  $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'
14954
14955	        # Commands to make compiler produce verbose output that lists
14956	        # what "hidden" libraries, object files and flags are used when
14957	        # linking a shared library.
14958	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14959	      else
14960	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
14961	        # platform.
14962	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14963	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14964                  $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'
14965
14966	        # Commands to make compiler produce verbose output that lists
14967	        # what "hidden" libraries, object files and flags are used when
14968	        # linking a shared library.
14969	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14970	      fi
14971
14972	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14973	      case $host_os in
14974		solaris2.[0-5] | solaris2.[0-5].*) ;;
14975		*)
14976		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14977		  ;;
14978	      esac
14979	    fi
14980	    ;;
14981        esac
14982        ;;
14983
14984    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14985      no_undefined_flag_CXX='$wl-z,text'
14986      archive_cmds_need_lc_CXX=no
14987      hardcode_shlibpath_var_CXX=no
14988      runpath_var='LD_RUN_PATH'
14989
14990      case $cc_basename in
14991        CC*)
14992	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14993	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14994	  ;;
14995	*)
14996	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14997	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14998	  ;;
14999      esac
15000      ;;
15001
15002      sysv5* | sco3.2v5* | sco5v6*)
15003	# Note: We CANNOT use -z defs as we might desire, because we do not
15004	# link with -lc, and that would cause any symbols used from libc to
15005	# always be unresolved, which means just about no library would
15006	# ever link correctly.  If we're not using GNU ld we use -z text
15007	# though, which does catch some bad symbols but isn't as heavy-handed
15008	# as -z defs.
15009	no_undefined_flag_CXX='$wl-z,text'
15010	allow_undefined_flag_CXX='$wl-z,nodefs'
15011	archive_cmds_need_lc_CXX=no
15012	hardcode_shlibpath_var_CXX=no
15013	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15014	hardcode_libdir_separator_CXX=':'
15015	link_all_deplibs_CXX=yes
15016	export_dynamic_flag_spec_CXX='$wl-Bexport'
15017	runpath_var='LD_RUN_PATH'
15018
15019	case $cc_basename in
15020          CC*)
15021	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15022	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15023	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15024              '"$old_archive_cmds_CXX"
15025	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15026              '"$reload_cmds_CXX"
15027	    ;;
15028	  *)
15029	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15030	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15031	    ;;
15032	esac
15033      ;;
15034
15035      tandem*)
15036        case $cc_basename in
15037          NCC*)
15038	    # NonStop-UX NCC 3.20
15039	    # FIXME: insert proper C++ library support
15040	    ld_shlibs_CXX=no
15041	    ;;
15042          *)
15043	    # FIXME: insert proper C++ library support
15044	    ld_shlibs_CXX=no
15045	    ;;
15046        esac
15047        ;;
15048
15049      vxworks*)
15050        # FIXME: insert proper C++ library support
15051        ld_shlibs_CXX=no
15052        ;;
15053
15054      *)
15055        # FIXME: insert proper C++ library support
15056        ld_shlibs_CXX=no
15057        ;;
15058    esac
15059
15060    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15061$as_echo "$ld_shlibs_CXX" >&6; }
15062    test no = "$ld_shlibs_CXX" && can_build_shared=no
15063
15064    GCC_CXX=$GXX
15065    LD_CXX=$LD
15066
15067    ## CAVEAT EMPTOR:
15068    ## There is no encapsulation within the following macros, do not change
15069    ## the running order or otherwise move them around unless you know exactly
15070    ## what you are doing...
15071    # Dependencies to place before and after the object being linked:
15072predep_objects_CXX=
15073postdep_objects_CXX=
15074predeps_CXX=
15075postdeps_CXX=
15076compiler_lib_search_path_CXX=
15077
15078cat > conftest.$ac_ext <<_LT_EOF
15079class Foo
15080{
15081public:
15082  Foo (void) { a = 0; }
15083private:
15084  int a;
15085};
15086_LT_EOF
15087
15088
15089_lt_libdeps_save_CFLAGS=$CFLAGS
15090case "$CC $CFLAGS " in #(
15091*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15092*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15093*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15094esac
15095
15096if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15097  (eval $ac_compile) 2>&5
15098  ac_status=$?
15099  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15100  test $ac_status = 0; }; then
15101  # Parse the compiler output and extract the necessary
15102  # objects, libraries and library flags.
15103
15104  # Sentinel used to keep track of whether or not we are before
15105  # the conftest object file.
15106  pre_test_object_deps_done=no
15107
15108  for p in `eval "$output_verbose_link_cmd"`; do
15109    case $prev$p in
15110
15111    -L* | -R* | -l*)
15112       # Some compilers place space between "-{L,R}" and the path.
15113       # Remove the space.
15114       if test x-L = "$p" ||
15115          test x-R = "$p"; then
15116	 prev=$p
15117	 continue
15118       fi
15119
15120       # Expand the sysroot to ease extracting the directories later.
15121       if test -z "$prev"; then
15122         case $p in
15123         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15124         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15125         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15126         esac
15127       fi
15128       case $p in
15129       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15130       esac
15131       if test no = "$pre_test_object_deps_done"; then
15132	 case $prev in
15133	 -L | -R)
15134	   # Internal compiler library paths should come after those
15135	   # provided the user.  The postdeps already come after the
15136	   # user supplied libs so there is no need to process them.
15137	   if test -z "$compiler_lib_search_path_CXX"; then
15138	     compiler_lib_search_path_CXX=$prev$p
15139	   else
15140	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15141	   fi
15142	   ;;
15143	 # The "-l" case would never come before the object being
15144	 # linked, so don't bother handling this case.
15145	 esac
15146       else
15147	 if test -z "$postdeps_CXX"; then
15148	   postdeps_CXX=$prev$p
15149	 else
15150	   postdeps_CXX="${postdeps_CXX} $prev$p"
15151	 fi
15152       fi
15153       prev=
15154       ;;
15155
15156    *.lto.$objext) ;; # Ignore GCC LTO objects
15157    *.$objext)
15158       # This assumes that the test object file only shows up
15159       # once in the compiler output.
15160       if test "$p" = "conftest.$objext"; then
15161	 pre_test_object_deps_done=yes
15162	 continue
15163       fi
15164
15165       if test no = "$pre_test_object_deps_done"; then
15166	 if test -z "$predep_objects_CXX"; then
15167	   predep_objects_CXX=$p
15168	 else
15169	   predep_objects_CXX="$predep_objects_CXX $p"
15170	 fi
15171       else
15172	 if test -z "$postdep_objects_CXX"; then
15173	   postdep_objects_CXX=$p
15174	 else
15175	   postdep_objects_CXX="$postdep_objects_CXX $p"
15176	 fi
15177       fi
15178       ;;
15179
15180    *) ;; # Ignore the rest.
15181
15182    esac
15183  done
15184
15185  # Clean up.
15186  rm -f a.out a.exe
15187else
15188  echo "libtool.m4: error: problem compiling CXX test program"
15189fi
15190
15191$RM -f confest.$objext
15192CFLAGS=$_lt_libdeps_save_CFLAGS
15193
15194# PORTME: override above test on systems where it is broken
15195case $host_os in
15196interix[3-9]*)
15197  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15198  # hack all around it, let's just trust "g++" to DTRT.
15199  predep_objects_CXX=
15200  postdep_objects_CXX=
15201  postdeps_CXX=
15202  ;;
15203esac
15204
15205
15206case " $postdeps_CXX " in
15207*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15208esac
15209 compiler_lib_search_dirs_CXX=
15210if test -n "${compiler_lib_search_path_CXX}"; then
15211 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15212fi
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244    lt_prog_compiler_wl_CXX=
15245lt_prog_compiler_pic_CXX=
15246lt_prog_compiler_static_CXX=
15247
15248
15249  # C++ specific cases for pic, static, wl, etc.
15250  if test yes = "$GXX"; then
15251    lt_prog_compiler_wl_CXX='-Wl,'
15252    lt_prog_compiler_static_CXX='-static'
15253
15254    case $host_os in
15255    aix*)
15256      # All AIX code is PIC.
15257      if test ia64 = "$host_cpu"; then
15258	# AIX 5 now supports IA64 processor
15259	lt_prog_compiler_static_CXX='-Bstatic'
15260      fi
15261      lt_prog_compiler_pic_CXX='-fPIC'
15262      ;;
15263
15264    amigaos*)
15265      case $host_cpu in
15266      powerpc)
15267            # see comment about AmigaOS4 .so support
15268            lt_prog_compiler_pic_CXX='-fPIC'
15269        ;;
15270      m68k)
15271            # FIXME: we need at least 68020 code to build shared libraries, but
15272            # adding the '-m68020' flag to GCC prevents building anything better,
15273            # like '-m68040'.
15274            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15275        ;;
15276      esac
15277      ;;
15278
15279    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15280      # PIC is the default for these OSes.
15281      ;;
15282    mingw* | cygwin* | os2* | pw32* | cegcc*)
15283      # This hack is so that the source file can tell whether it is being
15284      # built for inclusion in a dll (and should export symbols for example).
15285      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15286      # (--disable-auto-import) libraries
15287      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15288      case $host_os in
15289      os2*)
15290	lt_prog_compiler_static_CXX='$wl-static'
15291	;;
15292      esac
15293      ;;
15294    darwin* | rhapsody*)
15295      # PIC is the default on this platform
15296      # Common symbols not allowed in MH_DYLIB files
15297      lt_prog_compiler_pic_CXX='-fno-common'
15298      ;;
15299    *djgpp*)
15300      # DJGPP does not support shared libraries at all
15301      lt_prog_compiler_pic_CXX=
15302      ;;
15303    haiku*)
15304      # PIC is the default for Haiku.
15305      # The "-static" flag exists, but is broken.
15306      lt_prog_compiler_static_CXX=
15307      ;;
15308    interix[3-9]*)
15309      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15310      # Instead, we relocate shared libraries at runtime.
15311      ;;
15312    sysv4*MP*)
15313      if test -d /usr/nec; then
15314	lt_prog_compiler_pic_CXX=-Kconform_pic
15315      fi
15316      ;;
15317    hpux*)
15318      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15319      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15320      # sets the default TLS model and affects inlining.
15321      case $host_cpu in
15322      hppa*64*)
15323	;;
15324      *)
15325	lt_prog_compiler_pic_CXX='-fPIC'
15326	;;
15327      esac
15328      ;;
15329    *qnx* | *nto*)
15330      # QNX uses GNU C++, but need to define -shared option too, otherwise
15331      # it will coredump.
15332      lt_prog_compiler_pic_CXX='-fPIC -shared'
15333      ;;
15334    *)
15335      lt_prog_compiler_pic_CXX='-fPIC'
15336      ;;
15337    esac
15338  else
15339    case $host_os in
15340      aix[4-9]*)
15341	# All AIX code is PIC.
15342	if test ia64 = "$host_cpu"; then
15343	  # AIX 5 now supports IA64 processor
15344	  lt_prog_compiler_static_CXX='-Bstatic'
15345	else
15346	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15347	fi
15348	;;
15349      chorus*)
15350	case $cc_basename in
15351	cxch68*)
15352	  # Green Hills C++ Compiler
15353	  # _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"
15354	  ;;
15355	esac
15356	;;
15357      mingw* | cygwin* | os2* | pw32* | cegcc*)
15358	# This hack is so that the source file can tell whether it is being
15359	# built for inclusion in a dll (and should export symbols for example).
15360	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15361	;;
15362      dgux*)
15363	case $cc_basename in
15364	  ec++*)
15365	    lt_prog_compiler_pic_CXX='-KPIC'
15366	    ;;
15367	  ghcx*)
15368	    # Green Hills C++ Compiler
15369	    lt_prog_compiler_pic_CXX='-pic'
15370	    ;;
15371	  *)
15372	    ;;
15373	esac
15374	;;
15375      freebsd* | dragonfly*)
15376	# FreeBSD uses GNU C++
15377	;;
15378      hpux9* | hpux10* | hpux11*)
15379	case $cc_basename in
15380	  CC*)
15381	    lt_prog_compiler_wl_CXX='-Wl,'
15382	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15383	    if test ia64 != "$host_cpu"; then
15384	      lt_prog_compiler_pic_CXX='+Z'
15385	    fi
15386	    ;;
15387	  aCC*)
15388	    lt_prog_compiler_wl_CXX='-Wl,'
15389	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15390	    case $host_cpu in
15391	    hppa*64*|ia64*)
15392	      # +Z the default
15393	      ;;
15394	    *)
15395	      lt_prog_compiler_pic_CXX='+Z'
15396	      ;;
15397	    esac
15398	    ;;
15399	  *)
15400	    ;;
15401	esac
15402	;;
15403      interix*)
15404	# This is c89, which is MS Visual C++ (no shared libs)
15405	# Anyone wants to do a port?
15406	;;
15407      irix5* | irix6* | nonstopux*)
15408	case $cc_basename in
15409	  CC*)
15410	    lt_prog_compiler_wl_CXX='-Wl,'
15411	    lt_prog_compiler_static_CXX='-non_shared'
15412	    # CC pic flag -KPIC is the default.
15413	    ;;
15414	  *)
15415	    ;;
15416	esac
15417	;;
15418      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15419	case $cc_basename in
15420	  KCC*)
15421	    # KAI C++ Compiler
15422	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15423	    lt_prog_compiler_pic_CXX='-fPIC'
15424	    ;;
15425	  ecpc* )
15426	    # old Intel C++ for x86_64, which still supported -KPIC.
15427	    lt_prog_compiler_wl_CXX='-Wl,'
15428	    lt_prog_compiler_pic_CXX='-KPIC'
15429	    lt_prog_compiler_static_CXX='-static'
15430	    ;;
15431	  icpc* )
15432	    # Intel C++, used to be incompatible with GCC.
15433	    # ICC 10 doesn't accept -KPIC any more.
15434	    lt_prog_compiler_wl_CXX='-Wl,'
15435	    lt_prog_compiler_pic_CXX='-fPIC'
15436	    lt_prog_compiler_static_CXX='-static'
15437	    ;;
15438	  pgCC* | pgcpp*)
15439	    # Portland Group C++ compiler
15440	    lt_prog_compiler_wl_CXX='-Wl,'
15441	    lt_prog_compiler_pic_CXX='-fpic'
15442	    lt_prog_compiler_static_CXX='-Bstatic'
15443	    ;;
15444	  cxx*)
15445	    # Compaq C++
15446	    # Make sure the PIC flag is empty.  It appears that all Alpha
15447	    # Linux and Compaq Tru64 Unix objects are PIC.
15448	    lt_prog_compiler_pic_CXX=
15449	    lt_prog_compiler_static_CXX='-non_shared'
15450	    ;;
15451	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15452	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15453	    lt_prog_compiler_wl_CXX='-Wl,'
15454	    lt_prog_compiler_pic_CXX='-qpic'
15455	    lt_prog_compiler_static_CXX='-qstaticlink'
15456	    ;;
15457	  *)
15458	    case `$CC -V 2>&1 | sed 5q` in
15459	    *Sun\ C*)
15460	      # Sun C++ 5.9
15461	      lt_prog_compiler_pic_CXX='-KPIC'
15462	      lt_prog_compiler_static_CXX='-Bstatic'
15463	      lt_prog_compiler_wl_CXX='-Qoption ld '
15464	      ;;
15465	    esac
15466	    ;;
15467	esac
15468	;;
15469      lynxos*)
15470	;;
15471      m88k*)
15472	;;
15473      mvs*)
15474	case $cc_basename in
15475	  cxx*)
15476	    lt_prog_compiler_pic_CXX='-W c,exportall'
15477	    ;;
15478	  *)
15479	    ;;
15480	esac
15481	;;
15482      netbsd*)
15483	;;
15484      *qnx* | *nto*)
15485        # QNX uses GNU C++, but need to define -shared option too, otherwise
15486        # it will coredump.
15487        lt_prog_compiler_pic_CXX='-fPIC -shared'
15488        ;;
15489      osf3* | osf4* | osf5*)
15490	case $cc_basename in
15491	  KCC*)
15492	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15493	    ;;
15494	  RCC*)
15495	    # Rational C++ 2.4.1
15496	    lt_prog_compiler_pic_CXX='-pic'
15497	    ;;
15498	  cxx*)
15499	    # Digital/Compaq C++
15500	    lt_prog_compiler_wl_CXX='-Wl,'
15501	    # Make sure the PIC flag is empty.  It appears that all Alpha
15502	    # Linux and Compaq Tru64 Unix objects are PIC.
15503	    lt_prog_compiler_pic_CXX=
15504	    lt_prog_compiler_static_CXX='-non_shared'
15505	    ;;
15506	  *)
15507	    ;;
15508	esac
15509	;;
15510      psos*)
15511	;;
15512      solaris*)
15513	case $cc_basename in
15514	  CC* | sunCC*)
15515	    # Sun C++ 4.2, 5.x and Centerline C++
15516	    lt_prog_compiler_pic_CXX='-KPIC'
15517	    lt_prog_compiler_static_CXX='-Bstatic'
15518	    lt_prog_compiler_wl_CXX='-Qoption ld '
15519	    ;;
15520	  gcx*)
15521	    # Green Hills C++ Compiler
15522	    lt_prog_compiler_pic_CXX='-PIC'
15523	    ;;
15524	  *)
15525	    ;;
15526	esac
15527	;;
15528      sunos4*)
15529	case $cc_basename in
15530	  CC*)
15531	    # Sun C++ 4.x
15532	    lt_prog_compiler_pic_CXX='-pic'
15533	    lt_prog_compiler_static_CXX='-Bstatic'
15534	    ;;
15535	  lcc*)
15536	    # Lucid
15537	    lt_prog_compiler_pic_CXX='-pic'
15538	    ;;
15539	  *)
15540	    ;;
15541	esac
15542	;;
15543      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15544	case $cc_basename in
15545	  CC*)
15546	    lt_prog_compiler_wl_CXX='-Wl,'
15547	    lt_prog_compiler_pic_CXX='-KPIC'
15548	    lt_prog_compiler_static_CXX='-Bstatic'
15549	    ;;
15550	esac
15551	;;
15552      tandem*)
15553	case $cc_basename in
15554	  NCC*)
15555	    # NonStop-UX NCC 3.20
15556	    lt_prog_compiler_pic_CXX='-KPIC'
15557	    ;;
15558	  *)
15559	    ;;
15560	esac
15561	;;
15562      vxworks*)
15563	;;
15564      *)
15565	lt_prog_compiler_can_build_shared_CXX=no
15566	;;
15567    esac
15568  fi
15569
15570case $host_os in
15571  # For platforms that do not support PIC, -DPIC is meaningless:
15572  *djgpp*)
15573    lt_prog_compiler_pic_CXX=
15574    ;;
15575  *)
15576    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15577    ;;
15578esac
15579
15580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15581$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15582if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15583  $as_echo_n "(cached) " >&6
15584else
15585  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15586fi
15587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15588$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15589lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15590
15591#
15592# Check to make sure the PIC flag actually works.
15593#
15594if test -n "$lt_prog_compiler_pic_CXX"; then
15595  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15596$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15597if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15598  $as_echo_n "(cached) " >&6
15599else
15600  lt_cv_prog_compiler_pic_works_CXX=no
15601   ac_outfile=conftest.$ac_objext
15602   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15603   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15604   # Insert the option either (1) after the last *FLAGS variable, or
15605   # (2) before a word containing "conftest.", or (3) at the end.
15606   # Note that $ac_compile itself does not contain backslashes and begins
15607   # with a dollar sign (not a hyphen), so the echo should work correctly.
15608   # The option is referenced via a variable to avoid confusing sed.
15609   lt_compile=`echo "$ac_compile" | $SED \
15610   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15611   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15612   -e 's:$: $lt_compiler_flag:'`
15613   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15614   (eval "$lt_compile" 2>conftest.err)
15615   ac_status=$?
15616   cat conftest.err >&5
15617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618   if (exit $ac_status) && test -s "$ac_outfile"; then
15619     # The compiler can only warn and ignore the option if not recognized
15620     # So say no if there are warnings other than the usual output.
15621     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15622     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15623     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15624       lt_cv_prog_compiler_pic_works_CXX=yes
15625     fi
15626   fi
15627   $RM conftest*
15628
15629fi
15630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15631$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15632
15633if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15634    case $lt_prog_compiler_pic_CXX in
15635     "" | " "*) ;;
15636     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15637     esac
15638else
15639    lt_prog_compiler_pic_CXX=
15640     lt_prog_compiler_can_build_shared_CXX=no
15641fi
15642
15643fi
15644
15645
15646
15647
15648
15649#
15650# Check to make sure the static flag actually works.
15651#
15652wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15654$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15655if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15656  $as_echo_n "(cached) " >&6
15657else
15658  lt_cv_prog_compiler_static_works_CXX=no
15659   save_LDFLAGS=$LDFLAGS
15660   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15661   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15662   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15663     # The linker can only warn and ignore the option if not recognized
15664     # So say no if there are warnings
15665     if test -s conftest.err; then
15666       # Append any errors to the config.log.
15667       cat conftest.err 1>&5
15668       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15669       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15670       if diff conftest.exp conftest.er2 >/dev/null; then
15671         lt_cv_prog_compiler_static_works_CXX=yes
15672       fi
15673     else
15674       lt_cv_prog_compiler_static_works_CXX=yes
15675     fi
15676   fi
15677   $RM -r conftest*
15678   LDFLAGS=$save_LDFLAGS
15679
15680fi
15681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15682$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15683
15684if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15685    :
15686else
15687    lt_prog_compiler_static_CXX=
15688fi
15689
15690
15691
15692
15693    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15694$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15695if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15696  $as_echo_n "(cached) " >&6
15697else
15698  lt_cv_prog_compiler_c_o_CXX=no
15699   $RM -r conftest 2>/dev/null
15700   mkdir conftest
15701   cd conftest
15702   mkdir out
15703   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15704
15705   lt_compiler_flag="-o out/conftest2.$ac_objext"
15706   # Insert the option either (1) after the last *FLAGS variable, or
15707   # (2) before a word containing "conftest.", or (3) at the end.
15708   # Note that $ac_compile itself does not contain backslashes and begins
15709   # with a dollar sign (not a hyphen), so the echo should work correctly.
15710   lt_compile=`echo "$ac_compile" | $SED \
15711   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15712   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15713   -e 's:$: $lt_compiler_flag:'`
15714   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15715   (eval "$lt_compile" 2>out/conftest.err)
15716   ac_status=$?
15717   cat out/conftest.err >&5
15718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15720   then
15721     # The compiler can only warn and ignore the option if not recognized
15722     # So say no if there are warnings
15723     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15724     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15725     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15726       lt_cv_prog_compiler_c_o_CXX=yes
15727     fi
15728   fi
15729   chmod u+w . 2>&5
15730   $RM conftest*
15731   # SGI C++ compiler will create directory out/ii_files/ for
15732   # template instantiation
15733   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15734   $RM out/* && rmdir out
15735   cd ..
15736   $RM -r conftest
15737   $RM conftest*
15738
15739fi
15740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15741$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15742
15743
15744
15745    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15746$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15747if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15748  $as_echo_n "(cached) " >&6
15749else
15750  lt_cv_prog_compiler_c_o_CXX=no
15751   $RM -r conftest 2>/dev/null
15752   mkdir conftest
15753   cd conftest
15754   mkdir out
15755   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15756
15757   lt_compiler_flag="-o out/conftest2.$ac_objext"
15758   # Insert the option either (1) after the last *FLAGS variable, or
15759   # (2) before a word containing "conftest.", or (3) at the end.
15760   # Note that $ac_compile itself does not contain backslashes and begins
15761   # with a dollar sign (not a hyphen), so the echo should work correctly.
15762   lt_compile=`echo "$ac_compile" | $SED \
15763   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15764   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15765   -e 's:$: $lt_compiler_flag:'`
15766   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15767   (eval "$lt_compile" 2>out/conftest.err)
15768   ac_status=$?
15769   cat out/conftest.err >&5
15770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15772   then
15773     # The compiler can only warn and ignore the option if not recognized
15774     # So say no if there are warnings
15775     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15776     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15777     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15778       lt_cv_prog_compiler_c_o_CXX=yes
15779     fi
15780   fi
15781   chmod u+w . 2>&5
15782   $RM conftest*
15783   # SGI C++ compiler will create directory out/ii_files/ for
15784   # template instantiation
15785   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15786   $RM out/* && rmdir out
15787   cd ..
15788   $RM -r conftest
15789   $RM conftest*
15790
15791fi
15792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15793$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15794
15795
15796
15797
15798hard_links=nottested
15799if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15800  # do not overwrite the value of need_locks provided by the user
15801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15802$as_echo_n "checking if we can lock with hard links... " >&6; }
15803  hard_links=yes
15804  $RM conftest*
15805  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15806  touch conftest.a
15807  ln conftest.a conftest.b 2>&5 || hard_links=no
15808  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15810$as_echo "$hard_links" >&6; }
15811  if test no = "$hard_links"; then
15812    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15813$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15814    need_locks=warn
15815  fi
15816else
15817  need_locks=no
15818fi
15819
15820
15821
15822    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15823$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15824
15825  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15826  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15827  case $host_os in
15828  aix[4-9]*)
15829    # If we're using GNU nm, then we don't want the "-C" option.
15830    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15831    # Without the "-l" option, or with the "-B" option, AIX nm treats
15832    # weak defined symbols like other global defined symbols, whereas
15833    # GNU nm marks them as "W".
15834    # While the 'weak' keyword is ignored in the Export File, we need
15835    # it in the Import File for the 'aix-soname' feature, so we have
15836    # to replace the "-B" option with "-P" for AIX nm.
15837    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15838      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'
15839    else
15840      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'
15841    fi
15842    ;;
15843  pw32*)
15844    export_symbols_cmds_CXX=$ltdll_cmds
15845    ;;
15846  cygwin* | mingw* | cegcc*)
15847    case $cc_basename in
15848    cl*)
15849      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15850      ;;
15851    *)
15852      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'
15853      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15854      ;;
15855    esac
15856    ;;
15857  *)
15858    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15859    ;;
15860  esac
15861
15862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15863$as_echo "$ld_shlibs_CXX" >&6; }
15864test no = "$ld_shlibs_CXX" && can_build_shared=no
15865
15866with_gnu_ld_CXX=$with_gnu_ld
15867
15868
15869
15870
15871
15872
15873#
15874# Do we need to explicitly link libc?
15875#
15876case "x$archive_cmds_need_lc_CXX" in
15877x|xyes)
15878  # Assume -lc should be added
15879  archive_cmds_need_lc_CXX=yes
15880
15881  if test yes,yes = "$GCC,$enable_shared"; then
15882    case $archive_cmds_CXX in
15883    *'~'*)
15884      # FIXME: we may have to deal with multi-command sequences.
15885      ;;
15886    '$CC '*)
15887      # Test whether the compiler implicitly links with -lc since on some
15888      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15889      # to ld, don't add -lc before -lgcc.
15890      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15891$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15892if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15893  $as_echo_n "(cached) " >&6
15894else
15895  $RM conftest*
15896	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15897
15898	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15899  (eval $ac_compile) 2>&5
15900  ac_status=$?
15901  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15902  test $ac_status = 0; } 2>conftest.err; then
15903	  soname=conftest
15904	  lib=conftest
15905	  libobjs=conftest.$ac_objext
15906	  deplibs=
15907	  wl=$lt_prog_compiler_wl_CXX
15908	  pic_flag=$lt_prog_compiler_pic_CXX
15909	  compiler_flags=-v
15910	  linker_flags=-v
15911	  verstring=
15912	  output_objdir=.
15913	  libname=conftest
15914	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15915	  allow_undefined_flag_CXX=
15916	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15917  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15918  ac_status=$?
15919  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15920  test $ac_status = 0; }
15921	  then
15922	    lt_cv_archive_cmds_need_lc_CXX=no
15923	  else
15924	    lt_cv_archive_cmds_need_lc_CXX=yes
15925	  fi
15926	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15927	else
15928	  cat conftest.err 1>&5
15929	fi
15930	$RM conftest*
15931
15932fi
15933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15934$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15935      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15936      ;;
15937    esac
15938  fi
15939  ;;
15940esac
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16004$as_echo_n "checking dynamic linker characteristics... " >&6; }
16005
16006library_names_spec=
16007libname_spec='lib$name'
16008soname_spec=
16009shrext_cmds=.so
16010postinstall_cmds=
16011postuninstall_cmds=
16012finish_cmds=
16013finish_eval=
16014shlibpath_var=
16015shlibpath_overrides_runpath=unknown
16016version_type=none
16017dynamic_linker="$host_os ld.so"
16018sys_lib_dlsearch_path_spec="/lib /usr/lib"
16019need_lib_prefix=unknown
16020hardcode_into_libs=no
16021
16022# when you set need_version to no, make sure it does not cause -set_version
16023# flags to be left without arguments
16024need_version=unknown
16025
16026
16027
16028case $host_os in
16029aix3*)
16030  version_type=linux # correct to gnu/linux during the next big refactor
16031  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16032  shlibpath_var=LIBPATH
16033
16034  # AIX 3 has no versioning support, so we append a major version to the name.
16035  soname_spec='$libname$release$shared_ext$major'
16036  ;;
16037
16038aix[4-9]*)
16039  version_type=linux # correct to gnu/linux during the next big refactor
16040  need_lib_prefix=no
16041  need_version=no
16042  hardcode_into_libs=yes
16043  if test ia64 = "$host_cpu"; then
16044    # AIX 5 supports IA64
16045    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16046    shlibpath_var=LD_LIBRARY_PATH
16047  else
16048    # With GCC up to 2.95.x, collect2 would create an import file
16049    # for dependence libraries.  The import file would start with
16050    # the line '#! .'.  This would cause the generated library to
16051    # depend on '.', always an invalid library.  This was fixed in
16052    # development snapshots of GCC prior to 3.0.
16053    case $host_os in
16054      aix4 | aix4.[01] | aix4.[01].*)
16055      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16056	   echo ' yes '
16057	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16058	:
16059      else
16060	can_build_shared=no
16061      fi
16062      ;;
16063    esac
16064    # Using Import Files as archive members, it is possible to support
16065    # filename-based versioning of shared library archives on AIX. While
16066    # this would work for both with and without runtime linking, it will
16067    # prevent static linking of such archives. So we do filename-based
16068    # shared library versioning with .so extension only, which is used
16069    # when both runtime linking and shared linking is enabled.
16070    # Unfortunately, runtime linking may impact performance, so we do
16071    # not want this to be the default eventually. Also, we use the
16072    # versioned .so libs for executables only if there is the -brtl
16073    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16074    # To allow for filename-based versioning support, we need to create
16075    # libNAME.so.V as an archive file, containing:
16076    # *) an Import File, referring to the versioned filename of the
16077    #    archive as well as the shared archive member, telling the
16078    #    bitwidth (32 or 64) of that shared object, and providing the
16079    #    list of exported symbols of that shared object, eventually
16080    #    decorated with the 'weak' keyword
16081    # *) the shared object with the F_LOADONLY flag set, to really avoid
16082    #    it being seen by the linker.
16083    # At run time we better use the real file rather than another symlink,
16084    # but for link time we create the symlink libNAME.so -> libNAME.so.V
16085
16086    case $with_aix_soname,$aix_use_runtimelinking in
16087    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16088    # soname into executable. Probably we can add versioning support to
16089    # collect2, so additional links can be useful in future.
16090    aix,yes) # traditional libtool
16091      dynamic_linker='AIX unversionable lib.so'
16092      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16093      # instead of lib<name>.a to let people know that these are not
16094      # typical AIX shared libraries.
16095      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16096      ;;
16097    aix,no) # traditional AIX only
16098      dynamic_linker='AIX lib.a(lib.so.V)'
16099      # We preserve .a as extension for shared libraries through AIX4.2
16100      # and later when we are not doing run time linking.
16101      library_names_spec='$libname$release.a $libname.a'
16102      soname_spec='$libname$release$shared_ext$major'
16103      ;;
16104    svr4,*) # full svr4 only
16105      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16106      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16107      # We do not specify a path in Import Files, so LIBPATH fires.
16108      shlibpath_overrides_runpath=yes
16109      ;;
16110    *,yes) # both, prefer svr4
16111      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16112      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16113      # unpreferred sharedlib libNAME.a needs extra handling
16114      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"'
16115      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"'
16116      # We do not specify a path in Import Files, so LIBPATH fires.
16117      shlibpath_overrides_runpath=yes
16118      ;;
16119    *,no) # both, prefer aix
16120      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16121      library_names_spec='$libname$release.a $libname.a'
16122      soname_spec='$libname$release$shared_ext$major'
16123      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16124      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)'
16125      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"'
16126      ;;
16127    esac
16128    shlibpath_var=LIBPATH
16129  fi
16130  ;;
16131
16132amigaos*)
16133  case $host_cpu in
16134  powerpc)
16135    # Since July 2007 AmigaOS4 officially supports .so libraries.
16136    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16137    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16138    ;;
16139  m68k)
16140    library_names_spec='$libname.ixlibrary $libname.a'
16141    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16142    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'
16143    ;;
16144  esac
16145  ;;
16146
16147beos*)
16148  library_names_spec='$libname$shared_ext'
16149  dynamic_linker="$host_os ld.so"
16150  shlibpath_var=LIBRARY_PATH
16151  ;;
16152
16153bsdi[45]*)
16154  version_type=linux # correct to gnu/linux during the next big refactor
16155  need_version=no
16156  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16157  soname_spec='$libname$release$shared_ext$major'
16158  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16159  shlibpath_var=LD_LIBRARY_PATH
16160  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16161  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16162  # the default ld.so.conf also contains /usr/contrib/lib and
16163  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16164  # libtool to hard-code these into programs
16165  ;;
16166
16167cygwin* | mingw* | pw32* | cegcc*)
16168  version_type=windows
16169  shrext_cmds=.dll
16170  need_version=no
16171  need_lib_prefix=no
16172
16173  case $GCC,$cc_basename in
16174  yes,*)
16175    # gcc
16176    library_names_spec='$libname.dll.a'
16177    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16178    postinstall_cmds='base_file=`basename \$file`~
16179      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16180      dldir=$destdir/`dirname \$dlpath`~
16181      test -d \$dldir || mkdir -p \$dldir~
16182      $install_prog $dir/$dlname \$dldir/$dlname~
16183      chmod a+x \$dldir/$dlname~
16184      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16185        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16186      fi'
16187    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16188      dlpath=$dir/\$dldll~
16189       $RM \$dlpath'
16190    shlibpath_overrides_runpath=yes
16191
16192    case $host_os in
16193    cygwin*)
16194      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16195      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16196
16197      ;;
16198    mingw* | cegcc*)
16199      # MinGW DLLs use traditional 'lib' prefix
16200      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16201      ;;
16202    pw32*)
16203      # pw32 DLLs use 'pw' prefix rather than 'lib'
16204      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16205      ;;
16206    esac
16207    dynamic_linker='Win32 ld.exe'
16208    ;;
16209
16210  *,cl*)
16211    # Native MSVC
16212    libname_spec='$name'
16213    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16214    library_names_spec='$libname.dll.lib'
16215
16216    case $build_os in
16217    mingw*)
16218      sys_lib_search_path_spec=
16219      lt_save_ifs=$IFS
16220      IFS=';'
16221      for lt_path in $LIB
16222      do
16223        IFS=$lt_save_ifs
16224        # Let DOS variable expansion print the short 8.3 style file name.
16225        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16226        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16227      done
16228      IFS=$lt_save_ifs
16229      # Convert to MSYS style.
16230      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16231      ;;
16232    cygwin*)
16233      # Convert to unix form, then to dos form, then back to unix form
16234      # but this time dos style (no spaces!) so that the unix form looks
16235      # like /cygdrive/c/PROGRA~1:/cygdr...
16236      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16237      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16238      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16239      ;;
16240    *)
16241      sys_lib_search_path_spec=$LIB
16242      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16243        # It is most probably a Windows format PATH.
16244        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16245      else
16246        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16247      fi
16248      # FIXME: find the short name or the path components, as spaces are
16249      # common. (e.g. "Program Files" -> "PROGRA~1")
16250      ;;
16251    esac
16252
16253    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16254    postinstall_cmds='base_file=`basename \$file`~
16255      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16256      dldir=$destdir/`dirname \$dlpath`~
16257      test -d \$dldir || mkdir -p \$dldir~
16258      $install_prog $dir/$dlname \$dldir/$dlname'
16259    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16260      dlpath=$dir/\$dldll~
16261       $RM \$dlpath'
16262    shlibpath_overrides_runpath=yes
16263    dynamic_linker='Win32 link.exe'
16264    ;;
16265
16266  *)
16267    # Assume MSVC wrapper
16268    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16269    dynamic_linker='Win32 ld.exe'
16270    ;;
16271  esac
16272  # FIXME: first we should search . and the directory the executable is in
16273  shlibpath_var=PATH
16274  ;;
16275
16276darwin* | rhapsody*)
16277  dynamic_linker="$host_os dyld"
16278  version_type=darwin
16279  need_lib_prefix=no
16280  need_version=no
16281  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16282  soname_spec='$libname$release$major$shared_ext'
16283  shlibpath_overrides_runpath=yes
16284  shlibpath_var=DYLD_LIBRARY_PATH
16285  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16286
16287  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16288  ;;
16289
16290dgux*)
16291  version_type=linux # correct to gnu/linux during the next big refactor
16292  need_lib_prefix=no
16293  need_version=no
16294  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16295  soname_spec='$libname$release$shared_ext$major'
16296  shlibpath_var=LD_LIBRARY_PATH
16297  ;;
16298
16299freebsd* | dragonfly*)
16300  # DragonFly does not have aout.  When/if they implement a new
16301  # versioning mechanism, adjust this.
16302  if test -x /usr/bin/objformat; then
16303    objformat=`/usr/bin/objformat`
16304  else
16305    case $host_os in
16306    freebsd[23].*) objformat=aout ;;
16307    *) objformat=elf ;;
16308    esac
16309  fi
16310  version_type=freebsd-$objformat
16311  case $version_type in
16312    freebsd-elf*)
16313      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16314      soname_spec='$libname$release$shared_ext$major'
16315      need_version=no
16316      need_lib_prefix=no
16317      ;;
16318    freebsd-*)
16319      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16320      need_version=yes
16321      ;;
16322  esac
16323  shlibpath_var=LD_LIBRARY_PATH
16324  case $host_os in
16325  freebsd2.*)
16326    shlibpath_overrides_runpath=yes
16327    ;;
16328  freebsd3.[01]* | freebsdelf3.[01]*)
16329    shlibpath_overrides_runpath=yes
16330    hardcode_into_libs=yes
16331    ;;
16332  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16333  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16334    shlibpath_overrides_runpath=no
16335    hardcode_into_libs=yes
16336    ;;
16337  *) # from 4.6 on, and DragonFly
16338    shlibpath_overrides_runpath=yes
16339    hardcode_into_libs=yes
16340    ;;
16341  esac
16342  ;;
16343
16344haiku*)
16345  version_type=linux # correct to gnu/linux during the next big refactor
16346  need_lib_prefix=no
16347  need_version=no
16348  dynamic_linker="$host_os runtime_loader"
16349  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16350  soname_spec='$libname$release$shared_ext$major'
16351  shlibpath_var=LIBRARY_PATH
16352  shlibpath_overrides_runpath=no
16353  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16354  hardcode_into_libs=yes
16355  ;;
16356
16357hpux9* | hpux10* | hpux11*)
16358  # Give a soname corresponding to the major version so that dld.sl refuses to
16359  # link against other versions.
16360  version_type=sunos
16361  need_lib_prefix=no
16362  need_version=no
16363  case $host_cpu in
16364  ia64*)
16365    shrext_cmds='.so'
16366    hardcode_into_libs=yes
16367    dynamic_linker="$host_os dld.so"
16368    shlibpath_var=LD_LIBRARY_PATH
16369    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16370    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16371    soname_spec='$libname$release$shared_ext$major'
16372    if test 32 = "$HPUX_IA64_MODE"; then
16373      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16374      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16375    else
16376      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16377      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16378    fi
16379    ;;
16380  hppa*64*)
16381    shrext_cmds='.sl'
16382    hardcode_into_libs=yes
16383    dynamic_linker="$host_os dld.sl"
16384    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16385    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16386    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16387    soname_spec='$libname$release$shared_ext$major'
16388    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16389    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16390    ;;
16391  *)
16392    shrext_cmds='.sl'
16393    dynamic_linker="$host_os dld.sl"
16394    shlibpath_var=SHLIB_PATH
16395    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16396    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16397    soname_spec='$libname$release$shared_ext$major'
16398    ;;
16399  esac
16400  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16401  postinstall_cmds='chmod 555 $lib'
16402  # or fails outright, so override atomically:
16403  install_override_mode=555
16404  ;;
16405
16406interix[3-9]*)
16407  version_type=linux # correct to gnu/linux during the next big refactor
16408  need_lib_prefix=no
16409  need_version=no
16410  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16411  soname_spec='$libname$release$shared_ext$major'
16412  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16413  shlibpath_var=LD_LIBRARY_PATH
16414  shlibpath_overrides_runpath=no
16415  hardcode_into_libs=yes
16416  ;;
16417
16418irix5* | irix6* | nonstopux*)
16419  case $host_os in
16420    nonstopux*) version_type=nonstopux ;;
16421    *)
16422	if test yes = "$lt_cv_prog_gnu_ld"; then
16423		version_type=linux # correct to gnu/linux during the next big refactor
16424	else
16425		version_type=irix
16426	fi ;;
16427  esac
16428  need_lib_prefix=no
16429  need_version=no
16430  soname_spec='$libname$release$shared_ext$major'
16431  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16432  case $host_os in
16433  irix5* | nonstopux*)
16434    libsuff= shlibsuff=
16435    ;;
16436  *)
16437    case $LD in # libtool.m4 will add one of these switches to LD
16438    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16439      libsuff= shlibsuff= libmagic=32-bit;;
16440    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16441      libsuff=32 shlibsuff=N32 libmagic=N32;;
16442    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16443      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16444    *) libsuff= shlibsuff= libmagic=never-match;;
16445    esac
16446    ;;
16447  esac
16448  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16449  shlibpath_overrides_runpath=no
16450  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16451  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16452  hardcode_into_libs=yes
16453  ;;
16454
16455# No shared lib support for Linux oldld, aout, or coff.
16456linux*oldld* | linux*aout* | linux*coff*)
16457  dynamic_linker=no
16458  ;;
16459
16460linux*android*)
16461  version_type=none # Android doesn't support versioned libraries.
16462  need_lib_prefix=no
16463  need_version=no
16464  library_names_spec='$libname$release$shared_ext'
16465  soname_spec='$libname$release$shared_ext'
16466  finish_cmds=
16467  shlibpath_var=LD_LIBRARY_PATH
16468  shlibpath_overrides_runpath=yes
16469
16470  # This implies no fast_install, which is unacceptable.
16471  # Some rework will be needed to allow for fast_install
16472  # before this can be enabled.
16473  hardcode_into_libs=yes
16474
16475  dynamic_linker='Android linker'
16476  # Don't embed -rpath directories since the linker doesn't support them.
16477  hardcode_libdir_flag_spec_CXX='-L$libdir'
16478  ;;
16479
16480# This must be glibc/ELF.
16481linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16482  version_type=linux # correct to gnu/linux during the next big refactor
16483  need_lib_prefix=no
16484  need_version=no
16485  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16486  soname_spec='$libname$release$shared_ext$major'
16487  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16488  shlibpath_var=LD_LIBRARY_PATH
16489  shlibpath_overrides_runpath=no
16490
16491  # Some binutils ld are patched to set DT_RUNPATH
16492  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16493  $as_echo_n "(cached) " >&6
16494else
16495  lt_cv_shlibpath_overrides_runpath=no
16496    save_LDFLAGS=$LDFLAGS
16497    save_libdir=$libdir
16498    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16499	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16500    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16501/* end confdefs.h.  */
16502
16503int
16504main ()
16505{
16506
16507  ;
16508  return 0;
16509}
16510_ACEOF
16511if ac_fn_cxx_try_link "$LINENO"; then :
16512  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16513  lt_cv_shlibpath_overrides_runpath=yes
16514fi
16515fi
16516rm -f core conftest.err conftest.$ac_objext \
16517    conftest$ac_exeext conftest.$ac_ext
16518    LDFLAGS=$save_LDFLAGS
16519    libdir=$save_libdir
16520
16521fi
16522
16523  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16524
16525  # This implies no fast_install, which is unacceptable.
16526  # Some rework will be needed to allow for fast_install
16527  # before this can be enabled.
16528  hardcode_into_libs=yes
16529
16530  # Ideally, we could use ldconfig to report *all* directores which are
16531  # searched for libraries, however this is still not possible.  Aside from not
16532  # being certain /sbin/ldconfig is available, command
16533  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16534  # even though it is searched at run-time.  Try to do the best guess by
16535  # appending ld.so.conf contents (and includes) to the search path.
16536  if test -f /etc/ld.so.conf; then
16537    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' ' '`
16538    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16539  fi
16540
16541  # We used to test for /lib/ld.so.1 and disable shared libraries on
16542  # powerpc, because MkLinux only supported shared libraries with the
16543  # GNU dynamic linker.  Since this was broken with cross compilers,
16544  # most powerpc-linux boxes support dynamic linking these days and
16545  # people can always --disable-shared, the test was removed, and we
16546  # assume the GNU/Linux dynamic linker is in use.
16547  dynamic_linker='GNU/Linux ld.so'
16548  ;;
16549
16550netbsd*)
16551  version_type=sunos
16552  need_lib_prefix=no
16553  need_version=no
16554  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16555    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16556    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16557    dynamic_linker='NetBSD (a.out) ld.so'
16558  else
16559    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16560    soname_spec='$libname$release$shared_ext$major'
16561    dynamic_linker='NetBSD ld.elf_so'
16562  fi
16563  shlibpath_var=LD_LIBRARY_PATH
16564  shlibpath_overrides_runpath=yes
16565  hardcode_into_libs=yes
16566  ;;
16567
16568newsos6)
16569  version_type=linux # correct to gnu/linux during the next big refactor
16570  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16571  shlibpath_var=LD_LIBRARY_PATH
16572  shlibpath_overrides_runpath=yes
16573  ;;
16574
16575*nto* | *qnx*)
16576  version_type=qnx
16577  need_lib_prefix=no
16578  need_version=no
16579  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16580  soname_spec='$libname$release$shared_ext$major'
16581  shlibpath_var=LD_LIBRARY_PATH
16582  shlibpath_overrides_runpath=no
16583  hardcode_into_libs=yes
16584  dynamic_linker='ldqnx.so'
16585  ;;
16586
16587openbsd* | bitrig*)
16588  version_type=sunos
16589  sys_lib_dlsearch_path_spec=/usr/lib
16590  need_lib_prefix=no
16591  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16592    need_version=no
16593  else
16594    need_version=yes
16595  fi
16596  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16597  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16598  shlibpath_var=LD_LIBRARY_PATH
16599  shlibpath_overrides_runpath=yes
16600  ;;
16601
16602os2*)
16603  libname_spec='$name'
16604  version_type=windows
16605  shrext_cmds=.dll
16606  need_version=no
16607  need_lib_prefix=no
16608  # OS/2 can only load a DLL with a base name of 8 characters or less.
16609  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16610    v=$($ECHO $release$versuffix | tr -d .-);
16611    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16612    $ECHO $n$v`$shared_ext'
16613  library_names_spec='${libname}_dll.$libext'
16614  dynamic_linker='OS/2 ld.exe'
16615  shlibpath_var=BEGINLIBPATH
16616  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16617  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16618  postinstall_cmds='base_file=`basename \$file`~
16619    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16620    dldir=$destdir/`dirname \$dlpath`~
16621    test -d \$dldir || mkdir -p \$dldir~
16622    $install_prog $dir/$dlname \$dldir/$dlname~
16623    chmod a+x \$dldir/$dlname~
16624    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16625      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16626    fi'
16627  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16628    dlpath=$dir/\$dldll~
16629    $RM \$dlpath'
16630  ;;
16631
16632osf3* | osf4* | osf5*)
16633  version_type=osf
16634  need_lib_prefix=no
16635  need_version=no
16636  soname_spec='$libname$release$shared_ext$major'
16637  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16638  shlibpath_var=LD_LIBRARY_PATH
16639  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16640  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16641  ;;
16642
16643rdos*)
16644  dynamic_linker=no
16645  ;;
16646
16647solaris*)
16648  version_type=linux # correct to gnu/linux during the next big refactor
16649  need_lib_prefix=no
16650  need_version=no
16651  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16652  soname_spec='$libname$release$shared_ext$major'
16653  shlibpath_var=LD_LIBRARY_PATH
16654  shlibpath_overrides_runpath=yes
16655  hardcode_into_libs=yes
16656  # ldd complains unless libraries are executable
16657  postinstall_cmds='chmod +x $lib'
16658  ;;
16659
16660sunos4*)
16661  version_type=sunos
16662  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16663  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16664  shlibpath_var=LD_LIBRARY_PATH
16665  shlibpath_overrides_runpath=yes
16666  if test yes = "$with_gnu_ld"; then
16667    need_lib_prefix=no
16668  fi
16669  need_version=yes
16670  ;;
16671
16672sysv4 | sysv4.3*)
16673  version_type=linux # correct to gnu/linux during the next big refactor
16674  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16675  soname_spec='$libname$release$shared_ext$major'
16676  shlibpath_var=LD_LIBRARY_PATH
16677  case $host_vendor in
16678    sni)
16679      shlibpath_overrides_runpath=no
16680      need_lib_prefix=no
16681      runpath_var=LD_RUN_PATH
16682      ;;
16683    siemens)
16684      need_lib_prefix=no
16685      ;;
16686    motorola)
16687      need_lib_prefix=no
16688      need_version=no
16689      shlibpath_overrides_runpath=no
16690      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16691      ;;
16692  esac
16693  ;;
16694
16695sysv4*MP*)
16696  if test -d /usr/nec; then
16697    version_type=linux # correct to gnu/linux during the next big refactor
16698    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16699    soname_spec='$libname$shared_ext.$major'
16700    shlibpath_var=LD_LIBRARY_PATH
16701  fi
16702  ;;
16703
16704sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16705  version_type=sco
16706  need_lib_prefix=no
16707  need_version=no
16708  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16709  soname_spec='$libname$release$shared_ext$major'
16710  shlibpath_var=LD_LIBRARY_PATH
16711  shlibpath_overrides_runpath=yes
16712  hardcode_into_libs=yes
16713  if test yes = "$with_gnu_ld"; then
16714    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16715  else
16716    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16717    case $host_os in
16718      sco3.2v5*)
16719        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16720	;;
16721    esac
16722  fi
16723  sys_lib_dlsearch_path_spec='/usr/lib'
16724  ;;
16725
16726tpf*)
16727  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16728  version_type=linux # correct to gnu/linux during the next big refactor
16729  need_lib_prefix=no
16730  need_version=no
16731  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16732  shlibpath_var=LD_LIBRARY_PATH
16733  shlibpath_overrides_runpath=no
16734  hardcode_into_libs=yes
16735  ;;
16736
16737uts4*)
16738  version_type=linux # correct to gnu/linux during the next big refactor
16739  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16740  soname_spec='$libname$release$shared_ext$major'
16741  shlibpath_var=LD_LIBRARY_PATH
16742  ;;
16743
16744*)
16745  dynamic_linker=no
16746  ;;
16747esac
16748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16749$as_echo "$dynamic_linker" >&6; }
16750test no = "$dynamic_linker" && can_build_shared=no
16751
16752variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16753if test yes = "$GCC"; then
16754  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16755fi
16756
16757if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16758  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16759fi
16760
16761if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16762  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16763fi
16764
16765# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16766configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16767
16768# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16769func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16770
16771# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16772configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16814$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16815hardcode_action_CXX=
16816if test -n "$hardcode_libdir_flag_spec_CXX" ||
16817   test -n "$runpath_var_CXX" ||
16818   test yes = "$hardcode_automatic_CXX"; then
16819
16820  # We can hardcode non-existent directories.
16821  if test no != "$hardcode_direct_CXX" &&
16822     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16823     # have to relink, otherwise we might link with an installed library
16824     # when we should be linking with a yet-to-be-installed one
16825     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16826     test no != "$hardcode_minus_L_CXX"; then
16827    # Linking always hardcodes the temporary library directory.
16828    hardcode_action_CXX=relink
16829  else
16830    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16831    hardcode_action_CXX=immediate
16832  fi
16833else
16834  # We cannot hardcode anything, or else we can only hardcode existing
16835  # directories.
16836  hardcode_action_CXX=unsupported
16837fi
16838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16839$as_echo "$hardcode_action_CXX" >&6; }
16840
16841if test relink = "$hardcode_action_CXX" ||
16842   test yes = "$inherit_rpath_CXX"; then
16843  # Fast installation is not supported
16844  enable_fast_install=no
16845elif test yes = "$shlibpath_overrides_runpath" ||
16846     test no = "$enable_shared"; then
16847  # Fast installation is not necessary
16848  enable_fast_install=needless
16849fi
16850
16851
16852
16853
16854
16855
16856
16857  fi # test -n "$compiler"
16858
16859  CC=$lt_save_CC
16860  CFLAGS=$lt_save_CFLAGS
16861  LDCXX=$LD
16862  LD=$lt_save_LD
16863  GCC=$lt_save_GCC
16864  with_gnu_ld=$lt_save_with_gnu_ld
16865  lt_cv_path_LDCXX=$lt_cv_path_LD
16866  lt_cv_path_LD=$lt_save_path_LD
16867  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16868  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16869fi # test yes != "$_lt_caught_CXX_error"
16870
16871ac_ext=c
16872ac_cpp='$CPP $CPPFLAGS'
16873ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16874ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16875ac_compiler_gnu=$ac_cv_c_compiler_gnu
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891        ac_config_commands="$ac_config_commands libtool"
16892
16893
16894
16895
16896# Only expand once:
16897
16898
16899
16900
16901
16902cat >confcache <<\_ACEOF
16903# This file is a shell script that caches the results of configure
16904# tests run on this system so they can be shared between configure
16905# scripts and configure runs, see configure's option --config-cache.
16906# It is not useful on other systems.  If it contains results you don't
16907# want to keep, you may remove or edit it.
16908#
16909# config.status only pays attention to the cache file if you give it
16910# the --recheck option to rerun configure.
16911#
16912# `ac_cv_env_foo' variables (set or unset) will be overridden when
16913# loading this file, other *unset* `ac_cv_foo' will be assigned the
16914# following values.
16915
16916_ACEOF
16917
16918# The following way of writing the cache mishandles newlines in values,
16919# but we know of no workaround that is simple, portable, and efficient.
16920# So, we kill variables containing newlines.
16921# Ultrix sh set writes to stderr and can't be redirected directly,
16922# and sets the high bit in the cache file unless we assign to the vars.
16923(
16924  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16925    eval ac_val=\$$ac_var
16926    case $ac_val in #(
16927    *${as_nl}*)
16928      case $ac_var in #(
16929      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16930$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16931      esac
16932      case $ac_var in #(
16933      _ | IFS | as_nl) ;; #(
16934      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16935      *) { eval $ac_var=; unset $ac_var;} ;;
16936      esac ;;
16937    esac
16938  done
16939
16940  (set) 2>&1 |
16941    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16942    *${as_nl}ac_space=\ *)
16943      # `set' does not quote correctly, so add quotes: double-quote
16944      # substitution turns \\\\ into \\, and sed turns \\ into \.
16945      sed -n \
16946	"s/'/'\\\\''/g;
16947	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16948      ;; #(
16949    *)
16950      # `set' quotes correctly as required by POSIX, so do not add quotes.
16951      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16952      ;;
16953    esac |
16954    sort
16955) |
16956  sed '
16957     /^ac_cv_env_/b end
16958     t clear
16959     :clear
16960     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16961     t end
16962     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16963     :end' >>confcache
16964if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16965  if test -w "$cache_file"; then
16966    if test "x$cache_file" != "x/dev/null"; then
16967      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16968$as_echo "$as_me: updating cache $cache_file" >&6;}
16969      if test ! -f "$cache_file" || test -h "$cache_file"; then
16970	cat confcache >"$cache_file"
16971      else
16972        case $cache_file in #(
16973        */* | ?:*)
16974	  mv -f confcache "$cache_file"$$ &&
16975	  mv -f "$cache_file"$$ "$cache_file" ;; #(
16976        *)
16977	  mv -f confcache "$cache_file" ;;
16978	esac
16979      fi
16980    fi
16981  else
16982    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16983$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16984  fi
16985fi
16986rm -f confcache
16987
16988test "x$prefix" = xNONE && prefix=$ac_default_prefix
16989# Let make expand exec_prefix.
16990test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16991
16992DEFS=-DHAVE_CONFIG_H
16993
16994ac_libobjs=
16995ac_ltlibobjs=
16996U=
16997for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16998  # 1. Remove the extension, and $U if already installed.
16999  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17000  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17001  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17002  #    will be set to the directory where LIBOBJS objects are built.
17003  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17004  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17005done
17006LIBOBJS=$ac_libobjs
17007
17008LTLIBOBJS=$ac_ltlibobjs
17009
17010
17011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17012$as_echo_n "checking that generated files are newer than configure... " >&6; }
17013   if test -n "$am_sleep_pid"; then
17014     # Hide warnings about reused PIDs.
17015     wait $am_sleep_pid 2>/dev/null
17016   fi
17017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17018$as_echo "done" >&6; }
17019 if test -n "$EXEEXT"; then
17020  am__EXEEXT_TRUE=
17021  am__EXEEXT_FALSE='#'
17022else
17023  am__EXEEXT_TRUE='#'
17024  am__EXEEXT_FALSE=
17025fi
17026
17027if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17028  as_fn_error $? "conditional \"AMDEP\" was never defined.
17029Usually this means the macro was only invoked conditionally." "$LINENO" 5
17030fi
17031if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17032  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17033Usually this means the macro was only invoked conditionally." "$LINENO" 5
17034fi
17035if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17036  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17037Usually this means the macro was only invoked conditionally." "$LINENO" 5
17038fi
17039
17040: "${CONFIG_STATUS=./config.status}"
17041ac_write_fail=0
17042ac_clean_files_save=$ac_clean_files
17043ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17044{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17045$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17046as_write_fail=0
17047cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17048#! $SHELL
17049# Generated by $as_me.
17050# Run this file to recreate the current configuration.
17051# Compiler output produced by configure, useful for debugging
17052# configure, is in config.log if it exists.
17053
17054debug=false
17055ac_cs_recheck=false
17056ac_cs_silent=false
17057
17058SHELL=\${CONFIG_SHELL-$SHELL}
17059export SHELL
17060_ASEOF
17061cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17062## -------------------- ##
17063## M4sh Initialization. ##
17064## -------------------- ##
17065
17066# Be more Bourne compatible
17067DUALCASE=1; export DUALCASE # for MKS sh
17068if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17069  emulate sh
17070  NULLCMD=:
17071  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17072  # is contrary to our usage.  Disable this feature.
17073  alias -g '${1+"$@"}'='"$@"'
17074  setopt NO_GLOB_SUBST
17075else
17076  case `(set -o) 2>/dev/null` in #(
17077  *posix*) :
17078    set -o posix ;; #(
17079  *) :
17080     ;;
17081esac
17082fi
17083
17084
17085as_nl='
17086'
17087export as_nl
17088# Printing a long string crashes Solaris 7 /usr/bin/printf.
17089as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17090as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17091as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17092# Prefer a ksh shell builtin over an external printf program on Solaris,
17093# but without wasting forks for bash or zsh.
17094if test -z "$BASH_VERSION$ZSH_VERSION" \
17095    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17096  as_echo='print -r --'
17097  as_echo_n='print -rn --'
17098elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17099  as_echo='printf %s\n'
17100  as_echo_n='printf %s'
17101else
17102  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17103    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17104    as_echo_n='/usr/ucb/echo -n'
17105  else
17106    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17107    as_echo_n_body='eval
17108      arg=$1;
17109      case $arg in #(
17110      *"$as_nl"*)
17111	expr "X$arg" : "X\\(.*\\)$as_nl";
17112	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17113      esac;
17114      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17115    '
17116    export as_echo_n_body
17117    as_echo_n='sh -c $as_echo_n_body as_echo'
17118  fi
17119  export as_echo_body
17120  as_echo='sh -c $as_echo_body as_echo'
17121fi
17122
17123# The user is always right.
17124if test "${PATH_SEPARATOR+set}" != set; then
17125  PATH_SEPARATOR=:
17126  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17127    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17128      PATH_SEPARATOR=';'
17129  }
17130fi
17131
17132
17133# IFS
17134# We need space, tab and new line, in precisely that order.  Quoting is
17135# there to prevent editors from complaining about space-tab.
17136# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17137# splitting by setting IFS to empty value.)
17138IFS=" ""	$as_nl"
17139
17140# Find who we are.  Look in the path if we contain no directory separator.
17141as_myself=
17142case $0 in #((
17143  *[\\/]* ) as_myself=$0 ;;
17144  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17145for as_dir in $PATH
17146do
17147  IFS=$as_save_IFS
17148  test -z "$as_dir" && as_dir=.
17149    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17150  done
17151IFS=$as_save_IFS
17152
17153     ;;
17154esac
17155# We did not find ourselves, most probably we were run as `sh COMMAND'
17156# in which case we are not to be found in the path.
17157if test "x$as_myself" = x; then
17158  as_myself=$0
17159fi
17160if test ! -f "$as_myself"; then
17161  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17162  exit 1
17163fi
17164
17165# Unset variables that we do not need and which cause bugs (e.g. in
17166# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17167# suppresses any "Segmentation fault" message there.  '((' could
17168# trigger a bug in pdksh 5.2.14.
17169for as_var in BASH_ENV ENV MAIL MAILPATH
17170do eval test x\${$as_var+set} = xset \
17171  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17172done
17173PS1='$ '
17174PS2='> '
17175PS4='+ '
17176
17177# NLS nuisances.
17178LC_ALL=C
17179export LC_ALL
17180LANGUAGE=C
17181export LANGUAGE
17182
17183# CDPATH.
17184(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17185
17186
17187# as_fn_error STATUS ERROR [LINENO LOG_FD]
17188# ----------------------------------------
17189# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17190# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17191# script with STATUS, using 1 if that was 0.
17192as_fn_error ()
17193{
17194  as_status=$1; test $as_status -eq 0 && as_status=1
17195  if test "$4"; then
17196    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17197    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17198  fi
17199  $as_echo "$as_me: error: $2" >&2
17200  as_fn_exit $as_status
17201} # as_fn_error
17202
17203
17204# as_fn_set_status STATUS
17205# -----------------------
17206# Set $? to STATUS, without forking.
17207as_fn_set_status ()
17208{
17209  return $1
17210} # as_fn_set_status
17211
17212# as_fn_exit STATUS
17213# -----------------
17214# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17215as_fn_exit ()
17216{
17217  set +e
17218  as_fn_set_status $1
17219  exit $1
17220} # as_fn_exit
17221
17222# as_fn_unset VAR
17223# ---------------
17224# Portably unset VAR.
17225as_fn_unset ()
17226{
17227  { eval $1=; unset $1;}
17228}
17229as_unset=as_fn_unset
17230# as_fn_append VAR VALUE
17231# ----------------------
17232# Append the text in VALUE to the end of the definition contained in VAR. Take
17233# advantage of any shell optimizations that allow amortized linear growth over
17234# repeated appends, instead of the typical quadratic growth present in naive
17235# implementations.
17236if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17237  eval 'as_fn_append ()
17238  {
17239    eval $1+=\$2
17240  }'
17241else
17242  as_fn_append ()
17243  {
17244    eval $1=\$$1\$2
17245  }
17246fi # as_fn_append
17247
17248# as_fn_arith ARG...
17249# ------------------
17250# Perform arithmetic evaluation on the ARGs, and store the result in the
17251# global $as_val. Take advantage of shells that can avoid forks. The arguments
17252# must be portable across $(()) and expr.
17253if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17254  eval 'as_fn_arith ()
17255  {
17256    as_val=$(( $* ))
17257  }'
17258else
17259  as_fn_arith ()
17260  {
17261    as_val=`expr "$@" || test $? -eq 1`
17262  }
17263fi # as_fn_arith
17264
17265
17266if expr a : '\(a\)' >/dev/null 2>&1 &&
17267   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17268  as_expr=expr
17269else
17270  as_expr=false
17271fi
17272
17273if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17274  as_basename=basename
17275else
17276  as_basename=false
17277fi
17278
17279if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17280  as_dirname=dirname
17281else
17282  as_dirname=false
17283fi
17284
17285as_me=`$as_basename -- "$0" ||
17286$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17287	 X"$0" : 'X\(//\)$' \| \
17288	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17289$as_echo X/"$0" |
17290    sed '/^.*\/\([^/][^/]*\)\/*$/{
17291	    s//\1/
17292	    q
17293	  }
17294	  /^X\/\(\/\/\)$/{
17295	    s//\1/
17296	    q
17297	  }
17298	  /^X\/\(\/\).*/{
17299	    s//\1/
17300	    q
17301	  }
17302	  s/.*/./; q'`
17303
17304# Avoid depending upon Character Ranges.
17305as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17306as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17307as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17308as_cr_digits='0123456789'
17309as_cr_alnum=$as_cr_Letters$as_cr_digits
17310
17311ECHO_C= ECHO_N= ECHO_T=
17312case `echo -n x` in #(((((
17313-n*)
17314  case `echo 'xy\c'` in
17315  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
17316  xy)  ECHO_C='\c';;
17317  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17318       ECHO_T='	';;
17319  esac;;
17320*)
17321  ECHO_N='-n';;
17322esac
17323
17324rm -f conf$$ conf$$.exe conf$$.file
17325if test -d conf$$.dir; then
17326  rm -f conf$$.dir/conf$$.file
17327else
17328  rm -f conf$$.dir
17329  mkdir conf$$.dir 2>/dev/null
17330fi
17331if (echo >conf$$.file) 2>/dev/null; then
17332  if ln -s conf$$.file conf$$ 2>/dev/null; then
17333    as_ln_s='ln -s'
17334    # ... but there are two gotchas:
17335    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17336    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17337    # In both cases, we have to default to `cp -pR'.
17338    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17339      as_ln_s='cp -pR'
17340  elif ln conf$$.file conf$$ 2>/dev/null; then
17341    as_ln_s=ln
17342  else
17343    as_ln_s='cp -pR'
17344  fi
17345else
17346  as_ln_s='cp -pR'
17347fi
17348rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17349rmdir conf$$.dir 2>/dev/null
17350
17351
17352# as_fn_mkdir_p
17353# -------------
17354# Create "$as_dir" as a directory, including parents if necessary.
17355as_fn_mkdir_p ()
17356{
17357
17358  case $as_dir in #(
17359  -*) as_dir=./$as_dir;;
17360  esac
17361  test -d "$as_dir" || eval $as_mkdir_p || {
17362    as_dirs=
17363    while :; do
17364      case $as_dir in #(
17365      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17366      *) as_qdir=$as_dir;;
17367      esac
17368      as_dirs="'$as_qdir' $as_dirs"
17369      as_dir=`$as_dirname -- "$as_dir" ||
17370$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17371	 X"$as_dir" : 'X\(//\)[^/]' \| \
17372	 X"$as_dir" : 'X\(//\)$' \| \
17373	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17374$as_echo X"$as_dir" |
17375    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17376	    s//\1/
17377	    q
17378	  }
17379	  /^X\(\/\/\)[^/].*/{
17380	    s//\1/
17381	    q
17382	  }
17383	  /^X\(\/\/\)$/{
17384	    s//\1/
17385	    q
17386	  }
17387	  /^X\(\/\).*/{
17388	    s//\1/
17389	    q
17390	  }
17391	  s/.*/./; q'`
17392      test -d "$as_dir" && break
17393    done
17394    test -z "$as_dirs" || eval "mkdir $as_dirs"
17395  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17396
17397
17398} # as_fn_mkdir_p
17399if mkdir -p . 2>/dev/null; then
17400  as_mkdir_p='mkdir -p "$as_dir"'
17401else
17402  test -d ./-p && rmdir ./-p
17403  as_mkdir_p=false
17404fi
17405
17406
17407# as_fn_executable_p FILE
17408# -----------------------
17409# Test if FILE is an executable regular file.
17410as_fn_executable_p ()
17411{
17412  test -f "$1" && test -x "$1"
17413} # as_fn_executable_p
17414as_test_x='test -x'
17415as_executable_p=as_fn_executable_p
17416
17417# Sed expression to map a string onto a valid CPP name.
17418as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17419
17420# Sed expression to map a string onto a valid variable name.
17421as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17422
17423
17424exec 6>&1
17425## ----------------------------------- ##
17426## Main body of $CONFIG_STATUS script. ##
17427## ----------------------------------- ##
17428_ASEOF
17429test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17430
17431cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17432# Save the log message, to keep $0 and so on meaningful, and to
17433# report actual input values of CONFIG_FILES etc. instead of their
17434# values after options handling.
17435ac_log="
17436This file was extended by cegobridge $as_me 1.6.1, which was
17437generated by GNU Autoconf 2.69.  Invocation command line was
17438
17439  CONFIG_FILES    = $CONFIG_FILES
17440  CONFIG_HEADERS  = $CONFIG_HEADERS
17441  CONFIG_LINKS    = $CONFIG_LINKS
17442  CONFIG_COMMANDS = $CONFIG_COMMANDS
17443  $ $0 $@
17444
17445on `(hostname || uname -n) 2>/dev/null | sed 1q`
17446"
17447
17448_ACEOF
17449
17450case $ac_config_files in *"
17451"*) set x $ac_config_files; shift; ac_config_files=$*;;
17452esac
17453
17454case $ac_config_headers in *"
17455"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17456esac
17457
17458
17459cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17460# Files that config.status was made for.
17461config_files="$ac_config_files"
17462config_headers="$ac_config_headers"
17463config_commands="$ac_config_commands"
17464
17465_ACEOF
17466
17467cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17468ac_cs_usage="\
17469\`$as_me' instantiates files and other configuration actions
17470from templates according to the current configuration.  Unless the files
17471and actions are specified as TAGs, all are instantiated by default.
17472
17473Usage: $0 [OPTION]... [TAG]...
17474
17475  -h, --help       print this help, then exit
17476  -V, --version    print version number and configuration settings, then exit
17477      --config     print configuration, then exit
17478  -q, --quiet, --silent
17479                   do not print progress messages
17480  -d, --debug      don't remove temporary files
17481      --recheck    update $as_me by reconfiguring in the same conditions
17482      --file=FILE[:TEMPLATE]
17483                   instantiate the configuration file FILE
17484      --header=FILE[:TEMPLATE]
17485                   instantiate the configuration header FILE
17486
17487Configuration files:
17488$config_files
17489
17490Configuration headers:
17491$config_headers
17492
17493Configuration commands:
17494$config_commands
17495
17496Report bugs to <lemke@lemke-it.com>."
17497
17498_ACEOF
17499cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17500ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17501ac_cs_version="\\
17502cegobridge config.status 1.6.1
17503configured by $0, generated by GNU Autoconf 2.69,
17504  with options \\"\$ac_cs_config\\"
17505
17506Copyright (C) 2012 Free Software Foundation, Inc.
17507This config.status script is free software; the Free Software Foundation
17508gives unlimited permission to copy, distribute and modify it."
17509
17510ac_pwd='$ac_pwd'
17511srcdir='$srcdir'
17512INSTALL='$INSTALL'
17513MKDIR_P='$MKDIR_P'
17514AWK='$AWK'
17515test -n "\$AWK" || AWK=awk
17516_ACEOF
17517
17518cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17519# The default lists apply if the user does not specify any file.
17520ac_need_defaults=:
17521while test $# != 0
17522do
17523  case $1 in
17524  --*=?*)
17525    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17526    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17527    ac_shift=:
17528    ;;
17529  --*=)
17530    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17531    ac_optarg=
17532    ac_shift=:
17533    ;;
17534  *)
17535    ac_option=$1
17536    ac_optarg=$2
17537    ac_shift=shift
17538    ;;
17539  esac
17540
17541  case $ac_option in
17542  # Handling of the options.
17543  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17544    ac_cs_recheck=: ;;
17545  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17546    $as_echo "$ac_cs_version"; exit ;;
17547  --config | --confi | --conf | --con | --co | --c )
17548    $as_echo "$ac_cs_config"; exit ;;
17549  --debug | --debu | --deb | --de | --d | -d )
17550    debug=: ;;
17551  --file | --fil | --fi | --f )
17552    $ac_shift
17553    case $ac_optarg in
17554    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17555    '') as_fn_error $? "missing file argument" ;;
17556    esac
17557    as_fn_append CONFIG_FILES " '$ac_optarg'"
17558    ac_need_defaults=false;;
17559  --header | --heade | --head | --hea )
17560    $ac_shift
17561    case $ac_optarg in
17562    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17563    esac
17564    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17565    ac_need_defaults=false;;
17566  --he | --h)
17567    # Conflict between --help and --header
17568    as_fn_error $? "ambiguous option: \`$1'
17569Try \`$0 --help' for more information.";;
17570  --help | --hel | -h )
17571    $as_echo "$ac_cs_usage"; exit ;;
17572  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17573  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17574    ac_cs_silent=: ;;
17575
17576  # This is an error.
17577  -*) as_fn_error $? "unrecognized option: \`$1'
17578Try \`$0 --help' for more information." ;;
17579
17580  *) as_fn_append ac_config_targets " $1"
17581     ac_need_defaults=false ;;
17582
17583  esac
17584  shift
17585done
17586
17587ac_configure_extra_args=
17588
17589if $ac_cs_silent; then
17590  exec 6>/dev/null
17591  ac_configure_extra_args="$ac_configure_extra_args --silent"
17592fi
17593
17594_ACEOF
17595cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17596if \$ac_cs_recheck; then
17597  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17598  shift
17599  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17600  CONFIG_SHELL='$SHELL'
17601  export CONFIG_SHELL
17602  exec "\$@"
17603fi
17604
17605_ACEOF
17606cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17607exec 5>>config.log
17608{
17609  echo
17610  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17611## Running $as_me. ##
17612_ASBOX
17613  $as_echo "$ac_log"
17614} >&5
17615
17616_ACEOF
17617cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17618#
17619# INIT-COMMANDS
17620#
17621AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17622
17623
17624# The HP-UX ksh and POSIX shell print the target directory to stdout
17625# if CDPATH is set.
17626(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17627
17628sed_quote_subst='$sed_quote_subst'
17629double_quote_subst='$double_quote_subst'
17630delay_variable_subst='$delay_variable_subst'
17631macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17632macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17633enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17634enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17635pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17636enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17637shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17638SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17639ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17640PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17641host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17642host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17643host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17644build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17645build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17646build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17647SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17648Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17649GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17650EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17651FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17652LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17653NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17654LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17655max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17656ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17657exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17658lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17659lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17660lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17661lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17662lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17663reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17664reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17665OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17666deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17667file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17668file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17669want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17670DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17671sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17672AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17673AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17674archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17675STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17676RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17677old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17678old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17679old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17680lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17681CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17682CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17683compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17684GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17685lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17686lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17687lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17688lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17689lt_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"`'
17690lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17691nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17692lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17693lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17694objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17695MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17696lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17697lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17698lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17699lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17700lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17701need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17702MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17703DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17704NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17705LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17706OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17707OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17708libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17709shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17710extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17711archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17712enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17713export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17714whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17715compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17716old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17717old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17718archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17719archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17720module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17721module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17722with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17723allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17724no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17725hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17726hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17727hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17728hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17729hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17730hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17731hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17732inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17733link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17734always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17735export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17736exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17737include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17738prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17739postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17740file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17741variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17742need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17743need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17744version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17745runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17746shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17747shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17748libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17749library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17750soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17751install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17752postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17753postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17754finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17755finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17756hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17757sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17758configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17759configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17760hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17761enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17762enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17763enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17764old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17765striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17766compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17767predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17768postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17769predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17770postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17771compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17772LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17773reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17774reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17775old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17776compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17777GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17778lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17779lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17780lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17781lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17782lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17783archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17784enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17785export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17786whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17787compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17788old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17789old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17790archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17791archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17792module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17793module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17794with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17795allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17796no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17797hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17798hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17799hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17800hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17801hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17802hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17803hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17804inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17805link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17806always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17807export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17808exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17809include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17810prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17811postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17812file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17813hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17814compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17815predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17816postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17817predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17818postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17819compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17820
17821LTCC='$LTCC'
17822LTCFLAGS='$LTCFLAGS'
17823compiler='$compiler_DEFAULT'
17824
17825# A function that is used when there is no print builtin or printf.
17826func_fallback_echo ()
17827{
17828  eval 'cat <<_LTECHO_EOF
17829\$1
17830_LTECHO_EOF'
17831}
17832
17833# Quote evaled strings.
17834for var in SHELL \
17835ECHO \
17836PATH_SEPARATOR \
17837SED \
17838GREP \
17839EGREP \
17840FGREP \
17841LD \
17842NM \
17843LN_S \
17844lt_SP2NL \
17845lt_NL2SP \
17846reload_flag \
17847OBJDUMP \
17848deplibs_check_method \
17849file_magic_cmd \
17850file_magic_glob \
17851want_nocaseglob \
17852DLLTOOL \
17853sharedlib_from_linklib_cmd \
17854AR \
17855AR_FLAGS \
17856archiver_list_spec \
17857STRIP \
17858RANLIB \
17859CC \
17860CFLAGS \
17861compiler \
17862lt_cv_sys_global_symbol_pipe \
17863lt_cv_sys_global_symbol_to_cdecl \
17864lt_cv_sys_global_symbol_to_import \
17865lt_cv_sys_global_symbol_to_c_name_address \
17866lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17867lt_cv_nm_interface \
17868nm_file_list_spec \
17869lt_cv_truncate_bin \
17870lt_prog_compiler_no_builtin_flag \
17871lt_prog_compiler_pic \
17872lt_prog_compiler_wl \
17873lt_prog_compiler_static \
17874lt_cv_prog_compiler_c_o \
17875need_locks \
17876MANIFEST_TOOL \
17877DSYMUTIL \
17878NMEDIT \
17879LIPO \
17880OTOOL \
17881OTOOL64 \
17882shrext_cmds \
17883export_dynamic_flag_spec \
17884whole_archive_flag_spec \
17885compiler_needs_object \
17886with_gnu_ld \
17887allow_undefined_flag \
17888no_undefined_flag \
17889hardcode_libdir_flag_spec \
17890hardcode_libdir_separator \
17891exclude_expsyms \
17892include_expsyms \
17893file_list_spec \
17894variables_saved_for_relink \
17895libname_spec \
17896library_names_spec \
17897soname_spec \
17898install_override_mode \
17899finish_eval \
17900old_striplib \
17901striplib \
17902compiler_lib_search_dirs \
17903predep_objects \
17904postdep_objects \
17905predeps \
17906postdeps \
17907compiler_lib_search_path \
17908LD_CXX \
17909reload_flag_CXX \
17910compiler_CXX \
17911lt_prog_compiler_no_builtin_flag_CXX \
17912lt_prog_compiler_pic_CXX \
17913lt_prog_compiler_wl_CXX \
17914lt_prog_compiler_static_CXX \
17915lt_cv_prog_compiler_c_o_CXX \
17916export_dynamic_flag_spec_CXX \
17917whole_archive_flag_spec_CXX \
17918compiler_needs_object_CXX \
17919with_gnu_ld_CXX \
17920allow_undefined_flag_CXX \
17921no_undefined_flag_CXX \
17922hardcode_libdir_flag_spec_CXX \
17923hardcode_libdir_separator_CXX \
17924exclude_expsyms_CXX \
17925include_expsyms_CXX \
17926file_list_spec_CXX \
17927compiler_lib_search_dirs_CXX \
17928predep_objects_CXX \
17929postdep_objects_CXX \
17930predeps_CXX \
17931postdeps_CXX \
17932compiler_lib_search_path_CXX; do
17933    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17934    *[\\\\\\\`\\"\\\$]*)
17935      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17936      ;;
17937    *)
17938      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17939      ;;
17940    esac
17941done
17942
17943# Double-quote double-evaled strings.
17944for var in reload_cmds \
17945old_postinstall_cmds \
17946old_postuninstall_cmds \
17947old_archive_cmds \
17948extract_expsyms_cmds \
17949old_archive_from_new_cmds \
17950old_archive_from_expsyms_cmds \
17951archive_cmds \
17952archive_expsym_cmds \
17953module_cmds \
17954module_expsym_cmds \
17955export_symbols_cmds \
17956prelink_cmds \
17957postlink_cmds \
17958postinstall_cmds \
17959postuninstall_cmds \
17960finish_cmds \
17961sys_lib_search_path_spec \
17962configure_time_dlsearch_path \
17963configure_time_lt_sys_library_path \
17964reload_cmds_CXX \
17965old_archive_cmds_CXX \
17966old_archive_from_new_cmds_CXX \
17967old_archive_from_expsyms_cmds_CXX \
17968archive_cmds_CXX \
17969archive_expsym_cmds_CXX \
17970module_cmds_CXX \
17971module_expsym_cmds_CXX \
17972export_symbols_cmds_CXX \
17973prelink_cmds_CXX \
17974postlink_cmds_CXX; do
17975    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17976    *[\\\\\\\`\\"\\\$]*)
17977      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17978      ;;
17979    *)
17980      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17981      ;;
17982    esac
17983done
17984
17985ac_aux_dir='$ac_aux_dir'
17986
17987# See if we are running on zsh, and set the options that allow our
17988# commands through without removal of \ escapes INIT.
17989if test -n "\${ZSH_VERSION+set}"; then
17990   setopt NO_GLOB_SUBST
17991fi
17992
17993
17994    PACKAGE='$PACKAGE'
17995    VERSION='$VERSION'
17996    RM='$RM'
17997    ofile='$ofile'
17998
17999
18000
18001
18002
18003
18004_ACEOF
18005
18006cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18007
18008# Handling of arguments.
18009for ac_config_target in $ac_config_targets
18010do
18011  case $ac_config_target in
18012    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18013    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18014    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18015    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18016    "samples/Makefile") CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
18017    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18018
18019  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18020  esac
18021done
18022
18023
18024# If the user did not use the arguments to specify the items to instantiate,
18025# then the envvar interface is used.  Set only those that are not.
18026# We use the long form for the default assignment because of an extremely
18027# bizarre bug on SunOS 4.1.3.
18028if $ac_need_defaults; then
18029  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18030  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18031  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18032fi
18033
18034# Have a temporary directory for convenience.  Make it in the build tree
18035# simply because there is no reason against having it here, and in addition,
18036# creating and moving files from /tmp can sometimes cause problems.
18037# Hook for its removal unless debugging.
18038# Note that there is a small window in which the directory will not be cleaned:
18039# after its creation but before its name has been assigned to `$tmp'.
18040$debug ||
18041{
18042  tmp= ac_tmp=
18043  trap 'exit_status=$?
18044  : "${ac_tmp:=$tmp}"
18045  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18046' 0
18047  trap 'as_fn_exit 1' 1 2 13 15
18048}
18049# Create a (secure) tmp directory for tmp files.
18050
18051{
18052  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18053  test -d "$tmp"
18054}  ||
18055{
18056  tmp=./conf$$-$RANDOM
18057  (umask 077 && mkdir "$tmp")
18058} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18059ac_tmp=$tmp
18060
18061# Set up the scripts for CONFIG_FILES section.
18062# No need to generate them if there are no CONFIG_FILES.
18063# This happens for instance with `./config.status config.h'.
18064if test -n "$CONFIG_FILES"; then
18065
18066
18067ac_cr=`echo X | tr X '\015'`
18068# On cygwin, bash can eat \r inside `` if the user requested igncr.
18069# But we know of no other shell where ac_cr would be empty at this
18070# point, so we can use a bashism as a fallback.
18071if test "x$ac_cr" = x; then
18072  eval ac_cr=\$\'\\r\'
18073fi
18074ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18075if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18076  ac_cs_awk_cr='\\r'
18077else
18078  ac_cs_awk_cr=$ac_cr
18079fi
18080
18081echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18082_ACEOF
18083
18084
18085{
18086  echo "cat >conf$$subs.awk <<_ACEOF" &&
18087  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18088  echo "_ACEOF"
18089} >conf$$subs.sh ||
18090  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18091ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18092ac_delim='%!_!# '
18093for ac_last_try in false false false false false :; do
18094  . ./conf$$subs.sh ||
18095    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18096
18097  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18098  if test $ac_delim_n = $ac_delim_num; then
18099    break
18100  elif $ac_last_try; then
18101    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18102  else
18103    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18104  fi
18105done
18106rm -f conf$$subs.sh
18107
18108cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18109cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18110_ACEOF
18111sed -n '
18112h
18113s/^/S["/; s/!.*/"]=/
18114p
18115g
18116s/^[^!]*!//
18117:repl
18118t repl
18119s/'"$ac_delim"'$//
18120t delim
18121:nl
18122h
18123s/\(.\{148\}\)..*/\1/
18124t more1
18125s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18126p
18127n
18128b repl
18129:more1
18130s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18131p
18132g
18133s/.\{148\}//
18134t nl
18135:delim
18136h
18137s/\(.\{148\}\)..*/\1/
18138t more2
18139s/["\\]/\\&/g; s/^/"/; s/$/"/
18140p
18141b
18142:more2
18143s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18144p
18145g
18146s/.\{148\}//
18147t delim
18148' <conf$$subs.awk | sed '
18149/^[^""]/{
18150  N
18151  s/\n//
18152}
18153' >>$CONFIG_STATUS || ac_write_fail=1
18154rm -f conf$$subs.awk
18155cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18156_ACAWK
18157cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18158  for (key in S) S_is_set[key] = 1
18159  FS = ""
18160
18161}
18162{
18163  line = $ 0
18164  nfields = split(line, field, "@")
18165  substed = 0
18166  len = length(field[1])
18167  for (i = 2; i < nfields; i++) {
18168    key = field[i]
18169    keylen = length(key)
18170    if (S_is_set[key]) {
18171      value = S[key]
18172      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18173      len += length(value) + length(field[++i])
18174      substed = 1
18175    } else
18176      len += 1 + keylen
18177  }
18178
18179  print line
18180}
18181
18182_ACAWK
18183_ACEOF
18184cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18185if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18186  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18187else
18188  cat
18189fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18190  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18191_ACEOF
18192
18193# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18194# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18195# trailing colons and then remove the whole line if VPATH becomes empty
18196# (actually we leave an empty line to preserve line numbers).
18197if test "x$srcdir" = x.; then
18198  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
18199h
18200s///
18201s/^/:/
18202s/[	 ]*$/:/
18203s/:\$(srcdir):/:/g
18204s/:\${srcdir}:/:/g
18205s/:@srcdir@:/:/g
18206s/^:*//
18207s/:*$//
18208x
18209s/\(=[	 ]*\).*/\1/
18210G
18211s/\n//
18212s/^[^=]*=[	 ]*$//
18213}'
18214fi
18215
18216cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18217fi # test -n "$CONFIG_FILES"
18218
18219# Set up the scripts for CONFIG_HEADERS section.
18220# No need to generate them if there are no CONFIG_HEADERS.
18221# This happens for instance with `./config.status Makefile'.
18222if test -n "$CONFIG_HEADERS"; then
18223cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18224BEGIN {
18225_ACEOF
18226
18227# Transform confdefs.h into an awk script `defines.awk', embedded as
18228# here-document in config.status, that substitutes the proper values into
18229# config.h.in to produce config.h.
18230
18231# Create a delimiter string that does not exist in confdefs.h, to ease
18232# handling of long lines.
18233ac_delim='%!_!# '
18234for ac_last_try in false false :; do
18235  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18236  if test -z "$ac_tt"; then
18237    break
18238  elif $ac_last_try; then
18239    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18240  else
18241    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18242  fi
18243done
18244
18245# For the awk script, D is an array of macro values keyed by name,
18246# likewise P contains macro parameters if any.  Preserve backslash
18247# newline sequences.
18248
18249ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18250sed -n '
18251s/.\{148\}/&'"$ac_delim"'/g
18252t rset
18253:rset
18254s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
18255t def
18256d
18257:def
18258s/\\$//
18259t bsnl
18260s/["\\]/\\&/g
18261s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18262D["\1"]=" \3"/p
18263s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
18264d
18265:bsnl
18266s/["\\]/\\&/g
18267s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18268D["\1"]=" \3\\\\\\n"\\/p
18269t cont
18270s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18271t cont
18272d
18273:cont
18274n
18275s/.\{148\}/&'"$ac_delim"'/g
18276t clear
18277:clear
18278s/\\$//
18279t bsnlc
18280s/["\\]/\\&/g; s/^/"/; s/$/"/p
18281d
18282:bsnlc
18283s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18284b cont
18285' <confdefs.h | sed '
18286s/'"$ac_delim"'/"\\\
18287"/g' >>$CONFIG_STATUS || ac_write_fail=1
18288
18289cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18290  for (key in D) D_is_set[key] = 1
18291  FS = ""
18292}
18293/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18294  line = \$ 0
18295  split(line, arg, " ")
18296  if (arg[1] == "#") {
18297    defundef = arg[2]
18298    mac1 = arg[3]
18299  } else {
18300    defundef = substr(arg[1], 2)
18301    mac1 = arg[2]
18302  }
18303  split(mac1, mac2, "(") #)
18304  macro = mac2[1]
18305  prefix = substr(line, 1, index(line, defundef) - 1)
18306  if (D_is_set[macro]) {
18307    # Preserve the white space surrounding the "#".
18308    print prefix "define", macro P[macro] D[macro]
18309    next
18310  } else {
18311    # Replace #undef with comments.  This is necessary, for example,
18312    # in the case of _POSIX_SOURCE, which is predefined and required
18313    # on some systems where configure will not decide to define it.
18314    if (defundef == "undef") {
18315      print "/*", prefix defundef, macro, "*/"
18316      next
18317    }
18318  }
18319}
18320{ print }
18321_ACAWK
18322_ACEOF
18323cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18324  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18325fi # test -n "$CONFIG_HEADERS"
18326
18327
18328eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18329shift
18330for ac_tag
18331do
18332  case $ac_tag in
18333  :[FHLC]) ac_mode=$ac_tag; continue;;
18334  esac
18335  case $ac_mode$ac_tag in
18336  :[FHL]*:*);;
18337  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18338  :[FH]-) ac_tag=-:-;;
18339  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18340  esac
18341  ac_save_IFS=$IFS
18342  IFS=:
18343  set x $ac_tag
18344  IFS=$ac_save_IFS
18345  shift
18346  ac_file=$1
18347  shift
18348
18349  case $ac_mode in
18350  :L) ac_source=$1;;
18351  :[FH])
18352    ac_file_inputs=
18353    for ac_f
18354    do
18355      case $ac_f in
18356      -) ac_f="$ac_tmp/stdin";;
18357      *) # Look for the file first in the build tree, then in the source tree
18358	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
18359	 # because $ac_f cannot contain `:'.
18360	 test -f "$ac_f" ||
18361	   case $ac_f in
18362	   [\\/$]*) false;;
18363	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18364	   esac ||
18365	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18366      esac
18367      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18368      as_fn_append ac_file_inputs " '$ac_f'"
18369    done
18370
18371    # Let's still pretend it is `configure' which instantiates (i.e., don't
18372    # use $as_me), people would be surprised to read:
18373    #    /* config.h.  Generated by config.status.  */
18374    configure_input='Generated from '`
18375	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18376	`' by configure.'
18377    if test x"$ac_file" != x-; then
18378      configure_input="$ac_file.  $configure_input"
18379      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18380$as_echo "$as_me: creating $ac_file" >&6;}
18381    fi
18382    # Neutralize special characters interpreted by sed in replacement strings.
18383    case $configure_input in #(
18384    *\&* | *\|* | *\\* )
18385       ac_sed_conf_input=`$as_echo "$configure_input" |
18386       sed 's/[\\\\&|]/\\\\&/g'`;; #(
18387    *) ac_sed_conf_input=$configure_input;;
18388    esac
18389
18390    case $ac_tag in
18391    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18392      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18393    esac
18394    ;;
18395  esac
18396
18397  ac_dir=`$as_dirname -- "$ac_file" ||
18398$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18399	 X"$ac_file" : 'X\(//\)[^/]' \| \
18400	 X"$ac_file" : 'X\(//\)$' \| \
18401	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18402$as_echo X"$ac_file" |
18403    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18404	    s//\1/
18405	    q
18406	  }
18407	  /^X\(\/\/\)[^/].*/{
18408	    s//\1/
18409	    q
18410	  }
18411	  /^X\(\/\/\)$/{
18412	    s//\1/
18413	    q
18414	  }
18415	  /^X\(\/\).*/{
18416	    s//\1/
18417	    q
18418	  }
18419	  s/.*/./; q'`
18420  as_dir="$ac_dir"; as_fn_mkdir_p
18421  ac_builddir=.
18422
18423case "$ac_dir" in
18424.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18425*)
18426  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18427  # A ".." for each directory in $ac_dir_suffix.
18428  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18429  case $ac_top_builddir_sub in
18430  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18431  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18432  esac ;;
18433esac
18434ac_abs_top_builddir=$ac_pwd
18435ac_abs_builddir=$ac_pwd$ac_dir_suffix
18436# for backward compatibility:
18437ac_top_builddir=$ac_top_build_prefix
18438
18439case $srcdir in
18440  .)  # We are building in place.
18441    ac_srcdir=.
18442    ac_top_srcdir=$ac_top_builddir_sub
18443    ac_abs_top_srcdir=$ac_pwd ;;
18444  [\\/]* | ?:[\\/]* )  # Absolute name.
18445    ac_srcdir=$srcdir$ac_dir_suffix;
18446    ac_top_srcdir=$srcdir
18447    ac_abs_top_srcdir=$srcdir ;;
18448  *) # Relative name.
18449    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18450    ac_top_srcdir=$ac_top_build_prefix$srcdir
18451    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18452esac
18453ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18454
18455
18456  case $ac_mode in
18457  :F)
18458  #
18459  # CONFIG_FILE
18460  #
18461
18462  case $INSTALL in
18463  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18464  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18465  esac
18466  ac_MKDIR_P=$MKDIR_P
18467  case $MKDIR_P in
18468  [\\/$]* | ?:[\\/]* ) ;;
18469  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18470  esac
18471_ACEOF
18472
18473cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18474# If the template does not know about datarootdir, expand it.
18475# FIXME: This hack should be removed a few years after 2.60.
18476ac_datarootdir_hack=; ac_datarootdir_seen=
18477ac_sed_dataroot='
18478/datarootdir/ {
18479  p
18480  q
18481}
18482/@datadir@/p
18483/@docdir@/p
18484/@infodir@/p
18485/@localedir@/p
18486/@mandir@/p'
18487case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18488*datarootdir*) ac_datarootdir_seen=yes;;
18489*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18490  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18491$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18492_ACEOF
18493cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18494  ac_datarootdir_hack='
18495  s&@datadir@&$datadir&g
18496  s&@docdir@&$docdir&g
18497  s&@infodir@&$infodir&g
18498  s&@localedir@&$localedir&g
18499  s&@mandir@&$mandir&g
18500  s&\\\${datarootdir}&$datarootdir&g' ;;
18501esac
18502_ACEOF
18503
18504# Neutralize VPATH when `$srcdir' = `.'.
18505# Shell code in configure.ac might set extrasub.
18506# FIXME: do we really want to maintain this feature?
18507cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18508ac_sed_extra="$ac_vpsub
18509$extrasub
18510_ACEOF
18511cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18512:t
18513/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18514s|@configure_input@|$ac_sed_conf_input|;t t
18515s&@top_builddir@&$ac_top_builddir_sub&;t t
18516s&@top_build_prefix@&$ac_top_build_prefix&;t t
18517s&@srcdir@&$ac_srcdir&;t t
18518s&@abs_srcdir@&$ac_abs_srcdir&;t t
18519s&@top_srcdir@&$ac_top_srcdir&;t t
18520s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18521s&@builddir@&$ac_builddir&;t t
18522s&@abs_builddir@&$ac_abs_builddir&;t t
18523s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18524s&@INSTALL@&$ac_INSTALL&;t t
18525s&@MKDIR_P@&$ac_MKDIR_P&;t t
18526$ac_datarootdir_hack
18527"
18528eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18529  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18530
18531test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18532  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18533  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
18534      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18535  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18536which seems to be undefined.  Please make sure it is defined" >&5
18537$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18538which seems to be undefined.  Please make sure it is defined" >&2;}
18539
18540  rm -f "$ac_tmp/stdin"
18541  case $ac_file in
18542  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18543  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18544  esac \
18545  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18546 ;;
18547  :H)
18548  #
18549  # CONFIG_HEADER
18550  #
18551  if test x"$ac_file" != x-; then
18552    {
18553      $as_echo "/* $configure_input  */" \
18554      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18555    } >"$ac_tmp/config.h" \
18556      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18557    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18558      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18559$as_echo "$as_me: $ac_file is unchanged" >&6;}
18560    else
18561      rm -f "$ac_file"
18562      mv "$ac_tmp/config.h" "$ac_file" \
18563	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18564    fi
18565  else
18566    $as_echo "/* $configure_input  */" \
18567      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18568      || as_fn_error $? "could not create -" "$LINENO" 5
18569  fi
18570# Compute "$ac_file"'s index in $config_headers.
18571_am_arg="$ac_file"
18572_am_stamp_count=1
18573for _am_header in $config_headers :; do
18574  case $_am_header in
18575    $_am_arg | $_am_arg:* )
18576      break ;;
18577    * )
18578      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18579  esac
18580done
18581echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18582$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18583	 X"$_am_arg" : 'X\(//\)[^/]' \| \
18584	 X"$_am_arg" : 'X\(//\)$' \| \
18585	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18586$as_echo X"$_am_arg" |
18587    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18588	    s//\1/
18589	    q
18590	  }
18591	  /^X\(\/\/\)[^/].*/{
18592	    s//\1/
18593	    q
18594	  }
18595	  /^X\(\/\/\)$/{
18596	    s//\1/
18597	    q
18598	  }
18599	  /^X\(\/\).*/{
18600	    s//\1/
18601	    q
18602	  }
18603	  s/.*/./; q'`/stamp-h$_am_stamp_count
18604 ;;
18605
18606  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18607$as_echo "$as_me: executing $ac_file commands" >&6;}
18608 ;;
18609  esac
18610
18611
18612  case $ac_file$ac_mode in
18613    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18614  # Older Autoconf quotes --file arguments for eval, but not when files
18615  # are listed without --file.  Let's play safe and only enable the eval
18616  # if we detect the quoting.
18617  case $CONFIG_FILES in
18618  *\'*) eval set x "$CONFIG_FILES" ;;
18619  *)   set x $CONFIG_FILES ;;
18620  esac
18621  shift
18622  for mf
18623  do
18624    # Strip MF so we end up with the name of the file.
18625    mf=`echo "$mf" | sed -e 's/:.*$//'`
18626    # Check whether this is an Automake generated Makefile or not.
18627    # We used to match only the files named 'Makefile.in', but
18628    # some people rename them; so instead we look at the file content.
18629    # Grep'ing the first line is not enough: some people post-process
18630    # each Makefile.in and add a new line on top of each file to say so.
18631    # Grep'ing the whole file is not good either: AIX grep has a line
18632    # limit of 2048, but all sed's we know have understand at least 4000.
18633    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18634      dirpart=`$as_dirname -- "$mf" ||
18635$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18636	 X"$mf" : 'X\(//\)[^/]' \| \
18637	 X"$mf" : 'X\(//\)$' \| \
18638	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18639$as_echo X"$mf" |
18640    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18641	    s//\1/
18642	    q
18643	  }
18644	  /^X\(\/\/\)[^/].*/{
18645	    s//\1/
18646	    q
18647	  }
18648	  /^X\(\/\/\)$/{
18649	    s//\1/
18650	    q
18651	  }
18652	  /^X\(\/\).*/{
18653	    s//\1/
18654	    q
18655	  }
18656	  s/.*/./; q'`
18657    else
18658      continue
18659    fi
18660    # Extract the definition of DEPDIR, am__include, and am__quote
18661    # from the Makefile without running 'make'.
18662    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18663    test -z "$DEPDIR" && continue
18664    am__include=`sed -n 's/^am__include = //p' < "$mf"`
18665    test -z "am__include" && continue
18666    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18667    # Find all dependency output files, they are included files with
18668    # $(DEPDIR) in their names.  We invoke sed twice because it is the
18669    # simplest approach to changing $(DEPDIR) to its actual value in the
18670    # expansion.
18671    for file in `sed -n "
18672      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18673	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18674      # Make sure the directory exists.
18675      test -f "$dirpart/$file" && continue
18676      fdir=`$as_dirname -- "$file" ||
18677$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18678	 X"$file" : 'X\(//\)[^/]' \| \
18679	 X"$file" : 'X\(//\)$' \| \
18680	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18681$as_echo X"$file" |
18682    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18683	    s//\1/
18684	    q
18685	  }
18686	  /^X\(\/\/\)[^/].*/{
18687	    s//\1/
18688	    q
18689	  }
18690	  /^X\(\/\/\)$/{
18691	    s//\1/
18692	    q
18693	  }
18694	  /^X\(\/\).*/{
18695	    s//\1/
18696	    q
18697	  }
18698	  s/.*/./; q'`
18699      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18700      # echo "creating $dirpart/$file"
18701      echo '# dummy' > "$dirpart/$file"
18702    done
18703  done
18704}
18705 ;;
18706    "libtool":C)
18707
18708    # See if we are running on zsh, and set the options that allow our
18709    # commands through without removal of \ escapes.
18710    if test -n "${ZSH_VERSION+set}"; then
18711      setopt NO_GLOB_SUBST
18712    fi
18713
18714    cfgfile=${ofile}T
18715    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18716    $RM "$cfgfile"
18717
18718    cat <<_LT_EOF >> "$cfgfile"
18719#! $SHELL
18720# Generated automatically by $as_me ($PACKAGE) $VERSION
18721# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18722# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18723
18724# Provide generalized library-building support services.
18725# Written by Gordon Matzigkeit, 1996
18726
18727# Copyright (C) 2014 Free Software Foundation, Inc.
18728# This is free software; see the source for copying conditions.  There is NO
18729# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18730
18731# GNU Libtool is free software; you can redistribute it and/or modify
18732# it under the terms of the GNU General Public License as published by
18733# the Free Software Foundation; either version 2 of of the License, or
18734# (at your option) any later version.
18735#
18736# As a special exception to the GNU General Public License, if you
18737# distribute this file as part of a program or library that is built
18738# using GNU Libtool, you may include this file under the  same
18739# distribution terms that you use for the rest of that program.
18740#
18741# GNU Libtool is distributed in the hope that it will be useful, but
18742# WITHOUT ANY WARRANTY; without even the implied warranty of
18743# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18744# GNU General Public License for more details.
18745#
18746# You should have received a copy of the GNU General Public License
18747# along with this program.  If not, see <http://www.gnu.org/licenses/>.
18748
18749
18750# The names of the tagged configurations supported by this script.
18751available_tags='CXX '
18752
18753# Configured defaults for sys_lib_dlsearch_path munging.
18754: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18755
18756# ### BEGIN LIBTOOL CONFIG
18757
18758# Which release of libtool.m4 was used?
18759macro_version=$macro_version
18760macro_revision=$macro_revision
18761
18762# Whether or not to build shared libraries.
18763build_libtool_libs=$enable_shared
18764
18765# Whether or not to build static libraries.
18766build_old_libs=$enable_static
18767
18768# What type of objects to build.
18769pic_mode=$pic_mode
18770
18771# Whether or not to optimize for fast installation.
18772fast_install=$enable_fast_install
18773
18774# Shared archive member basename,for filename based shared library versioning on AIX.
18775shared_archive_member_spec=$shared_archive_member_spec
18776
18777# Shell to use when invoking shell scripts.
18778SHELL=$lt_SHELL
18779
18780# An echo program that protects backslashes.
18781ECHO=$lt_ECHO
18782
18783# The PATH separator for the build system.
18784PATH_SEPARATOR=$lt_PATH_SEPARATOR
18785
18786# The host system.
18787host_alias=$host_alias
18788host=$host
18789host_os=$host_os
18790
18791# The build system.
18792build_alias=$build_alias
18793build=$build
18794build_os=$build_os
18795
18796# A sed program that does not truncate output.
18797SED=$lt_SED
18798
18799# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18800Xsed="\$SED -e 1s/^X//"
18801
18802# A grep program that handles long lines.
18803GREP=$lt_GREP
18804
18805# An ERE matcher.
18806EGREP=$lt_EGREP
18807
18808# A literal string matcher.
18809FGREP=$lt_FGREP
18810
18811# A BSD- or MS-compatible name lister.
18812NM=$lt_NM
18813
18814# Whether we need soft or hard links.
18815LN_S=$lt_LN_S
18816
18817# What is the maximum length of a command?
18818max_cmd_len=$max_cmd_len
18819
18820# Object file suffix (normally "o").
18821objext=$ac_objext
18822
18823# Executable file suffix (normally "").
18824exeext=$exeext
18825
18826# whether the shell understands "unset".
18827lt_unset=$lt_unset
18828
18829# turn spaces into newlines.
18830SP2NL=$lt_lt_SP2NL
18831
18832# turn newlines into spaces.
18833NL2SP=$lt_lt_NL2SP
18834
18835# convert \$build file names to \$host format.
18836to_host_file_cmd=$lt_cv_to_host_file_cmd
18837
18838# convert \$build files to toolchain format.
18839to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18840
18841# An object symbol dumper.
18842OBJDUMP=$lt_OBJDUMP
18843
18844# Method to check whether dependent libraries are shared objects.
18845deplibs_check_method=$lt_deplibs_check_method
18846
18847# Command to use when deplibs_check_method = "file_magic".
18848file_magic_cmd=$lt_file_magic_cmd
18849
18850# How to find potential files when deplibs_check_method = "file_magic".
18851file_magic_glob=$lt_file_magic_glob
18852
18853# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18854want_nocaseglob=$lt_want_nocaseglob
18855
18856# DLL creation program.
18857DLLTOOL=$lt_DLLTOOL
18858
18859# Command to associate shared and link libraries.
18860sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18861
18862# The archiver.
18863AR=$lt_AR
18864
18865# Flags to create an archive.
18866AR_FLAGS=$lt_AR_FLAGS
18867
18868# How to feed a file listing to the archiver.
18869archiver_list_spec=$lt_archiver_list_spec
18870
18871# A symbol stripping program.
18872STRIP=$lt_STRIP
18873
18874# Commands used to install an old-style archive.
18875RANLIB=$lt_RANLIB
18876old_postinstall_cmds=$lt_old_postinstall_cmds
18877old_postuninstall_cmds=$lt_old_postuninstall_cmds
18878
18879# Whether to use a lock for old archive extraction.
18880lock_old_archive_extraction=$lock_old_archive_extraction
18881
18882# A C compiler.
18883LTCC=$lt_CC
18884
18885# LTCC compiler flags.
18886LTCFLAGS=$lt_CFLAGS
18887
18888# Take the output of nm and produce a listing of raw symbols and C names.
18889global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18890
18891# Transform the output of nm in a proper C declaration.
18892global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18893
18894# Transform the output of nm into a list of symbols to manually relocate.
18895global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18896
18897# Transform the output of nm in a C name address pair.
18898global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18899
18900# Transform the output of nm in a C name address pair when lib prefix is needed.
18901global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18902
18903# The name lister interface.
18904nm_interface=$lt_lt_cv_nm_interface
18905
18906# Specify filename containing input files for \$NM.
18907nm_file_list_spec=$lt_nm_file_list_spec
18908
18909# The root where to search for dependent libraries,and where our libraries should be installed.
18910lt_sysroot=$lt_sysroot
18911
18912# Command to truncate a binary pipe.
18913lt_truncate_bin=$lt_lt_cv_truncate_bin
18914
18915# The name of the directory that contains temporary libtool files.
18916objdir=$objdir
18917
18918# Used to examine libraries when file_magic_cmd begins with "file".
18919MAGIC_CMD=$MAGIC_CMD
18920
18921# Must we lock files when doing compilation?
18922need_locks=$lt_need_locks
18923
18924# Manifest tool.
18925MANIFEST_TOOL=$lt_MANIFEST_TOOL
18926
18927# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18928DSYMUTIL=$lt_DSYMUTIL
18929
18930# Tool to change global to local symbols on Mac OS X.
18931NMEDIT=$lt_NMEDIT
18932
18933# Tool to manipulate fat objects and archives on Mac OS X.
18934LIPO=$lt_LIPO
18935
18936# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18937OTOOL=$lt_OTOOL
18938
18939# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18940OTOOL64=$lt_OTOOL64
18941
18942# Old archive suffix (normally "a").
18943libext=$libext
18944
18945# Shared library suffix (normally ".so").
18946shrext_cmds=$lt_shrext_cmds
18947
18948# The commands to extract the exported symbol list from a shared archive.
18949extract_expsyms_cmds=$lt_extract_expsyms_cmds
18950
18951# Variables whose values should be saved in libtool wrapper scripts and
18952# restored at link time.
18953variables_saved_for_relink=$lt_variables_saved_for_relink
18954
18955# Do we need the "lib" prefix for modules?
18956need_lib_prefix=$need_lib_prefix
18957
18958# Do we need a version for libraries?
18959need_version=$need_version
18960
18961# Library versioning type.
18962version_type=$version_type
18963
18964# Shared library runtime path variable.
18965runpath_var=$runpath_var
18966
18967# Shared library path variable.
18968shlibpath_var=$shlibpath_var
18969
18970# Is shlibpath searched before the hard-coded library search path?
18971shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18972
18973# Format of library name prefix.
18974libname_spec=$lt_libname_spec
18975
18976# List of archive names.  First name is the real one, the rest are links.
18977# The last name is the one that the linker finds with -lNAME
18978library_names_spec=$lt_library_names_spec
18979
18980# The coded name of the library, if different from the real name.
18981soname_spec=$lt_soname_spec
18982
18983# Permission mode override for installation of shared libraries.
18984install_override_mode=$lt_install_override_mode
18985
18986# Command to use after installation of a shared archive.
18987postinstall_cmds=$lt_postinstall_cmds
18988
18989# Command to use after uninstallation of a shared archive.
18990postuninstall_cmds=$lt_postuninstall_cmds
18991
18992# Commands used to finish a libtool library installation in a directory.
18993finish_cmds=$lt_finish_cmds
18994
18995# As "finish_cmds", except a single script fragment to be evaled but
18996# not shown.
18997finish_eval=$lt_finish_eval
18998
18999# Whether we should hardcode library paths into libraries.
19000hardcode_into_libs=$hardcode_into_libs
19001
19002# Compile-time system search path for libraries.
19003sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19004
19005# Detected run-time system search path for libraries.
19006sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19007
19008# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19009configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19010
19011# Whether dlopen is supported.
19012dlopen_support=$enable_dlopen
19013
19014# Whether dlopen of programs is supported.
19015dlopen_self=$enable_dlopen_self
19016
19017# Whether dlopen of statically linked programs is supported.
19018dlopen_self_static=$enable_dlopen_self_static
19019
19020# Commands to strip libraries.
19021old_striplib=$lt_old_striplib
19022striplib=$lt_striplib
19023
19024
19025# The linker used to build libraries.
19026LD=$lt_LD
19027
19028# How to create reloadable object files.
19029reload_flag=$lt_reload_flag
19030reload_cmds=$lt_reload_cmds
19031
19032# Commands used to build an old-style archive.
19033old_archive_cmds=$lt_old_archive_cmds
19034
19035# A language specific compiler.
19036CC=$lt_compiler
19037
19038# Is the compiler the GNU compiler?
19039with_gcc=$GCC
19040
19041# Compiler flag to turn off builtin functions.
19042no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19043
19044# Additional compiler flags for building library objects.
19045pic_flag=$lt_lt_prog_compiler_pic
19046
19047# How to pass a linker flag through the compiler.
19048wl=$lt_lt_prog_compiler_wl
19049
19050# Compiler flag to prevent dynamic linking.
19051link_static_flag=$lt_lt_prog_compiler_static
19052
19053# Does compiler simultaneously support -c and -o options?
19054compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19055
19056# Whether or not to add -lc for building shared libraries.
19057build_libtool_need_lc=$archive_cmds_need_lc
19058
19059# Whether or not to disallow shared libs when runtime libs are static.
19060allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19061
19062# Compiler flag to allow reflexive dlopens.
19063export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19064
19065# Compiler flag to generate shared objects directly from archives.
19066whole_archive_flag_spec=$lt_whole_archive_flag_spec
19067
19068# Whether the compiler copes with passing no objects directly.
19069compiler_needs_object=$lt_compiler_needs_object
19070
19071# Create an old-style archive from a shared archive.
19072old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19073
19074# Create a temporary old-style archive to link instead of a shared archive.
19075old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19076
19077# Commands used to build a shared archive.
19078archive_cmds=$lt_archive_cmds
19079archive_expsym_cmds=$lt_archive_expsym_cmds
19080
19081# Commands used to build a loadable module if different from building
19082# a shared archive.
19083module_cmds=$lt_module_cmds
19084module_expsym_cmds=$lt_module_expsym_cmds
19085
19086# Whether we are building with GNU ld or not.
19087with_gnu_ld=$lt_with_gnu_ld
19088
19089# Flag that allows shared libraries with undefined symbols to be built.
19090allow_undefined_flag=$lt_allow_undefined_flag
19091
19092# Flag that enforces no undefined symbols.
19093no_undefined_flag=$lt_no_undefined_flag
19094
19095# Flag to hardcode \$libdir into a binary during linking.
19096# This must work even if \$libdir does not exist
19097hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19098
19099# Whether we need a single "-rpath" flag with a separated argument.
19100hardcode_libdir_separator=$lt_hardcode_libdir_separator
19101
19102# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19103# DIR into the resulting binary.
19104hardcode_direct=$hardcode_direct
19105
19106# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19107# DIR into the resulting binary and the resulting library dependency is
19108# "absolute",i.e impossible to change by setting \$shlibpath_var if the
19109# library is relocated.
19110hardcode_direct_absolute=$hardcode_direct_absolute
19111
19112# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19113# into the resulting binary.
19114hardcode_minus_L=$hardcode_minus_L
19115
19116# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19117# into the resulting binary.
19118hardcode_shlibpath_var=$hardcode_shlibpath_var
19119
19120# Set to "yes" if building a shared library automatically hardcodes DIR
19121# into the library and all subsequent libraries and executables linked
19122# against it.
19123hardcode_automatic=$hardcode_automatic
19124
19125# Set to yes if linker adds runtime paths of dependent libraries
19126# to runtime path list.
19127inherit_rpath=$inherit_rpath
19128
19129# Whether libtool must link a program against all its dependency libraries.
19130link_all_deplibs=$link_all_deplibs
19131
19132# Set to "yes" if exported symbols are required.
19133always_export_symbols=$always_export_symbols
19134
19135# The commands to list exported symbols.
19136export_symbols_cmds=$lt_export_symbols_cmds
19137
19138# Symbols that should not be listed in the preloaded symbols.
19139exclude_expsyms=$lt_exclude_expsyms
19140
19141# Symbols that must always be exported.
19142include_expsyms=$lt_include_expsyms
19143
19144# Commands necessary for linking programs (against libraries) with templates.
19145prelink_cmds=$lt_prelink_cmds
19146
19147# Commands necessary for finishing linking programs.
19148postlink_cmds=$lt_postlink_cmds
19149
19150# Specify filename containing input files.
19151file_list_spec=$lt_file_list_spec
19152
19153# How to hardcode a shared library path into an executable.
19154hardcode_action=$hardcode_action
19155
19156# The directories searched by this compiler when creating a shared library.
19157compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19158
19159# Dependencies to place before and after the objects being linked to
19160# create a shared library.
19161predep_objects=$lt_predep_objects
19162postdep_objects=$lt_postdep_objects
19163predeps=$lt_predeps
19164postdeps=$lt_postdeps
19165
19166# The library search path used internally by the compiler when linking
19167# a shared library.
19168compiler_lib_search_path=$lt_compiler_lib_search_path
19169
19170# ### END LIBTOOL CONFIG
19171
19172_LT_EOF
19173
19174    cat <<'_LT_EOF' >> "$cfgfile"
19175
19176# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19177
19178# func_munge_path_list VARIABLE PATH
19179# -----------------------------------
19180# VARIABLE is name of variable containing _space_ separated list of
19181# directories to be munged by the contents of PATH, which is string
19182# having a format:
19183# "DIR[:DIR]:"
19184#       string "DIR[ DIR]" will be prepended to VARIABLE
19185# ":DIR[:DIR]"
19186#       string "DIR[ DIR]" will be appended to VARIABLE
19187# "DIRP[:DIRP]::[DIRA:]DIRA"
19188#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19189#       "DIRA[ DIRA]" will be appended to VARIABLE
19190# "DIR[:DIR]"
19191#       VARIABLE will be replaced by "DIR[ DIR]"
19192func_munge_path_list ()
19193{
19194    case x$2 in
19195    x)
19196        ;;
19197    *:)
19198        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19199        ;;
19200    x:*)
19201        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19202        ;;
19203    *::*)
19204        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19205        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19206        ;;
19207    *)
19208        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19209        ;;
19210    esac
19211}
19212
19213
19214# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19215func_cc_basename ()
19216{
19217    for cc_temp in $*""; do
19218      case $cc_temp in
19219        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19220        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19221        \-*) ;;
19222        *) break;;
19223      esac
19224    done
19225    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19226}
19227
19228
19229# ### END FUNCTIONS SHARED WITH CONFIGURE
19230
19231_LT_EOF
19232
19233  case $host_os in
19234  aix3*)
19235    cat <<\_LT_EOF >> "$cfgfile"
19236# AIX sometimes has problems with the GCC collect2 program.  For some
19237# reason, if we set the COLLECT_NAMES environment variable, the problems
19238# vanish in a puff of smoke.
19239if test set != "${COLLECT_NAMES+set}"; then
19240  COLLECT_NAMES=
19241  export COLLECT_NAMES
19242fi
19243_LT_EOF
19244    ;;
19245  esac
19246
19247
19248ltmain=$ac_aux_dir/ltmain.sh
19249
19250
19251  # We use sed instead of cat because bash on DJGPP gets confused if
19252  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19253  # text mode, it properly converts lines to CR/LF.  This bash problem
19254  # is reportedly fixed, but why not run on old versions too?
19255  sed '$q' "$ltmain" >> "$cfgfile" \
19256     || (rm -f "$cfgfile"; exit 1)
19257
19258   mv -f "$cfgfile" "$ofile" ||
19259    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19260  chmod +x "$ofile"
19261
19262
19263    cat <<_LT_EOF >> "$ofile"
19264
19265# ### BEGIN LIBTOOL TAG CONFIG: CXX
19266
19267# The linker used to build libraries.
19268LD=$lt_LD_CXX
19269
19270# How to create reloadable object files.
19271reload_flag=$lt_reload_flag_CXX
19272reload_cmds=$lt_reload_cmds_CXX
19273
19274# Commands used to build an old-style archive.
19275old_archive_cmds=$lt_old_archive_cmds_CXX
19276
19277# A language specific compiler.
19278CC=$lt_compiler_CXX
19279
19280# Is the compiler the GNU compiler?
19281with_gcc=$GCC_CXX
19282
19283# Compiler flag to turn off builtin functions.
19284no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19285
19286# Additional compiler flags for building library objects.
19287pic_flag=$lt_lt_prog_compiler_pic_CXX
19288
19289# How to pass a linker flag through the compiler.
19290wl=$lt_lt_prog_compiler_wl_CXX
19291
19292# Compiler flag to prevent dynamic linking.
19293link_static_flag=$lt_lt_prog_compiler_static_CXX
19294
19295# Does compiler simultaneously support -c and -o options?
19296compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19297
19298# Whether or not to add -lc for building shared libraries.
19299build_libtool_need_lc=$archive_cmds_need_lc_CXX
19300
19301# Whether or not to disallow shared libs when runtime libs are static.
19302allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19303
19304# Compiler flag to allow reflexive dlopens.
19305export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19306
19307# Compiler flag to generate shared objects directly from archives.
19308whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19309
19310# Whether the compiler copes with passing no objects directly.
19311compiler_needs_object=$lt_compiler_needs_object_CXX
19312
19313# Create an old-style archive from a shared archive.
19314old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19315
19316# Create a temporary old-style archive to link instead of a shared archive.
19317old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19318
19319# Commands used to build a shared archive.
19320archive_cmds=$lt_archive_cmds_CXX
19321archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19322
19323# Commands used to build a loadable module if different from building
19324# a shared archive.
19325module_cmds=$lt_module_cmds_CXX
19326module_expsym_cmds=$lt_module_expsym_cmds_CXX
19327
19328# Whether we are building with GNU ld or not.
19329with_gnu_ld=$lt_with_gnu_ld_CXX
19330
19331# Flag that allows shared libraries with undefined symbols to be built.
19332allow_undefined_flag=$lt_allow_undefined_flag_CXX
19333
19334# Flag that enforces no undefined symbols.
19335no_undefined_flag=$lt_no_undefined_flag_CXX
19336
19337# Flag to hardcode \$libdir into a binary during linking.
19338# This must work even if \$libdir does not exist
19339hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19340
19341# Whether we need a single "-rpath" flag with a separated argument.
19342hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19343
19344# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19345# DIR into the resulting binary.
19346hardcode_direct=$hardcode_direct_CXX
19347
19348# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19349# DIR into the resulting binary and the resulting library dependency is
19350# "absolute",i.e impossible to change by setting \$shlibpath_var if the
19351# library is relocated.
19352hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19353
19354# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19355# into the resulting binary.
19356hardcode_minus_L=$hardcode_minus_L_CXX
19357
19358# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19359# into the resulting binary.
19360hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19361
19362# Set to "yes" if building a shared library automatically hardcodes DIR
19363# into the library and all subsequent libraries and executables linked
19364# against it.
19365hardcode_automatic=$hardcode_automatic_CXX
19366
19367# Set to yes if linker adds runtime paths of dependent libraries
19368# to runtime path list.
19369inherit_rpath=$inherit_rpath_CXX
19370
19371# Whether libtool must link a program against all its dependency libraries.
19372link_all_deplibs=$link_all_deplibs_CXX
19373
19374# Set to "yes" if exported symbols are required.
19375always_export_symbols=$always_export_symbols_CXX
19376
19377# The commands to list exported symbols.
19378export_symbols_cmds=$lt_export_symbols_cmds_CXX
19379
19380# Symbols that should not be listed in the preloaded symbols.
19381exclude_expsyms=$lt_exclude_expsyms_CXX
19382
19383# Symbols that must always be exported.
19384include_expsyms=$lt_include_expsyms_CXX
19385
19386# Commands necessary for linking programs (against libraries) with templates.
19387prelink_cmds=$lt_prelink_cmds_CXX
19388
19389# Commands necessary for finishing linking programs.
19390postlink_cmds=$lt_postlink_cmds_CXX
19391
19392# Specify filename containing input files.
19393file_list_spec=$lt_file_list_spec_CXX
19394
19395# How to hardcode a shared library path into an executable.
19396hardcode_action=$hardcode_action_CXX
19397
19398# The directories searched by this compiler when creating a shared library.
19399compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19400
19401# Dependencies to place before and after the objects being linked to
19402# create a shared library.
19403predep_objects=$lt_predep_objects_CXX
19404postdep_objects=$lt_postdep_objects_CXX
19405predeps=$lt_predeps_CXX
19406postdeps=$lt_postdeps_CXX
19407
19408# The library search path used internally by the compiler when linking
19409# a shared library.
19410compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19411
19412# ### END LIBTOOL TAG CONFIG: CXX
19413_LT_EOF
19414
19415 ;;
19416
19417  esac
19418done # for ac_tag
19419
19420
19421as_fn_exit 0
19422_ACEOF
19423ac_clean_files=$ac_clean_files_save
19424
19425test $ac_write_fail = 0 ||
19426  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19427
19428
19429# configure is writing to config.log, and then calls config.status.
19430# config.status does its own redirection, appending to config.log.
19431# Unfortunately, on DOS this fails, as config.log is still kept open
19432# by configure, so config.status won't be able to write to it; its
19433# output is simply discarded.  So we exec the FD to /dev/null,
19434# effectively closing config.log, so it can be properly (re)opened and
19435# appended to by config.status.  When coming back to configure, we
19436# need to make the FD available again.
19437if test "$no_create" != yes; then
19438  ac_cs_success=:
19439  ac_config_status_args=
19440  test "$silent" = yes &&
19441    ac_config_status_args="$ac_config_status_args --quiet"
19442  exec 5>/dev/null
19443  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19444  exec 5>>config.log
19445  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19446  # would make configure fail if this is the last instruction.
19447  $ac_cs_success || as_fn_exit 1
19448fi
19449if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19450  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19451$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19452fi
19453
19454