1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for Cego 2.47.11.
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='Cego'
592PACKAGE_TARNAME='cego'
593PACKAGE_VERSION='2.47.11'
594PACKAGE_STRING='Cego 2.47.11'
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
656LIBTOOL
657LIBOBJS
658EGREP
659GREP
660LFC_LIBS
661LFC_CFLAGS
662HAS_MINGW_FALSE
663HAS_MINGW_TRUE
664MINGWDEF
665host_os
666host_vendor
667host_cpu
668host
669build_os
670build_vendor
671build_cpu
672build
673ac_ct_AR
674AR
675LN_S
676CPP
677am__fastdepCC_FALSE
678am__fastdepCC_TRUE
679CCDEPMODE
680ac_ct_CC
681CFLAGS
682CC
683am__fastdepCXX_FALSE
684am__fastdepCXX_TRUE
685CXXDEPMODE
686am__nodep
687AMDEPBACKSLASH
688AMDEP_FALSE
689AMDEP_TRUE
690am__quote
691am__include
692DEPDIR
693OBJEXT
694EXEEXT
695ac_ct_CXX
696CPPFLAGS
697LDFLAGS
698CXXFLAGS
699CXX
700AM_BACKSLASH
701AM_DEFAULT_VERBOSITY
702AM_DEFAULT_V
703AM_V
704am__untar
705am__tar
706AMTAR
707am__leading_dot
708SET_MAKE
709AWK
710mkdir_p
711MKDIR_P
712INSTALL_STRIP_PROGRAM
713STRIP
714install_sh
715MAKEINFO
716AUTOHEADER
717AUTOMAKE
718AUTOCONF
719ACLOCAL
720VERSION
721PACKAGE
722CYGPATH_W
723am__isrc
724INSTALL_DATA
725INSTALL_SCRIPT
726INSTALL_PROGRAM
727target_alias
728host_alias
729build_alias
730LIBS
731ECHO_T
732ECHO_N
733ECHO_C
734DEFS
735mandir
736localedir
737libdir
738psdir
739pdfdir
740dvidir
741htmldir
742infodir
743docdir
744oldincludedir
745includedir
746localstatedir
747sharedstatedir
748sysconfdir
749datadir
750datarootdir
751libexecdir
752sbindir
753bindir
754program_transform_name
755prefix
756exec_prefix
757PACKAGE_URL
758PACKAGE_BUGREPORT
759PACKAGE_STRING
760PACKAGE_VERSION
761PACKAGE_TARNAME
762PACKAGE_NAME
763PATH_SEPARATOR
764SHELL'
765ac_subst_files=''
766ac_user_opts='
767enable_option_checking
768enable_silent_rules
769enable_dependency_tracking
770with_lfc_include_path
771with_lfc_lib_path
772enable_shared
773enable_static
774with_pic
775enable_fast_install
776with_aix_soname
777with_gnu_ld
778with_sysroot
779enable_libtool_lock
780'
781      ac_precious_vars='build_alias
782host_alias
783target_alias
784CXX
785CXXFLAGS
786LDFLAGS
787LIBS
788CPPFLAGS
789CCC
790CC
791CFLAGS
792CPP
793LT_SYS_LIBRARY_PATH
794CXXCPP'
795
796
797# Initialize some variables set by options.
798ac_init_help=
799ac_init_version=false
800ac_unrecognized_opts=
801ac_unrecognized_sep=
802# The variables have the same names as the options, with
803# dashes changed to underlines.
804cache_file=/dev/null
805exec_prefix=NONE
806no_create=
807no_recursion=
808prefix=NONE
809program_prefix=NONE
810program_suffix=NONE
811program_transform_name=s,x,x,
812silent=
813site=
814srcdir=
815verbose=
816x_includes=NONE
817x_libraries=NONE
818
819# Installation directory options.
820# These are left unexpanded so users can "make install exec_prefix=/foo"
821# and all the variables that are supposed to be based on exec_prefix
822# by default will actually change.
823# Use braces instead of parens because sh, perl, etc. also accept them.
824# (The list follows the same order as the GNU Coding Standards.)
825bindir='${exec_prefix}/bin'
826sbindir='${exec_prefix}/sbin'
827libexecdir='${exec_prefix}/libexec'
828datarootdir='${prefix}/share'
829datadir='${datarootdir}'
830sysconfdir='${prefix}/etc'
831sharedstatedir='${prefix}/com'
832localstatedir='${prefix}/var'
833includedir='${prefix}/include'
834oldincludedir='/usr/include'
835docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
836infodir='${datarootdir}/info'
837htmldir='${docdir}'
838dvidir='${docdir}'
839pdfdir='${docdir}'
840psdir='${docdir}'
841libdir='${exec_prefix}/lib'
842localedir='${datarootdir}/locale'
843mandir='${datarootdir}/man'
844
845ac_prev=
846ac_dashdash=
847for ac_option
848do
849  # If the previous option needs an argument, assign it.
850  if test -n "$ac_prev"; then
851    eval $ac_prev=\$ac_option
852    ac_prev=
853    continue
854  fi
855
856  case $ac_option in
857  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858  *=)   ac_optarg= ;;
859  *)    ac_optarg=yes ;;
860  esac
861
862  # Accept the important Cygnus configure options, so we can diagnose typos.
863
864  case $ac_dashdash$ac_option in
865  --)
866    ac_dashdash=yes ;;
867
868  -bindir | --bindir | --bindi | --bind | --bin | --bi)
869    ac_prev=bindir ;;
870  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
871    bindir=$ac_optarg ;;
872
873  -build | --build | --buil | --bui | --bu)
874    ac_prev=build_alias ;;
875  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
876    build_alias=$ac_optarg ;;
877
878  -cache-file | --cache-file | --cache-fil | --cache-fi \
879  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
880    ac_prev=cache_file ;;
881  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
882  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
883    cache_file=$ac_optarg ;;
884
885  --config-cache | -C)
886    cache_file=config.cache ;;
887
888  -datadir | --datadir | --datadi | --datad)
889    ac_prev=datadir ;;
890  -datadir=* | --datadir=* | --datadi=* | --datad=*)
891    datadir=$ac_optarg ;;
892
893  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
894  | --dataroo | --dataro | --datar)
895    ac_prev=datarootdir ;;
896  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
897  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
898    datarootdir=$ac_optarg ;;
899
900  -disable-* | --disable-*)
901    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902    # Reject names that are not valid shell variable names.
903    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
904      as_fn_error $? "invalid feature name: $ac_useropt"
905    ac_useropt_orig=$ac_useropt
906    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907    case $ac_user_opts in
908      *"
909"enable_$ac_useropt"
910"*) ;;
911      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
912	 ac_unrecognized_sep=', ';;
913    esac
914    eval enable_$ac_useropt=no ;;
915
916  -docdir | --docdir | --docdi | --doc | --do)
917    ac_prev=docdir ;;
918  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
919    docdir=$ac_optarg ;;
920
921  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
922    ac_prev=dvidir ;;
923  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
924    dvidir=$ac_optarg ;;
925
926  -enable-* | --enable-*)
927    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
928    # Reject names that are not valid shell variable names.
929    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
930      as_fn_error $? "invalid feature name: $ac_useropt"
931    ac_useropt_orig=$ac_useropt
932    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933    case $ac_user_opts in
934      *"
935"enable_$ac_useropt"
936"*) ;;
937      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
938	 ac_unrecognized_sep=', ';;
939    esac
940    eval enable_$ac_useropt=\$ac_optarg ;;
941
942  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
943  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
944  | --exec | --exe | --ex)
945    ac_prev=exec_prefix ;;
946  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
947  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
948  | --exec=* | --exe=* | --ex=*)
949    exec_prefix=$ac_optarg ;;
950
951  -gas | --gas | --ga | --g)
952    # Obsolete; use --with-gas.
953    with_gas=yes ;;
954
955  -help | --help | --hel | --he | -h)
956    ac_init_help=long ;;
957  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
958    ac_init_help=recursive ;;
959  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
960    ac_init_help=short ;;
961
962  -host | --host | --hos | --ho)
963    ac_prev=host_alias ;;
964  -host=* | --host=* | --hos=* | --ho=*)
965    host_alias=$ac_optarg ;;
966
967  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
968    ac_prev=htmldir ;;
969  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
970  | --ht=*)
971    htmldir=$ac_optarg ;;
972
973  -includedir | --includedir | --includedi | --included | --include \
974  | --includ | --inclu | --incl | --inc)
975    ac_prev=includedir ;;
976  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
977  | --includ=* | --inclu=* | --incl=* | --inc=*)
978    includedir=$ac_optarg ;;
979
980  -infodir | --infodir | --infodi | --infod | --info | --inf)
981    ac_prev=infodir ;;
982  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
983    infodir=$ac_optarg ;;
984
985  -libdir | --libdir | --libdi | --libd)
986    ac_prev=libdir ;;
987  -libdir=* | --libdir=* | --libdi=* | --libd=*)
988    libdir=$ac_optarg ;;
989
990  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
991  | --libexe | --libex | --libe)
992    ac_prev=libexecdir ;;
993  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
994  | --libexe=* | --libex=* | --libe=*)
995    libexecdir=$ac_optarg ;;
996
997  -localedir | --localedir | --localedi | --localed | --locale)
998    ac_prev=localedir ;;
999  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1000    localedir=$ac_optarg ;;
1001
1002  -localstatedir | --localstatedir | --localstatedi | --localstated \
1003  | --localstate | --localstat | --localsta | --localst | --locals)
1004    ac_prev=localstatedir ;;
1005  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1006  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1007    localstatedir=$ac_optarg ;;
1008
1009  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1010    ac_prev=mandir ;;
1011  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1012    mandir=$ac_optarg ;;
1013
1014  -nfp | --nfp | --nf)
1015    # Obsolete; use --without-fp.
1016    with_fp=no ;;
1017
1018  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1019  | --no-cr | --no-c | -n)
1020    no_create=yes ;;
1021
1022  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1023  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1024    no_recursion=yes ;;
1025
1026  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1027  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1028  | --oldin | --oldi | --old | --ol | --o)
1029    ac_prev=oldincludedir ;;
1030  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1031  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1032  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1033    oldincludedir=$ac_optarg ;;
1034
1035  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1036    ac_prev=prefix ;;
1037  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1038    prefix=$ac_optarg ;;
1039
1040  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1041  | --program-pre | --program-pr | --program-p)
1042    ac_prev=program_prefix ;;
1043  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1044  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1045    program_prefix=$ac_optarg ;;
1046
1047  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1048  | --program-suf | --program-su | --program-s)
1049    ac_prev=program_suffix ;;
1050  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1051  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1052    program_suffix=$ac_optarg ;;
1053
1054  -program-transform-name | --program-transform-name \
1055  | --program-transform-nam | --program-transform-na \
1056  | --program-transform-n | --program-transform- \
1057  | --program-transform | --program-transfor \
1058  | --program-transfo | --program-transf \
1059  | --program-trans | --program-tran \
1060  | --progr-tra | --program-tr | --program-t)
1061    ac_prev=program_transform_name ;;
1062  -program-transform-name=* | --program-transform-name=* \
1063  | --program-transform-nam=* | --program-transform-na=* \
1064  | --program-transform-n=* | --program-transform-=* \
1065  | --program-transform=* | --program-transfor=* \
1066  | --program-transfo=* | --program-transf=* \
1067  | --program-trans=* | --program-tran=* \
1068  | --progr-tra=* | --program-tr=* | --program-t=*)
1069    program_transform_name=$ac_optarg ;;
1070
1071  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1072    ac_prev=pdfdir ;;
1073  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1074    pdfdir=$ac_optarg ;;
1075
1076  -psdir | --psdir | --psdi | --psd | --ps)
1077    ac_prev=psdir ;;
1078  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1079    psdir=$ac_optarg ;;
1080
1081  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1082  | -silent | --silent | --silen | --sile | --sil)
1083    silent=yes ;;
1084
1085  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1086    ac_prev=sbindir ;;
1087  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1088  | --sbi=* | --sb=*)
1089    sbindir=$ac_optarg ;;
1090
1091  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1092  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1093  | --sharedst | --shareds | --shared | --share | --shar \
1094  | --sha | --sh)
1095    ac_prev=sharedstatedir ;;
1096  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1097  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1098  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1099  | --sha=* | --sh=*)
1100    sharedstatedir=$ac_optarg ;;
1101
1102  -site | --site | --sit)
1103    ac_prev=site ;;
1104  -site=* | --site=* | --sit=*)
1105    site=$ac_optarg ;;
1106
1107  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1108    ac_prev=srcdir ;;
1109  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1110    srcdir=$ac_optarg ;;
1111
1112  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1113  | --syscon | --sysco | --sysc | --sys | --sy)
1114    ac_prev=sysconfdir ;;
1115  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1116  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1117    sysconfdir=$ac_optarg ;;
1118
1119  -target | --target | --targe | --targ | --tar | --ta | --t)
1120    ac_prev=target_alias ;;
1121  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1122    target_alias=$ac_optarg ;;
1123
1124  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1125    verbose=yes ;;
1126
1127  -version | --version | --versio | --versi | --vers | -V)
1128    ac_init_version=: ;;
1129
1130  -with-* | --with-*)
1131    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1132    # Reject names that are not valid shell variable names.
1133    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1134      as_fn_error $? "invalid package name: $ac_useropt"
1135    ac_useropt_orig=$ac_useropt
1136    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137    case $ac_user_opts in
1138      *"
1139"with_$ac_useropt"
1140"*) ;;
1141      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1142	 ac_unrecognized_sep=', ';;
1143    esac
1144    eval with_$ac_useropt=\$ac_optarg ;;
1145
1146  -without-* | --without-*)
1147    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1148    # Reject names that are not valid shell variable names.
1149    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1150      as_fn_error $? "invalid package name: $ac_useropt"
1151    ac_useropt_orig=$ac_useropt
1152    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153    case $ac_user_opts in
1154      *"
1155"with_$ac_useropt"
1156"*) ;;
1157      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1158	 ac_unrecognized_sep=', ';;
1159    esac
1160    eval with_$ac_useropt=no ;;
1161
1162  --x)
1163    # Obsolete; use --with-x.
1164    with_x=yes ;;
1165
1166  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1167  | --x-incl | --x-inc | --x-in | --x-i)
1168    ac_prev=x_includes ;;
1169  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1170  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1171    x_includes=$ac_optarg ;;
1172
1173  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1174  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1175    ac_prev=x_libraries ;;
1176  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1177  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1178    x_libraries=$ac_optarg ;;
1179
1180  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1181Try \`$0 --help' for more information"
1182    ;;
1183
1184  *=*)
1185    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1186    # Reject names that are not valid shell variable names.
1187    case $ac_envvar in #(
1188      '' | [0-9]* | *[!_$as_cr_alnum]* )
1189      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1190    esac
1191    eval $ac_envvar=\$ac_optarg
1192    export $ac_envvar ;;
1193
1194  *)
1195    # FIXME: should be removed in autoconf 3.0.
1196    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1197    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1198      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1199    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1200    ;;
1201
1202  esac
1203done
1204
1205if test -n "$ac_prev"; then
1206  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1207  as_fn_error $? "missing argument to $ac_option"
1208fi
1209
1210if test -n "$ac_unrecognized_opts"; then
1211  case $enable_option_checking in
1212    no) ;;
1213    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1214    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1215  esac
1216fi
1217
1218# Check all directory arguments for consistency.
1219for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1220		datadir sysconfdir sharedstatedir localstatedir includedir \
1221		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1222		libdir localedir mandir
1223do
1224  eval ac_val=\$$ac_var
1225  # Remove trailing slashes.
1226  case $ac_val in
1227    */ )
1228      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1229      eval $ac_var=\$ac_val;;
1230  esac
1231  # Be sure to have absolute directory names.
1232  case $ac_val in
1233    [\\/$]* | ?:[\\/]* )  continue;;
1234    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1235  esac
1236  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1237done
1238
1239# There might be people who depend on the old broken behavior: `$host'
1240# used to hold the argument of --host etc.
1241# FIXME: To remove some day.
1242build=$build_alias
1243host=$host_alias
1244target=$target_alias
1245
1246# FIXME: To remove some day.
1247if test "x$host_alias" != x; then
1248  if test "x$build_alias" = x; then
1249    cross_compiling=maybe
1250  elif test "x$build_alias" != "x$host_alias"; then
1251    cross_compiling=yes
1252  fi
1253fi
1254
1255ac_tool_prefix=
1256test -n "$host_alias" && ac_tool_prefix=$host_alias-
1257
1258test "$silent" = yes && exec 6>/dev/null
1259
1260
1261ac_pwd=`pwd` && test -n "$ac_pwd" &&
1262ac_ls_di=`ls -di .` &&
1263ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1264  as_fn_error $? "working directory cannot be determined"
1265test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1266  as_fn_error $? "pwd does not report name of working directory"
1267
1268
1269# Find the source files, if location was not specified.
1270if test -z "$srcdir"; then
1271  ac_srcdir_defaulted=yes
1272  # Try the directory containing this script, then the parent directory.
1273  ac_confdir=`$as_dirname -- "$as_myself" ||
1274$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1275	 X"$as_myself" : 'X\(//\)[^/]' \| \
1276	 X"$as_myself" : 'X\(//\)$' \| \
1277	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1278$as_echo X"$as_myself" |
1279    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1280	    s//\1/
1281	    q
1282	  }
1283	  /^X\(\/\/\)[^/].*/{
1284	    s//\1/
1285	    q
1286	  }
1287	  /^X\(\/\/\)$/{
1288	    s//\1/
1289	    q
1290	  }
1291	  /^X\(\/\).*/{
1292	    s//\1/
1293	    q
1294	  }
1295	  s/.*/./; q'`
1296  srcdir=$ac_confdir
1297  if test ! -r "$srcdir/$ac_unique_file"; then
1298    srcdir=..
1299  fi
1300else
1301  ac_srcdir_defaulted=no
1302fi
1303if test ! -r "$srcdir/$ac_unique_file"; then
1304  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1305  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1306fi
1307ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1308ac_abs_confdir=`(
1309	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1310	pwd)`
1311# When building in place, set srcdir=.
1312if test "$ac_abs_confdir" = "$ac_pwd"; then
1313  srcdir=.
1314fi
1315# Remove unnecessary trailing slashes from srcdir.
1316# Double slashes in file names in object file debugging info
1317# mess up M-x gdb in Emacs.
1318case $srcdir in
1319*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1320esac
1321for ac_var in $ac_precious_vars; do
1322  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1323  eval ac_env_${ac_var}_value=\$${ac_var}
1324  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1325  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1326done
1327
1328#
1329# Report the --help message.
1330#
1331if test "$ac_init_help" = "long"; then
1332  # Omit some internal or obsolete options to make the list less imposing.
1333  # This message is too long to be a string in the A/UX 3.1 sh.
1334  cat <<_ACEOF
1335\`configure' configures Cego 2.47.11 to adapt to many kinds of systems.
1336
1337Usage: $0 [OPTION]... [VAR=VALUE]...
1338
1339To assign environment variables (e.g., CC, CFLAGS...), specify them as
1340VAR=VALUE.  See below for descriptions of some of the useful variables.
1341
1342Defaults for the options are specified in brackets.
1343
1344Configuration:
1345  -h, --help              display this help and exit
1346      --help=short        display options specific to this package
1347      --help=recursive    display the short help of all the included packages
1348  -V, --version           display version information and exit
1349  -q, --quiet, --silent   do not print \`checking ...' messages
1350      --cache-file=FILE   cache test results in FILE [disabled]
1351  -C, --config-cache      alias for \`--cache-file=config.cache'
1352  -n, --no-create         do not create output files
1353      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1354
1355Installation directories:
1356  --prefix=PREFIX         install architecture-independent files in PREFIX
1357                          [$ac_default_prefix]
1358  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1359                          [PREFIX]
1360
1361By default, \`make install' will install all the files in
1362\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1363an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1364for instance \`--prefix=\$HOME'.
1365
1366For better control, use the options below.
1367
1368Fine tuning of the installation directories:
1369  --bindir=DIR            user executables [EPREFIX/bin]
1370  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1371  --libexecdir=DIR        program executables [EPREFIX/libexec]
1372  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1373  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1374  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1375  --libdir=DIR            object code libraries [EPREFIX/lib]
1376  --includedir=DIR        C header files [PREFIX/include]
1377  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1378  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1379  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1380  --infodir=DIR           info documentation [DATAROOTDIR/info]
1381  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1382  --mandir=DIR            man documentation [DATAROOTDIR/man]
1383  --docdir=DIR            documentation root [DATAROOTDIR/doc/cego]
1384  --htmldir=DIR           html documentation [DOCDIR]
1385  --dvidir=DIR            dvi documentation [DOCDIR]
1386  --pdfdir=DIR            pdf documentation [DOCDIR]
1387  --psdir=DIR             ps documentation [DOCDIR]
1388_ACEOF
1389
1390  cat <<\_ACEOF
1391
1392Program names:
1393  --program-prefix=PREFIX            prepend PREFIX to installed program names
1394  --program-suffix=SUFFIX            append SUFFIX to installed program names
1395  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1396
1397System types:
1398  --build=BUILD     configure for building on BUILD [guessed]
1399  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1400_ACEOF
1401fi
1402
1403if test -n "$ac_init_help"; then
1404  case $ac_init_help in
1405     short | recursive ) echo "Configuration of Cego 2.47.11:";;
1406   esac
1407  cat <<\_ACEOF
1408
1409Optional Features:
1410  --disable-option-checking  ignore unrecognized --enable/--with options
1411  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1412  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1413  --enable-silent-rules   less verbose build output (undo: "make V=1")
1414  --disable-silent-rules  verbose build output (undo: "make V=0")
1415  --enable-dependency-tracking
1416                          do not reject slow dependency extractors
1417  --disable-dependency-tracking
1418                          speeds up one-time build
1419  --enable-shared[=PKGS]  build shared libraries [default=yes]
1420  --enable-static[=PKGS]  build static libraries [default=yes]
1421  --enable-fast-install[=PKGS]
1422                          optimize for fast installation [default=yes]
1423  --disable-libtool-lock  avoid locking (might break parallel builds)
1424
1425Optional Packages:
1426  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1427  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1428  --with-lfc-include-path location of the LFC headers, defaults to
1429                          /usr/local/include
1430  --with-lfc-lib-path     location of the LFC libraries
1431  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1432                          both]
1433  --with-aix-soname=aix|svr4|both
1434                          shared library versioning (aka "SONAME") variant to
1435                          provide on AIX, [default=aix].
1436  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1437  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1438                          compiler's sysroot if not specified).
1439
1440Some influential environment variables:
1441  CXX         C++ compiler command
1442  CXXFLAGS    C++ compiler flags
1443  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1444              nonstandard directory <lib dir>
1445  LIBS        libraries to pass to the linker, e.g. -l<library>
1446  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1447              you have headers in a nonstandard directory <include dir>
1448  CC          C compiler command
1449  CFLAGS      C compiler flags
1450  CPP         C preprocessor
1451  LT_SYS_LIBRARY_PATH
1452              User-defined run-time library search path.
1453  CXXCPP      C++ preprocessor
1454
1455Use these variables to override the choices made by `configure' or to help
1456it to find libraries and programs with nonstandard names/locations.
1457
1458Report bugs to <lemke@lemke-it.com>.
1459_ACEOF
1460ac_status=$?
1461fi
1462
1463if test "$ac_init_help" = "recursive"; then
1464  # If there are subdirs, report their specific --help.
1465  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1466    test -d "$ac_dir" ||
1467      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1468      continue
1469    ac_builddir=.
1470
1471case "$ac_dir" in
1472.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473*)
1474  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1475  # A ".." for each directory in $ac_dir_suffix.
1476  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1477  case $ac_top_builddir_sub in
1478  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1479  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1480  esac ;;
1481esac
1482ac_abs_top_builddir=$ac_pwd
1483ac_abs_builddir=$ac_pwd$ac_dir_suffix
1484# for backward compatibility:
1485ac_top_builddir=$ac_top_build_prefix
1486
1487case $srcdir in
1488  .)  # We are building in place.
1489    ac_srcdir=.
1490    ac_top_srcdir=$ac_top_builddir_sub
1491    ac_abs_top_srcdir=$ac_pwd ;;
1492  [\\/]* | ?:[\\/]* )  # Absolute name.
1493    ac_srcdir=$srcdir$ac_dir_suffix;
1494    ac_top_srcdir=$srcdir
1495    ac_abs_top_srcdir=$srcdir ;;
1496  *) # Relative name.
1497    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1498    ac_top_srcdir=$ac_top_build_prefix$srcdir
1499    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1500esac
1501ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1502
1503    cd "$ac_dir" || { ac_status=$?; continue; }
1504    # Check for guested configure.
1505    if test -f "$ac_srcdir/configure.gnu"; then
1506      echo &&
1507      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1508    elif test -f "$ac_srcdir/configure"; then
1509      echo &&
1510      $SHELL "$ac_srcdir/configure" --help=recursive
1511    else
1512      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1513    fi || ac_status=$?
1514    cd "$ac_pwd" || { ac_status=$?; break; }
1515  done
1516fi
1517
1518test -n "$ac_init_help" && exit $ac_status
1519if $ac_init_version; then
1520  cat <<\_ACEOF
1521Cego configure 2.47.11
1522generated by GNU Autoconf 2.69
1523
1524Copyright (C) 2012 Free Software Foundation, Inc.
1525This configure script is free software; the Free Software Foundation
1526gives unlimited permission to copy, distribute and modify it.
1527_ACEOF
1528  exit
1529fi
1530
1531## ------------------------ ##
1532## Autoconf initialization. ##
1533## ------------------------ ##
1534
1535# ac_fn_cxx_try_compile LINENO
1536# ----------------------------
1537# Try to compile conftest.$ac_ext, and return whether this succeeded.
1538ac_fn_cxx_try_compile ()
1539{
1540  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541  rm -f conftest.$ac_objext
1542  if { { ac_try="$ac_compile"
1543case "(($ac_try" in
1544  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1545  *) ac_try_echo=$ac_try;;
1546esac
1547eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1548$as_echo "$ac_try_echo"; } >&5
1549  (eval "$ac_compile") 2>conftest.err
1550  ac_status=$?
1551  if test -s conftest.err; then
1552    grep -v '^ *+' conftest.err >conftest.er1
1553    cat conftest.er1 >&5
1554    mv -f conftest.er1 conftest.err
1555  fi
1556  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557  test $ac_status = 0; } && {
1558	 test -z "$ac_cxx_werror_flag" ||
1559	 test ! -s conftest.err
1560       } && test -s conftest.$ac_objext; then :
1561  ac_retval=0
1562else
1563  $as_echo "$as_me: failed program was:" >&5
1564sed 's/^/| /' conftest.$ac_ext >&5
1565
1566	ac_retval=1
1567fi
1568  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1569  as_fn_set_status $ac_retval
1570
1571} # ac_fn_cxx_try_compile
1572
1573# ac_fn_c_try_compile LINENO
1574# --------------------------
1575# Try to compile conftest.$ac_ext, and return whether this succeeded.
1576ac_fn_c_try_compile ()
1577{
1578  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579  rm -f conftest.$ac_objext
1580  if { { ac_try="$ac_compile"
1581case "(($ac_try" in
1582  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1583  *) ac_try_echo=$ac_try;;
1584esac
1585eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586$as_echo "$ac_try_echo"; } >&5
1587  (eval "$ac_compile") 2>conftest.err
1588  ac_status=$?
1589  if test -s conftest.err; then
1590    grep -v '^ *+' conftest.err >conftest.er1
1591    cat conftest.er1 >&5
1592    mv -f conftest.er1 conftest.err
1593  fi
1594  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595  test $ac_status = 0; } && {
1596	 test -z "$ac_c_werror_flag" ||
1597	 test ! -s conftest.err
1598       } && test -s conftest.$ac_objext; then :
1599  ac_retval=0
1600else
1601  $as_echo "$as_me: failed program was:" >&5
1602sed 's/^/| /' conftest.$ac_ext >&5
1603
1604	ac_retval=1
1605fi
1606  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607  as_fn_set_status $ac_retval
1608
1609} # ac_fn_c_try_compile
1610
1611# ac_fn_c_try_cpp LINENO
1612# ----------------------
1613# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1614ac_fn_c_try_cpp ()
1615{
1616  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617  if { { ac_try="$ac_cpp conftest.$ac_ext"
1618case "(($ac_try" in
1619  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1620  *) ac_try_echo=$ac_try;;
1621esac
1622eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623$as_echo "$ac_try_echo"; } >&5
1624  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1625  ac_status=$?
1626  if test -s conftest.err; then
1627    grep -v '^ *+' conftest.err >conftest.er1
1628    cat conftest.er1 >&5
1629    mv -f conftest.er1 conftest.err
1630  fi
1631  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632  test $ac_status = 0; } > conftest.i && {
1633	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1634	 test ! -s conftest.err
1635       }; then :
1636  ac_retval=0
1637else
1638  $as_echo "$as_me: failed program was:" >&5
1639sed 's/^/| /' conftest.$ac_ext >&5
1640
1641    ac_retval=1
1642fi
1643  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644  as_fn_set_status $ac_retval
1645
1646} # ac_fn_c_try_cpp
1647
1648# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1649# -------------------------------------------------------
1650# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1651# the include files in INCLUDES and setting the cache variable VAR
1652# accordingly.
1653ac_fn_c_check_header_mongrel ()
1654{
1655  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656  if eval \${$3+:} false; then :
1657  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1658$as_echo_n "checking for $2... " >&6; }
1659if eval \${$3+:} false; then :
1660  $as_echo_n "(cached) " >&6
1661fi
1662eval ac_res=\$$3
1663	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1664$as_echo "$ac_res" >&6; }
1665else
1666  # Is the header compilable?
1667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1668$as_echo_n "checking $2 usability... " >&6; }
1669cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1670/* end confdefs.h.  */
1671$4
1672#include <$2>
1673_ACEOF
1674if ac_fn_c_try_compile "$LINENO"; then :
1675  ac_header_compiler=yes
1676else
1677  ac_header_compiler=no
1678fi
1679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1681$as_echo "$ac_header_compiler" >&6; }
1682
1683# Is the header present?
1684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1685$as_echo_n "checking $2 presence... " >&6; }
1686cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1687/* end confdefs.h.  */
1688#include <$2>
1689_ACEOF
1690if ac_fn_c_try_cpp "$LINENO"; then :
1691  ac_header_preproc=yes
1692else
1693  ac_header_preproc=no
1694fi
1695rm -f conftest.err conftest.i conftest.$ac_ext
1696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1697$as_echo "$ac_header_preproc" >&6; }
1698
1699# So?  What about this header?
1700case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1701  yes:no: )
1702    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1703$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1704    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1705$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1706    ;;
1707  no:yes:* )
1708    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1709$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1710    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1711$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1712    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1713$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1714    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1715$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1716    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1717$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1718( $as_echo "## --------------------------------- ##
1719## Report this to lemke@lemke-it.com ##
1720## --------------------------------- ##"
1721     ) | sed "s/^/$as_me: WARNING:     /" >&2
1722    ;;
1723esac
1724  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1725$as_echo_n "checking for $2... " >&6; }
1726if eval \${$3+:} false; then :
1727  $as_echo_n "(cached) " >&6
1728else
1729  eval "$3=\$ac_header_compiler"
1730fi
1731eval ac_res=\$$3
1732	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733$as_echo "$ac_res" >&6; }
1734fi
1735  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736
1737} # ac_fn_c_check_header_mongrel
1738
1739# ac_fn_c_try_run LINENO
1740# ----------------------
1741# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1742# that executables *can* be run.
1743ac_fn_c_try_run ()
1744{
1745  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746  if { { ac_try="$ac_link"
1747case "(($ac_try" in
1748  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1749  *) ac_try_echo=$ac_try;;
1750esac
1751eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752$as_echo "$ac_try_echo"; } >&5
1753  (eval "$ac_link") 2>&5
1754  ac_status=$?
1755  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1757  { { case "(($ac_try" in
1758  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759  *) ac_try_echo=$ac_try;;
1760esac
1761eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762$as_echo "$ac_try_echo"; } >&5
1763  (eval "$ac_try") 2>&5
1764  ac_status=$?
1765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766  test $ac_status = 0; }; }; then :
1767  ac_retval=0
1768else
1769  $as_echo "$as_me: program exited with status $ac_status" >&5
1770       $as_echo "$as_me: failed program was:" >&5
1771sed 's/^/| /' conftest.$ac_ext >&5
1772
1773       ac_retval=$ac_status
1774fi
1775  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1776  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777  as_fn_set_status $ac_retval
1778
1779} # ac_fn_c_try_run
1780
1781# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1782# -------------------------------------------------------
1783# Tests whether HEADER exists and can be compiled using the include files in
1784# INCLUDES, setting the cache variable VAR accordingly.
1785ac_fn_c_check_header_compile ()
1786{
1787  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1789$as_echo_n "checking for $2... " >&6; }
1790if eval \${$3+:} false; then :
1791  $as_echo_n "(cached) " >&6
1792else
1793  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1794/* end confdefs.h.  */
1795$4
1796#include <$2>
1797_ACEOF
1798if ac_fn_c_try_compile "$LINENO"; then :
1799  eval "$3=yes"
1800else
1801  eval "$3=no"
1802fi
1803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1804fi
1805eval ac_res=\$$3
1806	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807$as_echo "$ac_res" >&6; }
1808  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809
1810} # ac_fn_c_check_header_compile
1811
1812# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1813# -------------------------------------------
1814# Tests whether TYPE exists after having included INCLUDES, setting cache
1815# variable VAR accordingly.
1816ac_fn_c_check_type ()
1817{
1818  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820$as_echo_n "checking for $2... " >&6; }
1821if eval \${$3+:} false; then :
1822  $as_echo_n "(cached) " >&6
1823else
1824  eval "$3=no"
1825  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826/* end confdefs.h.  */
1827$4
1828int
1829main ()
1830{
1831if (sizeof ($2))
1832	 return 0;
1833  ;
1834  return 0;
1835}
1836_ACEOF
1837if ac_fn_c_try_compile "$LINENO"; then :
1838  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839/* end confdefs.h.  */
1840$4
1841int
1842main ()
1843{
1844if (sizeof (($2)))
1845	    return 0;
1846  ;
1847  return 0;
1848}
1849_ACEOF
1850if ac_fn_c_try_compile "$LINENO"; then :
1851
1852else
1853  eval "$3=yes"
1854fi
1855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1856fi
1857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1858fi
1859eval ac_res=\$$3
1860	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1861$as_echo "$ac_res" >&6; }
1862  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863
1864} # ac_fn_c_check_type
1865
1866# ac_fn_c_try_link LINENO
1867# -----------------------
1868# Try to link conftest.$ac_ext, and return whether this succeeded.
1869ac_fn_c_try_link ()
1870{
1871  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872  rm -f conftest.$ac_objext conftest$ac_exeext
1873  if { { ac_try="$ac_link"
1874case "(($ac_try" in
1875  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1876  *) ac_try_echo=$ac_try;;
1877esac
1878eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1879$as_echo "$ac_try_echo"; } >&5
1880  (eval "$ac_link") 2>conftest.err
1881  ac_status=$?
1882  if test -s conftest.err; then
1883    grep -v '^ *+' conftest.err >conftest.er1
1884    cat conftest.er1 >&5
1885    mv -f conftest.er1 conftest.err
1886  fi
1887  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1888  test $ac_status = 0; } && {
1889	 test -z "$ac_c_werror_flag" ||
1890	 test ! -s conftest.err
1891       } && test -s conftest$ac_exeext && {
1892	 test "$cross_compiling" = yes ||
1893	 test -x conftest$ac_exeext
1894       }; then :
1895  ac_retval=0
1896else
1897  $as_echo "$as_me: failed program was:" >&5
1898sed 's/^/| /' conftest.$ac_ext >&5
1899
1900	ac_retval=1
1901fi
1902  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1903  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1904  # interfere with the next link command; also delete a directory that is
1905  # left behind by Apple's compiler.  We do this before executing the actions.
1906  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1907  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1908  as_fn_set_status $ac_retval
1909
1910} # ac_fn_c_try_link
1911
1912# ac_fn_c_check_func LINENO FUNC VAR
1913# ----------------------------------
1914# Tests whether FUNC exists, setting the cache variable VAR accordingly
1915ac_fn_c_check_func ()
1916{
1917  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1919$as_echo_n "checking for $2... " >&6; }
1920if eval \${$3+:} false; then :
1921  $as_echo_n "(cached) " >&6
1922else
1923  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924/* end confdefs.h.  */
1925/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1926   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1927#define $2 innocuous_$2
1928
1929/* System header to define __stub macros and hopefully few prototypes,
1930    which can conflict with char $2 (); below.
1931    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1932    <limits.h> exists even on freestanding compilers.  */
1933
1934#ifdef __STDC__
1935# include <limits.h>
1936#else
1937# include <assert.h>
1938#endif
1939
1940#undef $2
1941
1942/* Override any GCC internal prototype to avoid an error.
1943   Use char because int might match the return type of a GCC
1944   builtin and then its argument prototype would still apply.  */
1945#ifdef __cplusplus
1946extern "C"
1947#endif
1948char $2 ();
1949/* The GNU C library defines this for functions which it implements
1950    to always fail with ENOSYS.  Some functions are actually named
1951    something starting with __ and the normal name is an alias.  */
1952#if defined __stub_$2 || defined __stub___$2
1953choke me
1954#endif
1955
1956int
1957main ()
1958{
1959return $2 ();
1960  ;
1961  return 0;
1962}
1963_ACEOF
1964if ac_fn_c_try_link "$LINENO"; then :
1965  eval "$3=yes"
1966else
1967  eval "$3=no"
1968fi
1969rm -f core conftest.err conftest.$ac_objext \
1970    conftest$ac_exeext conftest.$ac_ext
1971fi
1972eval ac_res=\$$3
1973	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974$as_echo "$ac_res" >&6; }
1975  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976
1977} # ac_fn_c_check_func
1978
1979# ac_fn_cxx_try_cpp LINENO
1980# ------------------------
1981# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1982ac_fn_cxx_try_cpp ()
1983{
1984  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985  if { { ac_try="$ac_cpp conftest.$ac_ext"
1986case "(($ac_try" in
1987  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1988  *) ac_try_echo=$ac_try;;
1989esac
1990eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1991$as_echo "$ac_try_echo"; } >&5
1992  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1993  ac_status=$?
1994  if test -s conftest.err; then
1995    grep -v '^ *+' conftest.err >conftest.er1
1996    cat conftest.er1 >&5
1997    mv -f conftest.er1 conftest.err
1998  fi
1999  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2000  test $ac_status = 0; } > conftest.i && {
2001	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2002	 test ! -s conftest.err
2003       }; then :
2004  ac_retval=0
2005else
2006  $as_echo "$as_me: failed program was:" >&5
2007sed 's/^/| /' conftest.$ac_ext >&5
2008
2009    ac_retval=1
2010fi
2011  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2012  as_fn_set_status $ac_retval
2013
2014} # ac_fn_cxx_try_cpp
2015
2016# ac_fn_cxx_try_link LINENO
2017# -------------------------
2018# Try to link conftest.$ac_ext, and return whether this succeeded.
2019ac_fn_cxx_try_link ()
2020{
2021  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022  rm -f conftest.$ac_objext conftest$ac_exeext
2023  if { { ac_try="$ac_link"
2024case "(($ac_try" in
2025  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2026  *) ac_try_echo=$ac_try;;
2027esac
2028eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029$as_echo "$ac_try_echo"; } >&5
2030  (eval "$ac_link") 2>conftest.err
2031  ac_status=$?
2032  if test -s conftest.err; then
2033    grep -v '^ *+' conftest.err >conftest.er1
2034    cat conftest.er1 >&5
2035    mv -f conftest.er1 conftest.err
2036  fi
2037  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2038  test $ac_status = 0; } && {
2039	 test -z "$ac_cxx_werror_flag" ||
2040	 test ! -s conftest.err
2041       } && test -s conftest$ac_exeext && {
2042	 test "$cross_compiling" = yes ||
2043	 test -x conftest$ac_exeext
2044       }; then :
2045  ac_retval=0
2046else
2047  $as_echo "$as_me: failed program was:" >&5
2048sed 's/^/| /' conftest.$ac_ext >&5
2049
2050	ac_retval=1
2051fi
2052  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2053  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2054  # interfere with the next link command; also delete a directory that is
2055  # left behind by Apple's compiler.  We do this before executing the actions.
2056  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2057  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2058  as_fn_set_status $ac_retval
2059
2060} # ac_fn_cxx_try_link
2061cat >config.log <<_ACEOF
2062This file contains any messages produced by compilers while
2063running configure, to aid debugging if configure makes a mistake.
2064
2065It was created by Cego $as_me 2.47.11, which was
2066generated by GNU Autoconf 2.69.  Invocation command line was
2067
2068  $ $0 $@
2069
2070_ACEOF
2071exec 5>>config.log
2072{
2073cat <<_ASUNAME
2074## --------- ##
2075## Platform. ##
2076## --------- ##
2077
2078hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2079uname -m = `(uname -m) 2>/dev/null || echo unknown`
2080uname -r = `(uname -r) 2>/dev/null || echo unknown`
2081uname -s = `(uname -s) 2>/dev/null || echo unknown`
2082uname -v = `(uname -v) 2>/dev/null || echo unknown`
2083
2084/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2085/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2086
2087/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2088/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2089/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2090/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2091/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2092/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2093/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2094
2095_ASUNAME
2096
2097as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098for as_dir in $PATH
2099do
2100  IFS=$as_save_IFS
2101  test -z "$as_dir" && as_dir=.
2102    $as_echo "PATH: $as_dir"
2103  done
2104IFS=$as_save_IFS
2105
2106} >&5
2107
2108cat >&5 <<_ACEOF
2109
2110
2111## ----------- ##
2112## Core tests. ##
2113## ----------- ##
2114
2115_ACEOF
2116
2117
2118# Keep a trace of the command line.
2119# Strip out --no-create and --no-recursion so they do not pile up.
2120# Strip out --silent because we don't want to record it for future runs.
2121# Also quote any args containing shell meta-characters.
2122# Make two passes to allow for proper duplicate-argument suppression.
2123ac_configure_args=
2124ac_configure_args0=
2125ac_configure_args1=
2126ac_must_keep_next=false
2127for ac_pass in 1 2
2128do
2129  for ac_arg
2130  do
2131    case $ac_arg in
2132    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2133    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2134    | -silent | --silent | --silen | --sile | --sil)
2135      continue ;;
2136    *\'*)
2137      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2138    esac
2139    case $ac_pass in
2140    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2141    2)
2142      as_fn_append ac_configure_args1 " '$ac_arg'"
2143      if test $ac_must_keep_next = true; then
2144	ac_must_keep_next=false # Got value, back to normal.
2145      else
2146	case $ac_arg in
2147	  *=* | --config-cache | -C | -disable-* | --disable-* \
2148	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2149	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2150	  | -with-* | --with-* | -without-* | --without-* | --x)
2151	    case "$ac_configure_args0 " in
2152	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2153	    esac
2154	    ;;
2155	  -* ) ac_must_keep_next=true ;;
2156	esac
2157      fi
2158      as_fn_append ac_configure_args " '$ac_arg'"
2159      ;;
2160    esac
2161  done
2162done
2163{ ac_configure_args0=; unset ac_configure_args0;}
2164{ ac_configure_args1=; unset ac_configure_args1;}
2165
2166# When interrupted or exit'd, cleanup temporary files, and complete
2167# config.log.  We remove comments because anyway the quotes in there
2168# would cause problems or look ugly.
2169# WARNING: Use '\'' to represent an apostrophe within the trap.
2170# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2171trap 'exit_status=$?
2172  # Save into config.log some information that might help in debugging.
2173  {
2174    echo
2175
2176    $as_echo "## ---------------- ##
2177## Cache variables. ##
2178## ---------------- ##"
2179    echo
2180    # The following way of writing the cache mishandles newlines in values,
2181(
2182  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2183    eval ac_val=\$$ac_var
2184    case $ac_val in #(
2185    *${as_nl}*)
2186      case $ac_var in #(
2187      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2188$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2189      esac
2190      case $ac_var in #(
2191      _ | IFS | as_nl) ;; #(
2192      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2193      *) { eval $ac_var=; unset $ac_var;} ;;
2194      esac ;;
2195    esac
2196  done
2197  (set) 2>&1 |
2198    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2199    *${as_nl}ac_space=\ *)
2200      sed -n \
2201	"s/'\''/'\''\\\\'\'''\''/g;
2202	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2203      ;; #(
2204    *)
2205      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2206      ;;
2207    esac |
2208    sort
2209)
2210    echo
2211
2212    $as_echo "## ----------------- ##
2213## Output variables. ##
2214## ----------------- ##"
2215    echo
2216    for ac_var in $ac_subst_vars
2217    do
2218      eval ac_val=\$$ac_var
2219      case $ac_val in
2220      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2221      esac
2222      $as_echo "$ac_var='\''$ac_val'\''"
2223    done | sort
2224    echo
2225
2226    if test -n "$ac_subst_files"; then
2227      $as_echo "## ------------------- ##
2228## File substitutions. ##
2229## ------------------- ##"
2230      echo
2231      for ac_var in $ac_subst_files
2232      do
2233	eval ac_val=\$$ac_var
2234	case $ac_val in
2235	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2236	esac
2237	$as_echo "$ac_var='\''$ac_val'\''"
2238      done | sort
2239      echo
2240    fi
2241
2242    if test -s confdefs.h; then
2243      $as_echo "## ----------- ##
2244## confdefs.h. ##
2245## ----------- ##"
2246      echo
2247      cat confdefs.h
2248      echo
2249    fi
2250    test "$ac_signal" != 0 &&
2251      $as_echo "$as_me: caught signal $ac_signal"
2252    $as_echo "$as_me: exit $exit_status"
2253  } >&5
2254  rm -f core *.core core.conftest.* &&
2255    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2256    exit $exit_status
2257' 0
2258for ac_signal in 1 2 13 15; do
2259  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2260done
2261ac_signal=0
2262
2263# confdefs.h avoids OS command line length limits that DEFS can exceed.
2264rm -f -r conftest* confdefs.h
2265
2266$as_echo "/* confdefs.h */" > confdefs.h
2267
2268# Predefined preprocessor variables.
2269
2270cat >>confdefs.h <<_ACEOF
2271#define PACKAGE_NAME "$PACKAGE_NAME"
2272_ACEOF
2273
2274cat >>confdefs.h <<_ACEOF
2275#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2276_ACEOF
2277
2278cat >>confdefs.h <<_ACEOF
2279#define PACKAGE_VERSION "$PACKAGE_VERSION"
2280_ACEOF
2281
2282cat >>confdefs.h <<_ACEOF
2283#define PACKAGE_STRING "$PACKAGE_STRING"
2284_ACEOF
2285
2286cat >>confdefs.h <<_ACEOF
2287#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2288_ACEOF
2289
2290cat >>confdefs.h <<_ACEOF
2291#define PACKAGE_URL "$PACKAGE_URL"
2292_ACEOF
2293
2294
2295# Let the site file select an alternate cache file if it wants to.
2296# Prefer an explicitly selected file to automatically selected ones.
2297ac_site_file1=NONE
2298ac_site_file2=NONE
2299if test -n "$CONFIG_SITE"; then
2300  # We do not want a PATH search for config.site.
2301  case $CONFIG_SITE in #((
2302    -*)  ac_site_file1=./$CONFIG_SITE;;
2303    */*) ac_site_file1=$CONFIG_SITE;;
2304    *)   ac_site_file1=./$CONFIG_SITE;;
2305  esac
2306elif test "x$prefix" != xNONE; then
2307  ac_site_file1=$prefix/share/config.site
2308  ac_site_file2=$prefix/etc/config.site
2309else
2310  ac_site_file1=$ac_default_prefix/share/config.site
2311  ac_site_file2=$ac_default_prefix/etc/config.site
2312fi
2313for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2314do
2315  test "x$ac_site_file" = xNONE && continue
2316  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2317    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2318$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2319    sed 's/^/| /' "$ac_site_file" >&5
2320    . "$ac_site_file" \
2321      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2322$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2323as_fn_error $? "failed to load site script $ac_site_file
2324See \`config.log' for more details" "$LINENO" 5; }
2325  fi
2326done
2327
2328if test -r "$cache_file"; then
2329  # Some versions of bash will fail to source /dev/null (special files
2330  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2331  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2332    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2333$as_echo "$as_me: loading cache $cache_file" >&6;}
2334    case $cache_file in
2335      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2336      *)                      . "./$cache_file";;
2337    esac
2338  fi
2339else
2340  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2341$as_echo "$as_me: creating cache $cache_file" >&6;}
2342  >$cache_file
2343fi
2344
2345# Check that the precious variables saved in the cache have kept the same
2346# value.
2347ac_cache_corrupted=false
2348for ac_var in $ac_precious_vars; do
2349  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2350  eval ac_new_set=\$ac_env_${ac_var}_set
2351  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2352  eval ac_new_val=\$ac_env_${ac_var}_value
2353  case $ac_old_set,$ac_new_set in
2354    set,)
2355      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2356$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2357      ac_cache_corrupted=: ;;
2358    ,set)
2359      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2360$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2361      ac_cache_corrupted=: ;;
2362    ,);;
2363    *)
2364      if test "x$ac_old_val" != "x$ac_new_val"; then
2365	# differences in whitespace do not lead to failure.
2366	ac_old_val_w=`echo x $ac_old_val`
2367	ac_new_val_w=`echo x $ac_new_val`
2368	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2369	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2370$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2371	  ac_cache_corrupted=:
2372	else
2373	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2374$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2375	  eval $ac_var=\$ac_old_val
2376	fi
2377	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2378$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2379	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2380$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2381      fi;;
2382  esac
2383  # Pass precious variables to config.status.
2384  if test "$ac_new_set" = set; then
2385    case $ac_new_val in
2386    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2387    *) ac_arg=$ac_var=$ac_new_val ;;
2388    esac
2389    case " $ac_configure_args " in
2390      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2391      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2392    esac
2393  fi
2394done
2395if $ac_cache_corrupted; then
2396  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2397$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2398  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2399$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2400  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2401fi
2402## -------------------- ##
2403## Main body of script. ##
2404## -------------------- ##
2405
2406ac_ext=c
2407ac_cpp='$CPP $CPPFLAGS'
2408ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2409ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2410ac_compiler_gnu=$ac_cv_c_compiler_gnu
2411
2412
2413ac_aux_dir=
2414for ac_dir in build-aux "$srcdir"/build-aux; do
2415  if test -f "$ac_dir/install-sh"; then
2416    ac_aux_dir=$ac_dir
2417    ac_install_sh="$ac_aux_dir/install-sh -c"
2418    break
2419  elif test -f "$ac_dir/install.sh"; then
2420    ac_aux_dir=$ac_dir
2421    ac_install_sh="$ac_aux_dir/install.sh -c"
2422    break
2423  elif test -f "$ac_dir/shtool"; then
2424    ac_aux_dir=$ac_dir
2425    ac_install_sh="$ac_aux_dir/shtool install -c"
2426    break
2427  fi
2428done
2429if test -z "$ac_aux_dir"; then
2430  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2431fi
2432
2433# These three variables are undocumented and unsupported,
2434# and are intended to be withdrawn in a future Autoconf release.
2435# They can cause serious problems if a builder's source tree is in a directory
2436# whose full name contains unusual characters.
2437ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2438ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2439ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2440
2441
2442
2443
2444
2445am__api_version='1.13'
2446
2447# Find a good install program.  We prefer a C program (faster),
2448# so one script is as good as another.  But avoid the broken or
2449# incompatible versions:
2450# SysV /etc/install, /usr/sbin/install
2451# SunOS /usr/etc/install
2452# IRIX /sbin/install
2453# AIX /bin/install
2454# AmigaOS /C/install, which installs bootblocks on floppy discs
2455# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2456# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2457# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2458# OS/2's system install, which has a completely different semantic
2459# ./install, which can be erroneously created by make from ./install.sh.
2460# Reject install programs that cannot install multiple files.
2461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2462$as_echo_n "checking for a BSD-compatible install... " >&6; }
2463if test -z "$INSTALL"; then
2464if ${ac_cv_path_install+:} false; then :
2465  $as_echo_n "(cached) " >&6
2466else
2467  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468for as_dir in $PATH
2469do
2470  IFS=$as_save_IFS
2471  test -z "$as_dir" && as_dir=.
2472    # Account for people who put trailing slashes in PATH elements.
2473case $as_dir/ in #((
2474  ./ | .// | /[cC]/* | \
2475  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2476  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2477  /usr/ucb/* ) ;;
2478  *)
2479    # OSF1 and SCO ODT 3.0 have their own names for install.
2480    # Don't use installbsd from OSF since it installs stuff as root
2481    # by default.
2482    for ac_prog in ginstall scoinst install; do
2483      for ac_exec_ext in '' $ac_executable_extensions; do
2484	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2485	  if test $ac_prog = install &&
2486	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2487	    # AIX install.  It has an incompatible calling convention.
2488	    :
2489	  elif test $ac_prog = install &&
2490	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2491	    # program-specific install script used by HP pwplus--don't use.
2492	    :
2493	  else
2494	    rm -rf conftest.one conftest.two conftest.dir
2495	    echo one > conftest.one
2496	    echo two > conftest.two
2497	    mkdir conftest.dir
2498	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2499	      test -s conftest.one && test -s conftest.two &&
2500	      test -s conftest.dir/conftest.one &&
2501	      test -s conftest.dir/conftest.two
2502	    then
2503	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2504	      break 3
2505	    fi
2506	  fi
2507	fi
2508      done
2509    done
2510    ;;
2511esac
2512
2513  done
2514IFS=$as_save_IFS
2515
2516rm -rf conftest.one conftest.two conftest.dir
2517
2518fi
2519  if test "${ac_cv_path_install+set}" = set; then
2520    INSTALL=$ac_cv_path_install
2521  else
2522    # As a last resort, use the slow shell script.  Don't cache a
2523    # value for INSTALL within a source directory, because that will
2524    # break other packages using the cache if that directory is
2525    # removed, or if the value is a relative name.
2526    INSTALL=$ac_install_sh
2527  fi
2528fi
2529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2530$as_echo "$INSTALL" >&6; }
2531
2532# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2533# It thinks the first close brace ends the variable substitution.
2534test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2535
2536test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2537
2538test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2539
2540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2541$as_echo_n "checking whether build environment is sane... " >&6; }
2542# Reject unsafe characters in $srcdir or the absolute working directory
2543# name.  Accept space and tab only in the latter.
2544am_lf='
2545'
2546case `pwd` in
2547  *[\\\"\#\$\&\'\`$am_lf]*)
2548    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2549esac
2550case $srcdir in
2551  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2552    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2553esac
2554
2555# Do 'set' in a subshell so we don't clobber the current shell's
2556# arguments.  Must try -L first in case configure is actually a
2557# symlink; some systems play weird games with the mod time of symlinks
2558# (eg FreeBSD returns the mod time of the symlink's containing
2559# directory).
2560if (
2561   am_has_slept=no
2562   for am_try in 1 2; do
2563     echo "timestamp, slept: $am_has_slept" > conftest.file
2564     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2565     if test "$*" = "X"; then
2566	# -L didn't work.
2567	set X `ls -t "$srcdir/configure" conftest.file`
2568     fi
2569     if test "$*" != "X $srcdir/configure conftest.file" \
2570	&& test "$*" != "X conftest.file $srcdir/configure"; then
2571
2572	# If neither matched, then we have a broken ls.  This can happen
2573	# if, for instance, CONFIG_SHELL is bash and it inherits a
2574	# broken ls alias from the environment.  This has actually
2575	# happened.  Such a system could not be considered "sane".
2576	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2577  alias in your environment" "$LINENO" 5
2578     fi
2579     if test "$2" = conftest.file || test $am_try -eq 2; then
2580       break
2581     fi
2582     # Just in case.
2583     sleep 1
2584     am_has_slept=yes
2585   done
2586   test "$2" = conftest.file
2587   )
2588then
2589   # Ok.
2590   :
2591else
2592   as_fn_error $? "newly created file is older than distributed files!
2593Check your system clock" "$LINENO" 5
2594fi
2595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2596$as_echo "yes" >&6; }
2597# If we didn't sleep, we still need to ensure time stamps of config.status and
2598# generated files are strictly newer.
2599am_sleep_pid=
2600if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2601  ( sleep 1 ) &
2602  am_sleep_pid=$!
2603fi
2604
2605rm -f conftest.file
2606
2607test "$program_prefix" != NONE &&
2608  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2609# Use a double $ so make ignores it.
2610test "$program_suffix" != NONE &&
2611  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2612# Double any \ or $.
2613# By default was `s,x,x', remove it if useless.
2614ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2615program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2616
2617# expand $ac_aux_dir to an absolute path
2618am_aux_dir=`cd $ac_aux_dir && pwd`
2619
2620if test x"${MISSING+set}" != xset; then
2621  case $am_aux_dir in
2622  *\ * | *\	*)
2623    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2624  *)
2625    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2626  esac
2627fi
2628# Use eval to expand $SHELL
2629if eval "$MISSING --is-lightweight"; then
2630  am_missing_run="$MISSING "
2631else
2632  am_missing_run=
2633  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2634$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2635fi
2636
2637if test x"${install_sh}" != xset; then
2638  case $am_aux_dir in
2639  *\ * | *\	*)
2640    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2641  *)
2642    install_sh="\${SHELL} $am_aux_dir/install-sh"
2643  esac
2644fi
2645
2646# Installed binaries are usually stripped using 'strip' when the user
2647# run "make install-strip".  However 'strip' might not be the right
2648# tool to use in cross-compilation environments, therefore Automake
2649# will honor the 'STRIP' environment variable to overrule this program.
2650if test "$cross_compiling" != no; then
2651  if test -n "$ac_tool_prefix"; then
2652  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2653set dummy ${ac_tool_prefix}strip; ac_word=$2
2654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2655$as_echo_n "checking for $ac_word... " >&6; }
2656if ${ac_cv_prog_STRIP+:} false; then :
2657  $as_echo_n "(cached) " >&6
2658else
2659  if test -n "$STRIP"; then
2660  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2661else
2662as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663for as_dir in $PATH
2664do
2665  IFS=$as_save_IFS
2666  test -z "$as_dir" && as_dir=.
2667    for ac_exec_ext in '' $ac_executable_extensions; do
2668  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2669    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2670    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671    break 2
2672  fi
2673done
2674  done
2675IFS=$as_save_IFS
2676
2677fi
2678fi
2679STRIP=$ac_cv_prog_STRIP
2680if test -n "$STRIP"; then
2681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2682$as_echo "$STRIP" >&6; }
2683else
2684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685$as_echo "no" >&6; }
2686fi
2687
2688
2689fi
2690if test -z "$ac_cv_prog_STRIP"; then
2691  ac_ct_STRIP=$STRIP
2692  # Extract the first word of "strip", so it can be a program name with args.
2693set dummy strip; ac_word=$2
2694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695$as_echo_n "checking for $ac_word... " >&6; }
2696if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2697  $as_echo_n "(cached) " >&6
2698else
2699  if test -n "$ac_ct_STRIP"; then
2700  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2701else
2702as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703for as_dir in $PATH
2704do
2705  IFS=$as_save_IFS
2706  test -z "$as_dir" && as_dir=.
2707    for ac_exec_ext in '' $ac_executable_extensions; do
2708  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2709    ac_cv_prog_ac_ct_STRIP="strip"
2710    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711    break 2
2712  fi
2713done
2714  done
2715IFS=$as_save_IFS
2716
2717fi
2718fi
2719ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2720if test -n "$ac_ct_STRIP"; then
2721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2722$as_echo "$ac_ct_STRIP" >&6; }
2723else
2724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725$as_echo "no" >&6; }
2726fi
2727
2728  if test "x$ac_ct_STRIP" = x; then
2729    STRIP=":"
2730  else
2731    case $cross_compiling:$ac_tool_warned in
2732yes:)
2733{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2734$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2735ac_tool_warned=yes ;;
2736esac
2737    STRIP=$ac_ct_STRIP
2738  fi
2739else
2740  STRIP="$ac_cv_prog_STRIP"
2741fi
2742
2743fi
2744INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2745
2746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2747$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2748if test -z "$MKDIR_P"; then
2749  if ${ac_cv_path_mkdir+:} false; then :
2750  $as_echo_n "(cached) " >&6
2751else
2752  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2754do
2755  IFS=$as_save_IFS
2756  test -z "$as_dir" && as_dir=.
2757    for ac_prog in mkdir gmkdir; do
2758	 for ac_exec_ext in '' $ac_executable_extensions; do
2759	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2760	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2761	     'mkdir (GNU coreutils) '* | \
2762	     'mkdir (coreutils) '* | \
2763	     'mkdir (fileutils) '4.1*)
2764	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2765	       break 3;;
2766	   esac
2767	 done
2768       done
2769  done
2770IFS=$as_save_IFS
2771
2772fi
2773
2774  test -d ./--version && rmdir ./--version
2775  if test "${ac_cv_path_mkdir+set}" = set; then
2776    MKDIR_P="$ac_cv_path_mkdir -p"
2777  else
2778    # As a last resort, use the slow shell script.  Don't cache a
2779    # value for MKDIR_P within a source directory, because that will
2780    # break other packages using the cache if that directory is
2781    # removed, or if the value is a relative name.
2782    MKDIR_P="$ac_install_sh -d"
2783  fi
2784fi
2785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2786$as_echo "$MKDIR_P" >&6; }
2787
2788for ac_prog in gawk mawk nawk awk
2789do
2790  # Extract the first word of "$ac_prog", so it can be a program name with args.
2791set dummy $ac_prog; ac_word=$2
2792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2793$as_echo_n "checking for $ac_word... " >&6; }
2794if ${ac_cv_prog_AWK+:} false; then :
2795  $as_echo_n "(cached) " >&6
2796else
2797  if test -n "$AWK"; then
2798  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2799else
2800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801for as_dir in $PATH
2802do
2803  IFS=$as_save_IFS
2804  test -z "$as_dir" && as_dir=.
2805    for ac_exec_ext in '' $ac_executable_extensions; do
2806  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2807    ac_cv_prog_AWK="$ac_prog"
2808    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809    break 2
2810  fi
2811done
2812  done
2813IFS=$as_save_IFS
2814
2815fi
2816fi
2817AWK=$ac_cv_prog_AWK
2818if test -n "$AWK"; then
2819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2820$as_echo "$AWK" >&6; }
2821else
2822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2823$as_echo "no" >&6; }
2824fi
2825
2826
2827  test -n "$AWK" && break
2828done
2829
2830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2831$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2832set x ${MAKE-make}
2833ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2834if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2835  $as_echo_n "(cached) " >&6
2836else
2837  cat >conftest.make <<\_ACEOF
2838SHELL = /bin/sh
2839all:
2840	@echo '@@@%%%=$(MAKE)=@@@%%%'
2841_ACEOF
2842# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2843case `${MAKE-make} -f conftest.make 2>/dev/null` in
2844  *@@@%%%=?*=@@@%%%*)
2845    eval ac_cv_prog_make_${ac_make}_set=yes;;
2846  *)
2847    eval ac_cv_prog_make_${ac_make}_set=no;;
2848esac
2849rm -f conftest.make
2850fi
2851if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2853$as_echo "yes" >&6; }
2854  SET_MAKE=
2855else
2856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857$as_echo "no" >&6; }
2858  SET_MAKE="MAKE=${MAKE-make}"
2859fi
2860
2861rm -rf .tst 2>/dev/null
2862mkdir .tst 2>/dev/null
2863if test -d .tst; then
2864  am__leading_dot=.
2865else
2866  am__leading_dot=_
2867fi
2868rmdir .tst 2>/dev/null
2869
2870# Check whether --enable-silent-rules was given.
2871if test "${enable_silent_rules+set}" = set; then :
2872  enableval=$enable_silent_rules;
2873fi
2874
2875case $enable_silent_rules in # (((
2876  yes) AM_DEFAULT_VERBOSITY=0;;
2877   no) AM_DEFAULT_VERBOSITY=1;;
2878    *) AM_DEFAULT_VERBOSITY=1;;
2879esac
2880am_make=${MAKE-make}
2881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2882$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2883if ${am_cv_make_support_nested_variables+:} false; then :
2884  $as_echo_n "(cached) " >&6
2885else
2886  if $as_echo 'TRUE=$(BAR$(V))
2887BAR0=false
2888BAR1=true
2889V=1
2890am__doit:
2891	@$(TRUE)
2892.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2893  am_cv_make_support_nested_variables=yes
2894else
2895  am_cv_make_support_nested_variables=no
2896fi
2897fi
2898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2899$as_echo "$am_cv_make_support_nested_variables" >&6; }
2900if test $am_cv_make_support_nested_variables = yes; then
2901    AM_V='$(V)'
2902  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2903else
2904  AM_V=$AM_DEFAULT_VERBOSITY
2905  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2906fi
2907AM_BACKSLASH='\'
2908
2909if test "`cd $srcdir && pwd`" != "`pwd`"; then
2910  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2911  # is not polluted with repeated "-I."
2912  am__isrc=' -I$(srcdir)'
2913  # test to see if srcdir already configured
2914  if test -f $srcdir/config.status; then
2915    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2916  fi
2917fi
2918
2919# test whether we have cygpath
2920if test -z "$CYGPATH_W"; then
2921  if (cygpath --version) >/dev/null 2>/dev/null; then
2922    CYGPATH_W='cygpath -w'
2923  else
2924    CYGPATH_W=echo
2925  fi
2926fi
2927
2928
2929# Define the identity of the package.
2930 PACKAGE='cego'
2931 VERSION='2.47.11'
2932
2933
2934cat >>confdefs.h <<_ACEOF
2935#define PACKAGE "$PACKAGE"
2936_ACEOF
2937
2938
2939cat >>confdefs.h <<_ACEOF
2940#define VERSION "$VERSION"
2941_ACEOF
2942
2943# Some tools Automake needs.
2944
2945ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2946
2947
2948AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2949
2950
2951AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2952
2953
2954AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2955
2956
2957MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2958
2959# For better backward compatibility.  To be removed once Automake 1.9.x
2960# dies out for good.  For more background, see:
2961# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2962# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2963mkdir_p='$(MKDIR_P)'
2964
2965# We need awk for the "check" target.  The system "awk" is bad on
2966# some platforms.
2967# Always define AMTAR for backward compatibility.  Yes, it's still used
2968# in the wild :-(  We should find a proper way to deprecate it ...
2969AMTAR='$${TAR-tar}'
2970
2971am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2972
2973
2974
2975
2976
2977
2978ac_config_headers="$ac_config_headers config.h"
2979
2980
2981
2982
2983# Checks for programs.
2984ac_ext=cpp
2985ac_cpp='$CXXCPP $CPPFLAGS'
2986ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2987ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2988ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2989if test -z "$CXX"; then
2990  if test -n "$CCC"; then
2991    CXX=$CCC
2992  else
2993    if test -n "$ac_tool_prefix"; then
2994  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2995  do
2996    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2997set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2999$as_echo_n "checking for $ac_word... " >&6; }
3000if ${ac_cv_prog_CXX+:} false; then :
3001  $as_echo_n "(cached) " >&6
3002else
3003  if test -n "$CXX"; then
3004  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3005else
3006as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3007for as_dir in $PATH
3008do
3009  IFS=$as_save_IFS
3010  test -z "$as_dir" && as_dir=.
3011    for ac_exec_ext in '' $ac_executable_extensions; do
3012  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3013    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3014    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015    break 2
3016  fi
3017done
3018  done
3019IFS=$as_save_IFS
3020
3021fi
3022fi
3023CXX=$ac_cv_prog_CXX
3024if test -n "$CXX"; then
3025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3026$as_echo "$CXX" >&6; }
3027else
3028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029$as_echo "no" >&6; }
3030fi
3031
3032
3033    test -n "$CXX" && break
3034  done
3035fi
3036if test -z "$CXX"; then
3037  ac_ct_CXX=$CXX
3038  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3039do
3040  # Extract the first word of "$ac_prog", so it can be a program name with args.
3041set dummy $ac_prog; ac_word=$2
3042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043$as_echo_n "checking for $ac_word... " >&6; }
3044if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3045  $as_echo_n "(cached) " >&6
3046else
3047  if test -n "$ac_ct_CXX"; then
3048  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3049else
3050as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3051for as_dir in $PATH
3052do
3053  IFS=$as_save_IFS
3054  test -z "$as_dir" && as_dir=.
3055    for ac_exec_ext in '' $ac_executable_extensions; do
3056  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3057    ac_cv_prog_ac_ct_CXX="$ac_prog"
3058    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059    break 2
3060  fi
3061done
3062  done
3063IFS=$as_save_IFS
3064
3065fi
3066fi
3067ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3068if test -n "$ac_ct_CXX"; then
3069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3070$as_echo "$ac_ct_CXX" >&6; }
3071else
3072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073$as_echo "no" >&6; }
3074fi
3075
3076
3077  test -n "$ac_ct_CXX" && break
3078done
3079
3080  if test "x$ac_ct_CXX" = x; then
3081    CXX="g++"
3082  else
3083    case $cross_compiling:$ac_tool_warned in
3084yes:)
3085{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3086$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3087ac_tool_warned=yes ;;
3088esac
3089    CXX=$ac_ct_CXX
3090  fi
3091fi
3092
3093  fi
3094fi
3095# Provide some information about the compiler.
3096$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3097set X $ac_compile
3098ac_compiler=$2
3099for ac_option in --version -v -V -qversion; do
3100  { { ac_try="$ac_compiler $ac_option >&5"
3101case "(($ac_try" in
3102  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103  *) ac_try_echo=$ac_try;;
3104esac
3105eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3106$as_echo "$ac_try_echo"; } >&5
3107  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3108  ac_status=$?
3109  if test -s conftest.err; then
3110    sed '10a\
3111... rest of stderr output deleted ...
3112         10q' conftest.err >conftest.er1
3113    cat conftest.er1 >&5
3114  fi
3115  rm -f conftest.er1 conftest.err
3116  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117  test $ac_status = 0; }
3118done
3119
3120cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121/* end confdefs.h.  */
3122
3123int
3124main ()
3125{
3126
3127  ;
3128  return 0;
3129}
3130_ACEOF
3131ac_clean_files_save=$ac_clean_files
3132ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3133# Try to create an executable without -o first, disregard a.out.
3134# It will help us diagnose broken compilers, and finding out an intuition
3135# of exeext.
3136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3137$as_echo_n "checking whether the C++ compiler works... " >&6; }
3138ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3139
3140# The possible output files:
3141ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3142
3143ac_rmfiles=
3144for ac_file in $ac_files
3145do
3146  case $ac_file in
3147    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3148    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3149  esac
3150done
3151rm -f $ac_rmfiles
3152
3153if { { ac_try="$ac_link_default"
3154case "(($ac_try" in
3155  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156  *) ac_try_echo=$ac_try;;
3157esac
3158eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3159$as_echo "$ac_try_echo"; } >&5
3160  (eval "$ac_link_default") 2>&5
3161  ac_status=$?
3162  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3163  test $ac_status = 0; }; then :
3164  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3165# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3166# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3167# so that the user can short-circuit this test for compilers unknown to
3168# Autoconf.
3169for ac_file in $ac_files ''
3170do
3171  test -f "$ac_file" || continue
3172  case $ac_file in
3173    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3174	;;
3175    [ab].out )
3176	# We found the default executable, but exeext='' is most
3177	# certainly right.
3178	break;;
3179    *.* )
3180	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3181	then :; else
3182	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3183	fi
3184	# We set ac_cv_exeext here because the later test for it is not
3185	# safe: cross compilers may not add the suffix if given an `-o'
3186	# argument, so we may need to know it at that point already.
3187	# Even if this section looks crufty: it has the advantage of
3188	# actually working.
3189	break;;
3190    * )
3191	break;;
3192  esac
3193done
3194test "$ac_cv_exeext" = no && ac_cv_exeext=
3195
3196else
3197  ac_file=''
3198fi
3199if test -z "$ac_file"; then :
3200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201$as_echo "no" >&6; }
3202$as_echo "$as_me: failed program was:" >&5
3203sed 's/^/| /' conftest.$ac_ext >&5
3204
3205{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3206$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3207as_fn_error 77 "C++ compiler cannot create executables
3208See \`config.log' for more details" "$LINENO" 5; }
3209else
3210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3211$as_echo "yes" >&6; }
3212fi
3213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3214$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3216$as_echo "$ac_file" >&6; }
3217ac_exeext=$ac_cv_exeext
3218
3219rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3220ac_clean_files=$ac_clean_files_save
3221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3222$as_echo_n "checking for suffix of executables... " >&6; }
3223if { { ac_try="$ac_link"
3224case "(($ac_try" in
3225  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226  *) ac_try_echo=$ac_try;;
3227esac
3228eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3229$as_echo "$ac_try_echo"; } >&5
3230  (eval "$ac_link") 2>&5
3231  ac_status=$?
3232  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3233  test $ac_status = 0; }; then :
3234  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3235# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3236# work properly (i.e., refer to `conftest.exe'), while it won't with
3237# `rm'.
3238for ac_file in conftest.exe conftest conftest.*; do
3239  test -f "$ac_file" || continue
3240  case $ac_file in
3241    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3242    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3243	  break;;
3244    * ) break;;
3245  esac
3246done
3247else
3248  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3249$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3250as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3251See \`config.log' for more details" "$LINENO" 5; }
3252fi
3253rm -f conftest conftest$ac_cv_exeext
3254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3255$as_echo "$ac_cv_exeext" >&6; }
3256
3257rm -f conftest.$ac_ext
3258EXEEXT=$ac_cv_exeext
3259ac_exeext=$EXEEXT
3260cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261/* end confdefs.h.  */
3262#include <stdio.h>
3263int
3264main ()
3265{
3266FILE *f = fopen ("conftest.out", "w");
3267 return ferror (f) || fclose (f) != 0;
3268
3269  ;
3270  return 0;
3271}
3272_ACEOF
3273ac_clean_files="$ac_clean_files conftest.out"
3274# Check that the compiler produces executables we can run.  If not, either
3275# the compiler is broken, or we cross compile.
3276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3277$as_echo_n "checking whether we are cross compiling... " >&6; }
3278if test "$cross_compiling" != yes; then
3279  { { ac_try="$ac_link"
3280case "(($ac_try" in
3281  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3282  *) ac_try_echo=$ac_try;;
3283esac
3284eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3285$as_echo "$ac_try_echo"; } >&5
3286  (eval "$ac_link") 2>&5
3287  ac_status=$?
3288  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289  test $ac_status = 0; }
3290  if { ac_try='./conftest$ac_cv_exeext'
3291  { { case "(($ac_try" in
3292  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293  *) ac_try_echo=$ac_try;;
3294esac
3295eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3296$as_echo "$ac_try_echo"; } >&5
3297  (eval "$ac_try") 2>&5
3298  ac_status=$?
3299  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3300  test $ac_status = 0; }; }; then
3301    cross_compiling=no
3302  else
3303    if test "$cross_compiling" = maybe; then
3304	cross_compiling=yes
3305    else
3306	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3307$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3308as_fn_error $? "cannot run C++ compiled programs.
3309If you meant to cross compile, use \`--host'.
3310See \`config.log' for more details" "$LINENO" 5; }
3311    fi
3312  fi
3313fi
3314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3315$as_echo "$cross_compiling" >&6; }
3316
3317rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3318ac_clean_files=$ac_clean_files_save
3319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3320$as_echo_n "checking for suffix of object files... " >&6; }
3321if ${ac_cv_objext+:} false; then :
3322  $as_echo_n "(cached) " >&6
3323else
3324  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3325/* end confdefs.h.  */
3326
3327int
3328main ()
3329{
3330
3331  ;
3332  return 0;
3333}
3334_ACEOF
3335rm -f conftest.o conftest.obj
3336if { { ac_try="$ac_compile"
3337case "(($ac_try" in
3338  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339  *) ac_try_echo=$ac_try;;
3340esac
3341eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3342$as_echo "$ac_try_echo"; } >&5
3343  (eval "$ac_compile") 2>&5
3344  ac_status=$?
3345  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346  test $ac_status = 0; }; then :
3347  for ac_file in conftest.o conftest.obj conftest.*; do
3348  test -f "$ac_file" || continue;
3349  case $ac_file in
3350    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3351    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3352       break;;
3353  esac
3354done
3355else
3356  $as_echo "$as_me: failed program was:" >&5
3357sed 's/^/| /' conftest.$ac_ext >&5
3358
3359{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3360$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3361as_fn_error $? "cannot compute suffix of object files: cannot compile
3362See \`config.log' for more details" "$LINENO" 5; }
3363fi
3364rm -f conftest.$ac_cv_objext conftest.$ac_ext
3365fi
3366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3367$as_echo "$ac_cv_objext" >&6; }
3368OBJEXT=$ac_cv_objext
3369ac_objext=$OBJEXT
3370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3371$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3372if ${ac_cv_cxx_compiler_gnu+:} false; then :
3373  $as_echo_n "(cached) " >&6
3374else
3375  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376/* end confdefs.h.  */
3377
3378int
3379main ()
3380{
3381#ifndef __GNUC__
3382       choke me
3383#endif
3384
3385  ;
3386  return 0;
3387}
3388_ACEOF
3389if ac_fn_cxx_try_compile "$LINENO"; then :
3390  ac_compiler_gnu=yes
3391else
3392  ac_compiler_gnu=no
3393fi
3394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3395ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3396
3397fi
3398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3399$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3400if test $ac_compiler_gnu = yes; then
3401  GXX=yes
3402else
3403  GXX=
3404fi
3405ac_test_CXXFLAGS=${CXXFLAGS+set}
3406ac_save_CXXFLAGS=$CXXFLAGS
3407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3408$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3409if ${ac_cv_prog_cxx_g+:} false; then :
3410  $as_echo_n "(cached) " >&6
3411else
3412  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3413   ac_cxx_werror_flag=yes
3414   ac_cv_prog_cxx_g=no
3415   CXXFLAGS="-g"
3416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417/* end confdefs.h.  */
3418
3419int
3420main ()
3421{
3422
3423  ;
3424  return 0;
3425}
3426_ACEOF
3427if ac_fn_cxx_try_compile "$LINENO"; then :
3428  ac_cv_prog_cxx_g=yes
3429else
3430  CXXFLAGS=""
3431      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432/* end confdefs.h.  */
3433
3434int
3435main ()
3436{
3437
3438  ;
3439  return 0;
3440}
3441_ACEOF
3442if ac_fn_cxx_try_compile "$LINENO"; then :
3443
3444else
3445  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3446	 CXXFLAGS="-g"
3447	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448/* end confdefs.h.  */
3449
3450int
3451main ()
3452{
3453
3454  ;
3455  return 0;
3456}
3457_ACEOF
3458if ac_fn_cxx_try_compile "$LINENO"; then :
3459  ac_cv_prog_cxx_g=yes
3460fi
3461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3462fi
3463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464fi
3465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3467fi
3468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3469$as_echo "$ac_cv_prog_cxx_g" >&6; }
3470if test "$ac_test_CXXFLAGS" = set; then
3471  CXXFLAGS=$ac_save_CXXFLAGS
3472elif test $ac_cv_prog_cxx_g = yes; then
3473  if test "$GXX" = yes; then
3474    CXXFLAGS="-g -O2"
3475  else
3476    CXXFLAGS="-g"
3477  fi
3478else
3479  if test "$GXX" = yes; then
3480    CXXFLAGS="-O2"
3481  else
3482    CXXFLAGS=
3483  fi
3484fi
3485ac_ext=c
3486ac_cpp='$CPP $CPPFLAGS'
3487ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3488ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3489ac_compiler_gnu=$ac_cv_c_compiler_gnu
3490DEPDIR="${am__leading_dot}deps"
3491
3492ac_config_commands="$ac_config_commands depfiles"
3493
3494
3495am_make=${MAKE-make}
3496cat > confinc << 'END'
3497am__doit:
3498	@echo this is the am__doit target
3499.PHONY: am__doit
3500END
3501# If we don't find an include directive, just comment out the code.
3502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3503$as_echo_n "checking for style of include used by $am_make... " >&6; }
3504am__include="#"
3505am__quote=
3506_am_result=none
3507# First try GNU make style include.
3508echo "include confinc" > confmf
3509# Ignore all kinds of additional output from 'make'.
3510case `$am_make -s -f confmf 2> /dev/null` in #(
3511*the\ am__doit\ target*)
3512  am__include=include
3513  am__quote=
3514  _am_result=GNU
3515  ;;
3516esac
3517# Now try BSD make style include.
3518if test "$am__include" = "#"; then
3519   echo '.include "confinc"' > confmf
3520   case `$am_make -s -f confmf 2> /dev/null` in #(
3521   *the\ am__doit\ target*)
3522     am__include=.include
3523     am__quote="\""
3524     _am_result=BSD
3525     ;;
3526   esac
3527fi
3528
3529
3530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3531$as_echo "$_am_result" >&6; }
3532rm -f confinc confmf
3533
3534# Check whether --enable-dependency-tracking was given.
3535if test "${enable_dependency_tracking+set}" = set; then :
3536  enableval=$enable_dependency_tracking;
3537fi
3538
3539if test "x$enable_dependency_tracking" != xno; then
3540  am_depcomp="$ac_aux_dir/depcomp"
3541  AMDEPBACKSLASH='\'
3542  am__nodep='_no'
3543fi
3544 if test "x$enable_dependency_tracking" != xno; then
3545  AMDEP_TRUE=
3546  AMDEP_FALSE='#'
3547else
3548  AMDEP_TRUE='#'
3549  AMDEP_FALSE=
3550fi
3551
3552
3553
3554depcc="$CXX"  am_compiler_list=
3555
3556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3557$as_echo_n "checking dependency style of $depcc... " >&6; }
3558if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3559  $as_echo_n "(cached) " >&6
3560else
3561  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3562  # We make a subdir and do the tests there.  Otherwise we can end up
3563  # making bogus files that we don't know about and never remove.  For
3564  # instance it was reported that on HP-UX the gcc test will end up
3565  # making a dummy file named 'D' -- because '-MD' means "put the output
3566  # in D".
3567  rm -rf conftest.dir
3568  mkdir conftest.dir
3569  # Copy depcomp to subdir because otherwise we won't find it if we're
3570  # using a relative directory.
3571  cp "$am_depcomp" conftest.dir
3572  cd conftest.dir
3573  # We will build objects and dependencies in a subdirectory because
3574  # it helps to detect inapplicable dependency modes.  For instance
3575  # both Tru64's cc and ICC support -MD to output dependencies as a
3576  # side effect of compilation, but ICC will put the dependencies in
3577  # the current directory while Tru64 will put them in the object
3578  # directory.
3579  mkdir sub
3580
3581  am_cv_CXX_dependencies_compiler_type=none
3582  if test "$am_compiler_list" = ""; then
3583     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3584  fi
3585  am__universal=false
3586  case " $depcc " in #(
3587     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3588     esac
3589
3590  for depmode in $am_compiler_list; do
3591    # Setup a source with many dependencies, because some compilers
3592    # like to wrap large dependency lists on column 80 (with \), and
3593    # we should not choose a depcomp mode which is confused by this.
3594    #
3595    # We need to recreate these files for each test, as the compiler may
3596    # overwrite some of them when testing with obscure command lines.
3597    # This happens at least with the AIX C compiler.
3598    : > sub/conftest.c
3599    for i in 1 2 3 4 5 6; do
3600      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3601      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3602      # Solaris 10 /bin/sh.
3603      echo '/* dummy */' > sub/conftst$i.h
3604    done
3605    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3606
3607    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3608    # mode.  It turns out that the SunPro C++ compiler does not properly
3609    # handle '-M -o', and we need to detect this.  Also, some Intel
3610    # versions had trouble with output in subdirs.
3611    am__obj=sub/conftest.${OBJEXT-o}
3612    am__minus_obj="-o $am__obj"
3613    case $depmode in
3614    gcc)
3615      # This depmode causes a compiler race in universal mode.
3616      test "$am__universal" = false || continue
3617      ;;
3618    nosideeffect)
3619      # After this tag, mechanisms are not by side-effect, so they'll
3620      # only be used when explicitly requested.
3621      if test "x$enable_dependency_tracking" = xyes; then
3622	continue
3623      else
3624	break
3625      fi
3626      ;;
3627    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3628      # This compiler won't grok '-c -o', but also, the minuso test has
3629      # not run yet.  These depmodes are late enough in the game, and
3630      # so weak that their functioning should not be impacted.
3631      am__obj=conftest.${OBJEXT-o}
3632      am__minus_obj=
3633      ;;
3634    none) break ;;
3635    esac
3636    if depmode=$depmode \
3637       source=sub/conftest.c object=$am__obj \
3638       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3639       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3640         >/dev/null 2>conftest.err &&
3641       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3642       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3643       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3644       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3645      # icc doesn't choke on unknown options, it will just issue warnings
3646      # or remarks (even with -Werror).  So we grep stderr for any message
3647      # that says an option was ignored or not supported.
3648      # When given -MP, icc 7.0 and 7.1 complain thusly:
3649      #   icc: Command line warning: ignoring option '-M'; no argument required
3650      # The diagnosis changed in icc 8.0:
3651      #   icc: Command line remark: option '-MP' not supported
3652      if (grep 'ignoring option' conftest.err ||
3653          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3654        am_cv_CXX_dependencies_compiler_type=$depmode
3655        break
3656      fi
3657    fi
3658  done
3659
3660  cd ..
3661  rm -rf conftest.dir
3662else
3663  am_cv_CXX_dependencies_compiler_type=none
3664fi
3665
3666fi
3667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3668$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3669CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3670
3671 if
3672  test "x$enable_dependency_tracking" != xno \
3673  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3674  am__fastdepCXX_TRUE=
3675  am__fastdepCXX_FALSE='#'
3676else
3677  am__fastdepCXX_TRUE='#'
3678  am__fastdepCXX_FALSE=
3679fi
3680
3681
3682for ac_prog in gawk mawk nawk awk
3683do
3684  # Extract the first word of "$ac_prog", so it can be a program name with args.
3685set dummy $ac_prog; ac_word=$2
3686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3687$as_echo_n "checking for $ac_word... " >&6; }
3688if ${ac_cv_prog_AWK+:} false; then :
3689  $as_echo_n "(cached) " >&6
3690else
3691  if test -n "$AWK"; then
3692  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3693else
3694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695for as_dir in $PATH
3696do
3697  IFS=$as_save_IFS
3698  test -z "$as_dir" && as_dir=.
3699    for ac_exec_ext in '' $ac_executable_extensions; do
3700  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3701    ac_cv_prog_AWK="$ac_prog"
3702    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703    break 2
3704  fi
3705done
3706  done
3707IFS=$as_save_IFS
3708
3709fi
3710fi
3711AWK=$ac_cv_prog_AWK
3712if test -n "$AWK"; then
3713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3714$as_echo "$AWK" >&6; }
3715else
3716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3717$as_echo "no" >&6; }
3718fi
3719
3720
3721  test -n "$AWK" && break
3722done
3723
3724ac_ext=c
3725ac_cpp='$CPP $CPPFLAGS'
3726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3728ac_compiler_gnu=$ac_cv_c_compiler_gnu
3729if test -n "$ac_tool_prefix"; then
3730  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3731set dummy ${ac_tool_prefix}gcc; ac_word=$2
3732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3733$as_echo_n "checking for $ac_word... " >&6; }
3734if ${ac_cv_prog_CC+:} false; then :
3735  $as_echo_n "(cached) " >&6
3736else
3737  if test -n "$CC"; then
3738  ac_cv_prog_CC="$CC" # Let the user override the test.
3739else
3740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741for as_dir in $PATH
3742do
3743  IFS=$as_save_IFS
3744  test -z "$as_dir" && as_dir=.
3745    for ac_exec_ext in '' $ac_executable_extensions; do
3746  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3747    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3748    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3749    break 2
3750  fi
3751done
3752  done
3753IFS=$as_save_IFS
3754
3755fi
3756fi
3757CC=$ac_cv_prog_CC
3758if test -n "$CC"; then
3759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3760$as_echo "$CC" >&6; }
3761else
3762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763$as_echo "no" >&6; }
3764fi
3765
3766
3767fi
3768if test -z "$ac_cv_prog_CC"; then
3769  ac_ct_CC=$CC
3770  # Extract the first word of "gcc", so it can be a program name with args.
3771set dummy gcc; ac_word=$2
3772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3773$as_echo_n "checking for $ac_word... " >&6; }
3774if ${ac_cv_prog_ac_ct_CC+:} false; then :
3775  $as_echo_n "(cached) " >&6
3776else
3777  if test -n "$ac_ct_CC"; then
3778  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3779else
3780as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3781for as_dir in $PATH
3782do
3783  IFS=$as_save_IFS
3784  test -z "$as_dir" && as_dir=.
3785    for ac_exec_ext in '' $ac_executable_extensions; do
3786  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3787    ac_cv_prog_ac_ct_CC="gcc"
3788    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789    break 2
3790  fi
3791done
3792  done
3793IFS=$as_save_IFS
3794
3795fi
3796fi
3797ac_ct_CC=$ac_cv_prog_ac_ct_CC
3798if test -n "$ac_ct_CC"; then
3799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3800$as_echo "$ac_ct_CC" >&6; }
3801else
3802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3803$as_echo "no" >&6; }
3804fi
3805
3806  if test "x$ac_ct_CC" = x; then
3807    CC=""
3808  else
3809    case $cross_compiling:$ac_tool_warned in
3810yes:)
3811{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3812$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3813ac_tool_warned=yes ;;
3814esac
3815    CC=$ac_ct_CC
3816  fi
3817else
3818  CC="$ac_cv_prog_CC"
3819fi
3820
3821if test -z "$CC"; then
3822          if test -n "$ac_tool_prefix"; then
3823    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3824set dummy ${ac_tool_prefix}cc; ac_word=$2
3825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3826$as_echo_n "checking for $ac_word... " >&6; }
3827if ${ac_cv_prog_CC+:} false; then :
3828  $as_echo_n "(cached) " >&6
3829else
3830  if test -n "$CC"; then
3831  ac_cv_prog_CC="$CC" # Let the user override the test.
3832else
3833as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3834for as_dir in $PATH
3835do
3836  IFS=$as_save_IFS
3837  test -z "$as_dir" && as_dir=.
3838    for ac_exec_ext in '' $ac_executable_extensions; do
3839  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3840    ac_cv_prog_CC="${ac_tool_prefix}cc"
3841    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3842    break 2
3843  fi
3844done
3845  done
3846IFS=$as_save_IFS
3847
3848fi
3849fi
3850CC=$ac_cv_prog_CC
3851if test -n "$CC"; then
3852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3853$as_echo "$CC" >&6; }
3854else
3855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3856$as_echo "no" >&6; }
3857fi
3858
3859
3860  fi
3861fi
3862if test -z "$CC"; then
3863  # Extract the first word of "cc", so it can be a program name with args.
3864set dummy cc; ac_word=$2
3865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3866$as_echo_n "checking for $ac_word... " >&6; }
3867if ${ac_cv_prog_CC+:} false; then :
3868  $as_echo_n "(cached) " >&6
3869else
3870  if test -n "$CC"; then
3871  ac_cv_prog_CC="$CC" # Let the user override the test.
3872else
3873  ac_prog_rejected=no
3874as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3875for as_dir in $PATH
3876do
3877  IFS=$as_save_IFS
3878  test -z "$as_dir" && as_dir=.
3879    for ac_exec_ext in '' $ac_executable_extensions; do
3880  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3881    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3882       ac_prog_rejected=yes
3883       continue
3884     fi
3885    ac_cv_prog_CC="cc"
3886    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887    break 2
3888  fi
3889done
3890  done
3891IFS=$as_save_IFS
3892
3893if test $ac_prog_rejected = yes; then
3894  # We found a bogon in the path, so make sure we never use it.
3895  set dummy $ac_cv_prog_CC
3896  shift
3897  if test $# != 0; then
3898    # We chose a different compiler from the bogus one.
3899    # However, it has the same basename, so the bogon will be chosen
3900    # first if we set CC to just the basename; use the full file name.
3901    shift
3902    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3903  fi
3904fi
3905fi
3906fi
3907CC=$ac_cv_prog_CC
3908if test -n "$CC"; then
3909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3910$as_echo "$CC" >&6; }
3911else
3912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913$as_echo "no" >&6; }
3914fi
3915
3916
3917fi
3918if test -z "$CC"; then
3919  if test -n "$ac_tool_prefix"; then
3920  for ac_prog in cl.exe
3921  do
3922    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3923set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3925$as_echo_n "checking for $ac_word... " >&6; }
3926if ${ac_cv_prog_CC+:} false; then :
3927  $as_echo_n "(cached) " >&6
3928else
3929  if test -n "$CC"; then
3930  ac_cv_prog_CC="$CC" # Let the user override the test.
3931else
3932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933for as_dir in $PATH
3934do
3935  IFS=$as_save_IFS
3936  test -z "$as_dir" && as_dir=.
3937    for ac_exec_ext in '' $ac_executable_extensions; do
3938  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3939    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3940    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3941    break 2
3942  fi
3943done
3944  done
3945IFS=$as_save_IFS
3946
3947fi
3948fi
3949CC=$ac_cv_prog_CC
3950if test -n "$CC"; then
3951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3952$as_echo "$CC" >&6; }
3953else
3954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3955$as_echo "no" >&6; }
3956fi
3957
3958
3959    test -n "$CC" && break
3960  done
3961fi
3962if test -z "$CC"; then
3963  ac_ct_CC=$CC
3964  for ac_prog in cl.exe
3965do
3966  # Extract the first word of "$ac_prog", so it can be a program name with args.
3967set dummy $ac_prog; ac_word=$2
3968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3969$as_echo_n "checking for $ac_word... " >&6; }
3970if ${ac_cv_prog_ac_ct_CC+:} false; then :
3971  $as_echo_n "(cached) " >&6
3972else
3973  if test -n "$ac_ct_CC"; then
3974  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3975else
3976as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977for as_dir in $PATH
3978do
3979  IFS=$as_save_IFS
3980  test -z "$as_dir" && as_dir=.
3981    for ac_exec_ext in '' $ac_executable_extensions; do
3982  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3983    ac_cv_prog_ac_ct_CC="$ac_prog"
3984    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985    break 2
3986  fi
3987done
3988  done
3989IFS=$as_save_IFS
3990
3991fi
3992fi
3993ac_ct_CC=$ac_cv_prog_ac_ct_CC
3994if test -n "$ac_ct_CC"; then
3995  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3996$as_echo "$ac_ct_CC" >&6; }
3997else
3998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3999$as_echo "no" >&6; }
4000fi
4001
4002
4003  test -n "$ac_ct_CC" && break
4004done
4005
4006  if test "x$ac_ct_CC" = x; then
4007    CC=""
4008  else
4009    case $cross_compiling:$ac_tool_warned in
4010yes:)
4011{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4012$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4013ac_tool_warned=yes ;;
4014esac
4015    CC=$ac_ct_CC
4016  fi
4017fi
4018
4019fi
4020
4021
4022test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024as_fn_error $? "no acceptable C compiler found in \$PATH
4025See \`config.log' for more details" "$LINENO" 5; }
4026
4027# Provide some information about the compiler.
4028$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4029set X $ac_compile
4030ac_compiler=$2
4031for ac_option in --version -v -V -qversion; do
4032  { { ac_try="$ac_compiler $ac_option >&5"
4033case "(($ac_try" in
4034  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035  *) ac_try_echo=$ac_try;;
4036esac
4037eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038$as_echo "$ac_try_echo"; } >&5
4039  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4040  ac_status=$?
4041  if test -s conftest.err; then
4042    sed '10a\
4043... rest of stderr output deleted ...
4044         10q' conftest.err >conftest.er1
4045    cat conftest.er1 >&5
4046  fi
4047  rm -f conftest.er1 conftest.err
4048  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4049  test $ac_status = 0; }
4050done
4051
4052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4053$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4054if ${ac_cv_c_compiler_gnu+:} false; then :
4055  $as_echo_n "(cached) " >&6
4056else
4057  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058/* end confdefs.h.  */
4059
4060int
4061main ()
4062{
4063#ifndef __GNUC__
4064       choke me
4065#endif
4066
4067  ;
4068  return 0;
4069}
4070_ACEOF
4071if ac_fn_c_try_compile "$LINENO"; then :
4072  ac_compiler_gnu=yes
4073else
4074  ac_compiler_gnu=no
4075fi
4076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4077ac_cv_c_compiler_gnu=$ac_compiler_gnu
4078
4079fi
4080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4081$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4082if test $ac_compiler_gnu = yes; then
4083  GCC=yes
4084else
4085  GCC=
4086fi
4087ac_test_CFLAGS=${CFLAGS+set}
4088ac_save_CFLAGS=$CFLAGS
4089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4090$as_echo_n "checking whether $CC accepts -g... " >&6; }
4091if ${ac_cv_prog_cc_g+:} false; then :
4092  $as_echo_n "(cached) " >&6
4093else
4094  ac_save_c_werror_flag=$ac_c_werror_flag
4095   ac_c_werror_flag=yes
4096   ac_cv_prog_cc_g=no
4097   CFLAGS="-g"
4098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099/* end confdefs.h.  */
4100
4101int
4102main ()
4103{
4104
4105  ;
4106  return 0;
4107}
4108_ACEOF
4109if ac_fn_c_try_compile "$LINENO"; then :
4110  ac_cv_prog_cc_g=yes
4111else
4112  CFLAGS=""
4113      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114/* end confdefs.h.  */
4115
4116int
4117main ()
4118{
4119
4120  ;
4121  return 0;
4122}
4123_ACEOF
4124if ac_fn_c_try_compile "$LINENO"; then :
4125
4126else
4127  ac_c_werror_flag=$ac_save_c_werror_flag
4128	 CFLAGS="-g"
4129	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130/* end confdefs.h.  */
4131
4132int
4133main ()
4134{
4135
4136  ;
4137  return 0;
4138}
4139_ACEOF
4140if ac_fn_c_try_compile "$LINENO"; then :
4141  ac_cv_prog_cc_g=yes
4142fi
4143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144fi
4145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4146fi
4147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4148   ac_c_werror_flag=$ac_save_c_werror_flag
4149fi
4150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4151$as_echo "$ac_cv_prog_cc_g" >&6; }
4152if test "$ac_test_CFLAGS" = set; then
4153  CFLAGS=$ac_save_CFLAGS
4154elif test $ac_cv_prog_cc_g = yes; then
4155  if test "$GCC" = yes; then
4156    CFLAGS="-g -O2"
4157  else
4158    CFLAGS="-g"
4159  fi
4160else
4161  if test "$GCC" = yes; then
4162    CFLAGS="-O2"
4163  else
4164    CFLAGS=
4165  fi
4166fi
4167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4168$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4169if ${ac_cv_prog_cc_c89+:} false; then :
4170  $as_echo_n "(cached) " >&6
4171else
4172  ac_cv_prog_cc_c89=no
4173ac_save_CC=$CC
4174cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175/* end confdefs.h.  */
4176#include <stdarg.h>
4177#include <stdio.h>
4178struct stat;
4179/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4180struct buf { int x; };
4181FILE * (*rcsopen) (struct buf *, struct stat *, int);
4182static char *e (p, i)
4183     char **p;
4184     int i;
4185{
4186  return p[i];
4187}
4188static char *f (char * (*g) (char **, int), char **p, ...)
4189{
4190  char *s;
4191  va_list v;
4192  va_start (v,p);
4193  s = g (p, va_arg (v,int));
4194  va_end (v);
4195  return s;
4196}
4197
4198/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4199   function prototypes and stuff, but not '\xHH' hex character constants.
4200   These don't provoke an error unfortunately, instead are silently treated
4201   as 'x'.  The following induces an error, until -std is added to get
4202   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4203   array size at least.  It's necessary to write '\x00'==0 to get something
4204   that's true only with -std.  */
4205int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4206
4207/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4208   inside strings and character constants.  */
4209#define FOO(x) 'x'
4210int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4211
4212int test (int i, double x);
4213struct s1 {int (*f) (int a);};
4214struct s2 {int (*f) (double a);};
4215int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4216int argc;
4217char **argv;
4218int
4219main ()
4220{
4221return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4222  ;
4223  return 0;
4224}
4225_ACEOF
4226for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4227	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4228do
4229  CC="$ac_save_CC $ac_arg"
4230  if ac_fn_c_try_compile "$LINENO"; then :
4231  ac_cv_prog_cc_c89=$ac_arg
4232fi
4233rm -f core conftest.err conftest.$ac_objext
4234  test "x$ac_cv_prog_cc_c89" != "xno" && break
4235done
4236rm -f conftest.$ac_ext
4237CC=$ac_save_CC
4238
4239fi
4240# AC_CACHE_VAL
4241case "x$ac_cv_prog_cc_c89" in
4242  x)
4243    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4244$as_echo "none needed" >&6; } ;;
4245  xno)
4246    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4247$as_echo "unsupported" >&6; } ;;
4248  *)
4249    CC="$CC $ac_cv_prog_cc_c89"
4250    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4251$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4252esac
4253if test "x$ac_cv_prog_cc_c89" != xno; then :
4254
4255fi
4256
4257ac_ext=c
4258ac_cpp='$CPP $CPPFLAGS'
4259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4261ac_compiler_gnu=$ac_cv_c_compiler_gnu
4262
4263depcc="$CC"   am_compiler_list=
4264
4265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4266$as_echo_n "checking dependency style of $depcc... " >&6; }
4267if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4268  $as_echo_n "(cached) " >&6
4269else
4270  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4271  # We make a subdir and do the tests there.  Otherwise we can end up
4272  # making bogus files that we don't know about and never remove.  For
4273  # instance it was reported that on HP-UX the gcc test will end up
4274  # making a dummy file named 'D' -- because '-MD' means "put the output
4275  # in D".
4276  rm -rf conftest.dir
4277  mkdir conftest.dir
4278  # Copy depcomp to subdir because otherwise we won't find it if we're
4279  # using a relative directory.
4280  cp "$am_depcomp" conftest.dir
4281  cd conftest.dir
4282  # We will build objects and dependencies in a subdirectory because
4283  # it helps to detect inapplicable dependency modes.  For instance
4284  # both Tru64's cc and ICC support -MD to output dependencies as a
4285  # side effect of compilation, but ICC will put the dependencies in
4286  # the current directory while Tru64 will put them in the object
4287  # directory.
4288  mkdir sub
4289
4290  am_cv_CC_dependencies_compiler_type=none
4291  if test "$am_compiler_list" = ""; then
4292     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4293  fi
4294  am__universal=false
4295  case " $depcc " in #(
4296     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4297     esac
4298
4299  for depmode in $am_compiler_list; do
4300    # Setup a source with many dependencies, because some compilers
4301    # like to wrap large dependency lists on column 80 (with \), and
4302    # we should not choose a depcomp mode which is confused by this.
4303    #
4304    # We need to recreate these files for each test, as the compiler may
4305    # overwrite some of them when testing with obscure command lines.
4306    # This happens at least with the AIX C compiler.
4307    : > sub/conftest.c
4308    for i in 1 2 3 4 5 6; do
4309      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4310      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4311      # Solaris 10 /bin/sh.
4312      echo '/* dummy */' > sub/conftst$i.h
4313    done
4314    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4315
4316    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4317    # mode.  It turns out that the SunPro C++ compiler does not properly
4318    # handle '-M -o', and we need to detect this.  Also, some Intel
4319    # versions had trouble with output in subdirs.
4320    am__obj=sub/conftest.${OBJEXT-o}
4321    am__minus_obj="-o $am__obj"
4322    case $depmode in
4323    gcc)
4324      # This depmode causes a compiler race in universal mode.
4325      test "$am__universal" = false || continue
4326      ;;
4327    nosideeffect)
4328      # After this tag, mechanisms are not by side-effect, so they'll
4329      # only be used when explicitly requested.
4330      if test "x$enable_dependency_tracking" = xyes; then
4331	continue
4332      else
4333	break
4334      fi
4335      ;;
4336    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4337      # This compiler won't grok '-c -o', but also, the minuso test has
4338      # not run yet.  These depmodes are late enough in the game, and
4339      # so weak that their functioning should not be impacted.
4340      am__obj=conftest.${OBJEXT-o}
4341      am__minus_obj=
4342      ;;
4343    none) break ;;
4344    esac
4345    if depmode=$depmode \
4346       source=sub/conftest.c object=$am__obj \
4347       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4348       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4349         >/dev/null 2>conftest.err &&
4350       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4351       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4352       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4353       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4354      # icc doesn't choke on unknown options, it will just issue warnings
4355      # or remarks (even with -Werror).  So we grep stderr for any message
4356      # that says an option was ignored or not supported.
4357      # When given -MP, icc 7.0 and 7.1 complain thusly:
4358      #   icc: Command line warning: ignoring option '-M'; no argument required
4359      # The diagnosis changed in icc 8.0:
4360      #   icc: Command line remark: option '-MP' not supported
4361      if (grep 'ignoring option' conftest.err ||
4362          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4363        am_cv_CC_dependencies_compiler_type=$depmode
4364        break
4365      fi
4366    fi
4367  done
4368
4369  cd ..
4370  rm -rf conftest.dir
4371else
4372  am_cv_CC_dependencies_compiler_type=none
4373fi
4374
4375fi
4376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4377$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4378CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4379
4380 if
4381  test "x$enable_dependency_tracking" != xno \
4382  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4383  am__fastdepCC_TRUE=
4384  am__fastdepCC_FALSE='#'
4385else
4386  am__fastdepCC_TRUE='#'
4387  am__fastdepCC_FALSE=
4388fi
4389
4390
4391ac_ext=c
4392ac_cpp='$CPP $CPPFLAGS'
4393ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4394ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4395ac_compiler_gnu=$ac_cv_c_compiler_gnu
4396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4397$as_echo_n "checking how to run the C preprocessor... " >&6; }
4398# On Suns, sometimes $CPP names a directory.
4399if test -n "$CPP" && test -d "$CPP"; then
4400  CPP=
4401fi
4402if test -z "$CPP"; then
4403  if ${ac_cv_prog_CPP+:} false; then :
4404  $as_echo_n "(cached) " >&6
4405else
4406      # Double quotes because CPP needs to be expanded
4407    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4408    do
4409      ac_preproc_ok=false
4410for ac_c_preproc_warn_flag in '' yes
4411do
4412  # Use a header file that comes with gcc, so configuring glibc
4413  # with a fresh cross-compiler works.
4414  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4415  # <limits.h> exists even on freestanding compilers.
4416  # On the NeXT, cc -E runs the code through the compiler's parser,
4417  # not just through cpp. "Syntax error" is here to catch this case.
4418  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4419/* end confdefs.h.  */
4420#ifdef __STDC__
4421# include <limits.h>
4422#else
4423# include <assert.h>
4424#endif
4425		     Syntax error
4426_ACEOF
4427if ac_fn_c_try_cpp "$LINENO"; then :
4428
4429else
4430  # Broken: fails on valid input.
4431continue
4432fi
4433rm -f conftest.err conftest.i conftest.$ac_ext
4434
4435  # OK, works on sane cases.  Now check whether nonexistent headers
4436  # can be detected and how.
4437  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438/* end confdefs.h.  */
4439#include <ac_nonexistent.h>
4440_ACEOF
4441if ac_fn_c_try_cpp "$LINENO"; then :
4442  # Broken: success on invalid input.
4443continue
4444else
4445  # Passes both tests.
4446ac_preproc_ok=:
4447break
4448fi
4449rm -f conftest.err conftest.i conftest.$ac_ext
4450
4451done
4452# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4453rm -f conftest.i conftest.err conftest.$ac_ext
4454if $ac_preproc_ok; then :
4455  break
4456fi
4457
4458    done
4459    ac_cv_prog_CPP=$CPP
4460
4461fi
4462  CPP=$ac_cv_prog_CPP
4463else
4464  ac_cv_prog_CPP=$CPP
4465fi
4466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4467$as_echo "$CPP" >&6; }
4468ac_preproc_ok=false
4469for ac_c_preproc_warn_flag in '' yes
4470do
4471  # Use a header file that comes with gcc, so configuring glibc
4472  # with a fresh cross-compiler works.
4473  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4474  # <limits.h> exists even on freestanding compilers.
4475  # On the NeXT, cc -E runs the code through the compiler's parser,
4476  # not just through cpp. "Syntax error" is here to catch this case.
4477  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478/* end confdefs.h.  */
4479#ifdef __STDC__
4480# include <limits.h>
4481#else
4482# include <assert.h>
4483#endif
4484		     Syntax error
4485_ACEOF
4486if ac_fn_c_try_cpp "$LINENO"; then :
4487
4488else
4489  # Broken: fails on valid input.
4490continue
4491fi
4492rm -f conftest.err conftest.i conftest.$ac_ext
4493
4494  # OK, works on sane cases.  Now check whether nonexistent headers
4495  # can be detected and how.
4496  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497/* end confdefs.h.  */
4498#include <ac_nonexistent.h>
4499_ACEOF
4500if ac_fn_c_try_cpp "$LINENO"; then :
4501  # Broken: success on invalid input.
4502continue
4503else
4504  # Passes both tests.
4505ac_preproc_ok=:
4506break
4507fi
4508rm -f conftest.err conftest.i conftest.$ac_ext
4509
4510done
4511# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4512rm -f conftest.i conftest.err conftest.$ac_ext
4513if $ac_preproc_ok; then :
4514
4515else
4516  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4517$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4518as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4519See \`config.log' for more details" "$LINENO" 5; }
4520fi
4521
4522ac_ext=c
4523ac_cpp='$CPP $CPPFLAGS'
4524ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4525ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4526ac_compiler_gnu=$ac_cv_c_compiler_gnu
4527
4528
4529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4530$as_echo_n "checking whether ln -s works... " >&6; }
4531LN_S=$as_ln_s
4532if test "$LN_S" = "ln -s"; then
4533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4534$as_echo "yes" >&6; }
4535else
4536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4537$as_echo "no, using $LN_S" >&6; }
4538fi
4539
4540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4541$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4542set x ${MAKE-make}
4543ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4544if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4545  $as_echo_n "(cached) " >&6
4546else
4547  cat >conftest.make <<\_ACEOF
4548SHELL = /bin/sh
4549all:
4550	@echo '@@@%%%=$(MAKE)=@@@%%%'
4551_ACEOF
4552# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4553case `${MAKE-make} -f conftest.make 2>/dev/null` in
4554  *@@@%%%=?*=@@@%%%*)
4555    eval ac_cv_prog_make_${ac_make}_set=yes;;
4556  *)
4557    eval ac_cv_prog_make_${ac_make}_set=no;;
4558esac
4559rm -f conftest.make
4560fi
4561if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4563$as_echo "yes" >&6; }
4564  SET_MAKE=
4565else
4566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567$as_echo "no" >&6; }
4568  SET_MAKE="MAKE=${MAKE-make}"
4569fi
4570
4571
4572
4573if test -n "$ac_tool_prefix"; then
4574  for ac_prog in ar lib "link -lib"
4575  do
4576    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4577set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4579$as_echo_n "checking for $ac_word... " >&6; }
4580if ${ac_cv_prog_AR+:} false; then :
4581  $as_echo_n "(cached) " >&6
4582else
4583  if test -n "$AR"; then
4584  ac_cv_prog_AR="$AR" # Let the user override the test.
4585else
4586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4587for as_dir in $PATH
4588do
4589  IFS=$as_save_IFS
4590  test -z "$as_dir" && as_dir=.
4591    for ac_exec_ext in '' $ac_executable_extensions; do
4592  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4593    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4594    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4595    break 2
4596  fi
4597done
4598  done
4599IFS=$as_save_IFS
4600
4601fi
4602fi
4603AR=$ac_cv_prog_AR
4604if test -n "$AR"; then
4605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4606$as_echo "$AR" >&6; }
4607else
4608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609$as_echo "no" >&6; }
4610fi
4611
4612
4613    test -n "$AR" && break
4614  done
4615fi
4616if test -z "$AR"; then
4617  ac_ct_AR=$AR
4618  for ac_prog in ar lib "link -lib"
4619do
4620  # Extract the first word of "$ac_prog", so it can be a program name with args.
4621set dummy $ac_prog; ac_word=$2
4622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4623$as_echo_n "checking for $ac_word... " >&6; }
4624if ${ac_cv_prog_ac_ct_AR+:} false; then :
4625  $as_echo_n "(cached) " >&6
4626else
4627  if test -n "$ac_ct_AR"; then
4628  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4629else
4630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4631for as_dir in $PATH
4632do
4633  IFS=$as_save_IFS
4634  test -z "$as_dir" && as_dir=.
4635    for ac_exec_ext in '' $ac_executable_extensions; do
4636  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4637    ac_cv_prog_ac_ct_AR="$ac_prog"
4638    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4639    break 2
4640  fi
4641done
4642  done
4643IFS=$as_save_IFS
4644
4645fi
4646fi
4647ac_ct_AR=$ac_cv_prog_ac_ct_AR
4648if test -n "$ac_ct_AR"; then
4649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4650$as_echo "$ac_ct_AR" >&6; }
4651else
4652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4653$as_echo "no" >&6; }
4654fi
4655
4656
4657  test -n "$ac_ct_AR" && break
4658done
4659
4660  if test "x$ac_ct_AR" = x; then
4661    AR="false"
4662  else
4663    case $cross_compiling:$ac_tool_warned in
4664yes:)
4665{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4666$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4667ac_tool_warned=yes ;;
4668esac
4669    AR=$ac_ct_AR
4670  fi
4671fi
4672
4673: ${AR=ar}
4674
4675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4676$as_echo_n "checking the archiver ($AR) interface... " >&6; }
4677if ${am_cv_ar_interface+:} false; then :
4678  $as_echo_n "(cached) " >&6
4679else
4680  am_cv_ar_interface=ar
4681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4682/* end confdefs.h.  */
4683int some_variable = 0;
4684_ACEOF
4685if ac_fn_c_try_compile "$LINENO"; then :
4686  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4687      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4688  (eval $am_ar_try) 2>&5
4689  ac_status=$?
4690  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4691  test $ac_status = 0; }
4692      if test "$ac_status" -eq 0; then
4693        am_cv_ar_interface=ar
4694      else
4695        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4696        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4697  (eval $am_ar_try) 2>&5
4698  ac_status=$?
4699  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4700  test $ac_status = 0; }
4701        if test "$ac_status" -eq 0; then
4702          am_cv_ar_interface=lib
4703        else
4704          am_cv_ar_interface=unknown
4705        fi
4706      fi
4707      rm -f conftest.lib libconftest.a
4708
4709fi
4710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4711
4712fi
4713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4714$as_echo "$am_cv_ar_interface" >&6; }
4715
4716case $am_cv_ar_interface in
4717ar)
4718  ;;
4719lib)
4720  # Microsoft lib, so override with the ar-lib wrapper script.
4721  # FIXME: It is wrong to rewrite AR.
4722  # But if we don't then we get into trouble of one sort or another.
4723  # A longer-term fix would be to have automake use am__AR in this case,
4724  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4725  # similar.
4726  AR="$am_aux_dir/ar-lib $AR"
4727  ;;
4728unknown)
4729  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4730  ;;
4731esac
4732
4733
4734# Make sure we can run config.sub.
4735$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4736  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4737
4738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4739$as_echo_n "checking build system type... " >&6; }
4740if ${ac_cv_build+:} false; then :
4741  $as_echo_n "(cached) " >&6
4742else
4743  ac_build_alias=$build_alias
4744test "x$ac_build_alias" = x &&
4745  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4746test "x$ac_build_alias" = x &&
4747  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4748ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4749  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4750
4751fi
4752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4753$as_echo "$ac_cv_build" >&6; }
4754case $ac_cv_build in
4755*-*-*) ;;
4756*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4757esac
4758build=$ac_cv_build
4759ac_save_IFS=$IFS; IFS='-'
4760set x $ac_cv_build
4761shift
4762build_cpu=$1
4763build_vendor=$2
4764shift; shift
4765# Remember, the first character of IFS is used to create $*,
4766# except with old shells:
4767build_os=$*
4768IFS=$ac_save_IFS
4769case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4770
4771
4772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4773$as_echo_n "checking host system type... " >&6; }
4774if ${ac_cv_host+:} false; then :
4775  $as_echo_n "(cached) " >&6
4776else
4777  if test "x$host_alias" = x; then
4778  ac_cv_host=$ac_cv_build
4779else
4780  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4781    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4782fi
4783
4784fi
4785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4786$as_echo "$ac_cv_host" >&6; }
4787case $ac_cv_host in
4788*-*-*) ;;
4789*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4790esac
4791host=$ac_cv_host
4792ac_save_IFS=$IFS; IFS='-'
4793set x $ac_cv_host
4794shift
4795host_cpu=$1
4796host_vendor=$2
4797shift; shift
4798# Remember, the first character of IFS is used to create $*,
4799# except with old shells:
4800host_os=$*
4801IFS=$ac_save_IFS
4802case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4803
4804
4805
4806case $host_os in
4807  *mingw* ) MINGW=yes;;
4808  *msys* ) MINGW=yes;;
4809        * ) MINGW=no;;
4810esac
4811
4812if [ "$MINGW" = "yes" ]
4813then
4814   MINGWDEF="-DHAVE_MINGW"
4815
4816fi
4817
4818 if test "$MINGW" = "yes"; then
4819  HAS_MINGW_TRUE=
4820  HAS_MINGW_FALSE='#'
4821else
4822  HAS_MINGW_TRUE='#'
4823  HAS_MINGW_FALSE=
4824fi
4825
4826
4827# Get lfcbase library and include locations
4828
4829# Check whether --with-lfc-include-path was given.
4830if test "${with_lfc_include_path+set}" = set; then :
4831  withval=$with_lfc_include_path; LFC_CFLAGS="-I$withval"
4832else
4833  LFC_CFLAGS='-I/usr/local/include'
4834fi
4835
4836
4837
4838
4839# Check whether --with-lfc-lib-path was given.
4840if test "${with_lfc_lib_path+set}" = set; then :
4841  withval=$with_lfc_lib_path; LFC_LIBS="-L$withval"
4842else
4843  LFC_LIBS='-L/usr/local/lib'
4844fi
4845
4846
4847
4848LDFLAGS="$LDFLAGS $LFC_LIBS"
4849
4850# Checks for libraries.
4851# FIXME: Replace `main' with a function in `-llfc':
4852
4853# Checks for header files.
4854
4855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4856$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4857if ${ac_cv_path_GREP+:} false; then :
4858  $as_echo_n "(cached) " >&6
4859else
4860  if test -z "$GREP"; then
4861  ac_path_GREP_found=false
4862  # Loop through the user's path and test for each of PROGNAME-LIST
4863  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4864for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4865do
4866  IFS=$as_save_IFS
4867  test -z "$as_dir" && as_dir=.
4868    for ac_prog in grep ggrep; do
4869    for ac_exec_ext in '' $ac_executable_extensions; do
4870      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4871      as_fn_executable_p "$ac_path_GREP" || continue
4872# Check for GNU ac_path_GREP and select it if it is found.
4873  # Check for GNU $ac_path_GREP
4874case `"$ac_path_GREP" --version 2>&1` in
4875*GNU*)
4876  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4877*)
4878  ac_count=0
4879  $as_echo_n 0123456789 >"conftest.in"
4880  while :
4881  do
4882    cat "conftest.in" "conftest.in" >"conftest.tmp"
4883    mv "conftest.tmp" "conftest.in"
4884    cp "conftest.in" "conftest.nl"
4885    $as_echo 'GREP' >> "conftest.nl"
4886    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4887    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4888    as_fn_arith $ac_count + 1 && ac_count=$as_val
4889    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4890      # Best one so far, save it but keep looking for a better one
4891      ac_cv_path_GREP="$ac_path_GREP"
4892      ac_path_GREP_max=$ac_count
4893    fi
4894    # 10*(2^10) chars as input seems more than enough
4895    test $ac_count -gt 10 && break
4896  done
4897  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4898esac
4899
4900      $ac_path_GREP_found && break 3
4901    done
4902  done
4903  done
4904IFS=$as_save_IFS
4905  if test -z "$ac_cv_path_GREP"; then
4906    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4907  fi
4908else
4909  ac_cv_path_GREP=$GREP
4910fi
4911
4912fi
4913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4914$as_echo "$ac_cv_path_GREP" >&6; }
4915 GREP="$ac_cv_path_GREP"
4916
4917
4918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4919$as_echo_n "checking for egrep... " >&6; }
4920if ${ac_cv_path_EGREP+:} false; then :
4921  $as_echo_n "(cached) " >&6
4922else
4923  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4924   then ac_cv_path_EGREP="$GREP -E"
4925   else
4926     if test -z "$EGREP"; then
4927  ac_path_EGREP_found=false
4928  # Loop through the user's path and test for each of PROGNAME-LIST
4929  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4931do
4932  IFS=$as_save_IFS
4933  test -z "$as_dir" && as_dir=.
4934    for ac_prog in egrep; do
4935    for ac_exec_ext in '' $ac_executable_extensions; do
4936      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4937      as_fn_executable_p "$ac_path_EGREP" || continue
4938# Check for GNU ac_path_EGREP and select it if it is found.
4939  # Check for GNU $ac_path_EGREP
4940case `"$ac_path_EGREP" --version 2>&1` in
4941*GNU*)
4942  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4943*)
4944  ac_count=0
4945  $as_echo_n 0123456789 >"conftest.in"
4946  while :
4947  do
4948    cat "conftest.in" "conftest.in" >"conftest.tmp"
4949    mv "conftest.tmp" "conftest.in"
4950    cp "conftest.in" "conftest.nl"
4951    $as_echo 'EGREP' >> "conftest.nl"
4952    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4953    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4954    as_fn_arith $ac_count + 1 && ac_count=$as_val
4955    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4956      # Best one so far, save it but keep looking for a better one
4957      ac_cv_path_EGREP="$ac_path_EGREP"
4958      ac_path_EGREP_max=$ac_count
4959    fi
4960    # 10*(2^10) chars as input seems more than enough
4961    test $ac_count -gt 10 && break
4962  done
4963  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4964esac
4965
4966      $ac_path_EGREP_found && break 3
4967    done
4968  done
4969  done
4970IFS=$as_save_IFS
4971  if test -z "$ac_cv_path_EGREP"; then
4972    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4973  fi
4974else
4975  ac_cv_path_EGREP=$EGREP
4976fi
4977
4978   fi
4979fi
4980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4981$as_echo "$ac_cv_path_EGREP" >&6; }
4982 EGREP="$ac_cv_path_EGREP"
4983
4984
4985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4986$as_echo_n "checking for ANSI C header files... " >&6; }
4987if ${ac_cv_header_stdc+:} false; then :
4988  $as_echo_n "(cached) " >&6
4989else
4990  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4991/* end confdefs.h.  */
4992#include <stdlib.h>
4993#include <stdarg.h>
4994#include <string.h>
4995#include <float.h>
4996
4997int
4998main ()
4999{
5000
5001  ;
5002  return 0;
5003}
5004_ACEOF
5005if ac_fn_c_try_compile "$LINENO"; then :
5006  ac_cv_header_stdc=yes
5007else
5008  ac_cv_header_stdc=no
5009fi
5010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5011
5012if test $ac_cv_header_stdc = yes; then
5013  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5014  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5015/* end confdefs.h.  */
5016#include <string.h>
5017
5018_ACEOF
5019if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5020  $EGREP "memchr" >/dev/null 2>&1; then :
5021
5022else
5023  ac_cv_header_stdc=no
5024fi
5025rm -f conftest*
5026
5027fi
5028
5029if test $ac_cv_header_stdc = yes; then
5030  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5031  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032/* end confdefs.h.  */
5033#include <stdlib.h>
5034
5035_ACEOF
5036if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5037  $EGREP "free" >/dev/null 2>&1; then :
5038
5039else
5040  ac_cv_header_stdc=no
5041fi
5042rm -f conftest*
5043
5044fi
5045
5046if test $ac_cv_header_stdc = yes; then
5047  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5048  if test "$cross_compiling" = yes; then :
5049  :
5050else
5051  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5052/* end confdefs.h.  */
5053#include <ctype.h>
5054#include <stdlib.h>
5055#if ((' ' & 0x0FF) == 0x020)
5056# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5057# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5058#else
5059# define ISLOWER(c) \
5060		   (('a' <= (c) && (c) <= 'i') \
5061		     || ('j' <= (c) && (c) <= 'r') \
5062		     || ('s' <= (c) && (c) <= 'z'))
5063# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5064#endif
5065
5066#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5067int
5068main ()
5069{
5070  int i;
5071  for (i = 0; i < 256; i++)
5072    if (XOR (islower (i), ISLOWER (i))
5073	|| toupper (i) != TOUPPER (i))
5074      return 2;
5075  return 0;
5076}
5077_ACEOF
5078if ac_fn_c_try_run "$LINENO"; then :
5079
5080else
5081  ac_cv_header_stdc=no
5082fi
5083rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5084  conftest.$ac_objext conftest.beam conftest.$ac_ext
5085fi
5086
5087fi
5088fi
5089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5090$as_echo "$ac_cv_header_stdc" >&6; }
5091if test $ac_cv_header_stdc = yes; then
5092
5093$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5094
5095fi
5096
5097# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5098for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5099		  inttypes.h stdint.h unistd.h
5100do :
5101  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5102ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5103"
5104if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5105  cat >>confdefs.h <<_ACEOF
5106#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5107_ACEOF
5108
5109fi
5110
5111done
5112
5113
5114for ac_header in stdlib.h
5115do :
5116  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5117if test "x$ac_cv_header_stdlib_h" = xyes; then :
5118  cat >>confdefs.h <<_ACEOF
5119#define HAVE_STDLIB_H 1
5120_ACEOF
5121
5122fi
5123
5124done
5125
5126
5127# Checks for typedefs, structures, and compiler characteristics.
5128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5129$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5130if ${ac_cv_header_stdbool_h+:} false; then :
5131  $as_echo_n "(cached) " >&6
5132else
5133  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5134/* end confdefs.h.  */
5135
5136             #include <stdbool.h>
5137             #ifndef bool
5138              "error: bool is not defined"
5139             #endif
5140             #ifndef false
5141              "error: false is not defined"
5142             #endif
5143             #if false
5144              "error: false is not 0"
5145             #endif
5146             #ifndef true
5147              "error: true is not defined"
5148             #endif
5149             #if true != 1
5150              "error: true is not 1"
5151             #endif
5152             #ifndef __bool_true_false_are_defined
5153              "error: __bool_true_false_are_defined is not defined"
5154             #endif
5155
5156             struct s { _Bool s: 1; _Bool t; } s;
5157
5158             char a[true == 1 ? 1 : -1];
5159             char b[false == 0 ? 1 : -1];
5160             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5161             char d[(bool) 0.5 == true ? 1 : -1];
5162             /* See body of main program for 'e'.  */
5163             char f[(_Bool) 0.0 == false ? 1 : -1];
5164             char g[true];
5165             char h[sizeof (_Bool)];
5166             char i[sizeof s.t];
5167             enum { j = false, k = true, l = false * true, m = true * 256 };
5168             /* The following fails for
5169                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5170             _Bool n[m];
5171             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5172             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5173             /* Catch a bug in an HP-UX C compiler.  See
5174                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5175                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5176              */
5177             _Bool q = true;
5178             _Bool *pq = &q;
5179
5180int
5181main ()
5182{
5183
5184             bool e = &s;
5185             *pq |= q;
5186             *pq |= ! q;
5187             /* Refer to every declared value, to avoid compiler optimizations.  */
5188             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5189                     + !m + !n + !o + !p + !q + !pq);
5190
5191  ;
5192  return 0;
5193}
5194_ACEOF
5195if ac_fn_c_try_compile "$LINENO"; then :
5196  ac_cv_header_stdbool_h=yes
5197else
5198  ac_cv_header_stdbool_h=no
5199fi
5200rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5201fi
5202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5203$as_echo "$ac_cv_header_stdbool_h" >&6; }
5204   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5205if test "x$ac_cv_type__Bool" = xyes; then :
5206
5207cat >>confdefs.h <<_ACEOF
5208#define HAVE__BOOL 1
5209_ACEOF
5210
5211
5212fi
5213
5214
5215
5216# Checks for library functions.
5217for ac_header in stdlib.h
5218do :
5219  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5220if test "x$ac_cv_header_stdlib_h" = xyes; then :
5221  cat >>confdefs.h <<_ACEOF
5222#define HAVE_STDLIB_H 1
5223_ACEOF
5224
5225fi
5226
5227done
5228
5229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5230$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5231if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5232  $as_echo_n "(cached) " >&6
5233else
5234  if test "$cross_compiling" = yes; then :
5235  ac_cv_func_malloc_0_nonnull=no
5236else
5237  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5238/* end confdefs.h.  */
5239#if defined STDC_HEADERS || defined HAVE_STDLIB_H
5240# include <stdlib.h>
5241#else
5242char *malloc ();
5243#endif
5244
5245int
5246main ()
5247{
5248return ! malloc (0);
5249  ;
5250  return 0;
5251}
5252_ACEOF
5253if ac_fn_c_try_run "$LINENO"; then :
5254  ac_cv_func_malloc_0_nonnull=yes
5255else
5256  ac_cv_func_malloc_0_nonnull=no
5257fi
5258rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5259  conftest.$ac_objext conftest.beam conftest.$ac_ext
5260fi
5261
5262fi
5263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5264$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5265if test $ac_cv_func_malloc_0_nonnull = yes; then :
5266
5267$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5268
5269else
5270  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5271
5272   case " $LIBOBJS " in
5273  *" malloc.$ac_objext "* ) ;;
5274  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5275 ;;
5276esac
5277
5278
5279$as_echo "#define malloc rpl_malloc" >>confdefs.h
5280
5281fi
5282
5283
5284for ac_header in stdlib.h
5285do :
5286  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5287if test "x$ac_cv_header_stdlib_h" = xyes; then :
5288  cat >>confdefs.h <<_ACEOF
5289#define HAVE_STDLIB_H 1
5290_ACEOF
5291
5292fi
5293
5294done
5295
5296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
5297$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5298if ${ac_cv_func_realloc_0_nonnull+:} false; then :
5299  $as_echo_n "(cached) " >&6
5300else
5301  if test "$cross_compiling" = yes; then :
5302  ac_cv_func_realloc_0_nonnull=no
5303else
5304  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5305/* end confdefs.h.  */
5306#if defined STDC_HEADERS || defined HAVE_STDLIB_H
5307# include <stdlib.h>
5308#else
5309char *realloc ();
5310#endif
5311
5312int
5313main ()
5314{
5315return ! realloc (0, 0);
5316  ;
5317  return 0;
5318}
5319_ACEOF
5320if ac_fn_c_try_run "$LINENO"; then :
5321  ac_cv_func_realloc_0_nonnull=yes
5322else
5323  ac_cv_func_realloc_0_nonnull=no
5324fi
5325rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5326  conftest.$ac_objext conftest.beam conftest.$ac_ext
5327fi
5328
5329fi
5330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
5331$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5332if test $ac_cv_func_realloc_0_nonnull = yes; then :
5333
5334$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
5335
5336else
5337  $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
5338
5339   case " $LIBOBJS " in
5340  *" realloc.$ac_objext "* ) ;;
5341  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5342 ;;
5343esac
5344
5345
5346$as_echo "#define realloc rpl_realloc" >>confdefs.h
5347
5348fi
5349
5350
5351
5352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
5353$as_echo_n "checking for main in -lws2_32... " >&6; }
5354if ${ac_cv_lib_ws2_32_main+:} false; then :
5355  $as_echo_n "(cached) " >&6
5356else
5357  ac_check_lib_save_LIBS=$LIBS
5358LIBS="-lws2_32  $LIBS"
5359cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360/* end confdefs.h.  */
5361
5362
5363int
5364main ()
5365{
5366return main ();
5367  ;
5368  return 0;
5369}
5370_ACEOF
5371if ac_fn_c_try_link "$LINENO"; then :
5372  ac_cv_lib_ws2_32_main=yes
5373else
5374  ac_cv_lib_ws2_32_main=no
5375fi
5376rm -f core conftest.err conftest.$ac_objext \
5377    conftest$ac_exeext conftest.$ac_ext
5378LIBS=$ac_check_lib_save_LIBS
5379fi
5380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
5381$as_echo "$ac_cv_lib_ws2_32_main" >&6; }
5382if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
5383  cat >>confdefs.h <<_ACEOF
5384#define HAVE_LIBWS2_32 1
5385_ACEOF
5386
5387  LIBS="-lws2_32 $LIBS"
5388
5389fi
5390
5391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsystre" >&5
5392$as_echo_n "checking for main in -lsystre... " >&6; }
5393if ${ac_cv_lib_systre_main+:} false; then :
5394  $as_echo_n "(cached) " >&6
5395else
5396  ac_check_lib_save_LIBS=$LIBS
5397LIBS="-lsystre  $LIBS"
5398cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5399/* end confdefs.h.  */
5400
5401
5402int
5403main ()
5404{
5405return main ();
5406  ;
5407  return 0;
5408}
5409_ACEOF
5410if ac_fn_c_try_link "$LINENO"; then :
5411  ac_cv_lib_systre_main=yes
5412else
5413  ac_cv_lib_systre_main=no
5414fi
5415rm -f core conftest.err conftest.$ac_objext \
5416    conftest$ac_exeext conftest.$ac_ext
5417LIBS=$ac_check_lib_save_LIBS
5418fi
5419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_systre_main" >&5
5420$as_echo "$ac_cv_lib_systre_main" >&6; }
5421if test "x$ac_cv_lib_systre_main" = xyes; then :
5422  cat >>confdefs.h <<_ACEOF
5423#define HAVE_LIBSYSTRE 1
5424_ACEOF
5425
5426  LIBS="-lsystre $LIBS"
5427
5428fi
5429
5430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
5431$as_echo_n "checking for main in -lcrypt... " >&6; }
5432if ${ac_cv_lib_crypt_main+:} false; then :
5433  $as_echo_n "(cached) " >&6
5434else
5435  ac_check_lib_save_LIBS=$LIBS
5436LIBS="-lcrypt  $LIBS"
5437cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438/* end confdefs.h.  */
5439
5440
5441int
5442main ()
5443{
5444return main ();
5445  ;
5446  return 0;
5447}
5448_ACEOF
5449if ac_fn_c_try_link "$LINENO"; then :
5450  ac_cv_lib_crypt_main=yes
5451else
5452  ac_cv_lib_crypt_main=no
5453fi
5454rm -f core conftest.err conftest.$ac_objext \
5455    conftest$ac_exeext conftest.$ac_ext
5456LIBS=$ac_check_lib_save_LIBS
5457fi
5458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
5459$as_echo "$ac_cv_lib_crypt_main" >&6; }
5460if test "x$ac_cv_lib_crypt_main" = xyes; then :
5461  cat >>confdefs.h <<_ACEOF
5462#define HAVE_LIBCRYPT 1
5463_ACEOF
5464
5465  LIBS="-lcrypt $LIBS"
5466
5467fi
5468
5469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lrt" >&5
5470$as_echo_n "checking for main in -lrt... " >&6; }
5471if ${ac_cv_lib_rt_main+:} false; then :
5472  $as_echo_n "(cached) " >&6
5473else
5474  ac_check_lib_save_LIBS=$LIBS
5475LIBS="-lrt  $LIBS"
5476cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5477/* end confdefs.h.  */
5478
5479
5480int
5481main ()
5482{
5483return main ();
5484  ;
5485  return 0;
5486}
5487_ACEOF
5488if ac_fn_c_try_link "$LINENO"; then :
5489  ac_cv_lib_rt_main=yes
5490else
5491  ac_cv_lib_rt_main=no
5492fi
5493rm -f core conftest.err conftest.$ac_objext \
5494    conftest$ac_exeext conftest.$ac_ext
5495LIBS=$ac_check_lib_save_LIBS
5496fi
5497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_main" >&5
5498$as_echo "$ac_cv_lib_rt_main" >&6; }
5499if test "x$ac_cv_lib_rt_main" = xyes; then :
5500  cat >>confdefs.h <<_ACEOF
5501#define HAVE_LIBRT 1
5502_ACEOF
5503
5504  LIBS="-lrt $LIBS"
5505
5506fi
5507
5508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
5509$as_echo_n "checking for main in -lpthread... " >&6; }
5510if ${ac_cv_lib_pthread_main+:} false; then :
5511  $as_echo_n "(cached) " >&6
5512else
5513  ac_check_lib_save_LIBS=$LIBS
5514LIBS="-lpthread  $LIBS"
5515cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5516/* end confdefs.h.  */
5517
5518
5519int
5520main ()
5521{
5522return main ();
5523  ;
5524  return 0;
5525}
5526_ACEOF
5527if ac_fn_c_try_link "$LINENO"; then :
5528  ac_cv_lib_pthread_main=yes
5529else
5530  ac_cv_lib_pthread_main=no
5531fi
5532rm -f core conftest.err conftest.$ac_objext \
5533    conftest$ac_exeext conftest.$ac_ext
5534LIBS=$ac_check_lib_save_LIBS
5535fi
5536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
5537$as_echo "$ac_cv_lib_pthread_main" >&6; }
5538if test "x$ac_cv_lib_pthread_main" = xyes; then :
5539  cat >>confdefs.h <<_ACEOF
5540#define HAVE_LIBPTHREAD 1
5541_ACEOF
5542
5543  LIBS="-lpthread $LIBS"
5544
5545fi
5546
5547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
5548$as_echo_n "checking for main in -lsocket... " >&6; }
5549if ${ac_cv_lib_socket_main+:} false; then :
5550  $as_echo_n "(cached) " >&6
5551else
5552  ac_check_lib_save_LIBS=$LIBS
5553LIBS="-lsocket  $LIBS"
5554cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5555/* end confdefs.h.  */
5556
5557
5558int
5559main ()
5560{
5561return main ();
5562  ;
5563  return 0;
5564}
5565_ACEOF
5566if ac_fn_c_try_link "$LINENO"; then :
5567  ac_cv_lib_socket_main=yes
5568else
5569  ac_cv_lib_socket_main=no
5570fi
5571rm -f core conftest.err conftest.$ac_objext \
5572    conftest$ac_exeext conftest.$ac_ext
5573LIBS=$ac_check_lib_save_LIBS
5574fi
5575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
5576$as_echo "$ac_cv_lib_socket_main" >&6; }
5577if test "x$ac_cv_lib_socket_main" = xyes; then :
5578  cat >>confdefs.h <<_ACEOF
5579#define HAVE_LIBSOCKET 1
5580_ACEOF
5581
5582  LIBS="-lsocket $LIBS"
5583
5584fi
5585
5586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
5587$as_echo_n "checking for main in -lnsl... " >&6; }
5588if ${ac_cv_lib_nsl_main+:} false; then :
5589  $as_echo_n "(cached) " >&6
5590else
5591  ac_check_lib_save_LIBS=$LIBS
5592LIBS="-lnsl  $LIBS"
5593cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5594/* end confdefs.h.  */
5595
5596
5597int
5598main ()
5599{
5600return main ();
5601  ;
5602  return 0;
5603}
5604_ACEOF
5605if ac_fn_c_try_link "$LINENO"; then :
5606  ac_cv_lib_nsl_main=yes
5607else
5608  ac_cv_lib_nsl_main=no
5609fi
5610rm -f core conftest.err conftest.$ac_objext \
5611    conftest$ac_exeext conftest.$ac_ext
5612LIBS=$ac_check_lib_save_LIBS
5613fi
5614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
5615$as_echo "$ac_cv_lib_nsl_main" >&6; }
5616if test "x$ac_cv_lib_nsl_main" = xyes; then :
5617  cat >>confdefs.h <<_ACEOF
5618#define HAVE_LIBNSL 1
5619_ACEOF
5620
5621  LIBS="-lnsl $LIBS"
5622
5623fi
5624
5625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurses" >&5
5626$as_echo_n "checking for main in -lcurses... " >&6; }
5627if ${ac_cv_lib_curses_main+:} false; then :
5628  $as_echo_n "(cached) " >&6
5629else
5630  ac_check_lib_save_LIBS=$LIBS
5631LIBS="-lcurses  $LIBS"
5632cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633/* end confdefs.h.  */
5634
5635
5636int
5637main ()
5638{
5639return main ();
5640  ;
5641  return 0;
5642}
5643_ACEOF
5644if ac_fn_c_try_link "$LINENO"; then :
5645  ac_cv_lib_curses_main=yes
5646else
5647  ac_cv_lib_curses_main=no
5648fi
5649rm -f core conftest.err conftest.$ac_objext \
5650    conftest$ac_exeext conftest.$ac_ext
5651LIBS=$ac_check_lib_save_LIBS
5652fi
5653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_main" >&5
5654$as_echo "$ac_cv_lib_curses_main" >&6; }
5655if test "x$ac_cv_lib_curses_main" = xyes; then :
5656  cat >>confdefs.h <<_ACEOF
5657#define HAVE_LIBCURSES 1
5658_ACEOF
5659
5660  LIBS="-lcurses $LIBS"
5661
5662fi
5663
5664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lncurses" >&5
5665$as_echo_n "checking for main in -lncurses... " >&6; }
5666if ${ac_cv_lib_ncurses_main+:} false; then :
5667  $as_echo_n "(cached) " >&6
5668else
5669  ac_check_lib_save_LIBS=$LIBS
5670LIBS="-lncurses  $LIBS"
5671cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5672/* end confdefs.h.  */
5673
5674
5675int
5676main ()
5677{
5678return main ();
5679  ;
5680  return 0;
5681}
5682_ACEOF
5683if ac_fn_c_try_link "$LINENO"; then :
5684  ac_cv_lib_ncurses_main=yes
5685else
5686  ac_cv_lib_ncurses_main=no
5687fi
5688rm -f core conftest.err conftest.$ac_objext \
5689    conftest$ac_exeext conftest.$ac_ext
5690LIBS=$ac_check_lib_save_LIBS
5691fi
5692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_main" >&5
5693$as_echo "$ac_cv_lib_ncurses_main" >&6; }
5694if test "x$ac_cv_lib_ncurses_main" = xyes; then :
5695  cat >>confdefs.h <<_ACEOF
5696#define HAVE_LIBNCURSES 1
5697_ACEOF
5698
5699  LIBS="-lncurses $LIBS"
5700
5701fi
5702
5703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lhistory" >&5
5704$as_echo_n "checking for main in -lhistory... " >&6; }
5705if ${ac_cv_lib_history_main+:} false; then :
5706  $as_echo_n "(cached) " >&6
5707else
5708  ac_check_lib_save_LIBS=$LIBS
5709LIBS="-lhistory  $LIBS"
5710cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5711/* end confdefs.h.  */
5712
5713
5714int
5715main ()
5716{
5717return main ();
5718  ;
5719  return 0;
5720}
5721_ACEOF
5722if ac_fn_c_try_link "$LINENO"; then :
5723  ac_cv_lib_history_main=yes
5724else
5725  ac_cv_lib_history_main=no
5726fi
5727rm -f core conftest.err conftest.$ac_objext \
5728    conftest$ac_exeext conftest.$ac_ext
5729LIBS=$ac_check_lib_save_LIBS
5730fi
5731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_main" >&5
5732$as_echo "$ac_cv_lib_history_main" >&6; }
5733if test "x$ac_cv_lib_history_main" = xyes; then :
5734  cat >>confdefs.h <<_ACEOF
5735#define HAVE_LIBHISTORY 1
5736_ACEOF
5737
5738  LIBS="-lhistory $LIBS"
5739
5740fi
5741
5742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lreadline" >&5
5743$as_echo_n "checking for main in -lreadline... " >&6; }
5744if ${ac_cv_lib_readline_main+:} false; then :
5745  $as_echo_n "(cached) " >&6
5746else
5747  ac_check_lib_save_LIBS=$LIBS
5748LIBS="-lreadline  $LIBS"
5749cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5750/* end confdefs.h.  */
5751
5752
5753int
5754main ()
5755{
5756return main ();
5757  ;
5758  return 0;
5759}
5760_ACEOF
5761if ac_fn_c_try_link "$LINENO"; then :
5762  ac_cv_lib_readline_main=yes
5763else
5764  ac_cv_lib_readline_main=no
5765fi
5766rm -f core conftest.err conftest.$ac_objext \
5767    conftest$ac_exeext conftest.$ac_ext
5768LIBS=$ac_check_lib_save_LIBS
5769fi
5770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_main" >&5
5771$as_echo "$ac_cv_lib_readline_main" >&6; }
5772if test "x$ac_cv_lib_readline_main" = xyes; then :
5773  cat >>confdefs.h <<_ACEOF
5774#define HAVE_LIBREADLINE 1
5775_ACEOF
5776
5777  LIBS="-lreadline $LIBS"
5778
5779fi
5780
5781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -llfcbase" >&5
5782$as_echo_n "checking for main in -llfcbase... " >&6; }
5783if ${ac_cv_lib_lfcbase_main+:} false; then :
5784  $as_echo_n "(cached) " >&6
5785else
5786  ac_check_lib_save_LIBS=$LIBS
5787LIBS="-llfcbase  $LIBS"
5788cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5789/* end confdefs.h.  */
5790
5791
5792int
5793main ()
5794{
5795return main ();
5796  ;
5797  return 0;
5798}
5799_ACEOF
5800if ac_fn_c_try_link "$LINENO"; then :
5801  ac_cv_lib_lfcbase_main=yes
5802else
5803  ac_cv_lib_lfcbase_main=no
5804fi
5805rm -f core conftest.err conftest.$ac_objext \
5806    conftest$ac_exeext conftest.$ac_ext
5807LIBS=$ac_check_lib_save_LIBS
5808fi
5809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lfcbase_main" >&5
5810$as_echo "$ac_cv_lib_lfcbase_main" >&6; }
5811if test "x$ac_cv_lib_lfcbase_main" = xyes; then :
5812  cat >>confdefs.h <<_ACEOF
5813#define HAVE_LIBLFCBASE 1
5814_ACEOF
5815
5816  LIBS="-llfcbase $LIBS"
5817
5818fi
5819
5820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -llfcxml" >&5
5821$as_echo_n "checking for main in -llfcxml... " >&6; }
5822if ${ac_cv_lib_lfcxml_main+:} false; then :
5823  $as_echo_n "(cached) " >&6
5824else
5825  ac_check_lib_save_LIBS=$LIBS
5826LIBS="-llfcxml  $LIBS"
5827cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5828/* end confdefs.h.  */
5829
5830
5831int
5832main ()
5833{
5834return main ();
5835  ;
5836  return 0;
5837}
5838_ACEOF
5839if ac_fn_c_try_link "$LINENO"; then :
5840  ac_cv_lib_lfcxml_main=yes
5841else
5842  ac_cv_lib_lfcxml_main=no
5843fi
5844rm -f core conftest.err conftest.$ac_objext \
5845    conftest$ac_exeext conftest.$ac_ext
5846LIBS=$ac_check_lib_save_LIBS
5847fi
5848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lfcxml_main" >&5
5849$as_echo "$ac_cv_lib_lfcxml_main" >&6; }
5850if test "x$ac_cv_lib_lfcxml_main" = xyes; then :
5851  cat >>confdefs.h <<_ACEOF
5852#define HAVE_LIBLFCXML 1
5853_ACEOF
5854
5855  LIBS="-llfcxml $LIBS"
5856
5857fi
5858
5859
5860ac_config_files="$ac_config_files Makefile src/Makefile dbcheck/Makefile samples/cgplustest/Makefile samples/cgwraptest/Makefile"
5861
5862
5863case `pwd` in
5864  *\ * | *\	*)
5865    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5866$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5867esac
5868
5869
5870
5871macro_version='2.4.6'
5872macro_revision='2.4.6'
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886ltmain=$ac_aux_dir/ltmain.sh
5887
5888# Backslashify metacharacters that are still active within
5889# double-quoted strings.
5890sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5891
5892# Same as above, but do not quote variable references.
5893double_quote_subst='s/\(["`\\]\)/\\\1/g'
5894
5895# Sed substitution to delay expansion of an escaped shell variable in a
5896# double_quote_subst'ed string.
5897delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5898
5899# Sed substitution to delay expansion of an escaped single quote.
5900delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5901
5902# Sed substitution to avoid accidental globbing in evaled expressions
5903no_glob_subst='s/\*/\\\*/g'
5904
5905ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5906ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5907ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5908
5909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5910$as_echo_n "checking how to print strings... " >&6; }
5911# Test print first, because it will be a builtin if present.
5912if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5913   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5914  ECHO='print -r --'
5915elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5916  ECHO='printf %s\n'
5917else
5918  # Use this function as a fallback that always works.
5919  func_fallback_echo ()
5920  {
5921    eval 'cat <<_LTECHO_EOF
5922$1
5923_LTECHO_EOF'
5924  }
5925  ECHO='func_fallback_echo'
5926fi
5927
5928# func_echo_all arg...
5929# Invoke $ECHO with all args, space-separated.
5930func_echo_all ()
5931{
5932    $ECHO ""
5933}
5934
5935case $ECHO in
5936  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5937$as_echo "printf" >&6; } ;;
5938  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5939$as_echo "print -r" >&6; } ;;
5940  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5941$as_echo "cat" >&6; } ;;
5942esac
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5958$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5959if ${ac_cv_path_SED+:} false; then :
5960  $as_echo_n "(cached) " >&6
5961else
5962            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5963     for ac_i in 1 2 3 4 5 6 7; do
5964       ac_script="$ac_script$as_nl$ac_script"
5965     done
5966     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5967     { ac_script=; unset ac_script;}
5968     if test -z "$SED"; then
5969  ac_path_SED_found=false
5970  # Loop through the user's path and test for each of PROGNAME-LIST
5971  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972for as_dir in $PATH
5973do
5974  IFS=$as_save_IFS
5975  test -z "$as_dir" && as_dir=.
5976    for ac_prog in sed gsed; do
5977    for ac_exec_ext in '' $ac_executable_extensions; do
5978      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5979      as_fn_executable_p "$ac_path_SED" || continue
5980# Check for GNU ac_path_SED and select it if it is found.
5981  # Check for GNU $ac_path_SED
5982case `"$ac_path_SED" --version 2>&1` in
5983*GNU*)
5984  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5985*)
5986  ac_count=0
5987  $as_echo_n 0123456789 >"conftest.in"
5988  while :
5989  do
5990    cat "conftest.in" "conftest.in" >"conftest.tmp"
5991    mv "conftest.tmp" "conftest.in"
5992    cp "conftest.in" "conftest.nl"
5993    $as_echo '' >> "conftest.nl"
5994    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5995    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5996    as_fn_arith $ac_count + 1 && ac_count=$as_val
5997    if test $ac_count -gt ${ac_path_SED_max-0}; then
5998      # Best one so far, save it but keep looking for a better one
5999      ac_cv_path_SED="$ac_path_SED"
6000      ac_path_SED_max=$ac_count
6001    fi
6002    # 10*(2^10) chars as input seems more than enough
6003    test $ac_count -gt 10 && break
6004  done
6005  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6006esac
6007
6008      $ac_path_SED_found && break 3
6009    done
6010  done
6011  done
6012IFS=$as_save_IFS
6013  if test -z "$ac_cv_path_SED"; then
6014    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6015  fi
6016else
6017  ac_cv_path_SED=$SED
6018fi
6019
6020fi
6021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6022$as_echo "$ac_cv_path_SED" >&6; }
6023 SED="$ac_cv_path_SED"
6024  rm -f conftest.sed
6025
6026test -z "$SED" && SED=sed
6027Xsed="$SED -e 1s/^X//"
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6040$as_echo_n "checking for fgrep... " >&6; }
6041if ${ac_cv_path_FGREP+:} false; then :
6042  $as_echo_n "(cached) " >&6
6043else
6044  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6045   then ac_cv_path_FGREP="$GREP -F"
6046   else
6047     if test -z "$FGREP"; then
6048  ac_path_FGREP_found=false
6049  # Loop through the user's path and test for each of PROGNAME-LIST
6050  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6052do
6053  IFS=$as_save_IFS
6054  test -z "$as_dir" && as_dir=.
6055    for ac_prog in fgrep; do
6056    for ac_exec_ext in '' $ac_executable_extensions; do
6057      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6058      as_fn_executable_p "$ac_path_FGREP" || continue
6059# Check for GNU ac_path_FGREP and select it if it is found.
6060  # Check for GNU $ac_path_FGREP
6061case `"$ac_path_FGREP" --version 2>&1` in
6062*GNU*)
6063  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6064*)
6065  ac_count=0
6066  $as_echo_n 0123456789 >"conftest.in"
6067  while :
6068  do
6069    cat "conftest.in" "conftest.in" >"conftest.tmp"
6070    mv "conftest.tmp" "conftest.in"
6071    cp "conftest.in" "conftest.nl"
6072    $as_echo 'FGREP' >> "conftest.nl"
6073    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6074    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6075    as_fn_arith $ac_count + 1 && ac_count=$as_val
6076    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6077      # Best one so far, save it but keep looking for a better one
6078      ac_cv_path_FGREP="$ac_path_FGREP"
6079      ac_path_FGREP_max=$ac_count
6080    fi
6081    # 10*(2^10) chars as input seems more than enough
6082    test $ac_count -gt 10 && break
6083  done
6084  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6085esac
6086
6087      $ac_path_FGREP_found && break 3
6088    done
6089  done
6090  done
6091IFS=$as_save_IFS
6092  if test -z "$ac_cv_path_FGREP"; then
6093    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6094  fi
6095else
6096  ac_cv_path_FGREP=$FGREP
6097fi
6098
6099   fi
6100fi
6101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6102$as_echo "$ac_cv_path_FGREP" >&6; }
6103 FGREP="$ac_cv_path_FGREP"
6104
6105
6106test -z "$GREP" && GREP=grep
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126# Check whether --with-gnu-ld was given.
6127if test "${with_gnu_ld+set}" = set; then :
6128  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6129else
6130  with_gnu_ld=no
6131fi
6132
6133ac_prog=ld
6134if test yes = "$GCC"; then
6135  # Check if gcc -print-prog-name=ld gives a path.
6136  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6137$as_echo_n "checking for ld used by $CC... " >&6; }
6138  case $host in
6139  *-*-mingw*)
6140    # gcc leaves a trailing carriage return, which upsets mingw
6141    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6142  *)
6143    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6144  esac
6145  case $ac_prog in
6146    # Accept absolute paths.
6147    [\\/]* | ?:[\\/]*)
6148      re_direlt='/[^/][^/]*/\.\./'
6149      # Canonicalize the pathname of ld
6150      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6151      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6152	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6153      done
6154      test -z "$LD" && LD=$ac_prog
6155      ;;
6156  "")
6157    # If it fails, then pretend we aren't using GCC.
6158    ac_prog=ld
6159    ;;
6160  *)
6161    # If it is relative, then search for the first ld in PATH.
6162    with_gnu_ld=unknown
6163    ;;
6164  esac
6165elif test yes = "$with_gnu_ld"; then
6166  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6167$as_echo_n "checking for GNU ld... " >&6; }
6168else
6169  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6170$as_echo_n "checking for non-GNU ld... " >&6; }
6171fi
6172if ${lt_cv_path_LD+:} false; then :
6173  $as_echo_n "(cached) " >&6
6174else
6175  if test -z "$LD"; then
6176  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6177  for ac_dir in $PATH; do
6178    IFS=$lt_save_ifs
6179    test -z "$ac_dir" && ac_dir=.
6180    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6181      lt_cv_path_LD=$ac_dir/$ac_prog
6182      # Check to see if the program is GNU ld.  I'd rather use --version,
6183      # but apparently some variants of GNU ld only accept -v.
6184      # Break only if it was the GNU/non-GNU ld that we prefer.
6185      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6186      *GNU* | *'with BFD'*)
6187	test no != "$with_gnu_ld" && break
6188	;;
6189      *)
6190	test yes != "$with_gnu_ld" && break
6191	;;
6192      esac
6193    fi
6194  done
6195  IFS=$lt_save_ifs
6196else
6197  lt_cv_path_LD=$LD # Let the user override the test with a path.
6198fi
6199fi
6200
6201LD=$lt_cv_path_LD
6202if test -n "$LD"; then
6203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6204$as_echo "$LD" >&6; }
6205else
6206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6207$as_echo "no" >&6; }
6208fi
6209test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6211$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6212if ${lt_cv_prog_gnu_ld+:} false; then :
6213  $as_echo_n "(cached) " >&6
6214else
6215  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6216case `$LD -v 2>&1 </dev/null` in
6217*GNU* | *'with BFD'*)
6218  lt_cv_prog_gnu_ld=yes
6219  ;;
6220*)
6221  lt_cv_prog_gnu_ld=no
6222  ;;
6223esac
6224fi
6225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6226$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6227with_gnu_ld=$lt_cv_prog_gnu_ld
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6238$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6239if ${lt_cv_path_NM+:} false; then :
6240  $as_echo_n "(cached) " >&6
6241else
6242  if test -n "$NM"; then
6243  # Let the user override the test.
6244  lt_cv_path_NM=$NM
6245else
6246  lt_nm_to_check=${ac_tool_prefix}nm
6247  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6248    lt_nm_to_check="$lt_nm_to_check nm"
6249  fi
6250  for lt_tmp_nm in $lt_nm_to_check; do
6251    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6252    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6253      IFS=$lt_save_ifs
6254      test -z "$ac_dir" && ac_dir=.
6255      tmp_nm=$ac_dir/$lt_tmp_nm
6256      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6257	# Check to see if the nm accepts a BSD-compat flag.
6258	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6259	#   nm: unknown option "B" ignored
6260	# Tru64's nm complains that /dev/null is an invalid object file
6261	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6262	case $build_os in
6263	mingw*) lt_bad_file=conftest.nm/nofile ;;
6264	*) lt_bad_file=/dev/null ;;
6265	esac
6266	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6267	*$lt_bad_file* | *'Invalid file or object type'*)
6268	  lt_cv_path_NM="$tmp_nm -B"
6269	  break 2
6270	  ;;
6271	*)
6272	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6273	  */dev/null*)
6274	    lt_cv_path_NM="$tmp_nm -p"
6275	    break 2
6276	    ;;
6277	  *)
6278	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6279	    continue # so that we can try to find one that supports BSD flags
6280	    ;;
6281	  esac
6282	  ;;
6283	esac
6284      fi
6285    done
6286    IFS=$lt_save_ifs
6287  done
6288  : ${lt_cv_path_NM=no}
6289fi
6290fi
6291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6292$as_echo "$lt_cv_path_NM" >&6; }
6293if test no != "$lt_cv_path_NM"; then
6294  NM=$lt_cv_path_NM
6295else
6296  # Didn't find any BSD compatible name lister, look for dumpbin.
6297  if test -n "$DUMPBIN"; then :
6298    # Let the user override the test.
6299  else
6300    if test -n "$ac_tool_prefix"; then
6301  for ac_prog in dumpbin "link -dump"
6302  do
6303    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6304set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6306$as_echo_n "checking for $ac_word... " >&6; }
6307if ${ac_cv_prog_DUMPBIN+:} false; then :
6308  $as_echo_n "(cached) " >&6
6309else
6310  if test -n "$DUMPBIN"; then
6311  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6312else
6313as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314for as_dir in $PATH
6315do
6316  IFS=$as_save_IFS
6317  test -z "$as_dir" && as_dir=.
6318    for ac_exec_ext in '' $ac_executable_extensions; do
6319  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6320    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6321    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6322    break 2
6323  fi
6324done
6325  done
6326IFS=$as_save_IFS
6327
6328fi
6329fi
6330DUMPBIN=$ac_cv_prog_DUMPBIN
6331if test -n "$DUMPBIN"; then
6332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6333$as_echo "$DUMPBIN" >&6; }
6334else
6335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6336$as_echo "no" >&6; }
6337fi
6338
6339
6340    test -n "$DUMPBIN" && break
6341  done
6342fi
6343if test -z "$DUMPBIN"; then
6344  ac_ct_DUMPBIN=$DUMPBIN
6345  for ac_prog in dumpbin "link -dump"
6346do
6347  # Extract the first word of "$ac_prog", so it can be a program name with args.
6348set dummy $ac_prog; ac_word=$2
6349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6350$as_echo_n "checking for $ac_word... " >&6; }
6351if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6352  $as_echo_n "(cached) " >&6
6353else
6354  if test -n "$ac_ct_DUMPBIN"; then
6355  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6356else
6357as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6358for as_dir in $PATH
6359do
6360  IFS=$as_save_IFS
6361  test -z "$as_dir" && as_dir=.
6362    for ac_exec_ext in '' $ac_executable_extensions; do
6363  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6364    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6365    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6366    break 2
6367  fi
6368done
6369  done
6370IFS=$as_save_IFS
6371
6372fi
6373fi
6374ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6375if test -n "$ac_ct_DUMPBIN"; then
6376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6377$as_echo "$ac_ct_DUMPBIN" >&6; }
6378else
6379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6380$as_echo "no" >&6; }
6381fi
6382
6383
6384  test -n "$ac_ct_DUMPBIN" && break
6385done
6386
6387  if test "x$ac_ct_DUMPBIN" = x; then
6388    DUMPBIN=":"
6389  else
6390    case $cross_compiling:$ac_tool_warned in
6391yes:)
6392{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6393$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6394ac_tool_warned=yes ;;
6395esac
6396    DUMPBIN=$ac_ct_DUMPBIN
6397  fi
6398fi
6399
6400    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6401    *COFF*)
6402      DUMPBIN="$DUMPBIN -symbols -headers"
6403      ;;
6404    *)
6405      DUMPBIN=:
6406      ;;
6407    esac
6408  fi
6409
6410  if test : != "$DUMPBIN"; then
6411    NM=$DUMPBIN
6412  fi
6413fi
6414test -z "$NM" && NM=nm
6415
6416
6417
6418
6419
6420
6421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6422$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6423if ${lt_cv_nm_interface+:} false; then :
6424  $as_echo_n "(cached) " >&6
6425else
6426  lt_cv_nm_interface="BSD nm"
6427  echo "int some_variable = 0;" > conftest.$ac_ext
6428  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6429  (eval "$ac_compile" 2>conftest.err)
6430  cat conftest.err >&5
6431  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6432  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6433  cat conftest.err >&5
6434  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6435  cat conftest.out >&5
6436  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6437    lt_cv_nm_interface="MS dumpbin"
6438  fi
6439  rm -f conftest*
6440fi
6441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6442$as_echo "$lt_cv_nm_interface" >&6; }
6443
6444# find the maximum length of command line arguments
6445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6446$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6447if ${lt_cv_sys_max_cmd_len+:} false; then :
6448  $as_echo_n "(cached) " >&6
6449else
6450    i=0
6451  teststring=ABCD
6452
6453  case $build_os in
6454  msdosdjgpp*)
6455    # On DJGPP, this test can blow up pretty badly due to problems in libc
6456    # (any single argument exceeding 2000 bytes causes a buffer overrun
6457    # during glob expansion).  Even if it were fixed, the result of this
6458    # check would be larger than it should be.
6459    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6460    ;;
6461
6462  gnu*)
6463    # Under GNU Hurd, this test is not required because there is
6464    # no limit to the length of command line arguments.
6465    # Libtool will interpret -1 as no limit whatsoever
6466    lt_cv_sys_max_cmd_len=-1;
6467    ;;
6468
6469  cygwin* | mingw* | cegcc*)
6470    # On Win9x/ME, this test blows up -- it succeeds, but takes
6471    # about 5 minutes as the teststring grows exponentially.
6472    # Worse, since 9x/ME are not pre-emptively multitasking,
6473    # you end up with a "frozen" computer, even though with patience
6474    # the test eventually succeeds (with a max line length of 256k).
6475    # Instead, let's just punt: use the minimum linelength reported by
6476    # all of the supported platforms: 8192 (on NT/2K/XP).
6477    lt_cv_sys_max_cmd_len=8192;
6478    ;;
6479
6480  mint*)
6481    # On MiNT this can take a long time and run out of memory.
6482    lt_cv_sys_max_cmd_len=8192;
6483    ;;
6484
6485  amigaos*)
6486    # On AmigaOS with pdksh, this test takes hours, literally.
6487    # So we just punt and use a minimum line length of 8192.
6488    lt_cv_sys_max_cmd_len=8192;
6489    ;;
6490
6491  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6492    # This has been around since 386BSD, at least.  Likely further.
6493    if test -x /sbin/sysctl; then
6494      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6495    elif test -x /usr/sbin/sysctl; then
6496      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6497    else
6498      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6499    fi
6500    # And add a safety zone
6501    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6502    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6503    ;;
6504
6505  interix*)
6506    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6507    lt_cv_sys_max_cmd_len=196608
6508    ;;
6509
6510  os2*)
6511    # The test takes a long time on OS/2.
6512    lt_cv_sys_max_cmd_len=8192
6513    ;;
6514
6515  osf*)
6516    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6517    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6518    # nice to cause kernel panics so lets avoid the loop below.
6519    # First set a reasonable default.
6520    lt_cv_sys_max_cmd_len=16384
6521    #
6522    if test -x /sbin/sysconfig; then
6523      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6524        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6525      esac
6526    fi
6527    ;;
6528  sco3.2v5*)
6529    lt_cv_sys_max_cmd_len=102400
6530    ;;
6531  sysv5* | sco5v6* | sysv4.2uw2*)
6532    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6533    if test -n "$kargmax"; then
6534      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6535    else
6536      lt_cv_sys_max_cmd_len=32768
6537    fi
6538    ;;
6539  *)
6540    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6541    if test -n "$lt_cv_sys_max_cmd_len" && \
6542       test undefined != "$lt_cv_sys_max_cmd_len"; then
6543      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6544      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6545    else
6546      # Make teststring a little bigger before we do anything with it.
6547      # a 1K string should be a reasonable start.
6548      for i in 1 2 3 4 5 6 7 8; do
6549        teststring=$teststring$teststring
6550      done
6551      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6552      # If test is not a shell built-in, we'll probably end up computing a
6553      # maximum length that is only half of the actual maximum length, but
6554      # we can't tell.
6555      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6556	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6557	      test 17 != "$i" # 1/2 MB should be enough
6558      do
6559        i=`expr $i + 1`
6560        teststring=$teststring$teststring
6561      done
6562      # Only check the string length outside the loop.
6563      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6564      teststring=
6565      # Add a significant safety factor because C++ compilers can tack on
6566      # massive amounts of additional arguments before passing them to the
6567      # linker.  It appears as though 1/2 is a usable value.
6568      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6569    fi
6570    ;;
6571  esac
6572
6573fi
6574
6575if test -n "$lt_cv_sys_max_cmd_len"; then
6576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6577$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6578else
6579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6580$as_echo "none" >&6; }
6581fi
6582max_cmd_len=$lt_cv_sys_max_cmd_len
6583
6584
6585
6586
6587
6588
6589: ${CP="cp -f"}
6590: ${MV="mv -f"}
6591: ${RM="rm -f"}
6592
6593if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6594  lt_unset=unset
6595else
6596  lt_unset=false
6597fi
6598
6599
6600
6601
6602
6603# test EBCDIC or ASCII
6604case `echo X|tr X '\101'` in
6605 A) # ASCII based system
6606    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6607  lt_SP2NL='tr \040 \012'
6608  lt_NL2SP='tr \015\012 \040\040'
6609  ;;
6610 *) # EBCDIC based system
6611  lt_SP2NL='tr \100 \n'
6612  lt_NL2SP='tr \r\n \100\100'
6613  ;;
6614esac
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6625$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6626if ${lt_cv_to_host_file_cmd+:} false; then :
6627  $as_echo_n "(cached) " >&6
6628else
6629  case $host in
6630  *-*-mingw* )
6631    case $build in
6632      *-*-mingw* ) # actually msys
6633        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6634        ;;
6635      *-*-cygwin* )
6636        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6637        ;;
6638      * ) # otherwise, assume *nix
6639        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6640        ;;
6641    esac
6642    ;;
6643  *-*-cygwin* )
6644    case $build in
6645      *-*-mingw* ) # actually msys
6646        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6647        ;;
6648      *-*-cygwin* )
6649        lt_cv_to_host_file_cmd=func_convert_file_noop
6650        ;;
6651      * ) # otherwise, assume *nix
6652        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6653        ;;
6654    esac
6655    ;;
6656  * ) # unhandled hosts (and "normal" native builds)
6657    lt_cv_to_host_file_cmd=func_convert_file_noop
6658    ;;
6659esac
6660
6661fi
6662
6663to_host_file_cmd=$lt_cv_to_host_file_cmd
6664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6665$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6666
6667
6668
6669
6670
6671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6672$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6673if ${lt_cv_to_tool_file_cmd+:} false; then :
6674  $as_echo_n "(cached) " >&6
6675else
6676  #assume ordinary cross tools, or native build.
6677lt_cv_to_tool_file_cmd=func_convert_file_noop
6678case $host in
6679  *-*-mingw* )
6680    case $build in
6681      *-*-mingw* ) # actually msys
6682        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6683        ;;
6684    esac
6685    ;;
6686esac
6687
6688fi
6689
6690to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6692$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6693
6694
6695
6696
6697
6698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6699$as_echo_n "checking for $LD option to reload object files... " >&6; }
6700if ${lt_cv_ld_reload_flag+:} false; then :
6701  $as_echo_n "(cached) " >&6
6702else
6703  lt_cv_ld_reload_flag='-r'
6704fi
6705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6706$as_echo "$lt_cv_ld_reload_flag" >&6; }
6707reload_flag=$lt_cv_ld_reload_flag
6708case $reload_flag in
6709"" | " "*) ;;
6710*) reload_flag=" $reload_flag" ;;
6711esac
6712reload_cmds='$LD$reload_flag -o $output$reload_objs'
6713case $host_os in
6714  cygwin* | mingw* | pw32* | cegcc*)
6715    if test yes != "$GCC"; then
6716      reload_cmds=false
6717    fi
6718    ;;
6719  darwin*)
6720    if test yes = "$GCC"; then
6721      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6722    else
6723      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6724    fi
6725    ;;
6726esac
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736if test -n "$ac_tool_prefix"; then
6737  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6738set dummy ${ac_tool_prefix}objdump; ac_word=$2
6739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6740$as_echo_n "checking for $ac_word... " >&6; }
6741if ${ac_cv_prog_OBJDUMP+:} false; then :
6742  $as_echo_n "(cached) " >&6
6743else
6744  if test -n "$OBJDUMP"; then
6745  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6746else
6747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6748for as_dir in $PATH
6749do
6750  IFS=$as_save_IFS
6751  test -z "$as_dir" && as_dir=.
6752    for ac_exec_ext in '' $ac_executable_extensions; do
6753  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6754    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6755    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6756    break 2
6757  fi
6758done
6759  done
6760IFS=$as_save_IFS
6761
6762fi
6763fi
6764OBJDUMP=$ac_cv_prog_OBJDUMP
6765if test -n "$OBJDUMP"; then
6766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6767$as_echo "$OBJDUMP" >&6; }
6768else
6769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6770$as_echo "no" >&6; }
6771fi
6772
6773
6774fi
6775if test -z "$ac_cv_prog_OBJDUMP"; then
6776  ac_ct_OBJDUMP=$OBJDUMP
6777  # Extract the first word of "objdump", so it can be a program name with args.
6778set dummy objdump; ac_word=$2
6779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6780$as_echo_n "checking for $ac_word... " >&6; }
6781if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6782  $as_echo_n "(cached) " >&6
6783else
6784  if test -n "$ac_ct_OBJDUMP"; then
6785  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6786else
6787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6788for as_dir in $PATH
6789do
6790  IFS=$as_save_IFS
6791  test -z "$as_dir" && as_dir=.
6792    for ac_exec_ext in '' $ac_executable_extensions; do
6793  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6794    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6795    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6796    break 2
6797  fi
6798done
6799  done
6800IFS=$as_save_IFS
6801
6802fi
6803fi
6804ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6805if test -n "$ac_ct_OBJDUMP"; then
6806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6807$as_echo "$ac_ct_OBJDUMP" >&6; }
6808else
6809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6810$as_echo "no" >&6; }
6811fi
6812
6813  if test "x$ac_ct_OBJDUMP" = x; then
6814    OBJDUMP="false"
6815  else
6816    case $cross_compiling:$ac_tool_warned in
6817yes:)
6818{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6819$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6820ac_tool_warned=yes ;;
6821esac
6822    OBJDUMP=$ac_ct_OBJDUMP
6823  fi
6824else
6825  OBJDUMP="$ac_cv_prog_OBJDUMP"
6826fi
6827
6828test -z "$OBJDUMP" && OBJDUMP=objdump
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6839$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6840if ${lt_cv_deplibs_check_method+:} false; then :
6841  $as_echo_n "(cached) " >&6
6842else
6843  lt_cv_file_magic_cmd='$MAGIC_CMD'
6844lt_cv_file_magic_test_file=
6845lt_cv_deplibs_check_method='unknown'
6846# Need to set the preceding variable on all platforms that support
6847# interlibrary dependencies.
6848# 'none' -- dependencies not supported.
6849# 'unknown' -- same as none, but documents that we really don't know.
6850# 'pass_all' -- all dependencies passed with no checks.
6851# 'test_compile' -- check by making test program.
6852# 'file_magic [[regex]]' -- check by looking for files in library path
6853# that responds to the $file_magic_cmd with a given extended regex.
6854# If you have 'file' or equivalent on your system and you're not sure
6855# whether 'pass_all' will *always* work, you probably want this one.
6856
6857case $host_os in
6858aix[4-9]*)
6859  lt_cv_deplibs_check_method=pass_all
6860  ;;
6861
6862beos*)
6863  lt_cv_deplibs_check_method=pass_all
6864  ;;
6865
6866bsdi[45]*)
6867  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6868  lt_cv_file_magic_cmd='/usr/bin/file -L'
6869  lt_cv_file_magic_test_file=/shlib/libc.so
6870  ;;
6871
6872cygwin*)
6873  # func_win32_libid is a shell function defined in ltmain.sh
6874  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6875  lt_cv_file_magic_cmd='func_win32_libid'
6876  ;;
6877
6878mingw* | pw32*)
6879  # Base MSYS/MinGW do not provide the 'file' command needed by
6880  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6881  # unless we find 'file', for example because we are cross-compiling.
6882  if ( file / ) >/dev/null 2>&1; then
6883    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6884    lt_cv_file_magic_cmd='func_win32_libid'
6885  else
6886    # Keep this pattern in sync with the one in func_win32_libid.
6887    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6888    lt_cv_file_magic_cmd='$OBJDUMP -f'
6889  fi
6890  ;;
6891
6892cegcc*)
6893  # use the weaker test based on 'objdump'. See mingw*.
6894  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6895  lt_cv_file_magic_cmd='$OBJDUMP -f'
6896  ;;
6897
6898darwin* | rhapsody*)
6899  lt_cv_deplibs_check_method=pass_all
6900  ;;
6901
6902freebsd* | dragonfly*)
6903  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6904    case $host_cpu in
6905    i*86 )
6906      # Not sure whether the presence of OpenBSD here was a mistake.
6907      # Let's accept both of them until this is cleared up.
6908      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6909      lt_cv_file_magic_cmd=/usr/bin/file
6910      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6911      ;;
6912    esac
6913  else
6914    lt_cv_deplibs_check_method=pass_all
6915  fi
6916  ;;
6917
6918haiku*)
6919  lt_cv_deplibs_check_method=pass_all
6920  ;;
6921
6922hpux10.20* | hpux11*)
6923  lt_cv_file_magic_cmd=/usr/bin/file
6924  case $host_cpu in
6925  ia64*)
6926    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6927    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6928    ;;
6929  hppa*64*)
6930    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]'
6931    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6932    ;;
6933  *)
6934    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6935    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6936    ;;
6937  esac
6938  ;;
6939
6940interix[3-9]*)
6941  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6942  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6943  ;;
6944
6945irix5* | irix6* | nonstopux*)
6946  case $LD in
6947  *-32|*"-32 ") libmagic=32-bit;;
6948  *-n32|*"-n32 ") libmagic=N32;;
6949  *-64|*"-64 ") libmagic=64-bit;;
6950  *) libmagic=never-match;;
6951  esac
6952  lt_cv_deplibs_check_method=pass_all
6953  ;;
6954
6955# This must be glibc/ELF.
6956linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6957  lt_cv_deplibs_check_method=pass_all
6958  ;;
6959
6960netbsd*)
6961  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6962    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6963  else
6964    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6965  fi
6966  ;;
6967
6968newos6*)
6969  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6970  lt_cv_file_magic_cmd=/usr/bin/file
6971  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6972  ;;
6973
6974*nto* | *qnx*)
6975  lt_cv_deplibs_check_method=pass_all
6976  ;;
6977
6978openbsd* | bitrig*)
6979  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6980    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6981  else
6982    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6983  fi
6984  ;;
6985
6986osf3* | osf4* | osf5*)
6987  lt_cv_deplibs_check_method=pass_all
6988  ;;
6989
6990rdos*)
6991  lt_cv_deplibs_check_method=pass_all
6992  ;;
6993
6994solaris*)
6995  lt_cv_deplibs_check_method=pass_all
6996  ;;
6997
6998sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6999  lt_cv_deplibs_check_method=pass_all
7000  ;;
7001
7002sysv4 | sysv4.3*)
7003  case $host_vendor in
7004  motorola)
7005    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]'
7006    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7007    ;;
7008  ncr)
7009    lt_cv_deplibs_check_method=pass_all
7010    ;;
7011  sequent)
7012    lt_cv_file_magic_cmd='/bin/file'
7013    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7014    ;;
7015  sni)
7016    lt_cv_file_magic_cmd='/bin/file'
7017    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7018    lt_cv_file_magic_test_file=/lib/libc.so
7019    ;;
7020  siemens)
7021    lt_cv_deplibs_check_method=pass_all
7022    ;;
7023  pc)
7024    lt_cv_deplibs_check_method=pass_all
7025    ;;
7026  esac
7027  ;;
7028
7029tpf*)
7030  lt_cv_deplibs_check_method=pass_all
7031  ;;
7032os2*)
7033  lt_cv_deplibs_check_method=pass_all
7034  ;;
7035esac
7036
7037fi
7038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7039$as_echo "$lt_cv_deplibs_check_method" >&6; }
7040
7041file_magic_glob=
7042want_nocaseglob=no
7043if test "$build" = "$host"; then
7044  case $host_os in
7045  mingw* | pw32*)
7046    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7047      want_nocaseglob=yes
7048    else
7049      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7050    fi
7051    ;;
7052  esac
7053fi
7054
7055file_magic_cmd=$lt_cv_file_magic_cmd
7056deplibs_check_method=$lt_cv_deplibs_check_method
7057test -z "$deplibs_check_method" && deplibs_check_method=unknown
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080if test -n "$ac_tool_prefix"; then
7081  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7082set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7084$as_echo_n "checking for $ac_word... " >&6; }
7085if ${ac_cv_prog_DLLTOOL+:} false; then :
7086  $as_echo_n "(cached) " >&6
7087else
7088  if test -n "$DLLTOOL"; then
7089  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7090else
7091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092for as_dir in $PATH
7093do
7094  IFS=$as_save_IFS
7095  test -z "$as_dir" && as_dir=.
7096    for ac_exec_ext in '' $ac_executable_extensions; do
7097  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7098    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7099    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7100    break 2
7101  fi
7102done
7103  done
7104IFS=$as_save_IFS
7105
7106fi
7107fi
7108DLLTOOL=$ac_cv_prog_DLLTOOL
7109if test -n "$DLLTOOL"; then
7110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7111$as_echo "$DLLTOOL" >&6; }
7112else
7113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7114$as_echo "no" >&6; }
7115fi
7116
7117
7118fi
7119if test -z "$ac_cv_prog_DLLTOOL"; then
7120  ac_ct_DLLTOOL=$DLLTOOL
7121  # Extract the first word of "dlltool", so it can be a program name with args.
7122set dummy dlltool; ac_word=$2
7123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7124$as_echo_n "checking for $ac_word... " >&6; }
7125if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7126  $as_echo_n "(cached) " >&6
7127else
7128  if test -n "$ac_ct_DLLTOOL"; then
7129  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7130else
7131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132for as_dir in $PATH
7133do
7134  IFS=$as_save_IFS
7135  test -z "$as_dir" && as_dir=.
7136    for ac_exec_ext in '' $ac_executable_extensions; do
7137  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7138    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7139    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7140    break 2
7141  fi
7142done
7143  done
7144IFS=$as_save_IFS
7145
7146fi
7147fi
7148ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7149if test -n "$ac_ct_DLLTOOL"; then
7150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7151$as_echo "$ac_ct_DLLTOOL" >&6; }
7152else
7153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7154$as_echo "no" >&6; }
7155fi
7156
7157  if test "x$ac_ct_DLLTOOL" = x; then
7158    DLLTOOL="false"
7159  else
7160    case $cross_compiling:$ac_tool_warned in
7161yes:)
7162{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7163$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7164ac_tool_warned=yes ;;
7165esac
7166    DLLTOOL=$ac_ct_DLLTOOL
7167  fi
7168else
7169  DLLTOOL="$ac_cv_prog_DLLTOOL"
7170fi
7171
7172test -z "$DLLTOOL" && DLLTOOL=dlltool
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7184$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7185if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7186  $as_echo_n "(cached) " >&6
7187else
7188  lt_cv_sharedlib_from_linklib_cmd='unknown'
7189
7190case $host_os in
7191cygwin* | mingw* | pw32* | cegcc*)
7192  # two different shell functions defined in ltmain.sh;
7193  # decide which one to use based on capabilities of $DLLTOOL
7194  case `$DLLTOOL --help 2>&1` in
7195  *--identify-strict*)
7196    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7197    ;;
7198  *)
7199    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7200    ;;
7201  esac
7202  ;;
7203*)
7204  # fallback: assume linklib IS sharedlib
7205  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7206  ;;
7207esac
7208
7209fi
7210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7211$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7212sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7213test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7214
7215
7216
7217
7218
7219
7220
7221if test -n "$ac_tool_prefix"; then
7222  for ac_prog in ar
7223  do
7224    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7225set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227$as_echo_n "checking for $ac_word... " >&6; }
7228if ${ac_cv_prog_AR+:} false; then :
7229  $as_echo_n "(cached) " >&6
7230else
7231  if test -n "$AR"; then
7232  ac_cv_prog_AR="$AR" # Let the user override the test.
7233else
7234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235for as_dir in $PATH
7236do
7237  IFS=$as_save_IFS
7238  test -z "$as_dir" && as_dir=.
7239    for ac_exec_ext in '' $ac_executable_extensions; do
7240  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7241    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7242    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7243    break 2
7244  fi
7245done
7246  done
7247IFS=$as_save_IFS
7248
7249fi
7250fi
7251AR=$ac_cv_prog_AR
7252if test -n "$AR"; then
7253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7254$as_echo "$AR" >&6; }
7255else
7256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7257$as_echo "no" >&6; }
7258fi
7259
7260
7261    test -n "$AR" && break
7262  done
7263fi
7264if test -z "$AR"; then
7265  ac_ct_AR=$AR
7266  for ac_prog in ar
7267do
7268  # Extract the first word of "$ac_prog", so it can be a program name with args.
7269set dummy $ac_prog; ac_word=$2
7270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271$as_echo_n "checking for $ac_word... " >&6; }
7272if ${ac_cv_prog_ac_ct_AR+:} false; then :
7273  $as_echo_n "(cached) " >&6
7274else
7275  if test -n "$ac_ct_AR"; then
7276  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7277else
7278as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279for as_dir in $PATH
7280do
7281  IFS=$as_save_IFS
7282  test -z "$as_dir" && as_dir=.
7283    for ac_exec_ext in '' $ac_executable_extensions; do
7284  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7285    ac_cv_prog_ac_ct_AR="$ac_prog"
7286    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287    break 2
7288  fi
7289done
7290  done
7291IFS=$as_save_IFS
7292
7293fi
7294fi
7295ac_ct_AR=$ac_cv_prog_ac_ct_AR
7296if test -n "$ac_ct_AR"; then
7297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7298$as_echo "$ac_ct_AR" >&6; }
7299else
7300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301$as_echo "no" >&6; }
7302fi
7303
7304
7305  test -n "$ac_ct_AR" && break
7306done
7307
7308  if test "x$ac_ct_AR" = x; then
7309    AR="false"
7310  else
7311    case $cross_compiling:$ac_tool_warned in
7312yes:)
7313{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7314$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7315ac_tool_warned=yes ;;
7316esac
7317    AR=$ac_ct_AR
7318  fi
7319fi
7320
7321: ${AR=ar}
7322: ${AR_FLAGS=cru}
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7335$as_echo_n "checking for archiver @FILE support... " >&6; }
7336if ${lt_cv_ar_at_file+:} false; then :
7337  $as_echo_n "(cached) " >&6
7338else
7339  lt_cv_ar_at_file=no
7340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7341/* end confdefs.h.  */
7342
7343int
7344main ()
7345{
7346
7347  ;
7348  return 0;
7349}
7350_ACEOF
7351if ac_fn_c_try_compile "$LINENO"; then :
7352  echo conftest.$ac_objext > conftest.lst
7353      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7354      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7355  (eval $lt_ar_try) 2>&5
7356  ac_status=$?
7357  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7358  test $ac_status = 0; }
7359      if test 0 -eq "$ac_status"; then
7360	# Ensure the archiver fails upon bogus file names.
7361	rm -f conftest.$ac_objext libconftest.a
7362	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7363  (eval $lt_ar_try) 2>&5
7364  ac_status=$?
7365  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7366  test $ac_status = 0; }
7367	if test 0 -ne "$ac_status"; then
7368          lt_cv_ar_at_file=@
7369        fi
7370      fi
7371      rm -f conftest.* libconftest.a
7372
7373fi
7374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7375
7376fi
7377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7378$as_echo "$lt_cv_ar_at_file" >&6; }
7379
7380if test no = "$lt_cv_ar_at_file"; then
7381  archiver_list_spec=
7382else
7383  archiver_list_spec=$lt_cv_ar_at_file
7384fi
7385
7386
7387
7388
7389
7390
7391
7392if test -n "$ac_tool_prefix"; then
7393  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7394set dummy ${ac_tool_prefix}strip; ac_word=$2
7395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396$as_echo_n "checking for $ac_word... " >&6; }
7397if ${ac_cv_prog_STRIP+:} false; then :
7398  $as_echo_n "(cached) " >&6
7399else
7400  if test -n "$STRIP"; then
7401  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7402else
7403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7404for as_dir in $PATH
7405do
7406  IFS=$as_save_IFS
7407  test -z "$as_dir" && as_dir=.
7408    for ac_exec_ext in '' $ac_executable_extensions; do
7409  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7410    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7411    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412    break 2
7413  fi
7414done
7415  done
7416IFS=$as_save_IFS
7417
7418fi
7419fi
7420STRIP=$ac_cv_prog_STRIP
7421if test -n "$STRIP"; then
7422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7423$as_echo "$STRIP" >&6; }
7424else
7425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426$as_echo "no" >&6; }
7427fi
7428
7429
7430fi
7431if test -z "$ac_cv_prog_STRIP"; then
7432  ac_ct_STRIP=$STRIP
7433  # Extract the first word of "strip", so it can be a program name with args.
7434set dummy strip; ac_word=$2
7435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436$as_echo_n "checking for $ac_word... " >&6; }
7437if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7438  $as_echo_n "(cached) " >&6
7439else
7440  if test -n "$ac_ct_STRIP"; then
7441  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7442else
7443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7444for as_dir in $PATH
7445do
7446  IFS=$as_save_IFS
7447  test -z "$as_dir" && as_dir=.
7448    for ac_exec_ext in '' $ac_executable_extensions; do
7449  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7450    ac_cv_prog_ac_ct_STRIP="strip"
7451    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452    break 2
7453  fi
7454done
7455  done
7456IFS=$as_save_IFS
7457
7458fi
7459fi
7460ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7461if test -n "$ac_ct_STRIP"; then
7462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7463$as_echo "$ac_ct_STRIP" >&6; }
7464else
7465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466$as_echo "no" >&6; }
7467fi
7468
7469  if test "x$ac_ct_STRIP" = x; then
7470    STRIP=":"
7471  else
7472    case $cross_compiling:$ac_tool_warned in
7473yes:)
7474{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7475$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7476ac_tool_warned=yes ;;
7477esac
7478    STRIP=$ac_ct_STRIP
7479  fi
7480else
7481  STRIP="$ac_cv_prog_STRIP"
7482fi
7483
7484test -z "$STRIP" && STRIP=:
7485
7486
7487
7488
7489
7490
7491if test -n "$ac_tool_prefix"; then
7492  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7493set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495$as_echo_n "checking for $ac_word... " >&6; }
7496if ${ac_cv_prog_RANLIB+:} false; then :
7497  $as_echo_n "(cached) " >&6
7498else
7499  if test -n "$RANLIB"; then
7500  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7501else
7502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503for as_dir in $PATH
7504do
7505  IFS=$as_save_IFS
7506  test -z "$as_dir" && as_dir=.
7507    for ac_exec_ext in '' $ac_executable_extensions; do
7508  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7509    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7510    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511    break 2
7512  fi
7513done
7514  done
7515IFS=$as_save_IFS
7516
7517fi
7518fi
7519RANLIB=$ac_cv_prog_RANLIB
7520if test -n "$RANLIB"; then
7521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7522$as_echo "$RANLIB" >&6; }
7523else
7524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525$as_echo "no" >&6; }
7526fi
7527
7528
7529fi
7530if test -z "$ac_cv_prog_RANLIB"; then
7531  ac_ct_RANLIB=$RANLIB
7532  # Extract the first word of "ranlib", so it can be a program name with args.
7533set dummy ranlib; ac_word=$2
7534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7535$as_echo_n "checking for $ac_word... " >&6; }
7536if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7537  $as_echo_n "(cached) " >&6
7538else
7539  if test -n "$ac_ct_RANLIB"; then
7540  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7541else
7542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543for as_dir in $PATH
7544do
7545  IFS=$as_save_IFS
7546  test -z "$as_dir" && as_dir=.
7547    for ac_exec_ext in '' $ac_executable_extensions; do
7548  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7549    ac_cv_prog_ac_ct_RANLIB="ranlib"
7550    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7551    break 2
7552  fi
7553done
7554  done
7555IFS=$as_save_IFS
7556
7557fi
7558fi
7559ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7560if test -n "$ac_ct_RANLIB"; then
7561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7562$as_echo "$ac_ct_RANLIB" >&6; }
7563else
7564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7565$as_echo "no" >&6; }
7566fi
7567
7568  if test "x$ac_ct_RANLIB" = x; then
7569    RANLIB=":"
7570  else
7571    case $cross_compiling:$ac_tool_warned in
7572yes:)
7573{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7574$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7575ac_tool_warned=yes ;;
7576esac
7577    RANLIB=$ac_ct_RANLIB
7578  fi
7579else
7580  RANLIB="$ac_cv_prog_RANLIB"
7581fi
7582
7583test -z "$RANLIB" && RANLIB=:
7584
7585
7586
7587
7588
7589
7590# Determine commands to create old-style static archives.
7591old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7592old_postinstall_cmds='chmod 644 $oldlib'
7593old_postuninstall_cmds=
7594
7595if test -n "$RANLIB"; then
7596  case $host_os in
7597  bitrig* | openbsd*)
7598    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7599    ;;
7600  *)
7601    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7602    ;;
7603  esac
7604  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7605fi
7606
7607case $host_os in
7608  darwin*)
7609    lock_old_archive_extraction=yes ;;
7610  *)
7611    lock_old_archive_extraction=no ;;
7612esac
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652# If no C compiler was specified, use CC.
7653LTCC=${LTCC-"$CC"}
7654
7655# If no C compiler flags were specified, use CFLAGS.
7656LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7657
7658# Allow CC to be a program name with arguments.
7659compiler=$CC
7660
7661
7662# Check for command to grab the raw symbol name followed by C symbol from nm.
7663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7664$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7665if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7666  $as_echo_n "(cached) " >&6
7667else
7668
7669# These are sane defaults that work on at least a few old systems.
7670# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7671
7672# Character class describing NM global symbol codes.
7673symcode='[BCDEGRST]'
7674
7675# Regexp to match symbols that can be accessed directly from C.
7676sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7677
7678# Define system-specific variables.
7679case $host_os in
7680aix*)
7681  symcode='[BCDT]'
7682  ;;
7683cygwin* | mingw* | pw32* | cegcc*)
7684  symcode='[ABCDGISTW]'
7685  ;;
7686hpux*)
7687  if test ia64 = "$host_cpu"; then
7688    symcode='[ABCDEGRST]'
7689  fi
7690  ;;
7691irix* | nonstopux*)
7692  symcode='[BCDEGRST]'
7693  ;;
7694osf*)
7695  symcode='[BCDEGQRST]'
7696  ;;
7697solaris*)
7698  symcode='[BDRT]'
7699  ;;
7700sco3.2v5*)
7701  symcode='[DT]'
7702  ;;
7703sysv4.2uw2*)
7704  symcode='[DT]'
7705  ;;
7706sysv5* | sco5v6* | unixware* | OpenUNIX*)
7707  symcode='[ABDT]'
7708  ;;
7709sysv4)
7710  symcode='[DFNSTU]'
7711  ;;
7712esac
7713
7714# If we're using GNU nm, then use its standard symbol codes.
7715case `$NM -V 2>&1` in
7716*GNU* | *'with BFD'*)
7717  symcode='[ABCDGIRSTW]' ;;
7718esac
7719
7720if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7721  # Gets list of data symbols to import.
7722  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7723  # Adjust the below global symbol transforms to fixup imported variables.
7724  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7725  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7726  lt_c_name_lib_hook="\
7727  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7728  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7729else
7730  # Disable hooks by default.
7731  lt_cv_sys_global_symbol_to_import=
7732  lt_cdecl_hook=
7733  lt_c_name_hook=
7734  lt_c_name_lib_hook=
7735fi
7736
7737# Transform an extracted symbol line into a proper C declaration.
7738# Some systems (esp. on ia64) link data and code symbols differently,
7739# so use this general approach.
7740lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7741$lt_cdecl_hook\
7742" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7743" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7744
7745# Transform an extracted symbol line into symbol name and symbol address
7746lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7747$lt_c_name_hook\
7748" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7749" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7750
7751# Transform an extracted symbol line into symbol name with lib prefix and
7752# symbol address.
7753lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7754$lt_c_name_lib_hook\
7755" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7756" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7757" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7758
7759# Handle CRLF in mingw tool chain
7760opt_cr=
7761case $build_os in
7762mingw*)
7763  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7764  ;;
7765esac
7766
7767# Try without a prefix underscore, then with it.
7768for ac_symprfx in "" "_"; do
7769
7770  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7771  symxfrm="\\1 $ac_symprfx\\2 \\2"
7772
7773  # Write the raw and C identifiers.
7774  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7775    # Fake it for dumpbin and say T for any non-static function,
7776    # D for any global variable and I for any imported variable.
7777    # Also find C++ and __fastcall symbols from MSVC++,
7778    # which start with @ or ?.
7779    lt_cv_sys_global_symbol_pipe="$AWK '"\
7780"     {last_section=section; section=\$ 3};"\
7781"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7782"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7783"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7784"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7785"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7786"     \$ 0!~/External *\|/{next};"\
7787"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7788"     {if(hide[section]) next};"\
7789"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7790"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7791"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7792"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7793"     ' prfx=^$ac_symprfx"
7794  else
7795    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7796  fi
7797  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7798
7799  # Check to see that the pipe works correctly.
7800  pipe_works=no
7801
7802  rm -f conftest*
7803  cat > conftest.$ac_ext <<_LT_EOF
7804#ifdef __cplusplus
7805extern "C" {
7806#endif
7807char nm_test_var;
7808void nm_test_func(void);
7809void nm_test_func(void){}
7810#ifdef __cplusplus
7811}
7812#endif
7813int main(){nm_test_var='a';nm_test_func();return(0);}
7814_LT_EOF
7815
7816  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7817  (eval $ac_compile) 2>&5
7818  ac_status=$?
7819  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7820  test $ac_status = 0; }; then
7821    # Now try to grab the symbols.
7822    nlist=conftest.nm
7823    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7824  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7825  ac_status=$?
7826  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7827  test $ac_status = 0; } && test -s "$nlist"; then
7828      # Try sorting and uniquifying the output.
7829      if sort "$nlist" | uniq > "$nlist"T; then
7830	mv -f "$nlist"T "$nlist"
7831      else
7832	rm -f "$nlist"T
7833      fi
7834
7835      # Make sure that we snagged all the symbols we need.
7836      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7837	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7838	  cat <<_LT_EOF > conftest.$ac_ext
7839/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7840#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7841/* DATA imports from DLLs on WIN32 can't be const, because runtime
7842   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7843# define LT_DLSYM_CONST
7844#elif defined __osf__
7845/* This system does not cope well with relocations in const data.  */
7846# define LT_DLSYM_CONST
7847#else
7848# define LT_DLSYM_CONST const
7849#endif
7850
7851#ifdef __cplusplus
7852extern "C" {
7853#endif
7854
7855_LT_EOF
7856	  # Now generate the symbol file.
7857	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7858
7859	  cat <<_LT_EOF >> conftest.$ac_ext
7860
7861/* The mapping between symbol names and symbols.  */
7862LT_DLSYM_CONST struct {
7863  const char *name;
7864  void       *address;
7865}
7866lt__PROGRAM__LTX_preloaded_symbols[] =
7867{
7868  { "@PROGRAM@", (void *) 0 },
7869_LT_EOF
7870	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7871	  cat <<\_LT_EOF >> conftest.$ac_ext
7872  {0, (void *) 0}
7873};
7874
7875/* This works around a problem in FreeBSD linker */
7876#ifdef FREEBSD_WORKAROUND
7877static const void *lt_preloaded_setup() {
7878  return lt__PROGRAM__LTX_preloaded_symbols;
7879}
7880#endif
7881
7882#ifdef __cplusplus
7883}
7884#endif
7885_LT_EOF
7886	  # Now try linking the two files.
7887	  mv conftest.$ac_objext conftstm.$ac_objext
7888	  lt_globsym_save_LIBS=$LIBS
7889	  lt_globsym_save_CFLAGS=$CFLAGS
7890	  LIBS=conftstm.$ac_objext
7891	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7892	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7893  (eval $ac_link) 2>&5
7894  ac_status=$?
7895  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7896  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7897	    pipe_works=yes
7898	  fi
7899	  LIBS=$lt_globsym_save_LIBS
7900	  CFLAGS=$lt_globsym_save_CFLAGS
7901	else
7902	  echo "cannot find nm_test_func in $nlist" >&5
7903	fi
7904      else
7905	echo "cannot find nm_test_var in $nlist" >&5
7906      fi
7907    else
7908      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7909    fi
7910  else
7911    echo "$progname: failed program was:" >&5
7912    cat conftest.$ac_ext >&5
7913  fi
7914  rm -rf conftest* conftst*
7915
7916  # Do not use the global_symbol_pipe unless it works.
7917  if test yes = "$pipe_works"; then
7918    break
7919  else
7920    lt_cv_sys_global_symbol_pipe=
7921  fi
7922done
7923
7924fi
7925
7926if test -z "$lt_cv_sys_global_symbol_pipe"; then
7927  lt_cv_sys_global_symbol_to_cdecl=
7928fi
7929if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7931$as_echo "failed" >&6; }
7932else
7933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7934$as_echo "ok" >&6; }
7935fi
7936
7937# Response file support.
7938if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7939  nm_file_list_spec='@'
7940elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7941  nm_file_list_spec='@'
7942fi
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7981$as_echo_n "checking for sysroot... " >&6; }
7982
7983# Check whether --with-sysroot was given.
7984if test "${with_sysroot+set}" = set; then :
7985  withval=$with_sysroot;
7986else
7987  with_sysroot=no
7988fi
7989
7990
7991lt_sysroot=
7992case $with_sysroot in #(
7993 yes)
7994   if test yes = "$GCC"; then
7995     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7996   fi
7997   ;; #(
7998 /*)
7999   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8000   ;; #(
8001 no|'')
8002   ;; #(
8003 *)
8004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8005$as_echo "$with_sysroot" >&6; }
8006   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8007   ;;
8008esac
8009
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8011$as_echo "${lt_sysroot:-no}" >&6; }
8012
8013
8014
8015
8016
8017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8018$as_echo_n "checking for a working dd... " >&6; }
8019if ${ac_cv_path_lt_DD+:} false; then :
8020  $as_echo_n "(cached) " >&6
8021else
8022  printf 0123456789abcdef0123456789abcdef >conftest.i
8023cat conftest.i conftest.i >conftest2.i
8024: ${lt_DD:=$DD}
8025if test -z "$lt_DD"; then
8026  ac_path_lt_DD_found=false
8027  # Loop through the user's path and test for each of PROGNAME-LIST
8028  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029for as_dir in $PATH
8030do
8031  IFS=$as_save_IFS
8032  test -z "$as_dir" && as_dir=.
8033    for ac_prog in dd; do
8034    for ac_exec_ext in '' $ac_executable_extensions; do
8035      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8036      as_fn_executable_p "$ac_path_lt_DD" || continue
8037if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8038  cmp -s conftest.i conftest.out \
8039  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8040fi
8041      $ac_path_lt_DD_found && break 3
8042    done
8043  done
8044  done
8045IFS=$as_save_IFS
8046  if test -z "$ac_cv_path_lt_DD"; then
8047    :
8048  fi
8049else
8050  ac_cv_path_lt_DD=$lt_DD
8051fi
8052
8053rm -f conftest.i conftest2.i conftest.out
8054fi
8055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8056$as_echo "$ac_cv_path_lt_DD" >&6; }
8057
8058
8059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8060$as_echo_n "checking how to truncate binary pipes... " >&6; }
8061if ${lt_cv_truncate_bin+:} false; then :
8062  $as_echo_n "(cached) " >&6
8063else
8064  printf 0123456789abcdef0123456789abcdef >conftest.i
8065cat conftest.i conftest.i >conftest2.i
8066lt_cv_truncate_bin=
8067if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8068  cmp -s conftest.i conftest.out \
8069  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8070fi
8071rm -f conftest.i conftest2.i conftest.out
8072test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8073fi
8074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8075$as_echo "$lt_cv_truncate_bin" >&6; }
8076
8077
8078
8079
8080
8081
8082
8083# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8084func_cc_basename ()
8085{
8086    for cc_temp in $*""; do
8087      case $cc_temp in
8088        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8089        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8090        \-*) ;;
8091        *) break;;
8092      esac
8093    done
8094    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8095}
8096
8097# Check whether --enable-libtool-lock was given.
8098if test "${enable_libtool_lock+set}" = set; then :
8099  enableval=$enable_libtool_lock;
8100fi
8101
8102test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8103
8104# Some flags need to be propagated to the compiler or linker for good
8105# libtool support.
8106case $host in
8107ia64-*-hpux*)
8108  # Find out what ABI is being produced by ac_compile, and set mode
8109  # options accordingly.
8110  echo 'int i;' > conftest.$ac_ext
8111  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8112  (eval $ac_compile) 2>&5
8113  ac_status=$?
8114  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8115  test $ac_status = 0; }; then
8116    case `/usr/bin/file conftest.$ac_objext` in
8117      *ELF-32*)
8118	HPUX_IA64_MODE=32
8119	;;
8120      *ELF-64*)
8121	HPUX_IA64_MODE=64
8122	;;
8123    esac
8124  fi
8125  rm -rf conftest*
8126  ;;
8127*-*-irix6*)
8128  # Find out what ABI is being produced by ac_compile, and set linker
8129  # options accordingly.
8130  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8131  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8132  (eval $ac_compile) 2>&5
8133  ac_status=$?
8134  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8135  test $ac_status = 0; }; then
8136    if test yes = "$lt_cv_prog_gnu_ld"; then
8137      case `/usr/bin/file conftest.$ac_objext` in
8138	*32-bit*)
8139	  LD="${LD-ld} -melf32bsmip"
8140	  ;;
8141	*N32*)
8142	  LD="${LD-ld} -melf32bmipn32"
8143	  ;;
8144	*64-bit*)
8145	  LD="${LD-ld} -melf64bmip"
8146	;;
8147      esac
8148    else
8149      case `/usr/bin/file conftest.$ac_objext` in
8150	*32-bit*)
8151	  LD="${LD-ld} -32"
8152	  ;;
8153	*N32*)
8154	  LD="${LD-ld} -n32"
8155	  ;;
8156	*64-bit*)
8157	  LD="${LD-ld} -64"
8158	  ;;
8159      esac
8160    fi
8161  fi
8162  rm -rf conftest*
8163  ;;
8164
8165mips64*-*linux*)
8166  # Find out what ABI is being produced by ac_compile, and set linker
8167  # options accordingly.
8168  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8169  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8170  (eval $ac_compile) 2>&5
8171  ac_status=$?
8172  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8173  test $ac_status = 0; }; then
8174    emul=elf
8175    case `/usr/bin/file conftest.$ac_objext` in
8176      *32-bit*)
8177	emul="${emul}32"
8178	;;
8179      *64-bit*)
8180	emul="${emul}64"
8181	;;
8182    esac
8183    case `/usr/bin/file conftest.$ac_objext` in
8184      *MSB*)
8185	emul="${emul}btsmip"
8186	;;
8187      *LSB*)
8188	emul="${emul}ltsmip"
8189	;;
8190    esac
8191    case `/usr/bin/file conftest.$ac_objext` in
8192      *N32*)
8193	emul="${emul}n32"
8194	;;
8195    esac
8196    LD="${LD-ld} -m $emul"
8197  fi
8198  rm -rf conftest*
8199  ;;
8200
8201x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8202s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8203  # Find out what ABI is being produced by ac_compile, and set linker
8204  # options accordingly.  Note that the listed cases only cover the
8205  # situations where additional linker options are needed (such as when
8206  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8207  # vice versa); the common cases where no linker options are needed do
8208  # not appear in the list.
8209  echo 'int i;' > conftest.$ac_ext
8210  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8211  (eval $ac_compile) 2>&5
8212  ac_status=$?
8213  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8214  test $ac_status = 0; }; then
8215    case `/usr/bin/file conftest.o` in
8216      *32-bit*)
8217	case $host in
8218	  x86_64-*kfreebsd*-gnu)
8219	    LD="${LD-ld} -m elf_i386_fbsd"
8220	    ;;
8221	  x86_64-*linux*)
8222	    case `/usr/bin/file conftest.o` in
8223	      *x86-64*)
8224		LD="${LD-ld} -m elf32_x86_64"
8225		;;
8226	      *)
8227		LD="${LD-ld} -m elf_i386"
8228		;;
8229	    esac
8230	    ;;
8231	  powerpc64le-*linux*)
8232	    LD="${LD-ld} -m elf32lppclinux"
8233	    ;;
8234	  powerpc64-*linux*)
8235	    LD="${LD-ld} -m elf32ppclinux"
8236	    ;;
8237	  s390x-*linux*)
8238	    LD="${LD-ld} -m elf_s390"
8239	    ;;
8240	  sparc64-*linux*)
8241	    LD="${LD-ld} -m elf32_sparc"
8242	    ;;
8243	esac
8244	;;
8245      *64-bit*)
8246	case $host in
8247	  x86_64-*kfreebsd*-gnu)
8248	    LD="${LD-ld} -m elf_x86_64_fbsd"
8249	    ;;
8250	  x86_64-*linux*)
8251	    LD="${LD-ld} -m elf_x86_64"
8252	    ;;
8253	  powerpcle-*linux*)
8254	    LD="${LD-ld} -m elf64lppc"
8255	    ;;
8256	  powerpc-*linux*)
8257	    LD="${LD-ld} -m elf64ppc"
8258	    ;;
8259	  s390*-*linux*|s390*-*tpf*)
8260	    LD="${LD-ld} -m elf64_s390"
8261	    ;;
8262	  sparc*-*linux*)
8263	    LD="${LD-ld} -m elf64_sparc"
8264	    ;;
8265	esac
8266	;;
8267    esac
8268  fi
8269  rm -rf conftest*
8270  ;;
8271
8272*-*-sco3.2v5*)
8273  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8274  SAVE_CFLAGS=$CFLAGS
8275  CFLAGS="$CFLAGS -belf"
8276  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8277$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8278if ${lt_cv_cc_needs_belf+:} false; then :
8279  $as_echo_n "(cached) " >&6
8280else
8281  ac_ext=c
8282ac_cpp='$CPP $CPPFLAGS'
8283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8285ac_compiler_gnu=$ac_cv_c_compiler_gnu
8286
8287     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8288/* end confdefs.h.  */
8289
8290int
8291main ()
8292{
8293
8294  ;
8295  return 0;
8296}
8297_ACEOF
8298if ac_fn_c_try_link "$LINENO"; then :
8299  lt_cv_cc_needs_belf=yes
8300else
8301  lt_cv_cc_needs_belf=no
8302fi
8303rm -f core conftest.err conftest.$ac_objext \
8304    conftest$ac_exeext conftest.$ac_ext
8305     ac_ext=c
8306ac_cpp='$CPP $CPPFLAGS'
8307ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8308ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8309ac_compiler_gnu=$ac_cv_c_compiler_gnu
8310
8311fi
8312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8313$as_echo "$lt_cv_cc_needs_belf" >&6; }
8314  if test yes != "$lt_cv_cc_needs_belf"; then
8315    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8316    CFLAGS=$SAVE_CFLAGS
8317  fi
8318  ;;
8319*-*solaris*)
8320  # Find out what ABI is being produced by ac_compile, and set linker
8321  # options accordingly.
8322  echo 'int i;' > conftest.$ac_ext
8323  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8324  (eval $ac_compile) 2>&5
8325  ac_status=$?
8326  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8327  test $ac_status = 0; }; then
8328    case `/usr/bin/file conftest.o` in
8329    *64-bit*)
8330      case $lt_cv_prog_gnu_ld in
8331      yes*)
8332        case $host in
8333        i?86-*-solaris*|x86_64-*-solaris*)
8334          LD="${LD-ld} -m elf_x86_64"
8335          ;;
8336        sparc*-*-solaris*)
8337          LD="${LD-ld} -m elf64_sparc"
8338          ;;
8339        esac
8340        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8341        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8342          LD=${LD-ld}_sol2
8343        fi
8344        ;;
8345      *)
8346	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8347	  LD="${LD-ld} -64"
8348	fi
8349	;;
8350      esac
8351      ;;
8352    esac
8353  fi
8354  rm -rf conftest*
8355  ;;
8356esac
8357
8358need_locks=$enable_libtool_lock
8359
8360if test -n "$ac_tool_prefix"; then
8361  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8362set dummy ${ac_tool_prefix}mt; ac_word=$2
8363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8364$as_echo_n "checking for $ac_word... " >&6; }
8365if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8366  $as_echo_n "(cached) " >&6
8367else
8368  if test -n "$MANIFEST_TOOL"; then
8369  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8370else
8371as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8372for as_dir in $PATH
8373do
8374  IFS=$as_save_IFS
8375  test -z "$as_dir" && as_dir=.
8376    for ac_exec_ext in '' $ac_executable_extensions; do
8377  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8378    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8379    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8380    break 2
8381  fi
8382done
8383  done
8384IFS=$as_save_IFS
8385
8386fi
8387fi
8388MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8389if test -n "$MANIFEST_TOOL"; then
8390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8391$as_echo "$MANIFEST_TOOL" >&6; }
8392else
8393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8394$as_echo "no" >&6; }
8395fi
8396
8397
8398fi
8399if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8400  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8401  # Extract the first word of "mt", so it can be a program name with args.
8402set dummy mt; ac_word=$2
8403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8404$as_echo_n "checking for $ac_word... " >&6; }
8405if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8406  $as_echo_n "(cached) " >&6
8407else
8408  if test -n "$ac_ct_MANIFEST_TOOL"; then
8409  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8410else
8411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8412for as_dir in $PATH
8413do
8414  IFS=$as_save_IFS
8415  test -z "$as_dir" && as_dir=.
8416    for ac_exec_ext in '' $ac_executable_extensions; do
8417  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8418    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8419    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8420    break 2
8421  fi
8422done
8423  done
8424IFS=$as_save_IFS
8425
8426fi
8427fi
8428ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8429if test -n "$ac_ct_MANIFEST_TOOL"; then
8430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8431$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8432else
8433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8434$as_echo "no" >&6; }
8435fi
8436
8437  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8438    MANIFEST_TOOL=":"
8439  else
8440    case $cross_compiling:$ac_tool_warned in
8441yes:)
8442{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8443$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8444ac_tool_warned=yes ;;
8445esac
8446    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8447  fi
8448else
8449  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8450fi
8451
8452test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8454$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8455if ${lt_cv_path_mainfest_tool+:} false; then :
8456  $as_echo_n "(cached) " >&6
8457else
8458  lt_cv_path_mainfest_tool=no
8459  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8460  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8461  cat conftest.err >&5
8462  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8463    lt_cv_path_mainfest_tool=yes
8464  fi
8465  rm -f conftest*
8466fi
8467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8468$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8469if test yes != "$lt_cv_path_mainfest_tool"; then
8470  MANIFEST_TOOL=:
8471fi
8472
8473
8474
8475
8476
8477
8478  case $host_os in
8479    rhapsody* | darwin*)
8480    if test -n "$ac_tool_prefix"; then
8481  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8482set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8484$as_echo_n "checking for $ac_word... " >&6; }
8485if ${ac_cv_prog_DSYMUTIL+:} false; then :
8486  $as_echo_n "(cached) " >&6
8487else
8488  if test -n "$DSYMUTIL"; then
8489  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8490else
8491as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8492for as_dir in $PATH
8493do
8494  IFS=$as_save_IFS
8495  test -z "$as_dir" && as_dir=.
8496    for ac_exec_ext in '' $ac_executable_extensions; do
8497  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8498    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8499    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8500    break 2
8501  fi
8502done
8503  done
8504IFS=$as_save_IFS
8505
8506fi
8507fi
8508DSYMUTIL=$ac_cv_prog_DSYMUTIL
8509if test -n "$DSYMUTIL"; then
8510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8511$as_echo "$DSYMUTIL" >&6; }
8512else
8513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8514$as_echo "no" >&6; }
8515fi
8516
8517
8518fi
8519if test -z "$ac_cv_prog_DSYMUTIL"; then
8520  ac_ct_DSYMUTIL=$DSYMUTIL
8521  # Extract the first word of "dsymutil", so it can be a program name with args.
8522set dummy dsymutil; ac_word=$2
8523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8524$as_echo_n "checking for $ac_word... " >&6; }
8525if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8526  $as_echo_n "(cached) " >&6
8527else
8528  if test -n "$ac_ct_DSYMUTIL"; then
8529  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8530else
8531as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8532for as_dir in $PATH
8533do
8534  IFS=$as_save_IFS
8535  test -z "$as_dir" && as_dir=.
8536    for ac_exec_ext in '' $ac_executable_extensions; do
8537  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8538    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8539    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8540    break 2
8541  fi
8542done
8543  done
8544IFS=$as_save_IFS
8545
8546fi
8547fi
8548ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8549if test -n "$ac_ct_DSYMUTIL"; then
8550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8551$as_echo "$ac_ct_DSYMUTIL" >&6; }
8552else
8553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8554$as_echo "no" >&6; }
8555fi
8556
8557  if test "x$ac_ct_DSYMUTIL" = x; then
8558    DSYMUTIL=":"
8559  else
8560    case $cross_compiling:$ac_tool_warned in
8561yes:)
8562{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8563$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8564ac_tool_warned=yes ;;
8565esac
8566    DSYMUTIL=$ac_ct_DSYMUTIL
8567  fi
8568else
8569  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8570fi
8571
8572    if test -n "$ac_tool_prefix"; then
8573  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8574set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8576$as_echo_n "checking for $ac_word... " >&6; }
8577if ${ac_cv_prog_NMEDIT+:} false; then :
8578  $as_echo_n "(cached) " >&6
8579else
8580  if test -n "$NMEDIT"; then
8581  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8582else
8583as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8584for as_dir in $PATH
8585do
8586  IFS=$as_save_IFS
8587  test -z "$as_dir" && as_dir=.
8588    for ac_exec_ext in '' $ac_executable_extensions; do
8589  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8590    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8591    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8592    break 2
8593  fi
8594done
8595  done
8596IFS=$as_save_IFS
8597
8598fi
8599fi
8600NMEDIT=$ac_cv_prog_NMEDIT
8601if test -n "$NMEDIT"; then
8602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8603$as_echo "$NMEDIT" >&6; }
8604else
8605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8606$as_echo "no" >&6; }
8607fi
8608
8609
8610fi
8611if test -z "$ac_cv_prog_NMEDIT"; then
8612  ac_ct_NMEDIT=$NMEDIT
8613  # Extract the first word of "nmedit", so it can be a program name with args.
8614set dummy nmedit; 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_ac_ct_NMEDIT+:} false; then :
8618  $as_echo_n "(cached) " >&6
8619else
8620  if test -n "$ac_ct_NMEDIT"; then
8621  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # 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_ac_ct_NMEDIT="nmedit"
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
8640ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8641if test -n "$ac_ct_NMEDIT"; then
8642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8643$as_echo "$ac_ct_NMEDIT" >&6; }
8644else
8645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8646$as_echo "no" >&6; }
8647fi
8648
8649  if test "x$ac_ct_NMEDIT" = x; then
8650    NMEDIT=":"
8651  else
8652    case $cross_compiling:$ac_tool_warned in
8653yes:)
8654{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8655$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8656ac_tool_warned=yes ;;
8657esac
8658    NMEDIT=$ac_ct_NMEDIT
8659  fi
8660else
8661  NMEDIT="$ac_cv_prog_NMEDIT"
8662fi
8663
8664    if test -n "$ac_tool_prefix"; then
8665  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8666set dummy ${ac_tool_prefix}lipo; ac_word=$2
8667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8668$as_echo_n "checking for $ac_word... " >&6; }
8669if ${ac_cv_prog_LIPO+:} false; then :
8670  $as_echo_n "(cached) " >&6
8671else
8672  if test -n "$LIPO"; then
8673  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8674else
8675as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8676for as_dir in $PATH
8677do
8678  IFS=$as_save_IFS
8679  test -z "$as_dir" && as_dir=.
8680    for ac_exec_ext in '' $ac_executable_extensions; do
8681  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8682    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8683    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8684    break 2
8685  fi
8686done
8687  done
8688IFS=$as_save_IFS
8689
8690fi
8691fi
8692LIPO=$ac_cv_prog_LIPO
8693if test -n "$LIPO"; then
8694  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8695$as_echo "$LIPO" >&6; }
8696else
8697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8698$as_echo "no" >&6; }
8699fi
8700
8701
8702fi
8703if test -z "$ac_cv_prog_LIPO"; then
8704  ac_ct_LIPO=$LIPO
8705  # Extract the first word of "lipo", so it can be a program name with args.
8706set dummy lipo; 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_ac_ct_LIPO+:} false; then :
8710  $as_echo_n "(cached) " >&6
8711else
8712  if test -n "$ac_ct_LIPO"; then
8713  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # 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_ac_ct_LIPO="lipo"
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
8732ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8733if test -n "$ac_ct_LIPO"; then
8734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8735$as_echo "$ac_ct_LIPO" >&6; }
8736else
8737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8738$as_echo "no" >&6; }
8739fi
8740
8741  if test "x$ac_ct_LIPO" = x; then
8742    LIPO=":"
8743  else
8744    case $cross_compiling:$ac_tool_warned in
8745yes:)
8746{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8747$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8748ac_tool_warned=yes ;;
8749esac
8750    LIPO=$ac_ct_LIPO
8751  fi
8752else
8753  LIPO="$ac_cv_prog_LIPO"
8754fi
8755
8756    if test -n "$ac_tool_prefix"; then
8757  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8758set dummy ${ac_tool_prefix}otool; ac_word=$2
8759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8760$as_echo_n "checking for $ac_word... " >&6; }
8761if ${ac_cv_prog_OTOOL+:} false; then :
8762  $as_echo_n "(cached) " >&6
8763else
8764  if test -n "$OTOOL"; then
8765  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8766else
8767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8768for as_dir in $PATH
8769do
8770  IFS=$as_save_IFS
8771  test -z "$as_dir" && as_dir=.
8772    for ac_exec_ext in '' $ac_executable_extensions; do
8773  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8774    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8775    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8776    break 2
8777  fi
8778done
8779  done
8780IFS=$as_save_IFS
8781
8782fi
8783fi
8784OTOOL=$ac_cv_prog_OTOOL
8785if test -n "$OTOOL"; then
8786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8787$as_echo "$OTOOL" >&6; }
8788else
8789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8790$as_echo "no" >&6; }
8791fi
8792
8793
8794fi
8795if test -z "$ac_cv_prog_OTOOL"; then
8796  ac_ct_OTOOL=$OTOOL
8797  # Extract the first word of "otool", so it can be a program name with args.
8798set dummy otool; 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_ac_ct_OTOOL+:} false; then :
8802  $as_echo_n "(cached) " >&6
8803else
8804  if test -n "$ac_ct_OTOOL"; then
8805  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # 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_ac_ct_OTOOL="otool"
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
8824ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8825if test -n "$ac_ct_OTOOL"; then
8826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8827$as_echo "$ac_ct_OTOOL" >&6; }
8828else
8829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8830$as_echo "no" >&6; }
8831fi
8832
8833  if test "x$ac_ct_OTOOL" = x; then
8834    OTOOL=":"
8835  else
8836    case $cross_compiling:$ac_tool_warned in
8837yes:)
8838{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8839$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8840ac_tool_warned=yes ;;
8841esac
8842    OTOOL=$ac_ct_OTOOL
8843  fi
8844else
8845  OTOOL="$ac_cv_prog_OTOOL"
8846fi
8847
8848    if test -n "$ac_tool_prefix"; then
8849  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8850set dummy ${ac_tool_prefix}otool64; ac_word=$2
8851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8852$as_echo_n "checking for $ac_word... " >&6; }
8853if ${ac_cv_prog_OTOOL64+:} false; then :
8854  $as_echo_n "(cached) " >&6
8855else
8856  if test -n "$OTOOL64"; then
8857  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8858else
8859as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8860for as_dir in $PATH
8861do
8862  IFS=$as_save_IFS
8863  test -z "$as_dir" && as_dir=.
8864    for ac_exec_ext in '' $ac_executable_extensions; do
8865  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8866    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8867    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8868    break 2
8869  fi
8870done
8871  done
8872IFS=$as_save_IFS
8873
8874fi
8875fi
8876OTOOL64=$ac_cv_prog_OTOOL64
8877if test -n "$OTOOL64"; then
8878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8879$as_echo "$OTOOL64" >&6; }
8880else
8881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8882$as_echo "no" >&6; }
8883fi
8884
8885
8886fi
8887if test -z "$ac_cv_prog_OTOOL64"; then
8888  ac_ct_OTOOL64=$OTOOL64
8889  # Extract the first word of "otool64", so it can be a program name with args.
8890set dummy otool64; 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_ac_ct_OTOOL64+:} false; then :
8894  $as_echo_n "(cached) " >&6
8895else
8896  if test -n "$ac_ct_OTOOL64"; then
8897  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # 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_ac_ct_OTOOL64="otool64"
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
8916ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8917if test -n "$ac_ct_OTOOL64"; then
8918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8919$as_echo "$ac_ct_OTOOL64" >&6; }
8920else
8921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922$as_echo "no" >&6; }
8923fi
8924
8925  if test "x$ac_ct_OTOOL64" = x; then
8926    OTOOL64=":"
8927  else
8928    case $cross_compiling:$ac_tool_warned in
8929yes:)
8930{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8931$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8932ac_tool_warned=yes ;;
8933esac
8934    OTOOL64=$ac_ct_OTOOL64
8935  fi
8936else
8937  OTOOL64="$ac_cv_prog_OTOOL64"
8938fi
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8967$as_echo_n "checking for -single_module linker flag... " >&6; }
8968if ${lt_cv_apple_cc_single_mod+:} false; then :
8969  $as_echo_n "(cached) " >&6
8970else
8971  lt_cv_apple_cc_single_mod=no
8972      if test -z "$LT_MULTI_MODULE"; then
8973	# By default we will add the -single_module flag. You can override
8974	# by either setting the environment variable LT_MULTI_MODULE
8975	# non-empty at configure time, or by adding -multi_module to the
8976	# link flags.
8977	rm -rf libconftest.dylib*
8978	echo "int foo(void){return 1;}" > conftest.c
8979	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8980-dynamiclib -Wl,-single_module conftest.c" >&5
8981	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8982	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8983        _lt_result=$?
8984	# If there is a non-empty error log, and "single_module"
8985	# appears in it, assume the flag caused a linker warning
8986        if test -s conftest.err && $GREP single_module conftest.err; then
8987	  cat conftest.err >&5
8988	# Otherwise, if the output was created with a 0 exit code from
8989	# the compiler, it worked.
8990	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8991	  lt_cv_apple_cc_single_mod=yes
8992	else
8993	  cat conftest.err >&5
8994	fi
8995	rm -rf libconftest.dylib*
8996	rm -f conftest.*
8997      fi
8998fi
8999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9000$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9001
9002    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9003$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9004if ${lt_cv_ld_exported_symbols_list+:} false; then :
9005  $as_echo_n "(cached) " >&6
9006else
9007  lt_cv_ld_exported_symbols_list=no
9008      save_LDFLAGS=$LDFLAGS
9009      echo "_main" > conftest.sym
9010      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9011      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9012/* end confdefs.h.  */
9013
9014int
9015main ()
9016{
9017
9018  ;
9019  return 0;
9020}
9021_ACEOF
9022if ac_fn_c_try_link "$LINENO"; then :
9023  lt_cv_ld_exported_symbols_list=yes
9024else
9025  lt_cv_ld_exported_symbols_list=no
9026fi
9027rm -f core conftest.err conftest.$ac_objext \
9028    conftest$ac_exeext conftest.$ac_ext
9029	LDFLAGS=$save_LDFLAGS
9030
9031fi
9032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9033$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9034
9035    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9036$as_echo_n "checking for -force_load linker flag... " >&6; }
9037if ${lt_cv_ld_force_load+:} false; then :
9038  $as_echo_n "(cached) " >&6
9039else
9040  lt_cv_ld_force_load=no
9041      cat > conftest.c << _LT_EOF
9042int forced_loaded() { return 2;}
9043_LT_EOF
9044      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9045      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9046      echo "$AR cru libconftest.a conftest.o" >&5
9047      $AR cru libconftest.a conftest.o 2>&5
9048      echo "$RANLIB libconftest.a" >&5
9049      $RANLIB libconftest.a 2>&5
9050      cat > conftest.c << _LT_EOF
9051int main() { return 0;}
9052_LT_EOF
9053      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9054      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9055      _lt_result=$?
9056      if test -s conftest.err && $GREP force_load conftest.err; then
9057	cat conftest.err >&5
9058      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9059	lt_cv_ld_force_load=yes
9060      else
9061	cat conftest.err >&5
9062      fi
9063        rm -f conftest.err libconftest.a conftest conftest.c
9064        rm -rf conftest.dSYM
9065
9066fi
9067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9068$as_echo "$lt_cv_ld_force_load" >&6; }
9069    case $host_os in
9070    rhapsody* | darwin1.[012])
9071      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9072    darwin1.*)
9073      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9074    darwin*) # darwin 5.x on
9075      # if running on 10.5 or later, the deployment target defaults
9076      # to the OS version, if on x86, and 10.4, the deployment
9077      # target defaults to 10.4. Don't you love it?
9078      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9079	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9080	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9081	10.[012][,.]*)
9082	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9083	10.*)
9084	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9085      esac
9086    ;;
9087  esac
9088    if test yes = "$lt_cv_apple_cc_single_mod"; then
9089      _lt_dar_single_mod='$single_module'
9090    fi
9091    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9092      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9093    else
9094      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9095    fi
9096    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9097      _lt_dsymutil='~$DSYMUTIL $lib || :'
9098    else
9099      _lt_dsymutil=
9100    fi
9101    ;;
9102  esac
9103
9104# func_munge_path_list VARIABLE PATH
9105# -----------------------------------
9106# VARIABLE is name of variable containing _space_ separated list of
9107# directories to be munged by the contents of PATH, which is string
9108# having a format:
9109# "DIR[:DIR]:"
9110#       string "DIR[ DIR]" will be prepended to VARIABLE
9111# ":DIR[:DIR]"
9112#       string "DIR[ DIR]" will be appended to VARIABLE
9113# "DIRP[:DIRP]::[DIRA:]DIRA"
9114#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9115#       "DIRA[ DIRA]" will be appended to VARIABLE
9116# "DIR[:DIR]"
9117#       VARIABLE will be replaced by "DIR[ DIR]"
9118func_munge_path_list ()
9119{
9120    case x$2 in
9121    x)
9122        ;;
9123    *:)
9124        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9125        ;;
9126    x:*)
9127        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9128        ;;
9129    *::*)
9130        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9131        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9132        ;;
9133    *)
9134        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9135        ;;
9136    esac
9137}
9138
9139for ac_header in dlfcn.h
9140do :
9141  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9142"
9143if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9144  cat >>confdefs.h <<_ACEOF
9145#define HAVE_DLFCN_H 1
9146_ACEOF
9147
9148fi
9149
9150done
9151
9152
9153
9154
9155func_stripname_cnf ()
9156{
9157  case $2 in
9158  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9159  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9160  esac
9161} # func_stripname_cnf
9162
9163
9164
9165
9166
9167# Set options
9168
9169
9170
9171        enable_dlopen=no
9172
9173
9174  enable_win32_dll=no
9175
9176
9177            # Check whether --enable-shared was given.
9178if test "${enable_shared+set}" = set; then :
9179  enableval=$enable_shared; p=${PACKAGE-default}
9180    case $enableval in
9181    yes) enable_shared=yes ;;
9182    no) enable_shared=no ;;
9183    *)
9184      enable_shared=no
9185      # Look at the argument we got.  We use all the common list separators.
9186      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9187      for pkg in $enableval; do
9188	IFS=$lt_save_ifs
9189	if test "X$pkg" = "X$p"; then
9190	  enable_shared=yes
9191	fi
9192      done
9193      IFS=$lt_save_ifs
9194      ;;
9195    esac
9196else
9197  enable_shared=yes
9198fi
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208  # Check whether --enable-static was given.
9209if test "${enable_static+set}" = set; then :
9210  enableval=$enable_static; p=${PACKAGE-default}
9211    case $enableval in
9212    yes) enable_static=yes ;;
9213    no) enable_static=no ;;
9214    *)
9215     enable_static=no
9216      # Look at the argument we got.  We use all the common list separators.
9217      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9218      for pkg in $enableval; do
9219	IFS=$lt_save_ifs
9220	if test "X$pkg" = "X$p"; then
9221	  enable_static=yes
9222	fi
9223      done
9224      IFS=$lt_save_ifs
9225      ;;
9226    esac
9227else
9228  enable_static=yes
9229fi
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240# Check whether --with-pic was given.
9241if test "${with_pic+set}" = set; then :
9242  withval=$with_pic; lt_p=${PACKAGE-default}
9243    case $withval in
9244    yes|no) pic_mode=$withval ;;
9245    *)
9246      pic_mode=default
9247      # Look at the argument we got.  We use all the common list separators.
9248      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9249      for lt_pkg in $withval; do
9250	IFS=$lt_save_ifs
9251	if test "X$lt_pkg" = "X$lt_p"; then
9252	  pic_mode=yes
9253	fi
9254      done
9255      IFS=$lt_save_ifs
9256      ;;
9257    esac
9258else
9259  pic_mode=default
9260fi
9261
9262
9263
9264
9265
9266
9267
9268
9269  # Check whether --enable-fast-install was given.
9270if test "${enable_fast_install+set}" = set; then :
9271  enableval=$enable_fast_install; p=${PACKAGE-default}
9272    case $enableval in
9273    yes) enable_fast_install=yes ;;
9274    no) enable_fast_install=no ;;
9275    *)
9276      enable_fast_install=no
9277      # Look at the argument we got.  We use all the common list separators.
9278      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9279      for pkg in $enableval; do
9280	IFS=$lt_save_ifs
9281	if test "X$pkg" = "X$p"; then
9282	  enable_fast_install=yes
9283	fi
9284      done
9285      IFS=$lt_save_ifs
9286      ;;
9287    esac
9288else
9289  enable_fast_install=yes
9290fi
9291
9292
9293
9294
9295
9296
9297
9298
9299  shared_archive_member_spec=
9300case $host,$enable_shared in
9301power*-*-aix[5-9]*,yes)
9302  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9303$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9304
9305# Check whether --with-aix-soname was given.
9306if test "${with_aix_soname+set}" = set; then :
9307  withval=$with_aix_soname; case $withval in
9308    aix|svr4|both)
9309      ;;
9310    *)
9311      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9312      ;;
9313    esac
9314    lt_cv_with_aix_soname=$with_aix_soname
9315else
9316  if ${lt_cv_with_aix_soname+:} false; then :
9317  $as_echo_n "(cached) " >&6
9318else
9319  lt_cv_with_aix_soname=aix
9320fi
9321
9322    with_aix_soname=$lt_cv_with_aix_soname
9323fi
9324
9325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9326$as_echo "$with_aix_soname" >&6; }
9327  if test aix != "$with_aix_soname"; then
9328    # For the AIX way of multilib, we name the shared archive member
9329    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9330    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9331    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9332    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9333    if test 64 = "${OBJECT_MODE-32}"; then
9334      shared_archive_member_spec=shr_64
9335    else
9336      shared_archive_member_spec=shr
9337    fi
9338  fi
9339  ;;
9340*)
9341  with_aix_soname=aix
9342  ;;
9343esac
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354# This can be used to rebuild libtool when needed
9355LIBTOOL_DEPS=$ltmain
9356
9357# Always use our own libtool.
9358LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389test -z "$LN_S" && LN_S="ln -s"
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404if test -n "${ZSH_VERSION+set}"; then
9405   setopt NO_GLOB_SUBST
9406fi
9407
9408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9409$as_echo_n "checking for objdir... " >&6; }
9410if ${lt_cv_objdir+:} false; then :
9411  $as_echo_n "(cached) " >&6
9412else
9413  rm -f .libs 2>/dev/null
9414mkdir .libs 2>/dev/null
9415if test -d .libs; then
9416  lt_cv_objdir=.libs
9417else
9418  # MS-DOS does not allow filenames that begin with a dot.
9419  lt_cv_objdir=_libs
9420fi
9421rmdir .libs 2>/dev/null
9422fi
9423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9424$as_echo "$lt_cv_objdir" >&6; }
9425objdir=$lt_cv_objdir
9426
9427
9428
9429
9430
9431cat >>confdefs.h <<_ACEOF
9432#define LT_OBJDIR "$lt_cv_objdir/"
9433_ACEOF
9434
9435
9436
9437
9438case $host_os in
9439aix3*)
9440  # AIX sometimes has problems with the GCC collect2 program.  For some
9441  # reason, if we set the COLLECT_NAMES environment variable, the problems
9442  # vanish in a puff of smoke.
9443  if test set != "${COLLECT_NAMES+set}"; then
9444    COLLECT_NAMES=
9445    export COLLECT_NAMES
9446  fi
9447  ;;
9448esac
9449
9450# Global variables:
9451ofile=libtool
9452can_build_shared=yes
9453
9454# All known linkers require a '.a' archive for static linking (except MSVC,
9455# which needs '.lib').
9456libext=a
9457
9458with_gnu_ld=$lt_cv_prog_gnu_ld
9459
9460old_CC=$CC
9461old_CFLAGS=$CFLAGS
9462
9463# Set sane defaults for various variables
9464test -z "$CC" && CC=cc
9465test -z "$LTCC" && LTCC=$CC
9466test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9467test -z "$LD" && LD=ld
9468test -z "$ac_objext" && ac_objext=o
9469
9470func_cc_basename $compiler
9471cc_basename=$func_cc_basename_result
9472
9473
9474# Only perform the check for file, if the check method requires it
9475test -z "$MAGIC_CMD" && MAGIC_CMD=file
9476case $deplibs_check_method in
9477file_magic*)
9478  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9479    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9480$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9481if ${lt_cv_path_MAGIC_CMD+:} false; then :
9482  $as_echo_n "(cached) " >&6
9483else
9484  case $MAGIC_CMD in
9485[\\/*] |  ?:[\\/]*)
9486  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9487  ;;
9488*)
9489  lt_save_MAGIC_CMD=$MAGIC_CMD
9490  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9491  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9492  for ac_dir in $ac_dummy; do
9493    IFS=$lt_save_ifs
9494    test -z "$ac_dir" && ac_dir=.
9495    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9496      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9497      if test -n "$file_magic_test_file"; then
9498	case $deplibs_check_method in
9499	"file_magic "*)
9500	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9501	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9502	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9503	    $EGREP "$file_magic_regex" > /dev/null; then
9504	    :
9505	  else
9506	    cat <<_LT_EOF 1>&2
9507
9508*** Warning: the command libtool uses to detect shared libraries,
9509*** $file_magic_cmd, produces output that libtool cannot recognize.
9510*** The result is that libtool may fail to recognize shared libraries
9511*** as such.  This will affect the creation of libtool libraries that
9512*** depend on shared libraries, but programs linked with such libtool
9513*** libraries will work regardless of this problem.  Nevertheless, you
9514*** may want to report the problem to your system manager and/or to
9515*** bug-libtool@gnu.org
9516
9517_LT_EOF
9518	  fi ;;
9519	esac
9520      fi
9521      break
9522    fi
9523  done
9524  IFS=$lt_save_ifs
9525  MAGIC_CMD=$lt_save_MAGIC_CMD
9526  ;;
9527esac
9528fi
9529
9530MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9531if test -n "$MAGIC_CMD"; then
9532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9533$as_echo "$MAGIC_CMD" >&6; }
9534else
9535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9536$as_echo "no" >&6; }
9537fi
9538
9539
9540
9541
9542
9543if test -z "$lt_cv_path_MAGIC_CMD"; then
9544  if test -n "$ac_tool_prefix"; then
9545    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9546$as_echo_n "checking for file... " >&6; }
9547if ${lt_cv_path_MAGIC_CMD+:} false; then :
9548  $as_echo_n "(cached) " >&6
9549else
9550  case $MAGIC_CMD in
9551[\\/*] |  ?:[\\/]*)
9552  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9553  ;;
9554*)
9555  lt_save_MAGIC_CMD=$MAGIC_CMD
9556  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9557  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9558  for ac_dir in $ac_dummy; do
9559    IFS=$lt_save_ifs
9560    test -z "$ac_dir" && ac_dir=.
9561    if test -f "$ac_dir/file"; then
9562      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9563      if test -n "$file_magic_test_file"; then
9564	case $deplibs_check_method in
9565	"file_magic "*)
9566	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9567	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9568	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9569	    $EGREP "$file_magic_regex" > /dev/null; then
9570	    :
9571	  else
9572	    cat <<_LT_EOF 1>&2
9573
9574*** Warning: the command libtool uses to detect shared libraries,
9575*** $file_magic_cmd, produces output that libtool cannot recognize.
9576*** The result is that libtool may fail to recognize shared libraries
9577*** as such.  This will affect the creation of libtool libraries that
9578*** depend on shared libraries, but programs linked with such libtool
9579*** libraries will work regardless of this problem.  Nevertheless, you
9580*** may want to report the problem to your system manager and/or to
9581*** bug-libtool@gnu.org
9582
9583_LT_EOF
9584	  fi ;;
9585	esac
9586      fi
9587      break
9588    fi
9589  done
9590  IFS=$lt_save_ifs
9591  MAGIC_CMD=$lt_save_MAGIC_CMD
9592  ;;
9593esac
9594fi
9595
9596MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9597if test -n "$MAGIC_CMD"; then
9598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9599$as_echo "$MAGIC_CMD" >&6; }
9600else
9601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9602$as_echo "no" >&6; }
9603fi
9604
9605
9606  else
9607    MAGIC_CMD=:
9608  fi
9609fi
9610
9611  fi
9612  ;;
9613esac
9614
9615# Use C for the default configuration in the libtool script
9616
9617lt_save_CC=$CC
9618ac_ext=c
9619ac_cpp='$CPP $CPPFLAGS'
9620ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9621ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9622ac_compiler_gnu=$ac_cv_c_compiler_gnu
9623
9624
9625# Source file extension for C test sources.
9626ac_ext=c
9627
9628# Object file extension for compiled C test sources.
9629objext=o
9630objext=$objext
9631
9632# Code to be used in simple compile tests
9633lt_simple_compile_test_code="int some_variable = 0;"
9634
9635# Code to be used in simple link tests
9636lt_simple_link_test_code='int main(){return(0);}'
9637
9638
9639
9640
9641
9642
9643
9644# If no C compiler was specified, use CC.
9645LTCC=${LTCC-"$CC"}
9646
9647# If no C compiler flags were specified, use CFLAGS.
9648LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9649
9650# Allow CC to be a program name with arguments.
9651compiler=$CC
9652
9653# Save the default compiler, since it gets overwritten when the other
9654# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9655compiler_DEFAULT=$CC
9656
9657# save warnings/boilerplate of simple test code
9658ac_outfile=conftest.$ac_objext
9659echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9660eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9661_lt_compiler_boilerplate=`cat conftest.err`
9662$RM conftest*
9663
9664ac_outfile=conftest.$ac_objext
9665echo "$lt_simple_link_test_code" >conftest.$ac_ext
9666eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9667_lt_linker_boilerplate=`cat conftest.err`
9668$RM -r conftest*
9669
9670
9671## CAVEAT EMPTOR:
9672## There is no encapsulation within the following macros, do not change
9673## the running order or otherwise move them around unless you know exactly
9674## what you are doing...
9675if test -n "$compiler"; then
9676
9677lt_prog_compiler_no_builtin_flag=
9678
9679if test yes = "$GCC"; then
9680  case $cc_basename in
9681  nvcc*)
9682    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9683  *)
9684    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9685  esac
9686
9687  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9688$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9689if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9690  $as_echo_n "(cached) " >&6
9691else
9692  lt_cv_prog_compiler_rtti_exceptions=no
9693   ac_outfile=conftest.$ac_objext
9694   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9695   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9696   # Insert the option either (1) after the last *FLAGS variable, or
9697   # (2) before a word containing "conftest.", or (3) at the end.
9698   # Note that $ac_compile itself does not contain backslashes and begins
9699   # with a dollar sign (not a hyphen), so the echo should work correctly.
9700   # The option is referenced via a variable to avoid confusing sed.
9701   lt_compile=`echo "$ac_compile" | $SED \
9702   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9703   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9704   -e 's:$: $lt_compiler_flag:'`
9705   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9706   (eval "$lt_compile" 2>conftest.err)
9707   ac_status=$?
9708   cat conftest.err >&5
9709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710   if (exit $ac_status) && test -s "$ac_outfile"; then
9711     # The compiler can only warn and ignore the option if not recognized
9712     # So say no if there are warnings other than the usual output.
9713     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9714     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9715     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9716       lt_cv_prog_compiler_rtti_exceptions=yes
9717     fi
9718   fi
9719   $RM conftest*
9720
9721fi
9722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9723$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9724
9725if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9726    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9727else
9728    :
9729fi
9730
9731fi
9732
9733
9734
9735
9736
9737
9738  lt_prog_compiler_wl=
9739lt_prog_compiler_pic=
9740lt_prog_compiler_static=
9741
9742
9743  if test yes = "$GCC"; then
9744    lt_prog_compiler_wl='-Wl,'
9745    lt_prog_compiler_static='-static'
9746
9747    case $host_os in
9748      aix*)
9749      # All AIX code is PIC.
9750      if test ia64 = "$host_cpu"; then
9751	# AIX 5 now supports IA64 processor
9752	lt_prog_compiler_static='-Bstatic'
9753      fi
9754      lt_prog_compiler_pic='-fPIC'
9755      ;;
9756
9757    amigaos*)
9758      case $host_cpu in
9759      powerpc)
9760            # see comment about AmigaOS4 .so support
9761            lt_prog_compiler_pic='-fPIC'
9762        ;;
9763      m68k)
9764            # FIXME: we need at least 68020 code to build shared libraries, but
9765            # adding the '-m68020' flag to GCC prevents building anything better,
9766            # like '-m68040'.
9767            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9768        ;;
9769      esac
9770      ;;
9771
9772    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9773      # PIC is the default for these OSes.
9774      ;;
9775
9776    mingw* | cygwin* | pw32* | os2* | cegcc*)
9777      # This hack is so that the source file can tell whether it is being
9778      # built for inclusion in a dll (and should export symbols for example).
9779      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9780      # (--disable-auto-import) libraries
9781      lt_prog_compiler_pic='-DDLL_EXPORT'
9782      case $host_os in
9783      os2*)
9784	lt_prog_compiler_static='$wl-static'
9785	;;
9786      esac
9787      ;;
9788
9789    darwin* | rhapsody*)
9790      # PIC is the default on this platform
9791      # Common symbols not allowed in MH_DYLIB files
9792      lt_prog_compiler_pic='-fno-common'
9793      ;;
9794
9795    haiku*)
9796      # PIC is the default for Haiku.
9797      # The "-static" flag exists, but is broken.
9798      lt_prog_compiler_static=
9799      ;;
9800
9801    hpux*)
9802      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9803      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9804      # sets the default TLS model and affects inlining.
9805      case $host_cpu in
9806      hppa*64*)
9807	# +Z the default
9808	;;
9809      *)
9810	lt_prog_compiler_pic='-fPIC'
9811	;;
9812      esac
9813      ;;
9814
9815    interix[3-9]*)
9816      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9817      # Instead, we relocate shared libraries at runtime.
9818      ;;
9819
9820    msdosdjgpp*)
9821      # Just because we use GCC doesn't mean we suddenly get shared libraries
9822      # on systems that don't support them.
9823      lt_prog_compiler_can_build_shared=no
9824      enable_shared=no
9825      ;;
9826
9827    *nto* | *qnx*)
9828      # QNX uses GNU C++, but need to define -shared option too, otherwise
9829      # it will coredump.
9830      lt_prog_compiler_pic='-fPIC -shared'
9831      ;;
9832
9833    sysv4*MP*)
9834      if test -d /usr/nec; then
9835	lt_prog_compiler_pic=-Kconform_pic
9836      fi
9837      ;;
9838
9839    *)
9840      lt_prog_compiler_pic='-fPIC'
9841      ;;
9842    esac
9843
9844    case $cc_basename in
9845    nvcc*) # Cuda Compiler Driver 2.2
9846      lt_prog_compiler_wl='-Xlinker '
9847      if test -n "$lt_prog_compiler_pic"; then
9848        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9849      fi
9850      ;;
9851    esac
9852  else
9853    # PORTME Check for flag to pass linker flags through the system compiler.
9854    case $host_os in
9855    aix*)
9856      lt_prog_compiler_wl='-Wl,'
9857      if test ia64 = "$host_cpu"; then
9858	# AIX 5 now supports IA64 processor
9859	lt_prog_compiler_static='-Bstatic'
9860      else
9861	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9862      fi
9863      ;;
9864
9865    darwin* | rhapsody*)
9866      # PIC is the default on this platform
9867      # Common symbols not allowed in MH_DYLIB files
9868      lt_prog_compiler_pic='-fno-common'
9869      case $cc_basename in
9870      nagfor*)
9871        # NAG Fortran compiler
9872        lt_prog_compiler_wl='-Wl,-Wl,,'
9873        lt_prog_compiler_pic='-PIC'
9874        lt_prog_compiler_static='-Bstatic'
9875        ;;
9876      esac
9877      ;;
9878
9879    mingw* | cygwin* | pw32* | os2* | cegcc*)
9880      # This hack is so that the source file can tell whether it is being
9881      # built for inclusion in a dll (and should export symbols for example).
9882      lt_prog_compiler_pic='-DDLL_EXPORT'
9883      case $host_os in
9884      os2*)
9885	lt_prog_compiler_static='$wl-static'
9886	;;
9887      esac
9888      ;;
9889
9890    hpux9* | hpux10* | hpux11*)
9891      lt_prog_compiler_wl='-Wl,'
9892      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9893      # not for PA HP-UX.
9894      case $host_cpu in
9895      hppa*64*|ia64*)
9896	# +Z the default
9897	;;
9898      *)
9899	lt_prog_compiler_pic='+Z'
9900	;;
9901      esac
9902      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9903      lt_prog_compiler_static='$wl-a ${wl}archive'
9904      ;;
9905
9906    irix5* | irix6* | nonstopux*)
9907      lt_prog_compiler_wl='-Wl,'
9908      # PIC (with -KPIC) is the default.
9909      lt_prog_compiler_static='-non_shared'
9910      ;;
9911
9912    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9913      case $cc_basename in
9914      # old Intel for x86_64, which still supported -KPIC.
9915      ecc*)
9916	lt_prog_compiler_wl='-Wl,'
9917	lt_prog_compiler_pic='-KPIC'
9918	lt_prog_compiler_static='-static'
9919        ;;
9920      # icc used to be incompatible with GCC.
9921      # ICC 10 doesn't accept -KPIC any more.
9922      icc* | ifort*)
9923	lt_prog_compiler_wl='-Wl,'
9924	lt_prog_compiler_pic='-fPIC'
9925	lt_prog_compiler_static='-static'
9926        ;;
9927      # Lahey Fortran 8.1.
9928      lf95*)
9929	lt_prog_compiler_wl='-Wl,'
9930	lt_prog_compiler_pic='--shared'
9931	lt_prog_compiler_static='--static'
9932	;;
9933      nagfor*)
9934	# NAG Fortran compiler
9935	lt_prog_compiler_wl='-Wl,-Wl,,'
9936	lt_prog_compiler_pic='-PIC'
9937	lt_prog_compiler_static='-Bstatic'
9938	;;
9939      tcc*)
9940	# Fabrice Bellard et al's Tiny C Compiler
9941	lt_prog_compiler_wl='-Wl,'
9942	lt_prog_compiler_pic='-fPIC'
9943	lt_prog_compiler_static='-static'
9944	;;
9945      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9946        # Portland Group compilers (*not* the Pentium gcc compiler,
9947	# which looks to be a dead project)
9948	lt_prog_compiler_wl='-Wl,'
9949	lt_prog_compiler_pic='-fpic'
9950	lt_prog_compiler_static='-Bstatic'
9951        ;;
9952      ccc*)
9953        lt_prog_compiler_wl='-Wl,'
9954        # All Alpha code is PIC.
9955        lt_prog_compiler_static='-non_shared'
9956        ;;
9957      xl* | bgxl* | bgf* | mpixl*)
9958	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9959	lt_prog_compiler_wl='-Wl,'
9960	lt_prog_compiler_pic='-qpic'
9961	lt_prog_compiler_static='-qstaticlink'
9962	;;
9963      *)
9964	case `$CC -V 2>&1 | sed 5q` in
9965	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9966	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9967	  lt_prog_compiler_pic='-KPIC'
9968	  lt_prog_compiler_static='-Bstatic'
9969	  lt_prog_compiler_wl=''
9970	  ;;
9971	*Sun\ F* | *Sun*Fortran*)
9972	  lt_prog_compiler_pic='-KPIC'
9973	  lt_prog_compiler_static='-Bstatic'
9974	  lt_prog_compiler_wl='-Qoption ld '
9975	  ;;
9976	*Sun\ C*)
9977	  # Sun C 5.9
9978	  lt_prog_compiler_pic='-KPIC'
9979	  lt_prog_compiler_static='-Bstatic'
9980	  lt_prog_compiler_wl='-Wl,'
9981	  ;;
9982        *Intel*\ [CF]*Compiler*)
9983	  lt_prog_compiler_wl='-Wl,'
9984	  lt_prog_compiler_pic='-fPIC'
9985	  lt_prog_compiler_static='-static'
9986	  ;;
9987	*Portland\ Group*)
9988	  lt_prog_compiler_wl='-Wl,'
9989	  lt_prog_compiler_pic='-fpic'
9990	  lt_prog_compiler_static='-Bstatic'
9991	  ;;
9992	esac
9993	;;
9994      esac
9995      ;;
9996
9997    newsos6)
9998      lt_prog_compiler_pic='-KPIC'
9999      lt_prog_compiler_static='-Bstatic'
10000      ;;
10001
10002    *nto* | *qnx*)
10003      # QNX uses GNU C++, but need to define -shared option too, otherwise
10004      # it will coredump.
10005      lt_prog_compiler_pic='-fPIC -shared'
10006      ;;
10007
10008    osf3* | osf4* | osf5*)
10009      lt_prog_compiler_wl='-Wl,'
10010      # All OSF/1 code is PIC.
10011      lt_prog_compiler_static='-non_shared'
10012      ;;
10013
10014    rdos*)
10015      lt_prog_compiler_static='-non_shared'
10016      ;;
10017
10018    solaris*)
10019      lt_prog_compiler_pic='-KPIC'
10020      lt_prog_compiler_static='-Bstatic'
10021      case $cc_basename in
10022      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10023	lt_prog_compiler_wl='-Qoption ld ';;
10024      *)
10025	lt_prog_compiler_wl='-Wl,';;
10026      esac
10027      ;;
10028
10029    sunos4*)
10030      lt_prog_compiler_wl='-Qoption ld '
10031      lt_prog_compiler_pic='-PIC'
10032      lt_prog_compiler_static='-Bstatic'
10033      ;;
10034
10035    sysv4 | sysv4.2uw2* | sysv4.3*)
10036      lt_prog_compiler_wl='-Wl,'
10037      lt_prog_compiler_pic='-KPIC'
10038      lt_prog_compiler_static='-Bstatic'
10039      ;;
10040
10041    sysv4*MP*)
10042      if test -d /usr/nec; then
10043	lt_prog_compiler_pic='-Kconform_pic'
10044	lt_prog_compiler_static='-Bstatic'
10045      fi
10046      ;;
10047
10048    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10049      lt_prog_compiler_wl='-Wl,'
10050      lt_prog_compiler_pic='-KPIC'
10051      lt_prog_compiler_static='-Bstatic'
10052      ;;
10053
10054    unicos*)
10055      lt_prog_compiler_wl='-Wl,'
10056      lt_prog_compiler_can_build_shared=no
10057      ;;
10058
10059    uts4*)
10060      lt_prog_compiler_pic='-pic'
10061      lt_prog_compiler_static='-Bstatic'
10062      ;;
10063
10064    *)
10065      lt_prog_compiler_can_build_shared=no
10066      ;;
10067    esac
10068  fi
10069
10070case $host_os in
10071  # For platforms that do not support PIC, -DPIC is meaningless:
10072  *djgpp*)
10073    lt_prog_compiler_pic=
10074    ;;
10075  *)
10076    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10077    ;;
10078esac
10079
10080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10081$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10082if ${lt_cv_prog_compiler_pic+:} false; then :
10083  $as_echo_n "(cached) " >&6
10084else
10085  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10086fi
10087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10088$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10089lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10090
10091#
10092# Check to make sure the PIC flag actually works.
10093#
10094if test -n "$lt_prog_compiler_pic"; then
10095  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10096$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10097if ${lt_cv_prog_compiler_pic_works+:} false; then :
10098  $as_echo_n "(cached) " >&6
10099else
10100  lt_cv_prog_compiler_pic_works=no
10101   ac_outfile=conftest.$ac_objext
10102   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10103   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10104   # Insert the option either (1) after the last *FLAGS variable, or
10105   # (2) before a word containing "conftest.", or (3) at the end.
10106   # Note that $ac_compile itself does not contain backslashes and begins
10107   # with a dollar sign (not a hyphen), so the echo should work correctly.
10108   # The option is referenced via a variable to avoid confusing sed.
10109   lt_compile=`echo "$ac_compile" | $SED \
10110   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10111   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10112   -e 's:$: $lt_compiler_flag:'`
10113   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10114   (eval "$lt_compile" 2>conftest.err)
10115   ac_status=$?
10116   cat conftest.err >&5
10117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118   if (exit $ac_status) && test -s "$ac_outfile"; then
10119     # The compiler can only warn and ignore the option if not recognized
10120     # So say no if there are warnings other than the usual output.
10121     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10122     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10123     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10124       lt_cv_prog_compiler_pic_works=yes
10125     fi
10126   fi
10127   $RM conftest*
10128
10129fi
10130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10131$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10132
10133if test yes = "$lt_cv_prog_compiler_pic_works"; then
10134    case $lt_prog_compiler_pic in
10135     "" | " "*) ;;
10136     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10137     esac
10138else
10139    lt_prog_compiler_pic=
10140     lt_prog_compiler_can_build_shared=no
10141fi
10142
10143fi
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155#
10156# Check to make sure the static flag actually works.
10157#
10158wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10160$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10161if ${lt_cv_prog_compiler_static_works+:} false; then :
10162  $as_echo_n "(cached) " >&6
10163else
10164  lt_cv_prog_compiler_static_works=no
10165   save_LDFLAGS=$LDFLAGS
10166   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10167   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10168   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10169     # The linker can only warn and ignore the option if not recognized
10170     # So say no if there are warnings
10171     if test -s conftest.err; then
10172       # Append any errors to the config.log.
10173       cat conftest.err 1>&5
10174       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10175       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10176       if diff conftest.exp conftest.er2 >/dev/null; then
10177         lt_cv_prog_compiler_static_works=yes
10178       fi
10179     else
10180       lt_cv_prog_compiler_static_works=yes
10181     fi
10182   fi
10183   $RM -r conftest*
10184   LDFLAGS=$save_LDFLAGS
10185
10186fi
10187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10188$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10189
10190if test yes = "$lt_cv_prog_compiler_static_works"; then
10191    :
10192else
10193    lt_prog_compiler_static=
10194fi
10195
10196
10197
10198
10199
10200
10201
10202  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10203$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10204if ${lt_cv_prog_compiler_c_o+:} false; then :
10205  $as_echo_n "(cached) " >&6
10206else
10207  lt_cv_prog_compiler_c_o=no
10208   $RM -r conftest 2>/dev/null
10209   mkdir conftest
10210   cd conftest
10211   mkdir out
10212   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10213
10214   lt_compiler_flag="-o out/conftest2.$ac_objext"
10215   # Insert the option either (1) after the last *FLAGS variable, or
10216   # (2) before a word containing "conftest.", or (3) at the end.
10217   # Note that $ac_compile itself does not contain backslashes and begins
10218   # with a dollar sign (not a hyphen), so the echo should work correctly.
10219   lt_compile=`echo "$ac_compile" | $SED \
10220   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10221   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10222   -e 's:$: $lt_compiler_flag:'`
10223   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10224   (eval "$lt_compile" 2>out/conftest.err)
10225   ac_status=$?
10226   cat out/conftest.err >&5
10227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10228   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10229   then
10230     # The compiler can only warn and ignore the option if not recognized
10231     # So say no if there are warnings
10232     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10233     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10234     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10235       lt_cv_prog_compiler_c_o=yes
10236     fi
10237   fi
10238   chmod u+w . 2>&5
10239   $RM conftest*
10240   # SGI C++ compiler will create directory out/ii_files/ for
10241   # template instantiation
10242   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10243   $RM out/* && rmdir out
10244   cd ..
10245   $RM -r conftest
10246   $RM conftest*
10247
10248fi
10249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10250$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10251
10252
10253
10254
10255
10256
10257  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10258$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10259if ${lt_cv_prog_compiler_c_o+:} false; then :
10260  $as_echo_n "(cached) " >&6
10261else
10262  lt_cv_prog_compiler_c_o=no
10263   $RM -r conftest 2>/dev/null
10264   mkdir conftest
10265   cd conftest
10266   mkdir out
10267   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10268
10269   lt_compiler_flag="-o out/conftest2.$ac_objext"
10270   # Insert the option either (1) after the last *FLAGS variable, or
10271   # (2) before a word containing "conftest.", or (3) at the end.
10272   # Note that $ac_compile itself does not contain backslashes and begins
10273   # with a dollar sign (not a hyphen), so the echo should work correctly.
10274   lt_compile=`echo "$ac_compile" | $SED \
10275   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10276   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10277   -e 's:$: $lt_compiler_flag:'`
10278   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10279   (eval "$lt_compile" 2>out/conftest.err)
10280   ac_status=$?
10281   cat out/conftest.err >&5
10282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10284   then
10285     # The compiler can only warn and ignore the option if not recognized
10286     # So say no if there are warnings
10287     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10288     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10289     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10290       lt_cv_prog_compiler_c_o=yes
10291     fi
10292   fi
10293   chmod u+w . 2>&5
10294   $RM conftest*
10295   # SGI C++ compiler will create directory out/ii_files/ for
10296   # template instantiation
10297   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10298   $RM out/* && rmdir out
10299   cd ..
10300   $RM -r conftest
10301   $RM conftest*
10302
10303fi
10304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10305$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10306
10307
10308
10309
10310hard_links=nottested
10311if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10312  # do not overwrite the value of need_locks provided by the user
10313  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10314$as_echo_n "checking if we can lock with hard links... " >&6; }
10315  hard_links=yes
10316  $RM conftest*
10317  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10318  touch conftest.a
10319  ln conftest.a conftest.b 2>&5 || hard_links=no
10320  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10322$as_echo "$hard_links" >&6; }
10323  if test no = "$hard_links"; then
10324    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10325$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10326    need_locks=warn
10327  fi
10328else
10329  need_locks=no
10330fi
10331
10332
10333
10334
10335
10336
10337  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10338$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10339
10340  runpath_var=
10341  allow_undefined_flag=
10342  always_export_symbols=no
10343  archive_cmds=
10344  archive_expsym_cmds=
10345  compiler_needs_object=no
10346  enable_shared_with_static_runtimes=no
10347  export_dynamic_flag_spec=
10348  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10349  hardcode_automatic=no
10350  hardcode_direct=no
10351  hardcode_direct_absolute=no
10352  hardcode_libdir_flag_spec=
10353  hardcode_libdir_separator=
10354  hardcode_minus_L=no
10355  hardcode_shlibpath_var=unsupported
10356  inherit_rpath=no
10357  link_all_deplibs=unknown
10358  module_cmds=
10359  module_expsym_cmds=
10360  old_archive_from_new_cmds=
10361  old_archive_from_expsyms_cmds=
10362  thread_safe_flag_spec=
10363  whole_archive_flag_spec=
10364  # include_expsyms should be a list of space-separated symbols to be *always*
10365  # included in the symbol list
10366  include_expsyms=
10367  # exclude_expsyms can be an extended regexp of symbols to exclude
10368  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10369  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10370  # as well as any symbol that contains 'd'.
10371  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10372  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10373  # platforms (ab)use it in PIC code, but their linkers get confused if
10374  # the symbol is explicitly referenced.  Since portable code cannot
10375  # rely on this symbol name, it's probably fine to never include it in
10376  # preloaded symbol tables.
10377  # Exclude shared library initialization/finalization symbols.
10378  extract_expsyms_cmds=
10379
10380  case $host_os in
10381  cygwin* | mingw* | pw32* | cegcc*)
10382    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10383    # When not using gcc, we currently assume that we are using
10384    # Microsoft Visual C++.
10385    if test yes != "$GCC"; then
10386      with_gnu_ld=no
10387    fi
10388    ;;
10389  interix*)
10390    # we just hope/assume this is gcc and not c89 (= MSVC++)
10391    with_gnu_ld=yes
10392    ;;
10393  openbsd* | bitrig*)
10394    with_gnu_ld=no
10395    ;;
10396  esac
10397
10398  ld_shlibs=yes
10399
10400  # On some targets, GNU ld is compatible enough with the native linker
10401  # that we're better off using the native interface for both.
10402  lt_use_gnu_ld_interface=no
10403  if test yes = "$with_gnu_ld"; then
10404    case $host_os in
10405      aix*)
10406	# The AIX port of GNU ld has always aspired to compatibility
10407	# with the native linker.  However, as the warning in the GNU ld
10408	# block says, versions before 2.19.5* couldn't really create working
10409	# shared libraries, regardless of the interface used.
10410	case `$LD -v 2>&1` in
10411	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10412	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10413	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10414	  *)
10415	    lt_use_gnu_ld_interface=yes
10416	    ;;
10417	esac
10418	;;
10419      *)
10420	lt_use_gnu_ld_interface=yes
10421	;;
10422    esac
10423  fi
10424
10425  if test yes = "$lt_use_gnu_ld_interface"; then
10426    # If archive_cmds runs LD, not CC, wlarc should be empty
10427    wlarc='$wl'
10428
10429    # Set some defaults for GNU ld with shared library support. These
10430    # are reset later if shared libraries are not supported. Putting them
10431    # here allows them to be overridden if necessary.
10432    runpath_var=LD_RUN_PATH
10433    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10434    export_dynamic_flag_spec='$wl--export-dynamic'
10435    # ancient GNU ld didn't support --whole-archive et. al.
10436    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10437      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10438    else
10439      whole_archive_flag_spec=
10440    fi
10441    supports_anon_versioning=no
10442    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10443      *GNU\ gold*) supports_anon_versioning=yes ;;
10444      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10445      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10446      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10447      *\ 2.11.*) ;; # other 2.11 versions
10448      *) supports_anon_versioning=yes ;;
10449    esac
10450
10451    # See if GNU ld supports shared libraries.
10452    case $host_os in
10453    aix[3-9]*)
10454      # On AIX/PPC, the GNU linker is very broken
10455      if test ia64 != "$host_cpu"; then
10456	ld_shlibs=no
10457	cat <<_LT_EOF 1>&2
10458
10459*** Warning: the GNU linker, at least up to release 2.19, is reported
10460*** to be unable to reliably create shared libraries on AIX.
10461*** Therefore, libtool is disabling shared libraries support.  If you
10462*** really care for shared libraries, you may want to install binutils
10463*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10464*** You will then need to restart the configuration process.
10465
10466_LT_EOF
10467      fi
10468      ;;
10469
10470    amigaos*)
10471      case $host_cpu in
10472      powerpc)
10473            # see comment about AmigaOS4 .so support
10474            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10475            archive_expsym_cmds=''
10476        ;;
10477      m68k)
10478            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)'
10479            hardcode_libdir_flag_spec='-L$libdir'
10480            hardcode_minus_L=yes
10481        ;;
10482      esac
10483      ;;
10484
10485    beos*)
10486      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10487	allow_undefined_flag=unsupported
10488	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10489	# support --undefined.  This deserves some investigation.  FIXME
10490	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10491      else
10492	ld_shlibs=no
10493      fi
10494      ;;
10495
10496    cygwin* | mingw* | pw32* | cegcc*)
10497      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10498      # as there is no search path for DLLs.
10499      hardcode_libdir_flag_spec='-L$libdir'
10500      export_dynamic_flag_spec='$wl--export-all-symbols'
10501      allow_undefined_flag=unsupported
10502      always_export_symbols=no
10503      enable_shared_with_static_runtimes=yes
10504      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'
10505      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10506
10507      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10508        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10509	# If the export-symbols file already is a .def file, use it as
10510	# is; otherwise, prepend EXPORTS...
10511	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10512          cp $export_symbols $output_objdir/$soname.def;
10513        else
10514          echo EXPORTS > $output_objdir/$soname.def;
10515          cat $export_symbols >> $output_objdir/$soname.def;
10516        fi~
10517        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10518      else
10519	ld_shlibs=no
10520      fi
10521      ;;
10522
10523    haiku*)
10524      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10525      link_all_deplibs=yes
10526      ;;
10527
10528    os2*)
10529      hardcode_libdir_flag_spec='-L$libdir'
10530      hardcode_minus_L=yes
10531      allow_undefined_flag=unsupported
10532      shrext_cmds=.dll
10533      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10534	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10535	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10536	$ECHO EXPORTS >> $output_objdir/$libname.def~
10537	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10538	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10539	emximp -o $lib $output_objdir/$libname.def'
10540      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10541	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10542	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10543	$ECHO EXPORTS >> $output_objdir/$libname.def~
10544	prefix_cmds="$SED"~
10545	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10546	  prefix_cmds="$prefix_cmds -e 1d";
10547	fi~
10548	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10549	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10550	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10551	emximp -o $lib $output_objdir/$libname.def'
10552      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10553      enable_shared_with_static_runtimes=yes
10554      ;;
10555
10556    interix[3-9]*)
10557      hardcode_direct=no
10558      hardcode_shlibpath_var=no
10559      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10560      export_dynamic_flag_spec='$wl-E'
10561      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10562      # Instead, shared libraries are loaded at an image base (0x10000000 by
10563      # default) and relocated if they conflict, which is a slow very memory
10564      # consuming and fragmenting process.  To avoid this, we pick a random,
10565      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10566      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10567      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10568      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'
10569      ;;
10570
10571    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10572      tmp_diet=no
10573      if test linux-dietlibc = "$host_os"; then
10574	case $cc_basename in
10575	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10576	esac
10577      fi
10578      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10579	 && test no = "$tmp_diet"
10580      then
10581	tmp_addflag=' $pic_flag'
10582	tmp_sharedflag='-shared'
10583	case $cc_basename,$host_cpu in
10584        pgcc*)				# Portland Group C compiler
10585	  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'
10586	  tmp_addflag=' $pic_flag'
10587	  ;;
10588	pgf77* | pgf90* | pgf95* | pgfortran*)
10589					# Portland Group f77 and f90 compilers
10590	  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'
10591	  tmp_addflag=' $pic_flag -Mnomain' ;;
10592	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10593	  tmp_addflag=' -i_dynamic' ;;
10594	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10595	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10596	ifc* | ifort*)			# Intel Fortran compiler
10597	  tmp_addflag=' -nofor_main' ;;
10598	lf95*)				# Lahey Fortran 8.1
10599	  whole_archive_flag_spec=
10600	  tmp_sharedflag='--shared' ;;
10601        nagfor*)                        # NAGFOR 5.3
10602          tmp_sharedflag='-Wl,-shared' ;;
10603	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10604	  tmp_sharedflag='-qmkshrobj'
10605	  tmp_addflag= ;;
10606	nvcc*)	# Cuda Compiler Driver 2.2
10607	  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'
10608	  compiler_needs_object=yes
10609	  ;;
10610	esac
10611	case `$CC -V 2>&1 | sed 5q` in
10612	*Sun\ C*)			# Sun C 5.9
10613	  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'
10614	  compiler_needs_object=yes
10615	  tmp_sharedflag='-G' ;;
10616	*Sun\ F*)			# Sun Fortran 8.3
10617	  tmp_sharedflag='-G' ;;
10618	esac
10619	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10620
10621        if test yes = "$supports_anon_versioning"; then
10622          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10623            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10624            echo "local: *; };" >> $output_objdir/$libname.ver~
10625            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10626        fi
10627
10628	case $cc_basename in
10629	tcc*)
10630	  export_dynamic_flag_spec='-rdynamic'
10631	  ;;
10632	xlf* | bgf* | bgxlf* | mpixlf*)
10633	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10634	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10635	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10636	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10637	  if test yes = "$supports_anon_versioning"; then
10638	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10639              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10640              echo "local: *; };" >> $output_objdir/$libname.ver~
10641              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10642	  fi
10643	  ;;
10644	esac
10645      else
10646        ld_shlibs=no
10647      fi
10648      ;;
10649
10650    netbsd*)
10651      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10652	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10653	wlarc=
10654      else
10655	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10656	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10657      fi
10658      ;;
10659
10660    solaris*)
10661      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10662	ld_shlibs=no
10663	cat <<_LT_EOF 1>&2
10664
10665*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10666*** create shared libraries on Solaris systems.  Therefore, libtool
10667*** is disabling shared libraries support.  We urge you to upgrade GNU
10668*** binutils to release 2.9.1 or newer.  Another option is to modify
10669*** your PATH or compiler configuration so that the native linker is
10670*** used, and then restart.
10671
10672_LT_EOF
10673      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10674	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10675	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10676      else
10677	ld_shlibs=no
10678      fi
10679      ;;
10680
10681    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10682      case `$LD -v 2>&1` in
10683        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10684	ld_shlibs=no
10685	cat <<_LT_EOF 1>&2
10686
10687*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10688*** reliably create shared libraries on SCO systems.  Therefore, libtool
10689*** is disabling shared libraries support.  We urge you to upgrade GNU
10690*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10691*** your PATH or compiler configuration so that the native linker is
10692*** used, and then restart.
10693
10694_LT_EOF
10695	;;
10696	*)
10697	  # For security reasons, it is highly recommended that you always
10698	  # use absolute paths for naming shared libraries, and exclude the
10699	  # DT_RUNPATH tag from executables and libraries.  But doing so
10700	  # requires that you compile everything twice, which is a pain.
10701	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10702	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10703	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10704	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10705	  else
10706	    ld_shlibs=no
10707	  fi
10708	;;
10709      esac
10710      ;;
10711
10712    sunos4*)
10713      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10714      wlarc=
10715      hardcode_direct=yes
10716      hardcode_shlibpath_var=no
10717      ;;
10718
10719    *)
10720      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10721	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10722	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10723      else
10724	ld_shlibs=no
10725      fi
10726      ;;
10727    esac
10728
10729    if test no = "$ld_shlibs"; then
10730      runpath_var=
10731      hardcode_libdir_flag_spec=
10732      export_dynamic_flag_spec=
10733      whole_archive_flag_spec=
10734    fi
10735  else
10736    # PORTME fill in a description of your system's linker (not GNU ld)
10737    case $host_os in
10738    aix3*)
10739      allow_undefined_flag=unsupported
10740      always_export_symbols=yes
10741      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'
10742      # Note: this linker hardcodes the directories in LIBPATH if there
10743      # are no directories specified by -L.
10744      hardcode_minus_L=yes
10745      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10746	# Neither direct hardcoding nor static linking is supported with a
10747	# broken collect2.
10748	hardcode_direct=unsupported
10749      fi
10750      ;;
10751
10752    aix[4-9]*)
10753      if test ia64 = "$host_cpu"; then
10754	# On IA64, the linker does run time linking by default, so we don't
10755	# have to do anything special.
10756	aix_use_runtimelinking=no
10757	exp_sym_flag='-Bexport'
10758	no_entry_flag=
10759      else
10760	# If we're using GNU nm, then we don't want the "-C" option.
10761	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10762	# Without the "-l" option, or with the "-B" option, AIX nm treats
10763	# weak defined symbols like other global defined symbols, whereas
10764	# GNU nm marks them as "W".
10765	# While the 'weak' keyword is ignored in the Export File, we need
10766	# it in the Import File for the 'aix-soname' feature, so we have
10767	# to replace the "-B" option with "-P" for AIX nm.
10768	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10769	  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'
10770	else
10771	  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'
10772	fi
10773	aix_use_runtimelinking=no
10774
10775	# Test if we are trying to use run time linking or normal
10776	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10777	# have runtime linking enabled, and use it for executables.
10778	# For shared libraries, we enable/disable runtime linking
10779	# depending on the kind of the shared library created -
10780	# when "with_aix_soname,aix_use_runtimelinking" is:
10781	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10782	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10783	#            lib.a           static archive
10784	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10785	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10786	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10787	#            lib.a(lib.so.V) shared, rtl:no
10788	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10789	#            lib.a           static archive
10790	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10791	  for ld_flag in $LDFLAGS; do
10792	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10793	    aix_use_runtimelinking=yes
10794	    break
10795	  fi
10796	  done
10797	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10798	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10799	    # so we don't have lib.a shared libs to link our executables.
10800	    # We have to force runtime linking in this case.
10801	    aix_use_runtimelinking=yes
10802	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10803	  fi
10804	  ;;
10805	esac
10806
10807	exp_sym_flag='-bexport'
10808	no_entry_flag='-bnoentry'
10809      fi
10810
10811      # When large executables or shared objects are built, AIX ld can
10812      # have problems creating the table of contents.  If linking a library
10813      # or program results in "error TOC overflow" add -mminimal-toc to
10814      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10815      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10816
10817      archive_cmds=''
10818      hardcode_direct=yes
10819      hardcode_direct_absolute=yes
10820      hardcode_libdir_separator=':'
10821      link_all_deplibs=yes
10822      file_list_spec='$wl-f,'
10823      case $with_aix_soname,$aix_use_runtimelinking in
10824      aix,*) ;; # traditional, no import file
10825      svr4,* | *,yes) # use import file
10826	# The Import File defines what to hardcode.
10827	hardcode_direct=no
10828	hardcode_direct_absolute=no
10829	;;
10830      esac
10831
10832      if test yes = "$GCC"; then
10833	case $host_os in aix4.[012]|aix4.[012].*)
10834	# We only want to do this on AIX 4.2 and lower, the check
10835	# below for broken collect2 doesn't work under 4.3+
10836	  collect2name=`$CC -print-prog-name=collect2`
10837	  if test -f "$collect2name" &&
10838	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10839	  then
10840	  # We have reworked collect2
10841	  :
10842	  else
10843	  # We have old collect2
10844	  hardcode_direct=unsupported
10845	  # It fails to find uninstalled libraries when the uninstalled
10846	  # path is not listed in the libpath.  Setting hardcode_minus_L
10847	  # to unsupported forces relinking
10848	  hardcode_minus_L=yes
10849	  hardcode_libdir_flag_spec='-L$libdir'
10850	  hardcode_libdir_separator=
10851	  fi
10852	  ;;
10853	esac
10854	shared_flag='-shared'
10855	if test yes = "$aix_use_runtimelinking"; then
10856	  shared_flag="$shared_flag "'$wl-G'
10857	fi
10858	# Need to ensure runtime linking is disabled for the traditional
10859	# shared library, or the linker may eventually find shared libraries
10860	# /with/ Import File - we do not want to mix them.
10861	shared_flag_aix='-shared'
10862	shared_flag_svr4='-shared $wl-G'
10863      else
10864	# not using gcc
10865	if test ia64 = "$host_cpu"; then
10866	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10867	# chokes on -Wl,-G. The following line is correct:
10868	  shared_flag='-G'
10869	else
10870	  if test yes = "$aix_use_runtimelinking"; then
10871	    shared_flag='$wl-G'
10872	  else
10873	    shared_flag='$wl-bM:SRE'
10874	  fi
10875	  shared_flag_aix='$wl-bM:SRE'
10876	  shared_flag_svr4='$wl-G'
10877	fi
10878      fi
10879
10880      export_dynamic_flag_spec='$wl-bexpall'
10881      # It seems that -bexpall does not export symbols beginning with
10882      # underscore (_), so it is better to generate a list of symbols to export.
10883      always_export_symbols=yes
10884      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10885	# Warning - without using the other runtime loading flags (-brtl),
10886	# -berok will link without error, but may produce a broken library.
10887	allow_undefined_flag='-berok'
10888        # Determine the default libpath from the value encoded in an
10889        # empty executable.
10890        if test set = "${lt_cv_aix_libpath+set}"; then
10891  aix_libpath=$lt_cv_aix_libpath
10892else
10893  if ${lt_cv_aix_libpath_+:} false; then :
10894  $as_echo_n "(cached) " >&6
10895else
10896  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10897/* end confdefs.h.  */
10898
10899int
10900main ()
10901{
10902
10903  ;
10904  return 0;
10905}
10906_ACEOF
10907if ac_fn_c_try_link "$LINENO"; then :
10908
10909  lt_aix_libpath_sed='
10910      /Import File Strings/,/^$/ {
10911	  /^0/ {
10912	      s/^0  *\([^ ]*\) *$/\1/
10913	      p
10914	  }
10915      }'
10916  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10917  # Check for a 64-bit object if we didn't find anything.
10918  if test -z "$lt_cv_aix_libpath_"; then
10919    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10920  fi
10921fi
10922rm -f core conftest.err conftest.$ac_objext \
10923    conftest$ac_exeext conftest.$ac_ext
10924  if test -z "$lt_cv_aix_libpath_"; then
10925    lt_cv_aix_libpath_=/usr/lib:/lib
10926  fi
10927
10928fi
10929
10930  aix_libpath=$lt_cv_aix_libpath_
10931fi
10932
10933        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10934        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
10935      else
10936	if test ia64 = "$host_cpu"; then
10937	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10938	  allow_undefined_flag="-z nodefs"
10939	  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"
10940	else
10941	 # Determine the default libpath from the value encoded in an
10942	 # empty executable.
10943	 if test set = "${lt_cv_aix_libpath+set}"; then
10944  aix_libpath=$lt_cv_aix_libpath
10945else
10946  if ${lt_cv_aix_libpath_+:} false; then :
10947  $as_echo_n "(cached) " >&6
10948else
10949  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10950/* end confdefs.h.  */
10951
10952int
10953main ()
10954{
10955
10956  ;
10957  return 0;
10958}
10959_ACEOF
10960if ac_fn_c_try_link "$LINENO"; then :
10961
10962  lt_aix_libpath_sed='
10963      /Import File Strings/,/^$/ {
10964	  /^0/ {
10965	      s/^0  *\([^ ]*\) *$/\1/
10966	      p
10967	  }
10968      }'
10969  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10970  # Check for a 64-bit object if we didn't find anything.
10971  if test -z "$lt_cv_aix_libpath_"; then
10972    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10973  fi
10974fi
10975rm -f core conftest.err conftest.$ac_objext \
10976    conftest$ac_exeext conftest.$ac_ext
10977  if test -z "$lt_cv_aix_libpath_"; then
10978    lt_cv_aix_libpath_=/usr/lib:/lib
10979  fi
10980
10981fi
10982
10983  aix_libpath=$lt_cv_aix_libpath_
10984fi
10985
10986	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10987	  # Warning - without using the other run time loading flags,
10988	  # -berok will link without error, but may produce a broken library.
10989	  no_undefined_flag=' $wl-bernotok'
10990	  allow_undefined_flag=' $wl-berok'
10991	  if test yes = "$with_gnu_ld"; then
10992	    # We only use this code for GNU lds that support --whole-archive.
10993	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10994	  else
10995	    # Exported symbols can be pulled into shared objects from archives
10996	    whole_archive_flag_spec='$convenience'
10997	  fi
10998	  archive_cmds_need_lc=yes
10999	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11000	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11001	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11002	  if test svr4 != "$with_aix_soname"; then
11003	    # This is similar to how AIX traditionally builds its shared libraries.
11004	    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'
11005	  fi
11006	  if test aix != "$with_aix_soname"; then
11007	    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'
11008	  else
11009	    # used by -dlpreopen to get the symbols
11010	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11011	  fi
11012	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11013	fi
11014      fi
11015      ;;
11016
11017    amigaos*)
11018      case $host_cpu in
11019      powerpc)
11020            # see comment about AmigaOS4 .so support
11021            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11022            archive_expsym_cmds=''
11023        ;;
11024      m68k)
11025            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)'
11026            hardcode_libdir_flag_spec='-L$libdir'
11027            hardcode_minus_L=yes
11028        ;;
11029      esac
11030      ;;
11031
11032    bsdi[45]*)
11033      export_dynamic_flag_spec=-rdynamic
11034      ;;
11035
11036    cygwin* | mingw* | pw32* | cegcc*)
11037      # When not using gcc, we currently assume that we are using
11038      # Microsoft Visual C++.
11039      # hardcode_libdir_flag_spec is actually meaningless, as there is
11040      # no search path for DLLs.
11041      case $cc_basename in
11042      cl*)
11043	# Native MSVC
11044	hardcode_libdir_flag_spec=' '
11045	allow_undefined_flag=unsupported
11046	always_export_symbols=yes
11047	file_list_spec='@'
11048	# Tell ltmain to make .lib files, not .a files.
11049	libext=lib
11050	# Tell ltmain to make .dll files, not .so files.
11051	shrext_cmds=.dll
11052	# FIXME: Setting linknames here is a bad hack.
11053	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11054	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11055            cp "$export_symbols" "$output_objdir/$soname.def";
11056            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11057          else
11058            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11059          fi~
11060          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11061          linknames='
11062	# The linker will not automatically build a static lib if we build a DLL.
11063	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11064	enable_shared_with_static_runtimes=yes
11065	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11066	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11067	# Don't use ranlib
11068	old_postinstall_cmds='chmod 644 $oldlib'
11069	postlink_cmds='lt_outputfile="@OUTPUT@"~
11070          lt_tool_outputfile="@TOOL_OUTPUT@"~
11071          case $lt_outputfile in
11072            *.exe|*.EXE) ;;
11073            *)
11074              lt_outputfile=$lt_outputfile.exe
11075              lt_tool_outputfile=$lt_tool_outputfile.exe
11076              ;;
11077          esac~
11078          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11079            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11080            $RM "$lt_outputfile.manifest";
11081          fi'
11082	;;
11083      *)
11084	# Assume MSVC wrapper
11085	hardcode_libdir_flag_spec=' '
11086	allow_undefined_flag=unsupported
11087	# Tell ltmain to make .lib files, not .a files.
11088	libext=lib
11089	# Tell ltmain to make .dll files, not .so files.
11090	shrext_cmds=.dll
11091	# FIXME: Setting linknames here is a bad hack.
11092	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11093	# The linker will automatically build a .lib file if we build a DLL.
11094	old_archive_from_new_cmds='true'
11095	# FIXME: Should let the user specify the lib program.
11096	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11097	enable_shared_with_static_runtimes=yes
11098	;;
11099      esac
11100      ;;
11101
11102    darwin* | rhapsody*)
11103
11104
11105  archive_cmds_need_lc=no
11106  hardcode_direct=no
11107  hardcode_automatic=yes
11108  hardcode_shlibpath_var=unsupported
11109  if test yes = "$lt_cv_ld_force_load"; then
11110    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\"`'
11111
11112  else
11113    whole_archive_flag_spec=''
11114  fi
11115  link_all_deplibs=yes
11116  allow_undefined_flag=$_lt_dar_allow_undefined
11117  case $cc_basename in
11118     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11119     *) _lt_dar_can_shared=$GCC ;;
11120  esac
11121  if test yes = "$_lt_dar_can_shared"; then
11122    output_verbose_link_cmd=func_echo_all
11123    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11124    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11125    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"
11126    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"
11127
11128  else
11129  ld_shlibs=no
11130  fi
11131
11132      ;;
11133
11134    dgux*)
11135      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11136      hardcode_libdir_flag_spec='-L$libdir'
11137      hardcode_shlibpath_var=no
11138      ;;
11139
11140    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11141    # support.  Future versions do this automatically, but an explicit c++rt0.o
11142    # does not break anything, and helps significantly (at the cost of a little
11143    # extra space).
11144    freebsd2.2*)
11145      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11146      hardcode_libdir_flag_spec='-R$libdir'
11147      hardcode_direct=yes
11148      hardcode_shlibpath_var=no
11149      ;;
11150
11151    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11152    freebsd2.*)
11153      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11154      hardcode_direct=yes
11155      hardcode_minus_L=yes
11156      hardcode_shlibpath_var=no
11157      ;;
11158
11159    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11160    freebsd* | dragonfly*)
11161      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11162      hardcode_libdir_flag_spec='-R$libdir'
11163      hardcode_direct=yes
11164      hardcode_shlibpath_var=no
11165      ;;
11166
11167    hpux9*)
11168      if test yes = "$GCC"; then
11169	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'
11170      else
11171	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'
11172      fi
11173      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11174      hardcode_libdir_separator=:
11175      hardcode_direct=yes
11176
11177      # hardcode_minus_L: Not really in the search PATH,
11178      # but as the default location of the library.
11179      hardcode_minus_L=yes
11180      export_dynamic_flag_spec='$wl-E'
11181      ;;
11182
11183    hpux10*)
11184      if test yes,no = "$GCC,$with_gnu_ld"; then
11185	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11186      else
11187	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11188      fi
11189      if test no = "$with_gnu_ld"; then
11190	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11191	hardcode_libdir_separator=:
11192	hardcode_direct=yes
11193	hardcode_direct_absolute=yes
11194	export_dynamic_flag_spec='$wl-E'
11195	# hardcode_minus_L: Not really in the search PATH,
11196	# but as the default location of the library.
11197	hardcode_minus_L=yes
11198      fi
11199      ;;
11200
11201    hpux11*)
11202      if test yes,no = "$GCC,$with_gnu_ld"; then
11203	case $host_cpu in
11204	hppa*64*)
11205	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11206	  ;;
11207	ia64*)
11208	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11209	  ;;
11210	*)
11211	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11212	  ;;
11213	esac
11214      else
11215	case $host_cpu in
11216	hppa*64*)
11217	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11218	  ;;
11219	ia64*)
11220	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11221	  ;;
11222	*)
11223
11224	  # Older versions of the 11.00 compiler do not understand -b yet
11225	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11226	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11227$as_echo_n "checking if $CC understands -b... " >&6; }
11228if ${lt_cv_prog_compiler__b+:} false; then :
11229  $as_echo_n "(cached) " >&6
11230else
11231  lt_cv_prog_compiler__b=no
11232   save_LDFLAGS=$LDFLAGS
11233   LDFLAGS="$LDFLAGS -b"
11234   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11235   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11236     # The linker can only warn and ignore the option if not recognized
11237     # So say no if there are warnings
11238     if test -s conftest.err; then
11239       # Append any errors to the config.log.
11240       cat conftest.err 1>&5
11241       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11242       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11243       if diff conftest.exp conftest.er2 >/dev/null; then
11244         lt_cv_prog_compiler__b=yes
11245       fi
11246     else
11247       lt_cv_prog_compiler__b=yes
11248     fi
11249   fi
11250   $RM -r conftest*
11251   LDFLAGS=$save_LDFLAGS
11252
11253fi
11254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11255$as_echo "$lt_cv_prog_compiler__b" >&6; }
11256
11257if test yes = "$lt_cv_prog_compiler__b"; then
11258    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11259else
11260    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11261fi
11262
11263	  ;;
11264	esac
11265      fi
11266      if test no = "$with_gnu_ld"; then
11267	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11268	hardcode_libdir_separator=:
11269
11270	case $host_cpu in
11271	hppa*64*|ia64*)
11272	  hardcode_direct=no
11273	  hardcode_shlibpath_var=no
11274	  ;;
11275	*)
11276	  hardcode_direct=yes
11277	  hardcode_direct_absolute=yes
11278	  export_dynamic_flag_spec='$wl-E'
11279
11280	  # hardcode_minus_L: Not really in the search PATH,
11281	  # but as the default location of the library.
11282	  hardcode_minus_L=yes
11283	  ;;
11284	esac
11285      fi
11286      ;;
11287
11288    irix5* | irix6* | nonstopux*)
11289      if test yes = "$GCC"; then
11290	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'
11291	# Try to use the -exported_symbol ld option, if it does not
11292	# work, assume that -exports_file does not work either and
11293	# implicitly export all symbols.
11294	# This should be the same for all languages, so no per-tag cache variable.
11295	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11296$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11297if ${lt_cv_irix_exported_symbol+:} false; then :
11298  $as_echo_n "(cached) " >&6
11299else
11300  save_LDFLAGS=$LDFLAGS
11301	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11302	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303/* end confdefs.h.  */
11304int foo (void) { return 0; }
11305_ACEOF
11306if ac_fn_c_try_link "$LINENO"; then :
11307  lt_cv_irix_exported_symbol=yes
11308else
11309  lt_cv_irix_exported_symbol=no
11310fi
11311rm -f core conftest.err conftest.$ac_objext \
11312    conftest$ac_exeext conftest.$ac_ext
11313           LDFLAGS=$save_LDFLAGS
11314fi
11315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11316$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11317	if test yes = "$lt_cv_irix_exported_symbol"; then
11318          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'
11319	fi
11320      else
11321	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'
11322	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'
11323      fi
11324      archive_cmds_need_lc='no'
11325      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11326      hardcode_libdir_separator=:
11327      inherit_rpath=yes
11328      link_all_deplibs=yes
11329      ;;
11330
11331    linux*)
11332      case $cc_basename in
11333      tcc*)
11334	# Fabrice Bellard et al's Tiny C Compiler
11335	ld_shlibs=yes
11336	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11337	;;
11338      esac
11339      ;;
11340
11341    netbsd*)
11342      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11343	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11344      else
11345	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11346      fi
11347      hardcode_libdir_flag_spec='-R$libdir'
11348      hardcode_direct=yes
11349      hardcode_shlibpath_var=no
11350      ;;
11351
11352    newsos6)
11353      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11354      hardcode_direct=yes
11355      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11356      hardcode_libdir_separator=:
11357      hardcode_shlibpath_var=no
11358      ;;
11359
11360    *nto* | *qnx*)
11361      ;;
11362
11363    openbsd* | bitrig*)
11364      if test -f /usr/libexec/ld.so; then
11365	hardcode_direct=yes
11366	hardcode_shlibpath_var=no
11367	hardcode_direct_absolute=yes
11368	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11369	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11370	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11371	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11372	  export_dynamic_flag_spec='$wl-E'
11373	else
11374	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11375	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11376	fi
11377      else
11378	ld_shlibs=no
11379      fi
11380      ;;
11381
11382    os2*)
11383      hardcode_libdir_flag_spec='-L$libdir'
11384      hardcode_minus_L=yes
11385      allow_undefined_flag=unsupported
11386      shrext_cmds=.dll
11387      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11388	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11389	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11390	$ECHO EXPORTS >> $output_objdir/$libname.def~
11391	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11392	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11393	emximp -o $lib $output_objdir/$libname.def'
11394      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11395	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11396	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11397	$ECHO EXPORTS >> $output_objdir/$libname.def~
11398	prefix_cmds="$SED"~
11399	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11400	  prefix_cmds="$prefix_cmds -e 1d";
11401	fi~
11402	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11403	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11404	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11405	emximp -o $lib $output_objdir/$libname.def'
11406      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11407      enable_shared_with_static_runtimes=yes
11408      ;;
11409
11410    osf3*)
11411      if test yes = "$GCC"; then
11412	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11413	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'
11414      else
11415	allow_undefined_flag=' -expect_unresolved \*'
11416	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'
11417      fi
11418      archive_cmds_need_lc='no'
11419      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11420      hardcode_libdir_separator=:
11421      ;;
11422
11423    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11424      if test yes = "$GCC"; then
11425	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11426	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'
11427	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11428      else
11429	allow_undefined_flag=' -expect_unresolved \*'
11430	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'
11431	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~
11432          $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'
11433
11434	# Both c and cxx compiler support -rpath directly
11435	hardcode_libdir_flag_spec='-rpath $libdir'
11436      fi
11437      archive_cmds_need_lc='no'
11438      hardcode_libdir_separator=:
11439      ;;
11440
11441    solaris*)
11442      no_undefined_flag=' -z defs'
11443      if test yes = "$GCC"; then
11444	wlarc='$wl'
11445	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11446	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11447          $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'
11448      else
11449	case `$CC -V 2>&1` in
11450	*"Compilers 5.0"*)
11451	  wlarc=''
11452	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11453	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11454            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11455	  ;;
11456	*)
11457	  wlarc='$wl'
11458	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11459	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11460            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11461	  ;;
11462	esac
11463      fi
11464      hardcode_libdir_flag_spec='-R$libdir'
11465      hardcode_shlibpath_var=no
11466      case $host_os in
11467      solaris2.[0-5] | solaris2.[0-5].*) ;;
11468      *)
11469	# The compiler driver will combine and reorder linker options,
11470	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11471	# but is careful enough not to reorder.
11472	# Supported since Solaris 2.6 (maybe 2.5.1?)
11473	if test yes = "$GCC"; then
11474	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11475	else
11476	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11477	fi
11478	;;
11479      esac
11480      link_all_deplibs=yes
11481      ;;
11482
11483    sunos4*)
11484      if test sequent = "$host_vendor"; then
11485	# Use $CC to link under sequent, because it throws in some extra .o
11486	# files that make .init and .fini sections work.
11487	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11488      else
11489	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11490      fi
11491      hardcode_libdir_flag_spec='-L$libdir'
11492      hardcode_direct=yes
11493      hardcode_minus_L=yes
11494      hardcode_shlibpath_var=no
11495      ;;
11496
11497    sysv4)
11498      case $host_vendor in
11499	sni)
11500	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11501	  hardcode_direct=yes # is this really true???
11502	;;
11503	siemens)
11504	  ## LD is ld it makes a PLAMLIB
11505	  ## CC just makes a GrossModule.
11506	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11507	  reload_cmds='$CC -r -o $output$reload_objs'
11508	  hardcode_direct=no
11509        ;;
11510	motorola)
11511	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11512	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11513	;;
11514      esac
11515      runpath_var='LD_RUN_PATH'
11516      hardcode_shlibpath_var=no
11517      ;;
11518
11519    sysv4.3*)
11520      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11521      hardcode_shlibpath_var=no
11522      export_dynamic_flag_spec='-Bexport'
11523      ;;
11524
11525    sysv4*MP*)
11526      if test -d /usr/nec; then
11527	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11528	hardcode_shlibpath_var=no
11529	runpath_var=LD_RUN_PATH
11530	hardcode_runpath_var=yes
11531	ld_shlibs=yes
11532      fi
11533      ;;
11534
11535    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11536      no_undefined_flag='$wl-z,text'
11537      archive_cmds_need_lc=no
11538      hardcode_shlibpath_var=no
11539      runpath_var='LD_RUN_PATH'
11540
11541      if test yes = "$GCC"; then
11542	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11543	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11544      else
11545	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11546	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11547      fi
11548      ;;
11549
11550    sysv5* | sco3.2v5* | sco5v6*)
11551      # Note: We CANNOT use -z defs as we might desire, because we do not
11552      # link with -lc, and that would cause any symbols used from libc to
11553      # always be unresolved, which means just about no library would
11554      # ever link correctly.  If we're not using GNU ld we use -z text
11555      # though, which does catch some bad symbols but isn't as heavy-handed
11556      # as -z defs.
11557      no_undefined_flag='$wl-z,text'
11558      allow_undefined_flag='$wl-z,nodefs'
11559      archive_cmds_need_lc=no
11560      hardcode_shlibpath_var=no
11561      hardcode_libdir_flag_spec='$wl-R,$libdir'
11562      hardcode_libdir_separator=':'
11563      link_all_deplibs=yes
11564      export_dynamic_flag_spec='$wl-Bexport'
11565      runpath_var='LD_RUN_PATH'
11566
11567      if test yes = "$GCC"; then
11568	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11569	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11570      else
11571	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11572	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11573      fi
11574      ;;
11575
11576    uts4*)
11577      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11578      hardcode_libdir_flag_spec='-L$libdir'
11579      hardcode_shlibpath_var=no
11580      ;;
11581
11582    *)
11583      ld_shlibs=no
11584      ;;
11585    esac
11586
11587    if test sni = "$host_vendor"; then
11588      case $host in
11589      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11590	export_dynamic_flag_spec='$wl-Blargedynsym'
11591	;;
11592      esac
11593    fi
11594  fi
11595
11596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11597$as_echo "$ld_shlibs" >&6; }
11598test no = "$ld_shlibs" && can_build_shared=no
11599
11600with_gnu_ld=$with_gnu_ld
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616#
11617# Do we need to explicitly link libc?
11618#
11619case "x$archive_cmds_need_lc" in
11620x|xyes)
11621  # Assume -lc should be added
11622  archive_cmds_need_lc=yes
11623
11624  if test yes,yes = "$GCC,$enable_shared"; then
11625    case $archive_cmds in
11626    *'~'*)
11627      # FIXME: we may have to deal with multi-command sequences.
11628      ;;
11629    '$CC '*)
11630      # Test whether the compiler implicitly links with -lc since on some
11631      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11632      # to ld, don't add -lc before -lgcc.
11633      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11634$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11635if ${lt_cv_archive_cmds_need_lc+:} false; then :
11636  $as_echo_n "(cached) " >&6
11637else
11638  $RM conftest*
11639	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11640
11641	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11642  (eval $ac_compile) 2>&5
11643  ac_status=$?
11644  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11645  test $ac_status = 0; } 2>conftest.err; then
11646	  soname=conftest
11647	  lib=conftest
11648	  libobjs=conftest.$ac_objext
11649	  deplibs=
11650	  wl=$lt_prog_compiler_wl
11651	  pic_flag=$lt_prog_compiler_pic
11652	  compiler_flags=-v
11653	  linker_flags=-v
11654	  verstring=
11655	  output_objdir=.
11656	  libname=conftest
11657	  lt_save_allow_undefined_flag=$allow_undefined_flag
11658	  allow_undefined_flag=
11659	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11660  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11661  ac_status=$?
11662  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11663  test $ac_status = 0; }
11664	  then
11665	    lt_cv_archive_cmds_need_lc=no
11666	  else
11667	    lt_cv_archive_cmds_need_lc=yes
11668	  fi
11669	  allow_undefined_flag=$lt_save_allow_undefined_flag
11670	else
11671	  cat conftest.err 1>&5
11672	fi
11673	$RM conftest*
11674
11675fi
11676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11677$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11678      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11679      ;;
11680    esac
11681  fi
11682  ;;
11683esac
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11837$as_echo_n "checking dynamic linker characteristics... " >&6; }
11838
11839if test yes = "$GCC"; then
11840  case $host_os in
11841    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11842    *) lt_awk_arg='/^libraries:/' ;;
11843  esac
11844  case $host_os in
11845    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11846    *) lt_sed_strip_eq='s|=/|/|g' ;;
11847  esac
11848  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11849  case $lt_search_path_spec in
11850  *\;*)
11851    # if the path contains ";" then we assume it to be the separator
11852    # otherwise default to the standard path separator (i.e. ":") - it is
11853    # assumed that no part of a normal pathname contains ";" but that should
11854    # okay in the real world where ";" in dirpaths is itself problematic.
11855    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11856    ;;
11857  *)
11858    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11859    ;;
11860  esac
11861  # Ok, now we have the path, separated by spaces, we can step through it
11862  # and add multilib dir if necessary...
11863  lt_tmp_lt_search_path_spec=
11864  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11865  # ...but if some path component already ends with the multilib dir we assume
11866  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11867  case "$lt_multi_os_dir; $lt_search_path_spec " in
11868  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11869    lt_multi_os_dir=
11870    ;;
11871  esac
11872  for lt_sys_path in $lt_search_path_spec; do
11873    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11874      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11875    elif test -n "$lt_multi_os_dir"; then
11876      test -d "$lt_sys_path" && \
11877	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11878    fi
11879  done
11880  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11881BEGIN {RS = " "; FS = "/|\n";} {
11882  lt_foo = "";
11883  lt_count = 0;
11884  for (lt_i = NF; lt_i > 0; lt_i--) {
11885    if ($lt_i != "" && $lt_i != ".") {
11886      if ($lt_i == "..") {
11887        lt_count++;
11888      } else {
11889        if (lt_count == 0) {
11890          lt_foo = "/" $lt_i lt_foo;
11891        } else {
11892          lt_count--;
11893        }
11894      }
11895    }
11896  }
11897  if (lt_foo != "") { lt_freq[lt_foo]++; }
11898  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11899}'`
11900  # AWK program above erroneously prepends '/' to C:/dos/paths
11901  # for these hosts.
11902  case $host_os in
11903    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11904      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11905  esac
11906  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11907else
11908  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11909fi
11910library_names_spec=
11911libname_spec='lib$name'
11912soname_spec=
11913shrext_cmds=.so
11914postinstall_cmds=
11915postuninstall_cmds=
11916finish_cmds=
11917finish_eval=
11918shlibpath_var=
11919shlibpath_overrides_runpath=unknown
11920version_type=none
11921dynamic_linker="$host_os ld.so"
11922sys_lib_dlsearch_path_spec="/lib /usr/lib"
11923need_lib_prefix=unknown
11924hardcode_into_libs=no
11925
11926# when you set need_version to no, make sure it does not cause -set_version
11927# flags to be left without arguments
11928need_version=unknown
11929
11930
11931
11932case $host_os in
11933aix3*)
11934  version_type=linux # correct to gnu/linux during the next big refactor
11935  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11936  shlibpath_var=LIBPATH
11937
11938  # AIX 3 has no versioning support, so we append a major version to the name.
11939  soname_spec='$libname$release$shared_ext$major'
11940  ;;
11941
11942aix[4-9]*)
11943  version_type=linux # correct to gnu/linux during the next big refactor
11944  need_lib_prefix=no
11945  need_version=no
11946  hardcode_into_libs=yes
11947  if test ia64 = "$host_cpu"; then
11948    # AIX 5 supports IA64
11949    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11950    shlibpath_var=LD_LIBRARY_PATH
11951  else
11952    # With GCC up to 2.95.x, collect2 would create an import file
11953    # for dependence libraries.  The import file would start with
11954    # the line '#! .'.  This would cause the generated library to
11955    # depend on '.', always an invalid library.  This was fixed in
11956    # development snapshots of GCC prior to 3.0.
11957    case $host_os in
11958      aix4 | aix4.[01] | aix4.[01].*)
11959      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11960	   echo ' yes '
11961	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11962	:
11963      else
11964	can_build_shared=no
11965      fi
11966      ;;
11967    esac
11968    # Using Import Files as archive members, it is possible to support
11969    # filename-based versioning of shared library archives on AIX. While
11970    # this would work for both with and without runtime linking, it will
11971    # prevent static linking of such archives. So we do filename-based
11972    # shared library versioning with .so extension only, which is used
11973    # when both runtime linking and shared linking is enabled.
11974    # Unfortunately, runtime linking may impact performance, so we do
11975    # not want this to be the default eventually. Also, we use the
11976    # versioned .so libs for executables only if there is the -brtl
11977    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11978    # To allow for filename-based versioning support, we need to create
11979    # libNAME.so.V as an archive file, containing:
11980    # *) an Import File, referring to the versioned filename of the
11981    #    archive as well as the shared archive member, telling the
11982    #    bitwidth (32 or 64) of that shared object, and providing the
11983    #    list of exported symbols of that shared object, eventually
11984    #    decorated with the 'weak' keyword
11985    # *) the shared object with the F_LOADONLY flag set, to really avoid
11986    #    it being seen by the linker.
11987    # At run time we better use the real file rather than another symlink,
11988    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11989
11990    case $with_aix_soname,$aix_use_runtimelinking in
11991    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11992    # soname into executable. Probably we can add versioning support to
11993    # collect2, so additional links can be useful in future.
11994    aix,yes) # traditional libtool
11995      dynamic_linker='AIX unversionable lib.so'
11996      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11997      # instead of lib<name>.a to let people know that these are not
11998      # typical AIX shared libraries.
11999      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12000      ;;
12001    aix,no) # traditional AIX only
12002      dynamic_linker='AIX lib.a(lib.so.V)'
12003      # We preserve .a as extension for shared libraries through AIX4.2
12004      # and later when we are not doing run time linking.
12005      library_names_spec='$libname$release.a $libname.a'
12006      soname_spec='$libname$release$shared_ext$major'
12007      ;;
12008    svr4,*) # full svr4 only
12009      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12010      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12011      # We do not specify a path in Import Files, so LIBPATH fires.
12012      shlibpath_overrides_runpath=yes
12013      ;;
12014    *,yes) # both, prefer svr4
12015      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12016      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12017      # unpreferred sharedlib libNAME.a needs extra handling
12018      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"'
12019      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"'
12020      # We do not specify a path in Import Files, so LIBPATH fires.
12021      shlibpath_overrides_runpath=yes
12022      ;;
12023    *,no) # both, prefer aix
12024      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12025      library_names_spec='$libname$release.a $libname.a'
12026      soname_spec='$libname$release$shared_ext$major'
12027      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12028      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)'
12029      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"'
12030      ;;
12031    esac
12032    shlibpath_var=LIBPATH
12033  fi
12034  ;;
12035
12036amigaos*)
12037  case $host_cpu in
12038  powerpc)
12039    # Since July 2007 AmigaOS4 officially supports .so libraries.
12040    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12041    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12042    ;;
12043  m68k)
12044    library_names_spec='$libname.ixlibrary $libname.a'
12045    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12046    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'
12047    ;;
12048  esac
12049  ;;
12050
12051beos*)
12052  library_names_spec='$libname$shared_ext'
12053  dynamic_linker="$host_os ld.so"
12054  shlibpath_var=LIBRARY_PATH
12055  ;;
12056
12057bsdi[45]*)
12058  version_type=linux # correct to gnu/linux during the next big refactor
12059  need_version=no
12060  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12061  soname_spec='$libname$release$shared_ext$major'
12062  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12063  shlibpath_var=LD_LIBRARY_PATH
12064  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12065  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12066  # the default ld.so.conf also contains /usr/contrib/lib and
12067  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12068  # libtool to hard-code these into programs
12069  ;;
12070
12071cygwin* | mingw* | pw32* | cegcc*)
12072  version_type=windows
12073  shrext_cmds=.dll
12074  need_version=no
12075  need_lib_prefix=no
12076
12077  case $GCC,$cc_basename in
12078  yes,*)
12079    # gcc
12080    library_names_spec='$libname.dll.a'
12081    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12082    postinstall_cmds='base_file=`basename \$file`~
12083      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12084      dldir=$destdir/`dirname \$dlpath`~
12085      test -d \$dldir || mkdir -p \$dldir~
12086      $install_prog $dir/$dlname \$dldir/$dlname~
12087      chmod a+x \$dldir/$dlname~
12088      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12089        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12090      fi'
12091    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12092      dlpath=$dir/\$dldll~
12093       $RM \$dlpath'
12094    shlibpath_overrides_runpath=yes
12095
12096    case $host_os in
12097    cygwin*)
12098      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12099      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12100
12101      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12102      ;;
12103    mingw* | cegcc*)
12104      # MinGW DLLs use traditional 'lib' prefix
12105      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12106      ;;
12107    pw32*)
12108      # pw32 DLLs use 'pw' prefix rather than 'lib'
12109      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12110      ;;
12111    esac
12112    dynamic_linker='Win32 ld.exe'
12113    ;;
12114
12115  *,cl*)
12116    # Native MSVC
12117    libname_spec='$name'
12118    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12119    library_names_spec='$libname.dll.lib'
12120
12121    case $build_os in
12122    mingw*)
12123      sys_lib_search_path_spec=
12124      lt_save_ifs=$IFS
12125      IFS=';'
12126      for lt_path in $LIB
12127      do
12128        IFS=$lt_save_ifs
12129        # Let DOS variable expansion print the short 8.3 style file name.
12130        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12131        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12132      done
12133      IFS=$lt_save_ifs
12134      # Convert to MSYS style.
12135      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12136      ;;
12137    cygwin*)
12138      # Convert to unix form, then to dos form, then back to unix form
12139      # but this time dos style (no spaces!) so that the unix form looks
12140      # like /cygdrive/c/PROGRA~1:/cygdr...
12141      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12142      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12143      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12144      ;;
12145    *)
12146      sys_lib_search_path_spec=$LIB
12147      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12148        # It is most probably a Windows format PATH.
12149        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12150      else
12151        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12152      fi
12153      # FIXME: find the short name or the path components, as spaces are
12154      # common. (e.g. "Program Files" -> "PROGRA~1")
12155      ;;
12156    esac
12157
12158    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12159    postinstall_cmds='base_file=`basename \$file`~
12160      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12161      dldir=$destdir/`dirname \$dlpath`~
12162      test -d \$dldir || mkdir -p \$dldir~
12163      $install_prog $dir/$dlname \$dldir/$dlname'
12164    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12165      dlpath=$dir/\$dldll~
12166       $RM \$dlpath'
12167    shlibpath_overrides_runpath=yes
12168    dynamic_linker='Win32 link.exe'
12169    ;;
12170
12171  *)
12172    # Assume MSVC wrapper
12173    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12174    dynamic_linker='Win32 ld.exe'
12175    ;;
12176  esac
12177  # FIXME: first we should search . and the directory the executable is in
12178  shlibpath_var=PATH
12179  ;;
12180
12181darwin* | rhapsody*)
12182  dynamic_linker="$host_os dyld"
12183  version_type=darwin
12184  need_lib_prefix=no
12185  need_version=no
12186  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12187  soname_spec='$libname$release$major$shared_ext'
12188  shlibpath_overrides_runpath=yes
12189  shlibpath_var=DYLD_LIBRARY_PATH
12190  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12191
12192  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12193  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12194  ;;
12195
12196dgux*)
12197  version_type=linux # correct to gnu/linux during the next big refactor
12198  need_lib_prefix=no
12199  need_version=no
12200  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12201  soname_spec='$libname$release$shared_ext$major'
12202  shlibpath_var=LD_LIBRARY_PATH
12203  ;;
12204
12205freebsd* | dragonfly*)
12206  # DragonFly does not have aout.  When/if they implement a new
12207  # versioning mechanism, adjust this.
12208  if test -x /usr/bin/objformat; then
12209    objformat=`/usr/bin/objformat`
12210  else
12211    case $host_os in
12212    freebsd[23].*) objformat=aout ;;
12213    *) objformat=elf ;;
12214    esac
12215  fi
12216  version_type=freebsd-$objformat
12217  case $version_type in
12218    freebsd-elf*)
12219      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12220      soname_spec='$libname$release$shared_ext$major'
12221      need_version=no
12222      need_lib_prefix=no
12223      ;;
12224    freebsd-*)
12225      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12226      need_version=yes
12227      ;;
12228  esac
12229  shlibpath_var=LD_LIBRARY_PATH
12230  case $host_os in
12231  freebsd2.*)
12232    shlibpath_overrides_runpath=yes
12233    ;;
12234  freebsd3.[01]* | freebsdelf3.[01]*)
12235    shlibpath_overrides_runpath=yes
12236    hardcode_into_libs=yes
12237    ;;
12238  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12239  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12240    shlibpath_overrides_runpath=no
12241    hardcode_into_libs=yes
12242    ;;
12243  *) # from 4.6 on, and DragonFly
12244    shlibpath_overrides_runpath=yes
12245    hardcode_into_libs=yes
12246    ;;
12247  esac
12248  ;;
12249
12250haiku*)
12251  version_type=linux # correct to gnu/linux during the next big refactor
12252  need_lib_prefix=no
12253  need_version=no
12254  dynamic_linker="$host_os runtime_loader"
12255  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12256  soname_spec='$libname$release$shared_ext$major'
12257  shlibpath_var=LIBRARY_PATH
12258  shlibpath_overrides_runpath=no
12259  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12260  hardcode_into_libs=yes
12261  ;;
12262
12263hpux9* | hpux10* | hpux11*)
12264  # Give a soname corresponding to the major version so that dld.sl refuses to
12265  # link against other versions.
12266  version_type=sunos
12267  need_lib_prefix=no
12268  need_version=no
12269  case $host_cpu in
12270  ia64*)
12271    shrext_cmds='.so'
12272    hardcode_into_libs=yes
12273    dynamic_linker="$host_os dld.so"
12274    shlibpath_var=LD_LIBRARY_PATH
12275    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12276    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12277    soname_spec='$libname$release$shared_ext$major'
12278    if test 32 = "$HPUX_IA64_MODE"; then
12279      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12280      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12281    else
12282      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12283      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12284    fi
12285    ;;
12286  hppa*64*)
12287    shrext_cmds='.sl'
12288    hardcode_into_libs=yes
12289    dynamic_linker="$host_os dld.sl"
12290    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12291    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12292    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12293    soname_spec='$libname$release$shared_ext$major'
12294    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12295    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12296    ;;
12297  *)
12298    shrext_cmds='.sl'
12299    dynamic_linker="$host_os dld.sl"
12300    shlibpath_var=SHLIB_PATH
12301    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12302    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12303    soname_spec='$libname$release$shared_ext$major'
12304    ;;
12305  esac
12306  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12307  postinstall_cmds='chmod 555 $lib'
12308  # or fails outright, so override atomically:
12309  install_override_mode=555
12310  ;;
12311
12312interix[3-9]*)
12313  version_type=linux # correct to gnu/linux during the next big refactor
12314  need_lib_prefix=no
12315  need_version=no
12316  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12317  soname_spec='$libname$release$shared_ext$major'
12318  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12319  shlibpath_var=LD_LIBRARY_PATH
12320  shlibpath_overrides_runpath=no
12321  hardcode_into_libs=yes
12322  ;;
12323
12324irix5* | irix6* | nonstopux*)
12325  case $host_os in
12326    nonstopux*) version_type=nonstopux ;;
12327    *)
12328	if test yes = "$lt_cv_prog_gnu_ld"; then
12329		version_type=linux # correct to gnu/linux during the next big refactor
12330	else
12331		version_type=irix
12332	fi ;;
12333  esac
12334  need_lib_prefix=no
12335  need_version=no
12336  soname_spec='$libname$release$shared_ext$major'
12337  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12338  case $host_os in
12339  irix5* | nonstopux*)
12340    libsuff= shlibsuff=
12341    ;;
12342  *)
12343    case $LD in # libtool.m4 will add one of these switches to LD
12344    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12345      libsuff= shlibsuff= libmagic=32-bit;;
12346    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12347      libsuff=32 shlibsuff=N32 libmagic=N32;;
12348    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12349      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12350    *) libsuff= shlibsuff= libmagic=never-match;;
12351    esac
12352    ;;
12353  esac
12354  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12355  shlibpath_overrides_runpath=no
12356  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12357  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12358  hardcode_into_libs=yes
12359  ;;
12360
12361# No shared lib support for Linux oldld, aout, or coff.
12362linux*oldld* | linux*aout* | linux*coff*)
12363  dynamic_linker=no
12364  ;;
12365
12366linux*android*)
12367  version_type=none # Android doesn't support versioned libraries.
12368  need_lib_prefix=no
12369  need_version=no
12370  library_names_spec='$libname$release$shared_ext'
12371  soname_spec='$libname$release$shared_ext'
12372  finish_cmds=
12373  shlibpath_var=LD_LIBRARY_PATH
12374  shlibpath_overrides_runpath=yes
12375
12376  # This implies no fast_install, which is unacceptable.
12377  # Some rework will be needed to allow for fast_install
12378  # before this can be enabled.
12379  hardcode_into_libs=yes
12380
12381  dynamic_linker='Android linker'
12382  # Don't embed -rpath directories since the linker doesn't support them.
12383  hardcode_libdir_flag_spec='-L$libdir'
12384  ;;
12385
12386# This must be glibc/ELF.
12387linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12388  version_type=linux # correct to gnu/linux during the next big refactor
12389  need_lib_prefix=no
12390  need_version=no
12391  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12392  soname_spec='$libname$release$shared_ext$major'
12393  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12394  shlibpath_var=LD_LIBRARY_PATH
12395  shlibpath_overrides_runpath=no
12396
12397  # Some binutils ld are patched to set DT_RUNPATH
12398  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12399  $as_echo_n "(cached) " >&6
12400else
12401  lt_cv_shlibpath_overrides_runpath=no
12402    save_LDFLAGS=$LDFLAGS
12403    save_libdir=$libdir
12404    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12405	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12406    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407/* end confdefs.h.  */
12408
12409int
12410main ()
12411{
12412
12413  ;
12414  return 0;
12415}
12416_ACEOF
12417if ac_fn_c_try_link "$LINENO"; then :
12418  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12419  lt_cv_shlibpath_overrides_runpath=yes
12420fi
12421fi
12422rm -f core conftest.err conftest.$ac_objext \
12423    conftest$ac_exeext conftest.$ac_ext
12424    LDFLAGS=$save_LDFLAGS
12425    libdir=$save_libdir
12426
12427fi
12428
12429  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12430
12431  # This implies no fast_install, which is unacceptable.
12432  # Some rework will be needed to allow for fast_install
12433  # before this can be enabled.
12434  hardcode_into_libs=yes
12435
12436  # Ideally, we could use ldconfig to report *all* directores which are
12437  # searched for libraries, however this is still not possible.  Aside from not
12438  # being certain /sbin/ldconfig is available, command
12439  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12440  # even though it is searched at run-time.  Try to do the best guess by
12441  # appending ld.so.conf contents (and includes) to the search path.
12442  if test -f /etc/ld.so.conf; then
12443    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' ' '`
12444    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12445  fi
12446
12447  # We used to test for /lib/ld.so.1 and disable shared libraries on
12448  # powerpc, because MkLinux only supported shared libraries with the
12449  # GNU dynamic linker.  Since this was broken with cross compilers,
12450  # most powerpc-linux boxes support dynamic linking these days and
12451  # people can always --disable-shared, the test was removed, and we
12452  # assume the GNU/Linux dynamic linker is in use.
12453  dynamic_linker='GNU/Linux ld.so'
12454  ;;
12455
12456netbsd*)
12457  version_type=sunos
12458  need_lib_prefix=no
12459  need_version=no
12460  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12461    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12462    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12463    dynamic_linker='NetBSD (a.out) ld.so'
12464  else
12465    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12466    soname_spec='$libname$release$shared_ext$major'
12467    dynamic_linker='NetBSD ld.elf_so'
12468  fi
12469  shlibpath_var=LD_LIBRARY_PATH
12470  shlibpath_overrides_runpath=yes
12471  hardcode_into_libs=yes
12472  ;;
12473
12474newsos6)
12475  version_type=linux # correct to gnu/linux during the next big refactor
12476  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12477  shlibpath_var=LD_LIBRARY_PATH
12478  shlibpath_overrides_runpath=yes
12479  ;;
12480
12481*nto* | *qnx*)
12482  version_type=qnx
12483  need_lib_prefix=no
12484  need_version=no
12485  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12486  soname_spec='$libname$release$shared_ext$major'
12487  shlibpath_var=LD_LIBRARY_PATH
12488  shlibpath_overrides_runpath=no
12489  hardcode_into_libs=yes
12490  dynamic_linker='ldqnx.so'
12491  ;;
12492
12493openbsd* | bitrig*)
12494  version_type=sunos
12495  sys_lib_dlsearch_path_spec=/usr/lib
12496  need_lib_prefix=no
12497  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12498    need_version=no
12499  else
12500    need_version=yes
12501  fi
12502  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12503  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12504  shlibpath_var=LD_LIBRARY_PATH
12505  shlibpath_overrides_runpath=yes
12506  ;;
12507
12508os2*)
12509  libname_spec='$name'
12510  version_type=windows
12511  shrext_cmds=.dll
12512  need_version=no
12513  need_lib_prefix=no
12514  # OS/2 can only load a DLL with a base name of 8 characters or less.
12515  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12516    v=$($ECHO $release$versuffix | tr -d .-);
12517    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12518    $ECHO $n$v`$shared_ext'
12519  library_names_spec='${libname}_dll.$libext'
12520  dynamic_linker='OS/2 ld.exe'
12521  shlibpath_var=BEGINLIBPATH
12522  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12523  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12524  postinstall_cmds='base_file=`basename \$file`~
12525    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12526    dldir=$destdir/`dirname \$dlpath`~
12527    test -d \$dldir || mkdir -p \$dldir~
12528    $install_prog $dir/$dlname \$dldir/$dlname~
12529    chmod a+x \$dldir/$dlname~
12530    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12531      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12532    fi'
12533  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12534    dlpath=$dir/\$dldll~
12535    $RM \$dlpath'
12536  ;;
12537
12538osf3* | osf4* | osf5*)
12539  version_type=osf
12540  need_lib_prefix=no
12541  need_version=no
12542  soname_spec='$libname$release$shared_ext$major'
12543  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12544  shlibpath_var=LD_LIBRARY_PATH
12545  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12546  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12547  ;;
12548
12549rdos*)
12550  dynamic_linker=no
12551  ;;
12552
12553solaris*)
12554  version_type=linux # correct to gnu/linux during the next big refactor
12555  need_lib_prefix=no
12556  need_version=no
12557  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12558  soname_spec='$libname$release$shared_ext$major'
12559  shlibpath_var=LD_LIBRARY_PATH
12560  shlibpath_overrides_runpath=yes
12561  hardcode_into_libs=yes
12562  # ldd complains unless libraries are executable
12563  postinstall_cmds='chmod +x $lib'
12564  ;;
12565
12566sunos4*)
12567  version_type=sunos
12568  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12569  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12570  shlibpath_var=LD_LIBRARY_PATH
12571  shlibpath_overrides_runpath=yes
12572  if test yes = "$with_gnu_ld"; then
12573    need_lib_prefix=no
12574  fi
12575  need_version=yes
12576  ;;
12577
12578sysv4 | sysv4.3*)
12579  version_type=linux # correct to gnu/linux during the next big refactor
12580  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12581  soname_spec='$libname$release$shared_ext$major'
12582  shlibpath_var=LD_LIBRARY_PATH
12583  case $host_vendor in
12584    sni)
12585      shlibpath_overrides_runpath=no
12586      need_lib_prefix=no
12587      runpath_var=LD_RUN_PATH
12588      ;;
12589    siemens)
12590      need_lib_prefix=no
12591      ;;
12592    motorola)
12593      need_lib_prefix=no
12594      need_version=no
12595      shlibpath_overrides_runpath=no
12596      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12597      ;;
12598  esac
12599  ;;
12600
12601sysv4*MP*)
12602  if test -d /usr/nec; then
12603    version_type=linux # correct to gnu/linux during the next big refactor
12604    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12605    soname_spec='$libname$shared_ext.$major'
12606    shlibpath_var=LD_LIBRARY_PATH
12607  fi
12608  ;;
12609
12610sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12611  version_type=sco
12612  need_lib_prefix=no
12613  need_version=no
12614  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12615  soname_spec='$libname$release$shared_ext$major'
12616  shlibpath_var=LD_LIBRARY_PATH
12617  shlibpath_overrides_runpath=yes
12618  hardcode_into_libs=yes
12619  if test yes = "$with_gnu_ld"; then
12620    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12621  else
12622    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12623    case $host_os in
12624      sco3.2v5*)
12625        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12626	;;
12627    esac
12628  fi
12629  sys_lib_dlsearch_path_spec='/usr/lib'
12630  ;;
12631
12632tpf*)
12633  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12634  version_type=linux # correct to gnu/linux during the next big refactor
12635  need_lib_prefix=no
12636  need_version=no
12637  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12638  shlibpath_var=LD_LIBRARY_PATH
12639  shlibpath_overrides_runpath=no
12640  hardcode_into_libs=yes
12641  ;;
12642
12643uts4*)
12644  version_type=linux # correct to gnu/linux during the next big refactor
12645  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12646  soname_spec='$libname$release$shared_ext$major'
12647  shlibpath_var=LD_LIBRARY_PATH
12648  ;;
12649
12650*)
12651  dynamic_linker=no
12652  ;;
12653esac
12654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12655$as_echo "$dynamic_linker" >&6; }
12656test no = "$dynamic_linker" && can_build_shared=no
12657
12658variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12659if test yes = "$GCC"; then
12660  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12661fi
12662
12663if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12664  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12665fi
12666
12667if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12668  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12669fi
12670
12671# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12672configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12673
12674# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12675func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12676
12677# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12678configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12777$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12778hardcode_action=
12779if test -n "$hardcode_libdir_flag_spec" ||
12780   test -n "$runpath_var" ||
12781   test yes = "$hardcode_automatic"; then
12782
12783  # We can hardcode non-existent directories.
12784  if test no != "$hardcode_direct" &&
12785     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12786     # have to relink, otherwise we might link with an installed library
12787     # when we should be linking with a yet-to-be-installed one
12788     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12789     test no != "$hardcode_minus_L"; then
12790    # Linking always hardcodes the temporary library directory.
12791    hardcode_action=relink
12792  else
12793    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12794    hardcode_action=immediate
12795  fi
12796else
12797  # We cannot hardcode anything, or else we can only hardcode existing
12798  # directories.
12799  hardcode_action=unsupported
12800fi
12801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12802$as_echo "$hardcode_action" >&6; }
12803
12804if test relink = "$hardcode_action" ||
12805   test yes = "$inherit_rpath"; then
12806  # Fast installation is not supported
12807  enable_fast_install=no
12808elif test yes = "$shlibpath_overrides_runpath" ||
12809     test no = "$enable_shared"; then
12810  # Fast installation is not necessary
12811  enable_fast_install=needless
12812fi
12813
12814
12815
12816
12817
12818
12819  if test yes != "$enable_dlopen"; then
12820  enable_dlopen=unknown
12821  enable_dlopen_self=unknown
12822  enable_dlopen_self_static=unknown
12823else
12824  lt_cv_dlopen=no
12825  lt_cv_dlopen_libs=
12826
12827  case $host_os in
12828  beos*)
12829    lt_cv_dlopen=load_add_on
12830    lt_cv_dlopen_libs=
12831    lt_cv_dlopen_self=yes
12832    ;;
12833
12834  mingw* | pw32* | cegcc*)
12835    lt_cv_dlopen=LoadLibrary
12836    lt_cv_dlopen_libs=
12837    ;;
12838
12839  cygwin*)
12840    lt_cv_dlopen=dlopen
12841    lt_cv_dlopen_libs=
12842    ;;
12843
12844  darwin*)
12845    # if libdl is installed we need to link against it
12846    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12847$as_echo_n "checking for dlopen in -ldl... " >&6; }
12848if ${ac_cv_lib_dl_dlopen+:} false; then :
12849  $as_echo_n "(cached) " >&6
12850else
12851  ac_check_lib_save_LIBS=$LIBS
12852LIBS="-ldl  $LIBS"
12853cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854/* end confdefs.h.  */
12855
12856/* Override any GCC internal prototype to avoid an error.
12857   Use char because int might match the return type of a GCC
12858   builtin and then its argument prototype would still apply.  */
12859#ifdef __cplusplus
12860extern "C"
12861#endif
12862char dlopen ();
12863int
12864main ()
12865{
12866return dlopen ();
12867  ;
12868  return 0;
12869}
12870_ACEOF
12871if ac_fn_c_try_link "$LINENO"; then :
12872  ac_cv_lib_dl_dlopen=yes
12873else
12874  ac_cv_lib_dl_dlopen=no
12875fi
12876rm -f core conftest.err conftest.$ac_objext \
12877    conftest$ac_exeext conftest.$ac_ext
12878LIBS=$ac_check_lib_save_LIBS
12879fi
12880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12881$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12882if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12883  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12884else
12885
12886    lt_cv_dlopen=dyld
12887    lt_cv_dlopen_libs=
12888    lt_cv_dlopen_self=yes
12889
12890fi
12891
12892    ;;
12893
12894  tpf*)
12895    # Don't try to run any link tests for TPF.  We know it's impossible
12896    # because TPF is a cross-compiler, and we know how we open DSOs.
12897    lt_cv_dlopen=dlopen
12898    lt_cv_dlopen_libs=
12899    lt_cv_dlopen_self=no
12900    ;;
12901
12902  *)
12903    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12904if test "x$ac_cv_func_shl_load" = xyes; then :
12905  lt_cv_dlopen=shl_load
12906else
12907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12908$as_echo_n "checking for shl_load in -ldld... " >&6; }
12909if ${ac_cv_lib_dld_shl_load+:} false; then :
12910  $as_echo_n "(cached) " >&6
12911else
12912  ac_check_lib_save_LIBS=$LIBS
12913LIBS="-ldld  $LIBS"
12914cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12915/* end confdefs.h.  */
12916
12917/* Override any GCC internal prototype to avoid an error.
12918   Use char because int might match the return type of a GCC
12919   builtin and then its argument prototype would still apply.  */
12920#ifdef __cplusplus
12921extern "C"
12922#endif
12923char shl_load ();
12924int
12925main ()
12926{
12927return shl_load ();
12928  ;
12929  return 0;
12930}
12931_ACEOF
12932if ac_fn_c_try_link "$LINENO"; then :
12933  ac_cv_lib_dld_shl_load=yes
12934else
12935  ac_cv_lib_dld_shl_load=no
12936fi
12937rm -f core conftest.err conftest.$ac_objext \
12938    conftest$ac_exeext conftest.$ac_ext
12939LIBS=$ac_check_lib_save_LIBS
12940fi
12941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12942$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12943if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12944  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12945else
12946  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12947if test "x$ac_cv_func_dlopen" = xyes; then :
12948  lt_cv_dlopen=dlopen
12949else
12950  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12951$as_echo_n "checking for dlopen in -ldl... " >&6; }
12952if ${ac_cv_lib_dl_dlopen+:} false; then :
12953  $as_echo_n "(cached) " >&6
12954else
12955  ac_check_lib_save_LIBS=$LIBS
12956LIBS="-ldl  $LIBS"
12957cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12958/* end confdefs.h.  */
12959
12960/* Override any GCC internal prototype to avoid an error.
12961   Use char because int might match the return type of a GCC
12962   builtin and then its argument prototype would still apply.  */
12963#ifdef __cplusplus
12964extern "C"
12965#endif
12966char dlopen ();
12967int
12968main ()
12969{
12970return dlopen ();
12971  ;
12972  return 0;
12973}
12974_ACEOF
12975if ac_fn_c_try_link "$LINENO"; then :
12976  ac_cv_lib_dl_dlopen=yes
12977else
12978  ac_cv_lib_dl_dlopen=no
12979fi
12980rm -f core conftest.err conftest.$ac_objext \
12981    conftest$ac_exeext conftest.$ac_ext
12982LIBS=$ac_check_lib_save_LIBS
12983fi
12984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12985$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12986if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12987  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12988else
12989  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12990$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12991if ${ac_cv_lib_svld_dlopen+:} false; then :
12992  $as_echo_n "(cached) " >&6
12993else
12994  ac_check_lib_save_LIBS=$LIBS
12995LIBS="-lsvld  $LIBS"
12996cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997/* end confdefs.h.  */
12998
12999/* Override any GCC internal prototype to avoid an error.
13000   Use char because int might match the return type of a GCC
13001   builtin and then its argument prototype would still apply.  */
13002#ifdef __cplusplus
13003extern "C"
13004#endif
13005char dlopen ();
13006int
13007main ()
13008{
13009return dlopen ();
13010  ;
13011  return 0;
13012}
13013_ACEOF
13014if ac_fn_c_try_link "$LINENO"; then :
13015  ac_cv_lib_svld_dlopen=yes
13016else
13017  ac_cv_lib_svld_dlopen=no
13018fi
13019rm -f core conftest.err conftest.$ac_objext \
13020    conftest$ac_exeext conftest.$ac_ext
13021LIBS=$ac_check_lib_save_LIBS
13022fi
13023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13024$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13025if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13026  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13027else
13028  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13029$as_echo_n "checking for dld_link in -ldld... " >&6; }
13030if ${ac_cv_lib_dld_dld_link+:} false; then :
13031  $as_echo_n "(cached) " >&6
13032else
13033  ac_check_lib_save_LIBS=$LIBS
13034LIBS="-ldld  $LIBS"
13035cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036/* end confdefs.h.  */
13037
13038/* Override any GCC internal prototype to avoid an error.
13039   Use char because int might match the return type of a GCC
13040   builtin and then its argument prototype would still apply.  */
13041#ifdef __cplusplus
13042extern "C"
13043#endif
13044char dld_link ();
13045int
13046main ()
13047{
13048return dld_link ();
13049  ;
13050  return 0;
13051}
13052_ACEOF
13053if ac_fn_c_try_link "$LINENO"; then :
13054  ac_cv_lib_dld_dld_link=yes
13055else
13056  ac_cv_lib_dld_dld_link=no
13057fi
13058rm -f core conftest.err conftest.$ac_objext \
13059    conftest$ac_exeext conftest.$ac_ext
13060LIBS=$ac_check_lib_save_LIBS
13061fi
13062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13063$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13064if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13065  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13066fi
13067
13068
13069fi
13070
13071
13072fi
13073
13074
13075fi
13076
13077
13078fi
13079
13080
13081fi
13082
13083    ;;
13084  esac
13085
13086  if test no = "$lt_cv_dlopen"; then
13087    enable_dlopen=no
13088  else
13089    enable_dlopen=yes
13090  fi
13091
13092  case $lt_cv_dlopen in
13093  dlopen)
13094    save_CPPFLAGS=$CPPFLAGS
13095    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13096
13097    save_LDFLAGS=$LDFLAGS
13098    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13099
13100    save_LIBS=$LIBS
13101    LIBS="$lt_cv_dlopen_libs $LIBS"
13102
13103    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13104$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13105if ${lt_cv_dlopen_self+:} false; then :
13106  $as_echo_n "(cached) " >&6
13107else
13108  	  if test yes = "$cross_compiling"; then :
13109  lt_cv_dlopen_self=cross
13110else
13111  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13112  lt_status=$lt_dlunknown
13113  cat > conftest.$ac_ext <<_LT_EOF
13114#line $LINENO "configure"
13115#include "confdefs.h"
13116
13117#if HAVE_DLFCN_H
13118#include <dlfcn.h>
13119#endif
13120
13121#include <stdio.h>
13122
13123#ifdef RTLD_GLOBAL
13124#  define LT_DLGLOBAL		RTLD_GLOBAL
13125#else
13126#  ifdef DL_GLOBAL
13127#    define LT_DLGLOBAL		DL_GLOBAL
13128#  else
13129#    define LT_DLGLOBAL		0
13130#  endif
13131#endif
13132
13133/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13134   find out it does not work in some platform. */
13135#ifndef LT_DLLAZY_OR_NOW
13136#  ifdef RTLD_LAZY
13137#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13138#  else
13139#    ifdef DL_LAZY
13140#      define LT_DLLAZY_OR_NOW		DL_LAZY
13141#    else
13142#      ifdef RTLD_NOW
13143#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13144#      else
13145#        ifdef DL_NOW
13146#          define LT_DLLAZY_OR_NOW	DL_NOW
13147#        else
13148#          define LT_DLLAZY_OR_NOW	0
13149#        endif
13150#      endif
13151#    endif
13152#  endif
13153#endif
13154
13155/* When -fvisibility=hidden is used, assume the code has been annotated
13156   correspondingly for the symbols needed.  */
13157#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13158int fnord () __attribute__((visibility("default")));
13159#endif
13160
13161int fnord () { return 42; }
13162int main ()
13163{
13164  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13165  int status = $lt_dlunknown;
13166
13167  if (self)
13168    {
13169      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13170      else
13171        {
13172	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13173          else puts (dlerror ());
13174	}
13175      /* dlclose (self); */
13176    }
13177  else
13178    puts (dlerror ());
13179
13180  return status;
13181}
13182_LT_EOF
13183  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13184  (eval $ac_link) 2>&5
13185  ac_status=$?
13186  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13187  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13188    (./conftest; exit; ) >&5 2>/dev/null
13189    lt_status=$?
13190    case x$lt_status in
13191      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13192      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13193      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13194    esac
13195  else :
13196    # compilation failed
13197    lt_cv_dlopen_self=no
13198  fi
13199fi
13200rm -fr conftest*
13201
13202
13203fi
13204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13205$as_echo "$lt_cv_dlopen_self" >&6; }
13206
13207    if test yes = "$lt_cv_dlopen_self"; then
13208      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13209      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13210$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13211if ${lt_cv_dlopen_self_static+:} false; then :
13212  $as_echo_n "(cached) " >&6
13213else
13214  	  if test yes = "$cross_compiling"; then :
13215  lt_cv_dlopen_self_static=cross
13216else
13217  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13218  lt_status=$lt_dlunknown
13219  cat > conftest.$ac_ext <<_LT_EOF
13220#line $LINENO "configure"
13221#include "confdefs.h"
13222
13223#if HAVE_DLFCN_H
13224#include <dlfcn.h>
13225#endif
13226
13227#include <stdio.h>
13228
13229#ifdef RTLD_GLOBAL
13230#  define LT_DLGLOBAL		RTLD_GLOBAL
13231#else
13232#  ifdef DL_GLOBAL
13233#    define LT_DLGLOBAL		DL_GLOBAL
13234#  else
13235#    define LT_DLGLOBAL		0
13236#  endif
13237#endif
13238
13239/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13240   find out it does not work in some platform. */
13241#ifndef LT_DLLAZY_OR_NOW
13242#  ifdef RTLD_LAZY
13243#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13244#  else
13245#    ifdef DL_LAZY
13246#      define LT_DLLAZY_OR_NOW		DL_LAZY
13247#    else
13248#      ifdef RTLD_NOW
13249#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13250#      else
13251#        ifdef DL_NOW
13252#          define LT_DLLAZY_OR_NOW	DL_NOW
13253#        else
13254#          define LT_DLLAZY_OR_NOW	0
13255#        endif
13256#      endif
13257#    endif
13258#  endif
13259#endif
13260
13261/* When -fvisibility=hidden is used, assume the code has been annotated
13262   correspondingly for the symbols needed.  */
13263#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13264int fnord () __attribute__((visibility("default")));
13265#endif
13266
13267int fnord () { return 42; }
13268int main ()
13269{
13270  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13271  int status = $lt_dlunknown;
13272
13273  if (self)
13274    {
13275      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13276      else
13277        {
13278	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13279          else puts (dlerror ());
13280	}
13281      /* dlclose (self); */
13282    }
13283  else
13284    puts (dlerror ());
13285
13286  return status;
13287}
13288_LT_EOF
13289  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13290  (eval $ac_link) 2>&5
13291  ac_status=$?
13292  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13293  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13294    (./conftest; exit; ) >&5 2>/dev/null
13295    lt_status=$?
13296    case x$lt_status in
13297      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13298      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13299      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13300    esac
13301  else :
13302    # compilation failed
13303    lt_cv_dlopen_self_static=no
13304  fi
13305fi
13306rm -fr conftest*
13307
13308
13309fi
13310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13311$as_echo "$lt_cv_dlopen_self_static" >&6; }
13312    fi
13313
13314    CPPFLAGS=$save_CPPFLAGS
13315    LDFLAGS=$save_LDFLAGS
13316    LIBS=$save_LIBS
13317    ;;
13318  esac
13319
13320  case $lt_cv_dlopen_self in
13321  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13322  *) enable_dlopen_self=unknown ;;
13323  esac
13324
13325  case $lt_cv_dlopen_self_static in
13326  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13327  *) enable_dlopen_self_static=unknown ;;
13328  esac
13329fi
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347striplib=
13348old_striplib=
13349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13350$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13351if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13352  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13353  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13355$as_echo "yes" >&6; }
13356else
13357# FIXME - insert some real tests, host_os isn't really good enough
13358  case $host_os in
13359  darwin*)
13360    if test -n "$STRIP"; then
13361      striplib="$STRIP -x"
13362      old_striplib="$STRIP -S"
13363      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13364$as_echo "yes" >&6; }
13365    else
13366      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13367$as_echo "no" >&6; }
13368    fi
13369    ;;
13370  *)
13371    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13372$as_echo "no" >&6; }
13373    ;;
13374  esac
13375fi
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388  # Report what library types will actually be built
13389  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13390$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13392$as_echo "$can_build_shared" >&6; }
13393
13394  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13395$as_echo_n "checking whether to build shared libraries... " >&6; }
13396  test no = "$can_build_shared" && enable_shared=no
13397
13398  # On AIX, shared libraries and static libraries use the same namespace, and
13399  # are all built from PIC.
13400  case $host_os in
13401  aix3*)
13402    test yes = "$enable_shared" && enable_static=no
13403    if test -n "$RANLIB"; then
13404      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13405      postinstall_cmds='$RANLIB $lib'
13406    fi
13407    ;;
13408
13409  aix[4-9]*)
13410    if test ia64 != "$host_cpu"; then
13411      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13412      yes,aix,yes) ;;			# shared object as lib.so file only
13413      yes,svr4,*) ;;			# shared object as lib.so archive member only
13414      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13415      esac
13416    fi
13417    ;;
13418  esac
13419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13420$as_echo "$enable_shared" >&6; }
13421
13422  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13423$as_echo_n "checking whether to build static libraries... " >&6; }
13424  # Make sure either enable_shared or enable_static is yes.
13425  test yes = "$enable_shared" || enable_static=yes
13426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13427$as_echo "$enable_static" >&6; }
13428
13429
13430
13431
13432fi
13433ac_ext=c
13434ac_cpp='$CPP $CPPFLAGS'
13435ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13436ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13437ac_compiler_gnu=$ac_cv_c_compiler_gnu
13438
13439CC=$lt_save_CC
13440
13441      if test -n "$CXX" && ( test no != "$CXX" &&
13442    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13443    (test g++ != "$CXX"))); then
13444  ac_ext=cpp
13445ac_cpp='$CXXCPP $CPPFLAGS'
13446ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13447ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13448ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13450$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13451if test -z "$CXXCPP"; then
13452  if ${ac_cv_prog_CXXCPP+:} false; then :
13453  $as_echo_n "(cached) " >&6
13454else
13455      # Double quotes because CXXCPP needs to be expanded
13456    for CXXCPP in "$CXX -E" "/lib/cpp"
13457    do
13458      ac_preproc_ok=false
13459for ac_cxx_preproc_warn_flag in '' yes
13460do
13461  # Use a header file that comes with gcc, so configuring glibc
13462  # with a fresh cross-compiler works.
13463  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13464  # <limits.h> exists even on freestanding compilers.
13465  # On the NeXT, cc -E runs the code through the compiler's parser,
13466  # not just through cpp. "Syntax error" is here to catch this case.
13467  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13468/* end confdefs.h.  */
13469#ifdef __STDC__
13470# include <limits.h>
13471#else
13472# include <assert.h>
13473#endif
13474		     Syntax error
13475_ACEOF
13476if ac_fn_cxx_try_cpp "$LINENO"; then :
13477
13478else
13479  # Broken: fails on valid input.
13480continue
13481fi
13482rm -f conftest.err conftest.i conftest.$ac_ext
13483
13484  # OK, works on sane cases.  Now check whether nonexistent headers
13485  # can be detected and how.
13486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13487/* end confdefs.h.  */
13488#include <ac_nonexistent.h>
13489_ACEOF
13490if ac_fn_cxx_try_cpp "$LINENO"; then :
13491  # Broken: success on invalid input.
13492continue
13493else
13494  # Passes both tests.
13495ac_preproc_ok=:
13496break
13497fi
13498rm -f conftest.err conftest.i conftest.$ac_ext
13499
13500done
13501# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13502rm -f conftest.i conftest.err conftest.$ac_ext
13503if $ac_preproc_ok; then :
13504  break
13505fi
13506
13507    done
13508    ac_cv_prog_CXXCPP=$CXXCPP
13509
13510fi
13511  CXXCPP=$ac_cv_prog_CXXCPP
13512else
13513  ac_cv_prog_CXXCPP=$CXXCPP
13514fi
13515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13516$as_echo "$CXXCPP" >&6; }
13517ac_preproc_ok=false
13518for ac_cxx_preproc_warn_flag in '' yes
13519do
13520  # Use a header file that comes with gcc, so configuring glibc
13521  # with a fresh cross-compiler works.
13522  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13523  # <limits.h> exists even on freestanding compilers.
13524  # On the NeXT, cc -E runs the code through the compiler's parser,
13525  # not just through cpp. "Syntax error" is here to catch this case.
13526  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527/* end confdefs.h.  */
13528#ifdef __STDC__
13529# include <limits.h>
13530#else
13531# include <assert.h>
13532#endif
13533		     Syntax error
13534_ACEOF
13535if ac_fn_cxx_try_cpp "$LINENO"; then :
13536
13537else
13538  # Broken: fails on valid input.
13539continue
13540fi
13541rm -f conftest.err conftest.i conftest.$ac_ext
13542
13543  # OK, works on sane cases.  Now check whether nonexistent headers
13544  # can be detected and how.
13545  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546/* end confdefs.h.  */
13547#include <ac_nonexistent.h>
13548_ACEOF
13549if ac_fn_cxx_try_cpp "$LINENO"; then :
13550  # Broken: success on invalid input.
13551continue
13552else
13553  # Passes both tests.
13554ac_preproc_ok=:
13555break
13556fi
13557rm -f conftest.err conftest.i conftest.$ac_ext
13558
13559done
13560# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13561rm -f conftest.i conftest.err conftest.$ac_ext
13562if $ac_preproc_ok; then :
13563
13564else
13565  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13566$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13567as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13568See \`config.log' for more details" "$LINENO" 5; }
13569fi
13570
13571ac_ext=c
13572ac_cpp='$CPP $CPPFLAGS'
13573ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13574ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13575ac_compiler_gnu=$ac_cv_c_compiler_gnu
13576
13577else
13578  _lt_caught_CXX_error=yes
13579fi
13580
13581ac_ext=cpp
13582ac_cpp='$CXXCPP $CPPFLAGS'
13583ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13584ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13585ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13586
13587archive_cmds_need_lc_CXX=no
13588allow_undefined_flag_CXX=
13589always_export_symbols_CXX=no
13590archive_expsym_cmds_CXX=
13591compiler_needs_object_CXX=no
13592export_dynamic_flag_spec_CXX=
13593hardcode_direct_CXX=no
13594hardcode_direct_absolute_CXX=no
13595hardcode_libdir_flag_spec_CXX=
13596hardcode_libdir_separator_CXX=
13597hardcode_minus_L_CXX=no
13598hardcode_shlibpath_var_CXX=unsupported
13599hardcode_automatic_CXX=no
13600inherit_rpath_CXX=no
13601module_cmds_CXX=
13602module_expsym_cmds_CXX=
13603link_all_deplibs_CXX=unknown
13604old_archive_cmds_CXX=$old_archive_cmds
13605reload_flag_CXX=$reload_flag
13606reload_cmds_CXX=$reload_cmds
13607no_undefined_flag_CXX=
13608whole_archive_flag_spec_CXX=
13609enable_shared_with_static_runtimes_CXX=no
13610
13611# Source file extension for C++ test sources.
13612ac_ext=cpp
13613
13614# Object file extension for compiled C++ test sources.
13615objext=o
13616objext_CXX=$objext
13617
13618# No sense in running all these tests if we already determined that
13619# the CXX compiler isn't working.  Some variables (like enable_shared)
13620# are currently assumed to apply to all compilers on this platform,
13621# and will be corrupted by setting them based on a non-working compiler.
13622if test yes != "$_lt_caught_CXX_error"; then
13623  # Code to be used in simple compile tests
13624  lt_simple_compile_test_code="int some_variable = 0;"
13625
13626  # Code to be used in simple link tests
13627  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13628
13629  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13630
13631
13632
13633
13634
13635
13636# If no C compiler was specified, use CC.
13637LTCC=${LTCC-"$CC"}
13638
13639# If no C compiler flags were specified, use CFLAGS.
13640LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13641
13642# Allow CC to be a program name with arguments.
13643compiler=$CC
13644
13645
13646  # save warnings/boilerplate of simple test code
13647  ac_outfile=conftest.$ac_objext
13648echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13649eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13650_lt_compiler_boilerplate=`cat conftest.err`
13651$RM conftest*
13652
13653  ac_outfile=conftest.$ac_objext
13654echo "$lt_simple_link_test_code" >conftest.$ac_ext
13655eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13656_lt_linker_boilerplate=`cat conftest.err`
13657$RM -r conftest*
13658
13659
13660  # Allow CC to be a program name with arguments.
13661  lt_save_CC=$CC
13662  lt_save_CFLAGS=$CFLAGS
13663  lt_save_LD=$LD
13664  lt_save_GCC=$GCC
13665  GCC=$GXX
13666  lt_save_with_gnu_ld=$with_gnu_ld
13667  lt_save_path_LD=$lt_cv_path_LD
13668  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13669    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13670  else
13671    $as_unset lt_cv_prog_gnu_ld
13672  fi
13673  if test -n "${lt_cv_path_LDCXX+set}"; then
13674    lt_cv_path_LD=$lt_cv_path_LDCXX
13675  else
13676    $as_unset lt_cv_path_LD
13677  fi
13678  test -z "${LDCXX+set}" || LD=$LDCXX
13679  CC=${CXX-"c++"}
13680  CFLAGS=$CXXFLAGS
13681  compiler=$CC
13682  compiler_CXX=$CC
13683  func_cc_basename $compiler
13684cc_basename=$func_cc_basename_result
13685
13686
13687  if test -n "$compiler"; then
13688    # We don't want -fno-exception when compiling C++ code, so set the
13689    # no_builtin_flag separately
13690    if test yes = "$GXX"; then
13691      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13692    else
13693      lt_prog_compiler_no_builtin_flag_CXX=
13694    fi
13695
13696    if test yes = "$GXX"; then
13697      # Set up default GNU C++ configuration
13698
13699
13700
13701# Check whether --with-gnu-ld was given.
13702if test "${with_gnu_ld+set}" = set; then :
13703  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13704else
13705  with_gnu_ld=no
13706fi
13707
13708ac_prog=ld
13709if test yes = "$GCC"; then
13710  # Check if gcc -print-prog-name=ld gives a path.
13711  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13712$as_echo_n "checking for ld used by $CC... " >&6; }
13713  case $host in
13714  *-*-mingw*)
13715    # gcc leaves a trailing carriage return, which upsets mingw
13716    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13717  *)
13718    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13719  esac
13720  case $ac_prog in
13721    # Accept absolute paths.
13722    [\\/]* | ?:[\\/]*)
13723      re_direlt='/[^/][^/]*/\.\./'
13724      # Canonicalize the pathname of ld
13725      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13726      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13727	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13728      done
13729      test -z "$LD" && LD=$ac_prog
13730      ;;
13731  "")
13732    # If it fails, then pretend we aren't using GCC.
13733    ac_prog=ld
13734    ;;
13735  *)
13736    # If it is relative, then search for the first ld in PATH.
13737    with_gnu_ld=unknown
13738    ;;
13739  esac
13740elif test yes = "$with_gnu_ld"; then
13741  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13742$as_echo_n "checking for GNU ld... " >&6; }
13743else
13744  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13745$as_echo_n "checking for non-GNU ld... " >&6; }
13746fi
13747if ${lt_cv_path_LD+:} false; then :
13748  $as_echo_n "(cached) " >&6
13749else
13750  if test -z "$LD"; then
13751  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13752  for ac_dir in $PATH; do
13753    IFS=$lt_save_ifs
13754    test -z "$ac_dir" && ac_dir=.
13755    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13756      lt_cv_path_LD=$ac_dir/$ac_prog
13757      # Check to see if the program is GNU ld.  I'd rather use --version,
13758      # but apparently some variants of GNU ld only accept -v.
13759      # Break only if it was the GNU/non-GNU ld that we prefer.
13760      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13761      *GNU* | *'with BFD'*)
13762	test no != "$with_gnu_ld" && break
13763	;;
13764      *)
13765	test yes != "$with_gnu_ld" && break
13766	;;
13767      esac
13768    fi
13769  done
13770  IFS=$lt_save_ifs
13771else
13772  lt_cv_path_LD=$LD # Let the user override the test with a path.
13773fi
13774fi
13775
13776LD=$lt_cv_path_LD
13777if test -n "$LD"; then
13778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13779$as_echo "$LD" >&6; }
13780else
13781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13782$as_echo "no" >&6; }
13783fi
13784test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13786$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13787if ${lt_cv_prog_gnu_ld+:} false; then :
13788  $as_echo_n "(cached) " >&6
13789else
13790  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13791case `$LD -v 2>&1 </dev/null` in
13792*GNU* | *'with BFD'*)
13793  lt_cv_prog_gnu_ld=yes
13794  ;;
13795*)
13796  lt_cv_prog_gnu_ld=no
13797  ;;
13798esac
13799fi
13800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13801$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13802with_gnu_ld=$lt_cv_prog_gnu_ld
13803
13804
13805
13806
13807
13808
13809
13810      # Check if GNU C++ uses GNU ld as the underlying linker, since the
13811      # archiving commands below assume that GNU ld is being used.
13812      if test yes = "$with_gnu_ld"; then
13813        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13814        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'
13815
13816        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13817        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13818
13819        # If archive_cmds runs LD, not CC, wlarc should be empty
13820        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13821        #     investigate it a little bit more. (MM)
13822        wlarc='$wl'
13823
13824        # ancient GNU ld didn't support --whole-archive et. al.
13825        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13826	  $GREP 'no-whole-archive' > /dev/null; then
13827          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13828        else
13829          whole_archive_flag_spec_CXX=
13830        fi
13831      else
13832        with_gnu_ld=no
13833        wlarc=
13834
13835        # A generic and very simple default shared library creation
13836        # command for GNU C++ for the case where it uses the native
13837        # linker, instead of GNU ld.  If possible, this setting should
13838        # overridden to take advantage of the native linker features on
13839        # the platform it is being used on.
13840        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13841      fi
13842
13843      # Commands to make compiler produce verbose output that lists
13844      # what "hidden" libraries, object files and flags are used when
13845      # linking a shared library.
13846      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13847
13848    else
13849      GXX=no
13850      with_gnu_ld=no
13851      wlarc=
13852    fi
13853
13854    # PORTME: fill in a description of your system's C++ link characteristics
13855    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13856$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13857    ld_shlibs_CXX=yes
13858    case $host_os in
13859      aix3*)
13860        # FIXME: insert proper C++ library support
13861        ld_shlibs_CXX=no
13862        ;;
13863      aix[4-9]*)
13864        if test ia64 = "$host_cpu"; then
13865          # On IA64, the linker does run time linking by default, so we don't
13866          # have to do anything special.
13867          aix_use_runtimelinking=no
13868          exp_sym_flag='-Bexport'
13869          no_entry_flag=
13870        else
13871          aix_use_runtimelinking=no
13872
13873          # Test if we are trying to use run time linking or normal
13874          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13875          # have runtime linking enabled, and use it for executables.
13876          # For shared libraries, we enable/disable runtime linking
13877          # depending on the kind of the shared library created -
13878          # when "with_aix_soname,aix_use_runtimelinking" is:
13879          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
13880          # "aix,yes"  lib.so          shared, rtl:yes, for executables
13881          #            lib.a           static archive
13882          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
13883          #            lib.a(lib.so.V) shared, rtl:no,  for executables
13884          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13885          #            lib.a(lib.so.V) shared, rtl:no
13886          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
13887          #            lib.a           static archive
13888          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13889	    for ld_flag in $LDFLAGS; do
13890	      case $ld_flag in
13891	      *-brtl*)
13892	        aix_use_runtimelinking=yes
13893	        break
13894	        ;;
13895	      esac
13896	    done
13897	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13898	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
13899	      # so we don't have lib.a shared libs to link our executables.
13900	      # We have to force runtime linking in this case.
13901	      aix_use_runtimelinking=yes
13902	      LDFLAGS="$LDFLAGS -Wl,-brtl"
13903	    fi
13904	    ;;
13905          esac
13906
13907          exp_sym_flag='-bexport'
13908          no_entry_flag='-bnoentry'
13909        fi
13910
13911        # When large executables or shared objects are built, AIX ld can
13912        # have problems creating the table of contents.  If linking a library
13913        # or program results in "error TOC overflow" add -mminimal-toc to
13914        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13915        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13916
13917        archive_cmds_CXX=''
13918        hardcode_direct_CXX=yes
13919        hardcode_direct_absolute_CXX=yes
13920        hardcode_libdir_separator_CXX=':'
13921        link_all_deplibs_CXX=yes
13922        file_list_spec_CXX='$wl-f,'
13923        case $with_aix_soname,$aix_use_runtimelinking in
13924        aix,*) ;;	# no import file
13925        svr4,* | *,yes) # use import file
13926          # The Import File defines what to hardcode.
13927          hardcode_direct_CXX=no
13928          hardcode_direct_absolute_CXX=no
13929          ;;
13930        esac
13931
13932        if test yes = "$GXX"; then
13933          case $host_os in aix4.[012]|aix4.[012].*)
13934          # We only want to do this on AIX 4.2 and lower, the check
13935          # below for broken collect2 doesn't work under 4.3+
13936	  collect2name=`$CC -print-prog-name=collect2`
13937	  if test -f "$collect2name" &&
13938	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13939	  then
13940	    # We have reworked collect2
13941	    :
13942	  else
13943	    # We have old collect2
13944	    hardcode_direct_CXX=unsupported
13945	    # It fails to find uninstalled libraries when the uninstalled
13946	    # path is not listed in the libpath.  Setting hardcode_minus_L
13947	    # to unsupported forces relinking
13948	    hardcode_minus_L_CXX=yes
13949	    hardcode_libdir_flag_spec_CXX='-L$libdir'
13950	    hardcode_libdir_separator_CXX=
13951	  fi
13952          esac
13953          shared_flag='-shared'
13954	  if test yes = "$aix_use_runtimelinking"; then
13955	    shared_flag=$shared_flag' $wl-G'
13956	  fi
13957	  # Need to ensure runtime linking is disabled for the traditional
13958	  # shared library, or the linker may eventually find shared libraries
13959	  # /with/ Import File - we do not want to mix them.
13960	  shared_flag_aix='-shared'
13961	  shared_flag_svr4='-shared $wl-G'
13962        else
13963          # not using gcc
13964          if test ia64 = "$host_cpu"; then
13965	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13966	  # chokes on -Wl,-G. The following line is correct:
13967	  shared_flag='-G'
13968          else
13969	    if test yes = "$aix_use_runtimelinking"; then
13970	      shared_flag='$wl-G'
13971	    else
13972	      shared_flag='$wl-bM:SRE'
13973	    fi
13974	    shared_flag_aix='$wl-bM:SRE'
13975	    shared_flag_svr4='$wl-G'
13976          fi
13977        fi
13978
13979        export_dynamic_flag_spec_CXX='$wl-bexpall'
13980        # It seems that -bexpall does not export symbols beginning with
13981        # underscore (_), so it is better to generate a list of symbols to
13982	# export.
13983        always_export_symbols_CXX=yes
13984	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13985          # Warning - without using the other runtime loading flags (-brtl),
13986          # -berok will link without error, but may produce a broken library.
13987          # The "-G" linker flag allows undefined symbols.
13988          no_undefined_flag_CXX='-bernotok'
13989          # Determine the default libpath from the value encoded in an empty
13990          # executable.
13991          if test set = "${lt_cv_aix_libpath+set}"; then
13992  aix_libpath=$lt_cv_aix_libpath
13993else
13994  if ${lt_cv_aix_libpath__CXX+:} false; then :
13995  $as_echo_n "(cached) " >&6
13996else
13997  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13998/* end confdefs.h.  */
13999
14000int
14001main ()
14002{
14003
14004  ;
14005  return 0;
14006}
14007_ACEOF
14008if ac_fn_cxx_try_link "$LINENO"; then :
14009
14010  lt_aix_libpath_sed='
14011      /Import File Strings/,/^$/ {
14012	  /^0/ {
14013	      s/^0  *\([^ ]*\) *$/\1/
14014	      p
14015	  }
14016      }'
14017  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14018  # Check for a 64-bit object if we didn't find anything.
14019  if test -z "$lt_cv_aix_libpath__CXX"; then
14020    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14021  fi
14022fi
14023rm -f core conftest.err conftest.$ac_objext \
14024    conftest$ac_exeext conftest.$ac_ext
14025  if test -z "$lt_cv_aix_libpath__CXX"; then
14026    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14027  fi
14028
14029fi
14030
14031  aix_libpath=$lt_cv_aix_libpath__CXX
14032fi
14033
14034          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14035
14036          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
14037        else
14038          if test ia64 = "$host_cpu"; then
14039	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14040	    allow_undefined_flag_CXX="-z nodefs"
14041	    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"
14042          else
14043	    # Determine the default libpath from the value encoded in an
14044	    # empty executable.
14045	    if test set = "${lt_cv_aix_libpath+set}"; then
14046  aix_libpath=$lt_cv_aix_libpath
14047else
14048  if ${lt_cv_aix_libpath__CXX+:} false; then :
14049  $as_echo_n "(cached) " >&6
14050else
14051  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14052/* end confdefs.h.  */
14053
14054int
14055main ()
14056{
14057
14058  ;
14059  return 0;
14060}
14061_ACEOF
14062if ac_fn_cxx_try_link "$LINENO"; then :
14063
14064  lt_aix_libpath_sed='
14065      /Import File Strings/,/^$/ {
14066	  /^0/ {
14067	      s/^0  *\([^ ]*\) *$/\1/
14068	      p
14069	  }
14070      }'
14071  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14072  # Check for a 64-bit object if we didn't find anything.
14073  if test -z "$lt_cv_aix_libpath__CXX"; then
14074    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14075  fi
14076fi
14077rm -f core conftest.err conftest.$ac_objext \
14078    conftest$ac_exeext conftest.$ac_ext
14079  if test -z "$lt_cv_aix_libpath__CXX"; then
14080    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14081  fi
14082
14083fi
14084
14085  aix_libpath=$lt_cv_aix_libpath__CXX
14086fi
14087
14088	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14089	    # Warning - without using the other run time loading flags,
14090	    # -berok will link without error, but may produce a broken library.
14091	    no_undefined_flag_CXX=' $wl-bernotok'
14092	    allow_undefined_flag_CXX=' $wl-berok'
14093	    if test yes = "$with_gnu_ld"; then
14094	      # We only use this code for GNU lds that support --whole-archive.
14095	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14096	    else
14097	      # Exported symbols can be pulled into shared objects from archives
14098	      whole_archive_flag_spec_CXX='$convenience'
14099	    fi
14100	    archive_cmds_need_lc_CXX=yes
14101	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14102	    # -brtl affects multiple linker settings, -berok does not and is overridden later
14103	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14104	    if test svr4 != "$with_aix_soname"; then
14105	      # This is similar to how AIX traditionally builds its shared
14106	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14107	      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'
14108	    fi
14109	    if test aix != "$with_aix_soname"; then
14110	      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'
14111	    else
14112	      # used by -dlpreopen to get the symbols
14113	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14114	    fi
14115	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14116          fi
14117        fi
14118        ;;
14119
14120      beos*)
14121	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14122	  allow_undefined_flag_CXX=unsupported
14123	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14124	  # support --undefined.  This deserves some investigation.  FIXME
14125	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14126	else
14127	  ld_shlibs_CXX=no
14128	fi
14129	;;
14130
14131      chorus*)
14132        case $cc_basename in
14133          *)
14134	  # FIXME: insert proper C++ library support
14135	  ld_shlibs_CXX=no
14136	  ;;
14137        esac
14138        ;;
14139
14140      cygwin* | mingw* | pw32* | cegcc*)
14141	case $GXX,$cc_basename in
14142	,cl* | no,cl*)
14143	  # Native MSVC
14144	  # hardcode_libdir_flag_spec is actually meaningless, as there is
14145	  # no search path for DLLs.
14146	  hardcode_libdir_flag_spec_CXX=' '
14147	  allow_undefined_flag_CXX=unsupported
14148	  always_export_symbols_CXX=yes
14149	  file_list_spec_CXX='@'
14150	  # Tell ltmain to make .lib files, not .a files.
14151	  libext=lib
14152	  # Tell ltmain to make .dll files, not .so files.
14153	  shrext_cmds=.dll
14154	  # FIXME: Setting linknames here is a bad hack.
14155	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14156	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14157              cp "$export_symbols" "$output_objdir/$soname.def";
14158              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14159            else
14160              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14161            fi~
14162            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14163            linknames='
14164	  # The linker will not automatically build a static lib if we build a DLL.
14165	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14166	  enable_shared_with_static_runtimes_CXX=yes
14167	  # Don't use ranlib
14168	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
14169	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14170            lt_tool_outputfile="@TOOL_OUTPUT@"~
14171            case $lt_outputfile in
14172              *.exe|*.EXE) ;;
14173              *)
14174                lt_outputfile=$lt_outputfile.exe
14175                lt_tool_outputfile=$lt_tool_outputfile.exe
14176                ;;
14177            esac~
14178            func_to_tool_file "$lt_outputfile"~
14179            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14180              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14181              $RM "$lt_outputfile.manifest";
14182            fi'
14183	  ;;
14184	*)
14185	  # g++
14186	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14187	  # as there is no search path for DLLs.
14188	  hardcode_libdir_flag_spec_CXX='-L$libdir'
14189	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14190	  allow_undefined_flag_CXX=unsupported
14191	  always_export_symbols_CXX=no
14192	  enable_shared_with_static_runtimes_CXX=yes
14193
14194	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14195	    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'
14196	    # If the export-symbols file already is a .def file, use it as
14197	    # is; otherwise, prepend EXPORTS...
14198	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14199              cp $export_symbols $output_objdir/$soname.def;
14200            else
14201              echo EXPORTS > $output_objdir/$soname.def;
14202              cat $export_symbols >> $output_objdir/$soname.def;
14203            fi~
14204            $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'
14205	  else
14206	    ld_shlibs_CXX=no
14207	  fi
14208	  ;;
14209	esac
14210	;;
14211      darwin* | rhapsody*)
14212
14213
14214  archive_cmds_need_lc_CXX=no
14215  hardcode_direct_CXX=no
14216  hardcode_automatic_CXX=yes
14217  hardcode_shlibpath_var_CXX=unsupported
14218  if test yes = "$lt_cv_ld_force_load"; then
14219    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\"`'
14220
14221  else
14222    whole_archive_flag_spec_CXX=''
14223  fi
14224  link_all_deplibs_CXX=yes
14225  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14226  case $cc_basename in
14227     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14228     *) _lt_dar_can_shared=$GCC ;;
14229  esac
14230  if test yes = "$_lt_dar_can_shared"; then
14231    output_verbose_link_cmd=func_echo_all
14232    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"
14233    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14234    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"
14235    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"
14236       if test yes != "$lt_cv_apple_cc_single_mod"; then
14237      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"
14238      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"
14239    fi
14240
14241  else
14242  ld_shlibs_CXX=no
14243  fi
14244
14245	;;
14246
14247      os2*)
14248	hardcode_libdir_flag_spec_CXX='-L$libdir'
14249	hardcode_minus_L_CXX=yes
14250	allow_undefined_flag_CXX=unsupported
14251	shrext_cmds=.dll
14252	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14253	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14254	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14255	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14256	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14257	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14258	  emximp -o $lib $output_objdir/$libname.def'
14259	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14260	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14261	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14262	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14263	  prefix_cmds="$SED"~
14264	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14265	    prefix_cmds="$prefix_cmds -e 1d";
14266	  fi~
14267	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14268	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14269	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14270	  emximp -o $lib $output_objdir/$libname.def'
14271	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14272	enable_shared_with_static_runtimes_CXX=yes
14273	;;
14274
14275      dgux*)
14276        case $cc_basename in
14277          ec++*)
14278	    # FIXME: insert proper C++ library support
14279	    ld_shlibs_CXX=no
14280	    ;;
14281          ghcx*)
14282	    # Green Hills C++ Compiler
14283	    # FIXME: insert proper C++ library support
14284	    ld_shlibs_CXX=no
14285	    ;;
14286          *)
14287	    # FIXME: insert proper C++ library support
14288	    ld_shlibs_CXX=no
14289	    ;;
14290        esac
14291        ;;
14292
14293      freebsd2.*)
14294        # C++ shared libraries reported to be fairly broken before
14295	# switch to ELF
14296        ld_shlibs_CXX=no
14297        ;;
14298
14299      freebsd-elf*)
14300        archive_cmds_need_lc_CXX=no
14301        ;;
14302
14303      freebsd* | dragonfly*)
14304        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14305        # conventions
14306        ld_shlibs_CXX=yes
14307        ;;
14308
14309      haiku*)
14310        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14311        link_all_deplibs_CXX=yes
14312        ;;
14313
14314      hpux9*)
14315        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14316        hardcode_libdir_separator_CXX=:
14317        export_dynamic_flag_spec_CXX='$wl-E'
14318        hardcode_direct_CXX=yes
14319        hardcode_minus_L_CXX=yes # Not in the search PATH,
14320				             # but as the default
14321				             # location of the library.
14322
14323        case $cc_basename in
14324          CC*)
14325            # FIXME: insert proper C++ library support
14326            ld_shlibs_CXX=no
14327            ;;
14328          aCC*)
14329            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'
14330            # Commands to make compiler produce verbose output that lists
14331            # what "hidden" libraries, object files and flags are used when
14332            # linking a shared library.
14333            #
14334            # There doesn't appear to be a way to prevent this compiler from
14335            # explicitly linking system object files so we need to strip them
14336            # from the output so that they don't get included in the library
14337            # dependencies.
14338            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"'
14339            ;;
14340          *)
14341            if test yes = "$GXX"; then
14342              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'
14343            else
14344              # FIXME: insert proper C++ library support
14345              ld_shlibs_CXX=no
14346            fi
14347            ;;
14348        esac
14349        ;;
14350
14351      hpux10*|hpux11*)
14352        if test no = "$with_gnu_ld"; then
14353	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14354	  hardcode_libdir_separator_CXX=:
14355
14356          case $host_cpu in
14357            hppa*64*|ia64*)
14358              ;;
14359            *)
14360	      export_dynamic_flag_spec_CXX='$wl-E'
14361              ;;
14362          esac
14363        fi
14364        case $host_cpu in
14365          hppa*64*|ia64*)
14366            hardcode_direct_CXX=no
14367            hardcode_shlibpath_var_CXX=no
14368            ;;
14369          *)
14370            hardcode_direct_CXX=yes
14371            hardcode_direct_absolute_CXX=yes
14372            hardcode_minus_L_CXX=yes # Not in the search PATH,
14373					         # but as the default
14374					         # location of the library.
14375            ;;
14376        esac
14377
14378        case $cc_basename in
14379          CC*)
14380	    # FIXME: insert proper C++ library support
14381	    ld_shlibs_CXX=no
14382	    ;;
14383          aCC*)
14384	    case $host_cpu in
14385	      hppa*64*)
14386	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14387	        ;;
14388	      ia64*)
14389	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14390	        ;;
14391	      *)
14392	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14393	        ;;
14394	    esac
14395	    # Commands to make compiler produce verbose output that lists
14396	    # what "hidden" libraries, object files and flags are used when
14397	    # linking a shared library.
14398	    #
14399	    # There doesn't appear to be a way to prevent this compiler from
14400	    # explicitly linking system object files so we need to strip them
14401	    # from the output so that they don't get included in the library
14402	    # dependencies.
14403	    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"'
14404	    ;;
14405          *)
14406	    if test yes = "$GXX"; then
14407	      if test no = "$with_gnu_ld"; then
14408	        case $host_cpu in
14409	          hppa*64*)
14410	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14411	            ;;
14412	          ia64*)
14413	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14414	            ;;
14415	          *)
14416	            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'
14417	            ;;
14418	        esac
14419	      fi
14420	    else
14421	      # FIXME: insert proper C++ library support
14422	      ld_shlibs_CXX=no
14423	    fi
14424	    ;;
14425        esac
14426        ;;
14427
14428      interix[3-9]*)
14429	hardcode_direct_CXX=no
14430	hardcode_shlibpath_var_CXX=no
14431	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14432	export_dynamic_flag_spec_CXX='$wl-E'
14433	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14434	# Instead, shared libraries are loaded at an image base (0x10000000 by
14435	# default) and relocated if they conflict, which is a slow very memory
14436	# consuming and fragmenting process.  To avoid this, we pick a random,
14437	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14438	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14439	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'
14440	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'
14441	;;
14442      irix5* | irix6*)
14443        case $cc_basename in
14444          CC*)
14445	    # SGI C++
14446	    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'
14447
14448	    # Archives containing C++ object files must be created using
14449	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14450	    # necessary to make sure instantiated templates are included
14451	    # in the archive.
14452	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14453	    ;;
14454          *)
14455	    if test yes = "$GXX"; then
14456	      if test no = "$with_gnu_ld"; then
14457	        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'
14458	      else
14459	        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'
14460	      fi
14461	    fi
14462	    link_all_deplibs_CXX=yes
14463	    ;;
14464        esac
14465        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14466        hardcode_libdir_separator_CXX=:
14467        inherit_rpath_CXX=yes
14468        ;;
14469
14470      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14471        case $cc_basename in
14472          KCC*)
14473	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14474
14475	    # KCC will only create a shared library if the output file
14476	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14477	    # to its proper name (with version) after linking.
14478	    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'
14479	    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'
14480	    # Commands to make compiler produce verbose output that lists
14481	    # what "hidden" libraries, object files and flags are used when
14482	    # linking a shared library.
14483	    #
14484	    # There doesn't appear to be a way to prevent this compiler from
14485	    # explicitly linking system object files so we need to strip them
14486	    # from the output so that they don't get included in the library
14487	    # dependencies.
14488	    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"'
14489
14490	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14491	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14492
14493	    # Archives containing C++ object files must be created using
14494	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14495	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14496	    ;;
14497	  icpc* | ecpc* )
14498	    # Intel C++
14499	    with_gnu_ld=yes
14500	    # version 8.0 and above of icpc choke on multiply defined symbols
14501	    # if we add $predep_objects and $postdep_objects, however 7.1 and
14502	    # earlier do not add the objects themselves.
14503	    case `$CC -V 2>&1` in
14504	      *"Version 7."*)
14505	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14506		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'
14507		;;
14508	      *)  # Version 8.0 or newer
14509	        tmp_idyn=
14510	        case $host_cpu in
14511		  ia64*) tmp_idyn=' -i_dynamic';;
14512		esac
14513	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14514		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'
14515		;;
14516	    esac
14517	    archive_cmds_need_lc_CXX=no
14518	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14519	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14520	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14521	    ;;
14522          pgCC* | pgcpp*)
14523            # Portland Group C++ compiler
14524	    case `$CC -V` in
14525	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14526	      prelink_cmds_CXX='tpldir=Template.dir~
14527               rm -rf $tpldir~
14528               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14529               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14530	      old_archive_cmds_CXX='tpldir=Template.dir~
14531                rm -rf $tpldir~
14532                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14533                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14534                $RANLIB $oldlib'
14535	      archive_cmds_CXX='tpldir=Template.dir~
14536                rm -rf $tpldir~
14537                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14538                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14539	      archive_expsym_cmds_CXX='tpldir=Template.dir~
14540                rm -rf $tpldir~
14541                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14542                $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'
14543	      ;;
14544	    *) # Version 6 and above use weak symbols
14545	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14546	      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'
14547	      ;;
14548	    esac
14549
14550	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14551	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14552	    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'
14553            ;;
14554	  cxx*)
14555	    # Compaq C++
14556	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14557	    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'
14558
14559	    runpath_var=LD_RUN_PATH
14560	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14561	    hardcode_libdir_separator_CXX=:
14562
14563	    # Commands to make compiler produce verbose output that lists
14564	    # what "hidden" libraries, object files and flags are used when
14565	    # linking a shared library.
14566	    #
14567	    # There doesn't appear to be a way to prevent this compiler from
14568	    # explicitly linking system object files so we need to strip them
14569	    # from the output so that they don't get included in the library
14570	    # dependencies.
14571	    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'
14572	    ;;
14573	  xl* | mpixl* | bgxl*)
14574	    # IBM XL 8.0 on PPC, with GNU ld
14575	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14576	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14577	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14578	    if test yes = "$supports_anon_versioning"; then
14579	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14580                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14581                echo "local: *; };" >> $output_objdir/$libname.ver~
14582                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14583	    fi
14584	    ;;
14585	  *)
14586	    case `$CC -V 2>&1 | sed 5q` in
14587	    *Sun\ C*)
14588	      # Sun C++ 5.9
14589	      no_undefined_flag_CXX=' -zdefs'
14590	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14591	      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'
14592	      hardcode_libdir_flag_spec_CXX='-R$libdir'
14593	      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'
14594	      compiler_needs_object_CXX=yes
14595
14596	      # Not sure whether something based on
14597	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14598	      # would be better.
14599	      output_verbose_link_cmd='func_echo_all'
14600
14601	      # Archives containing C++ object files must be created using
14602	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14603	      # necessary to make sure instantiated templates are included
14604	      # in the archive.
14605	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14606	      ;;
14607	    esac
14608	    ;;
14609	esac
14610	;;
14611
14612      lynxos*)
14613        # FIXME: insert proper C++ library support
14614	ld_shlibs_CXX=no
14615	;;
14616
14617      m88k*)
14618        # FIXME: insert proper C++ library support
14619        ld_shlibs_CXX=no
14620	;;
14621
14622      mvs*)
14623        case $cc_basename in
14624          cxx*)
14625	    # FIXME: insert proper C++ library support
14626	    ld_shlibs_CXX=no
14627	    ;;
14628	  *)
14629	    # FIXME: insert proper C++ library support
14630	    ld_shlibs_CXX=no
14631	    ;;
14632	esac
14633	;;
14634
14635      netbsd*)
14636        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14637	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14638	  wlarc=
14639	  hardcode_libdir_flag_spec_CXX='-R$libdir'
14640	  hardcode_direct_CXX=yes
14641	  hardcode_shlibpath_var_CXX=no
14642	fi
14643	# Workaround some broken pre-1.5 toolchains
14644	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14645	;;
14646
14647      *nto* | *qnx*)
14648        ld_shlibs_CXX=yes
14649	;;
14650
14651      openbsd* | bitrig*)
14652	if test -f /usr/libexec/ld.so; then
14653	  hardcode_direct_CXX=yes
14654	  hardcode_shlibpath_var_CXX=no
14655	  hardcode_direct_absolute_CXX=yes
14656	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14657	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14658	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14659	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14660	    export_dynamic_flag_spec_CXX='$wl-E'
14661	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14662	  fi
14663	  output_verbose_link_cmd=func_echo_all
14664	else
14665	  ld_shlibs_CXX=no
14666	fi
14667	;;
14668
14669      osf3* | osf4* | osf5*)
14670        case $cc_basename in
14671          KCC*)
14672	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14673
14674	    # KCC will only create a shared library if the output file
14675	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14676	    # to its proper name (with version) after linking.
14677	    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'
14678
14679	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14680	    hardcode_libdir_separator_CXX=:
14681
14682	    # Archives containing C++ object files must be created using
14683	    # the KAI C++ compiler.
14684	    case $host in
14685	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14686	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14687	    esac
14688	    ;;
14689          RCC*)
14690	    # Rational C++ 2.4.1
14691	    # FIXME: insert proper C++ library support
14692	    ld_shlibs_CXX=no
14693	    ;;
14694          cxx*)
14695	    case $host in
14696	      osf3*)
14697	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14698	        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'
14699	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14700		;;
14701	      *)
14702	        allow_undefined_flag_CXX=' -expect_unresolved \*'
14703	        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'
14704	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14705                  echo "-hidden">> $lib.exp~
14706                  $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~
14707                  $RM $lib.exp'
14708	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14709		;;
14710	    esac
14711
14712	    hardcode_libdir_separator_CXX=:
14713
14714	    # Commands to make compiler produce verbose output that lists
14715	    # what "hidden" libraries, object files and flags are used when
14716	    # linking a shared library.
14717	    #
14718	    # There doesn't appear to be a way to prevent this compiler from
14719	    # explicitly linking system object files so we need to strip them
14720	    # from the output so that they don't get included in the library
14721	    # dependencies.
14722	    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"'
14723	    ;;
14724	  *)
14725	    if test yes,no = "$GXX,$with_gnu_ld"; then
14726	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14727	      case $host in
14728	        osf3*)
14729	          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'
14730		  ;;
14731	        *)
14732	          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'
14733		  ;;
14734	      esac
14735
14736	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14737	      hardcode_libdir_separator_CXX=:
14738
14739	      # Commands to make compiler produce verbose output that lists
14740	      # what "hidden" libraries, object files and flags are used when
14741	      # linking a shared library.
14742	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14743
14744	    else
14745	      # FIXME: insert proper C++ library support
14746	      ld_shlibs_CXX=no
14747	    fi
14748	    ;;
14749        esac
14750        ;;
14751
14752      psos*)
14753        # FIXME: insert proper C++ library support
14754        ld_shlibs_CXX=no
14755        ;;
14756
14757      sunos4*)
14758        case $cc_basename in
14759          CC*)
14760	    # Sun C++ 4.x
14761	    # FIXME: insert proper C++ library support
14762	    ld_shlibs_CXX=no
14763	    ;;
14764          lcc*)
14765	    # Lucid
14766	    # FIXME: insert proper C++ library support
14767	    ld_shlibs_CXX=no
14768	    ;;
14769          *)
14770	    # FIXME: insert proper C++ library support
14771	    ld_shlibs_CXX=no
14772	    ;;
14773        esac
14774        ;;
14775
14776      solaris*)
14777        case $cc_basename in
14778          CC* | sunCC*)
14779	    # Sun C++ 4.2, 5.x and Centerline C++
14780            archive_cmds_need_lc_CXX=yes
14781	    no_undefined_flag_CXX=' -zdefs'
14782	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14783	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14784              $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'
14785
14786	    hardcode_libdir_flag_spec_CXX='-R$libdir'
14787	    hardcode_shlibpath_var_CXX=no
14788	    case $host_os in
14789	      solaris2.[0-5] | solaris2.[0-5].*) ;;
14790	      *)
14791		# The compiler driver will combine and reorder linker options,
14792		# but understands '-z linker_flag'.
14793	        # Supported since Solaris 2.6 (maybe 2.5.1?)
14794		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14795	        ;;
14796	    esac
14797	    link_all_deplibs_CXX=yes
14798
14799	    output_verbose_link_cmd='func_echo_all'
14800
14801	    # Archives containing C++ object files must be created using
14802	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14803	    # necessary to make sure instantiated templates are included
14804	    # in the archive.
14805	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14806	    ;;
14807          gcx*)
14808	    # Green Hills C++ Compiler
14809	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14810
14811	    # The C++ compiler must be used to create the archive.
14812	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14813	    ;;
14814          *)
14815	    # GNU C++ compiler with Solaris linker
14816	    if test yes,no = "$GXX,$with_gnu_ld"; then
14817	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
14818	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14819	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14820	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14821                  $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'
14822
14823	        # Commands to make compiler produce verbose output that lists
14824	        # what "hidden" libraries, object files and flags are used when
14825	        # linking a shared library.
14826	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14827	      else
14828	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
14829	        # platform.
14830	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14831	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14832                  $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'
14833
14834	        # Commands to make compiler produce verbose output that lists
14835	        # what "hidden" libraries, object files and flags are used when
14836	        # linking a shared library.
14837	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14838	      fi
14839
14840	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14841	      case $host_os in
14842		solaris2.[0-5] | solaris2.[0-5].*) ;;
14843		*)
14844		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14845		  ;;
14846	      esac
14847	    fi
14848	    ;;
14849        esac
14850        ;;
14851
14852    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14853      no_undefined_flag_CXX='$wl-z,text'
14854      archive_cmds_need_lc_CXX=no
14855      hardcode_shlibpath_var_CXX=no
14856      runpath_var='LD_RUN_PATH'
14857
14858      case $cc_basename in
14859        CC*)
14860	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14861	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14862	  ;;
14863	*)
14864	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14865	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14866	  ;;
14867      esac
14868      ;;
14869
14870      sysv5* | sco3.2v5* | sco5v6*)
14871	# Note: We CANNOT use -z defs as we might desire, because we do not
14872	# link with -lc, and that would cause any symbols used from libc to
14873	# always be unresolved, which means just about no library would
14874	# ever link correctly.  If we're not using GNU ld we use -z text
14875	# though, which does catch some bad symbols but isn't as heavy-handed
14876	# as -z defs.
14877	no_undefined_flag_CXX='$wl-z,text'
14878	allow_undefined_flag_CXX='$wl-z,nodefs'
14879	archive_cmds_need_lc_CXX=no
14880	hardcode_shlibpath_var_CXX=no
14881	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14882	hardcode_libdir_separator_CXX=':'
14883	link_all_deplibs_CXX=yes
14884	export_dynamic_flag_spec_CXX='$wl-Bexport'
14885	runpath_var='LD_RUN_PATH'
14886
14887	case $cc_basename in
14888          CC*)
14889	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14890	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14891	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14892              '"$old_archive_cmds_CXX"
14893	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14894              '"$reload_cmds_CXX"
14895	    ;;
14896	  *)
14897	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14898	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14899	    ;;
14900	esac
14901      ;;
14902
14903      tandem*)
14904        case $cc_basename in
14905          NCC*)
14906	    # NonStop-UX NCC 3.20
14907	    # FIXME: insert proper C++ library support
14908	    ld_shlibs_CXX=no
14909	    ;;
14910          *)
14911	    # FIXME: insert proper C++ library support
14912	    ld_shlibs_CXX=no
14913	    ;;
14914        esac
14915        ;;
14916
14917      vxworks*)
14918        # FIXME: insert proper C++ library support
14919        ld_shlibs_CXX=no
14920        ;;
14921
14922      *)
14923        # FIXME: insert proper C++ library support
14924        ld_shlibs_CXX=no
14925        ;;
14926    esac
14927
14928    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14929$as_echo "$ld_shlibs_CXX" >&6; }
14930    test no = "$ld_shlibs_CXX" && can_build_shared=no
14931
14932    GCC_CXX=$GXX
14933    LD_CXX=$LD
14934
14935    ## CAVEAT EMPTOR:
14936    ## There is no encapsulation within the following macros, do not change
14937    ## the running order or otherwise move them around unless you know exactly
14938    ## what you are doing...
14939    # Dependencies to place before and after the object being linked:
14940predep_objects_CXX=
14941postdep_objects_CXX=
14942predeps_CXX=
14943postdeps_CXX=
14944compiler_lib_search_path_CXX=
14945
14946cat > conftest.$ac_ext <<_LT_EOF
14947class Foo
14948{
14949public:
14950  Foo (void) { a = 0; }
14951private:
14952  int a;
14953};
14954_LT_EOF
14955
14956
14957_lt_libdeps_save_CFLAGS=$CFLAGS
14958case "$CC $CFLAGS " in #(
14959*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14960*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14961*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14962esac
14963
14964if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14965  (eval $ac_compile) 2>&5
14966  ac_status=$?
14967  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14968  test $ac_status = 0; }; then
14969  # Parse the compiler output and extract the necessary
14970  # objects, libraries and library flags.
14971
14972  # Sentinel used to keep track of whether or not we are before
14973  # the conftest object file.
14974  pre_test_object_deps_done=no
14975
14976  for p in `eval "$output_verbose_link_cmd"`; do
14977    case $prev$p in
14978
14979    -L* | -R* | -l*)
14980       # Some compilers place space between "-{L,R}" and the path.
14981       # Remove the space.
14982       if test x-L = "$p" ||
14983          test x-R = "$p"; then
14984	 prev=$p
14985	 continue
14986       fi
14987
14988       # Expand the sysroot to ease extracting the directories later.
14989       if test -z "$prev"; then
14990         case $p in
14991         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14992         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14993         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14994         esac
14995       fi
14996       case $p in
14997       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14998       esac
14999       if test no = "$pre_test_object_deps_done"; then
15000	 case $prev in
15001	 -L | -R)
15002	   # Internal compiler library paths should come after those
15003	   # provided the user.  The postdeps already come after the
15004	   # user supplied libs so there is no need to process them.
15005	   if test -z "$compiler_lib_search_path_CXX"; then
15006	     compiler_lib_search_path_CXX=$prev$p
15007	   else
15008	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15009	   fi
15010	   ;;
15011	 # The "-l" case would never come before the object being
15012	 # linked, so don't bother handling this case.
15013	 esac
15014       else
15015	 if test -z "$postdeps_CXX"; then
15016	   postdeps_CXX=$prev$p
15017	 else
15018	   postdeps_CXX="${postdeps_CXX} $prev$p"
15019	 fi
15020       fi
15021       prev=
15022       ;;
15023
15024    *.lto.$objext) ;; # Ignore GCC LTO objects
15025    *.$objext)
15026       # This assumes that the test object file only shows up
15027       # once in the compiler output.
15028       if test "$p" = "conftest.$objext"; then
15029	 pre_test_object_deps_done=yes
15030	 continue
15031       fi
15032
15033       if test no = "$pre_test_object_deps_done"; then
15034	 if test -z "$predep_objects_CXX"; then
15035	   predep_objects_CXX=$p
15036	 else
15037	   predep_objects_CXX="$predep_objects_CXX $p"
15038	 fi
15039       else
15040	 if test -z "$postdep_objects_CXX"; then
15041	   postdep_objects_CXX=$p
15042	 else
15043	   postdep_objects_CXX="$postdep_objects_CXX $p"
15044	 fi
15045       fi
15046       ;;
15047
15048    *) ;; # Ignore the rest.
15049
15050    esac
15051  done
15052
15053  # Clean up.
15054  rm -f a.out a.exe
15055else
15056  echo "libtool.m4: error: problem compiling CXX test program"
15057fi
15058
15059$RM -f confest.$objext
15060CFLAGS=$_lt_libdeps_save_CFLAGS
15061
15062# PORTME: override above test on systems where it is broken
15063case $host_os in
15064interix[3-9]*)
15065  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15066  # hack all around it, let's just trust "g++" to DTRT.
15067  predep_objects_CXX=
15068  postdep_objects_CXX=
15069  postdeps_CXX=
15070  ;;
15071esac
15072
15073
15074case " $postdeps_CXX " in
15075*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15076esac
15077 compiler_lib_search_dirs_CXX=
15078if test -n "${compiler_lib_search_path_CXX}"; then
15079 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15080fi
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112    lt_prog_compiler_wl_CXX=
15113lt_prog_compiler_pic_CXX=
15114lt_prog_compiler_static_CXX=
15115
15116
15117  # C++ specific cases for pic, static, wl, etc.
15118  if test yes = "$GXX"; then
15119    lt_prog_compiler_wl_CXX='-Wl,'
15120    lt_prog_compiler_static_CXX='-static'
15121
15122    case $host_os in
15123    aix*)
15124      # All AIX code is PIC.
15125      if test ia64 = "$host_cpu"; then
15126	# AIX 5 now supports IA64 processor
15127	lt_prog_compiler_static_CXX='-Bstatic'
15128      fi
15129      lt_prog_compiler_pic_CXX='-fPIC'
15130      ;;
15131
15132    amigaos*)
15133      case $host_cpu in
15134      powerpc)
15135            # see comment about AmigaOS4 .so support
15136            lt_prog_compiler_pic_CXX='-fPIC'
15137        ;;
15138      m68k)
15139            # FIXME: we need at least 68020 code to build shared libraries, but
15140            # adding the '-m68020' flag to GCC prevents building anything better,
15141            # like '-m68040'.
15142            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15143        ;;
15144      esac
15145      ;;
15146
15147    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15148      # PIC is the default for these OSes.
15149      ;;
15150    mingw* | cygwin* | os2* | pw32* | cegcc*)
15151      # This hack is so that the source file can tell whether it is being
15152      # built for inclusion in a dll (and should export symbols for example).
15153      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15154      # (--disable-auto-import) libraries
15155      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15156      case $host_os in
15157      os2*)
15158	lt_prog_compiler_static_CXX='$wl-static'
15159	;;
15160      esac
15161      ;;
15162    darwin* | rhapsody*)
15163      # PIC is the default on this platform
15164      # Common symbols not allowed in MH_DYLIB files
15165      lt_prog_compiler_pic_CXX='-fno-common'
15166      ;;
15167    *djgpp*)
15168      # DJGPP does not support shared libraries at all
15169      lt_prog_compiler_pic_CXX=
15170      ;;
15171    haiku*)
15172      # PIC is the default for Haiku.
15173      # The "-static" flag exists, but is broken.
15174      lt_prog_compiler_static_CXX=
15175      ;;
15176    interix[3-9]*)
15177      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15178      # Instead, we relocate shared libraries at runtime.
15179      ;;
15180    sysv4*MP*)
15181      if test -d /usr/nec; then
15182	lt_prog_compiler_pic_CXX=-Kconform_pic
15183      fi
15184      ;;
15185    hpux*)
15186      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15187      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15188      # sets the default TLS model and affects inlining.
15189      case $host_cpu in
15190      hppa*64*)
15191	;;
15192      *)
15193	lt_prog_compiler_pic_CXX='-fPIC'
15194	;;
15195      esac
15196      ;;
15197    *qnx* | *nto*)
15198      # QNX uses GNU C++, but need to define -shared option too, otherwise
15199      # it will coredump.
15200      lt_prog_compiler_pic_CXX='-fPIC -shared'
15201      ;;
15202    *)
15203      lt_prog_compiler_pic_CXX='-fPIC'
15204      ;;
15205    esac
15206  else
15207    case $host_os in
15208      aix[4-9]*)
15209	# All AIX code is PIC.
15210	if test ia64 = "$host_cpu"; then
15211	  # AIX 5 now supports IA64 processor
15212	  lt_prog_compiler_static_CXX='-Bstatic'
15213	else
15214	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15215	fi
15216	;;
15217      chorus*)
15218	case $cc_basename in
15219	cxch68*)
15220	  # Green Hills C++ Compiler
15221	  # _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"
15222	  ;;
15223	esac
15224	;;
15225      mingw* | cygwin* | os2* | pw32* | cegcc*)
15226	# This hack is so that the source file can tell whether it is being
15227	# built for inclusion in a dll (and should export symbols for example).
15228	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15229	;;
15230      dgux*)
15231	case $cc_basename in
15232	  ec++*)
15233	    lt_prog_compiler_pic_CXX='-KPIC'
15234	    ;;
15235	  ghcx*)
15236	    # Green Hills C++ Compiler
15237	    lt_prog_compiler_pic_CXX='-pic'
15238	    ;;
15239	  *)
15240	    ;;
15241	esac
15242	;;
15243      freebsd* | dragonfly*)
15244	# FreeBSD uses GNU C++
15245	;;
15246      hpux9* | hpux10* | hpux11*)
15247	case $cc_basename in
15248	  CC*)
15249	    lt_prog_compiler_wl_CXX='-Wl,'
15250	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15251	    if test ia64 != "$host_cpu"; then
15252	      lt_prog_compiler_pic_CXX='+Z'
15253	    fi
15254	    ;;
15255	  aCC*)
15256	    lt_prog_compiler_wl_CXX='-Wl,'
15257	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15258	    case $host_cpu in
15259	    hppa*64*|ia64*)
15260	      # +Z the default
15261	      ;;
15262	    *)
15263	      lt_prog_compiler_pic_CXX='+Z'
15264	      ;;
15265	    esac
15266	    ;;
15267	  *)
15268	    ;;
15269	esac
15270	;;
15271      interix*)
15272	# This is c89, which is MS Visual C++ (no shared libs)
15273	# Anyone wants to do a port?
15274	;;
15275      irix5* | irix6* | nonstopux*)
15276	case $cc_basename in
15277	  CC*)
15278	    lt_prog_compiler_wl_CXX='-Wl,'
15279	    lt_prog_compiler_static_CXX='-non_shared'
15280	    # CC pic flag -KPIC is the default.
15281	    ;;
15282	  *)
15283	    ;;
15284	esac
15285	;;
15286      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15287	case $cc_basename in
15288	  KCC*)
15289	    # KAI C++ Compiler
15290	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15291	    lt_prog_compiler_pic_CXX='-fPIC'
15292	    ;;
15293	  ecpc* )
15294	    # old Intel C++ for x86_64, which still supported -KPIC.
15295	    lt_prog_compiler_wl_CXX='-Wl,'
15296	    lt_prog_compiler_pic_CXX='-KPIC'
15297	    lt_prog_compiler_static_CXX='-static'
15298	    ;;
15299	  icpc* )
15300	    # Intel C++, used to be incompatible with GCC.
15301	    # ICC 10 doesn't accept -KPIC any more.
15302	    lt_prog_compiler_wl_CXX='-Wl,'
15303	    lt_prog_compiler_pic_CXX='-fPIC'
15304	    lt_prog_compiler_static_CXX='-static'
15305	    ;;
15306	  pgCC* | pgcpp*)
15307	    # Portland Group C++ compiler
15308	    lt_prog_compiler_wl_CXX='-Wl,'
15309	    lt_prog_compiler_pic_CXX='-fpic'
15310	    lt_prog_compiler_static_CXX='-Bstatic'
15311	    ;;
15312	  cxx*)
15313	    # Compaq C++
15314	    # Make sure the PIC flag is empty.  It appears that all Alpha
15315	    # Linux and Compaq Tru64 Unix objects are PIC.
15316	    lt_prog_compiler_pic_CXX=
15317	    lt_prog_compiler_static_CXX='-non_shared'
15318	    ;;
15319	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15320	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15321	    lt_prog_compiler_wl_CXX='-Wl,'
15322	    lt_prog_compiler_pic_CXX='-qpic'
15323	    lt_prog_compiler_static_CXX='-qstaticlink'
15324	    ;;
15325	  *)
15326	    case `$CC -V 2>&1 | sed 5q` in
15327	    *Sun\ C*)
15328	      # Sun C++ 5.9
15329	      lt_prog_compiler_pic_CXX='-KPIC'
15330	      lt_prog_compiler_static_CXX='-Bstatic'
15331	      lt_prog_compiler_wl_CXX='-Qoption ld '
15332	      ;;
15333	    esac
15334	    ;;
15335	esac
15336	;;
15337      lynxos*)
15338	;;
15339      m88k*)
15340	;;
15341      mvs*)
15342	case $cc_basename in
15343	  cxx*)
15344	    lt_prog_compiler_pic_CXX='-W c,exportall'
15345	    ;;
15346	  *)
15347	    ;;
15348	esac
15349	;;
15350      netbsd*)
15351	;;
15352      *qnx* | *nto*)
15353        # QNX uses GNU C++, but need to define -shared option too, otherwise
15354        # it will coredump.
15355        lt_prog_compiler_pic_CXX='-fPIC -shared'
15356        ;;
15357      osf3* | osf4* | osf5*)
15358	case $cc_basename in
15359	  KCC*)
15360	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15361	    ;;
15362	  RCC*)
15363	    # Rational C++ 2.4.1
15364	    lt_prog_compiler_pic_CXX='-pic'
15365	    ;;
15366	  cxx*)
15367	    # Digital/Compaq C++
15368	    lt_prog_compiler_wl_CXX='-Wl,'
15369	    # Make sure the PIC flag is empty.  It appears that all Alpha
15370	    # Linux and Compaq Tru64 Unix objects are PIC.
15371	    lt_prog_compiler_pic_CXX=
15372	    lt_prog_compiler_static_CXX='-non_shared'
15373	    ;;
15374	  *)
15375	    ;;
15376	esac
15377	;;
15378      psos*)
15379	;;
15380      solaris*)
15381	case $cc_basename in
15382	  CC* | sunCC*)
15383	    # Sun C++ 4.2, 5.x and Centerline C++
15384	    lt_prog_compiler_pic_CXX='-KPIC'
15385	    lt_prog_compiler_static_CXX='-Bstatic'
15386	    lt_prog_compiler_wl_CXX='-Qoption ld '
15387	    ;;
15388	  gcx*)
15389	    # Green Hills C++ Compiler
15390	    lt_prog_compiler_pic_CXX='-PIC'
15391	    ;;
15392	  *)
15393	    ;;
15394	esac
15395	;;
15396      sunos4*)
15397	case $cc_basename in
15398	  CC*)
15399	    # Sun C++ 4.x
15400	    lt_prog_compiler_pic_CXX='-pic'
15401	    lt_prog_compiler_static_CXX='-Bstatic'
15402	    ;;
15403	  lcc*)
15404	    # Lucid
15405	    lt_prog_compiler_pic_CXX='-pic'
15406	    ;;
15407	  *)
15408	    ;;
15409	esac
15410	;;
15411      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15412	case $cc_basename in
15413	  CC*)
15414	    lt_prog_compiler_wl_CXX='-Wl,'
15415	    lt_prog_compiler_pic_CXX='-KPIC'
15416	    lt_prog_compiler_static_CXX='-Bstatic'
15417	    ;;
15418	esac
15419	;;
15420      tandem*)
15421	case $cc_basename in
15422	  NCC*)
15423	    # NonStop-UX NCC 3.20
15424	    lt_prog_compiler_pic_CXX='-KPIC'
15425	    ;;
15426	  *)
15427	    ;;
15428	esac
15429	;;
15430      vxworks*)
15431	;;
15432      *)
15433	lt_prog_compiler_can_build_shared_CXX=no
15434	;;
15435    esac
15436  fi
15437
15438case $host_os in
15439  # For platforms that do not support PIC, -DPIC is meaningless:
15440  *djgpp*)
15441    lt_prog_compiler_pic_CXX=
15442    ;;
15443  *)
15444    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15445    ;;
15446esac
15447
15448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15449$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15450if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15451  $as_echo_n "(cached) " >&6
15452else
15453  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15454fi
15455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15456$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15457lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15458
15459#
15460# Check to make sure the PIC flag actually works.
15461#
15462if test -n "$lt_prog_compiler_pic_CXX"; then
15463  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15464$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15465if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15466  $as_echo_n "(cached) " >&6
15467else
15468  lt_cv_prog_compiler_pic_works_CXX=no
15469   ac_outfile=conftest.$ac_objext
15470   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15471   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15472   # Insert the option either (1) after the last *FLAGS variable, or
15473   # (2) before a word containing "conftest.", or (3) at the end.
15474   # Note that $ac_compile itself does not contain backslashes and begins
15475   # with a dollar sign (not a hyphen), so the echo should work correctly.
15476   # The option is referenced via a variable to avoid confusing sed.
15477   lt_compile=`echo "$ac_compile" | $SED \
15478   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15479   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15480   -e 's:$: $lt_compiler_flag:'`
15481   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15482   (eval "$lt_compile" 2>conftest.err)
15483   ac_status=$?
15484   cat conftest.err >&5
15485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486   if (exit $ac_status) && test -s "$ac_outfile"; then
15487     # The compiler can only warn and ignore the option if not recognized
15488     # So say no if there are warnings other than the usual output.
15489     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15490     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15491     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15492       lt_cv_prog_compiler_pic_works_CXX=yes
15493     fi
15494   fi
15495   $RM conftest*
15496
15497fi
15498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15499$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15500
15501if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15502    case $lt_prog_compiler_pic_CXX in
15503     "" | " "*) ;;
15504     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15505     esac
15506else
15507    lt_prog_compiler_pic_CXX=
15508     lt_prog_compiler_can_build_shared_CXX=no
15509fi
15510
15511fi
15512
15513
15514
15515
15516
15517#
15518# Check to make sure the static flag actually works.
15519#
15520wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15522$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15523if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15524  $as_echo_n "(cached) " >&6
15525else
15526  lt_cv_prog_compiler_static_works_CXX=no
15527   save_LDFLAGS=$LDFLAGS
15528   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15529   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15530   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15531     # The linker can only warn and ignore the option if not recognized
15532     # So say no if there are warnings
15533     if test -s conftest.err; then
15534       # Append any errors to the config.log.
15535       cat conftest.err 1>&5
15536       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15537       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15538       if diff conftest.exp conftest.er2 >/dev/null; then
15539         lt_cv_prog_compiler_static_works_CXX=yes
15540       fi
15541     else
15542       lt_cv_prog_compiler_static_works_CXX=yes
15543     fi
15544   fi
15545   $RM -r conftest*
15546   LDFLAGS=$save_LDFLAGS
15547
15548fi
15549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15550$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15551
15552if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15553    :
15554else
15555    lt_prog_compiler_static_CXX=
15556fi
15557
15558
15559
15560
15561    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15562$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15563if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15564  $as_echo_n "(cached) " >&6
15565else
15566  lt_cv_prog_compiler_c_o_CXX=no
15567   $RM -r conftest 2>/dev/null
15568   mkdir conftest
15569   cd conftest
15570   mkdir out
15571   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15572
15573   lt_compiler_flag="-o out/conftest2.$ac_objext"
15574   # Insert the option either (1) after the last *FLAGS variable, or
15575   # (2) before a word containing "conftest.", or (3) at the end.
15576   # Note that $ac_compile itself does not contain backslashes and begins
15577   # with a dollar sign (not a hyphen), so the echo should work correctly.
15578   lt_compile=`echo "$ac_compile" | $SED \
15579   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15580   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15581   -e 's:$: $lt_compiler_flag:'`
15582   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15583   (eval "$lt_compile" 2>out/conftest.err)
15584   ac_status=$?
15585   cat out/conftest.err >&5
15586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15588   then
15589     # The compiler can only warn and ignore the option if not recognized
15590     # So say no if there are warnings
15591     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15592     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15593     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15594       lt_cv_prog_compiler_c_o_CXX=yes
15595     fi
15596   fi
15597   chmod u+w . 2>&5
15598   $RM conftest*
15599   # SGI C++ compiler will create directory out/ii_files/ for
15600   # template instantiation
15601   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15602   $RM out/* && rmdir out
15603   cd ..
15604   $RM -r conftest
15605   $RM conftest*
15606
15607fi
15608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15609$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15610
15611
15612
15613    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15614$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15615if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15616  $as_echo_n "(cached) " >&6
15617else
15618  lt_cv_prog_compiler_c_o_CXX=no
15619   $RM -r conftest 2>/dev/null
15620   mkdir conftest
15621   cd conftest
15622   mkdir out
15623   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15624
15625   lt_compiler_flag="-o out/conftest2.$ac_objext"
15626   # Insert the option either (1) after the last *FLAGS variable, or
15627   # (2) before a word containing "conftest.", or (3) at the end.
15628   # Note that $ac_compile itself does not contain backslashes and begins
15629   # with a dollar sign (not a hyphen), so the echo should work correctly.
15630   lt_compile=`echo "$ac_compile" | $SED \
15631   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15632   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15633   -e 's:$: $lt_compiler_flag:'`
15634   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15635   (eval "$lt_compile" 2>out/conftest.err)
15636   ac_status=$?
15637   cat out/conftest.err >&5
15638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15640   then
15641     # The compiler can only warn and ignore the option if not recognized
15642     # So say no if there are warnings
15643     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15644     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15645     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15646       lt_cv_prog_compiler_c_o_CXX=yes
15647     fi
15648   fi
15649   chmod u+w . 2>&5
15650   $RM conftest*
15651   # SGI C++ compiler will create directory out/ii_files/ for
15652   # template instantiation
15653   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15654   $RM out/* && rmdir out
15655   cd ..
15656   $RM -r conftest
15657   $RM conftest*
15658
15659fi
15660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15661$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15662
15663
15664
15665
15666hard_links=nottested
15667if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15668  # do not overwrite the value of need_locks provided by the user
15669  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15670$as_echo_n "checking if we can lock with hard links... " >&6; }
15671  hard_links=yes
15672  $RM conftest*
15673  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15674  touch conftest.a
15675  ln conftest.a conftest.b 2>&5 || hard_links=no
15676  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15678$as_echo "$hard_links" >&6; }
15679  if test no = "$hard_links"; then
15680    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15681$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15682    need_locks=warn
15683  fi
15684else
15685  need_locks=no
15686fi
15687
15688
15689
15690    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15691$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15692
15693  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15694  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15695  case $host_os in
15696  aix[4-9]*)
15697    # If we're using GNU nm, then we don't want the "-C" option.
15698    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15699    # Without the "-l" option, or with the "-B" option, AIX nm treats
15700    # weak defined symbols like other global defined symbols, whereas
15701    # GNU nm marks them as "W".
15702    # While the 'weak' keyword is ignored in the Export File, we need
15703    # it in the Import File for the 'aix-soname' feature, so we have
15704    # to replace the "-B" option with "-P" for AIX nm.
15705    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15706      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'
15707    else
15708      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'
15709    fi
15710    ;;
15711  pw32*)
15712    export_symbols_cmds_CXX=$ltdll_cmds
15713    ;;
15714  cygwin* | mingw* | cegcc*)
15715    case $cc_basename in
15716    cl*)
15717      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15718      ;;
15719    *)
15720      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'
15721      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15722      ;;
15723    esac
15724    ;;
15725  *)
15726    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15727    ;;
15728  esac
15729
15730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15731$as_echo "$ld_shlibs_CXX" >&6; }
15732test no = "$ld_shlibs_CXX" && can_build_shared=no
15733
15734with_gnu_ld_CXX=$with_gnu_ld
15735
15736
15737
15738
15739
15740
15741#
15742# Do we need to explicitly link libc?
15743#
15744case "x$archive_cmds_need_lc_CXX" in
15745x|xyes)
15746  # Assume -lc should be added
15747  archive_cmds_need_lc_CXX=yes
15748
15749  if test yes,yes = "$GCC,$enable_shared"; then
15750    case $archive_cmds_CXX in
15751    *'~'*)
15752      # FIXME: we may have to deal with multi-command sequences.
15753      ;;
15754    '$CC '*)
15755      # Test whether the compiler implicitly links with -lc since on some
15756      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15757      # to ld, don't add -lc before -lgcc.
15758      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15759$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15760if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15761  $as_echo_n "(cached) " >&6
15762else
15763  $RM conftest*
15764	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15765
15766	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15767  (eval $ac_compile) 2>&5
15768  ac_status=$?
15769  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15770  test $ac_status = 0; } 2>conftest.err; then
15771	  soname=conftest
15772	  lib=conftest
15773	  libobjs=conftest.$ac_objext
15774	  deplibs=
15775	  wl=$lt_prog_compiler_wl_CXX
15776	  pic_flag=$lt_prog_compiler_pic_CXX
15777	  compiler_flags=-v
15778	  linker_flags=-v
15779	  verstring=
15780	  output_objdir=.
15781	  libname=conftest
15782	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15783	  allow_undefined_flag_CXX=
15784	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15785  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15786  ac_status=$?
15787  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15788  test $ac_status = 0; }
15789	  then
15790	    lt_cv_archive_cmds_need_lc_CXX=no
15791	  else
15792	    lt_cv_archive_cmds_need_lc_CXX=yes
15793	  fi
15794	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15795	else
15796	  cat conftest.err 1>&5
15797	fi
15798	$RM conftest*
15799
15800fi
15801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15802$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15803      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15804      ;;
15805    esac
15806  fi
15807  ;;
15808esac
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15872$as_echo_n "checking dynamic linker characteristics... " >&6; }
15873
15874library_names_spec=
15875libname_spec='lib$name'
15876soname_spec=
15877shrext_cmds=.so
15878postinstall_cmds=
15879postuninstall_cmds=
15880finish_cmds=
15881finish_eval=
15882shlibpath_var=
15883shlibpath_overrides_runpath=unknown
15884version_type=none
15885dynamic_linker="$host_os ld.so"
15886sys_lib_dlsearch_path_spec="/lib /usr/lib"
15887need_lib_prefix=unknown
15888hardcode_into_libs=no
15889
15890# when you set need_version to no, make sure it does not cause -set_version
15891# flags to be left without arguments
15892need_version=unknown
15893
15894
15895
15896case $host_os in
15897aix3*)
15898  version_type=linux # correct to gnu/linux during the next big refactor
15899  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15900  shlibpath_var=LIBPATH
15901
15902  # AIX 3 has no versioning support, so we append a major version to the name.
15903  soname_spec='$libname$release$shared_ext$major'
15904  ;;
15905
15906aix[4-9]*)
15907  version_type=linux # correct to gnu/linux during the next big refactor
15908  need_lib_prefix=no
15909  need_version=no
15910  hardcode_into_libs=yes
15911  if test ia64 = "$host_cpu"; then
15912    # AIX 5 supports IA64
15913    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15914    shlibpath_var=LD_LIBRARY_PATH
15915  else
15916    # With GCC up to 2.95.x, collect2 would create an import file
15917    # for dependence libraries.  The import file would start with
15918    # the line '#! .'.  This would cause the generated library to
15919    # depend on '.', always an invalid library.  This was fixed in
15920    # development snapshots of GCC prior to 3.0.
15921    case $host_os in
15922      aix4 | aix4.[01] | aix4.[01].*)
15923      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15924	   echo ' yes '
15925	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15926	:
15927      else
15928	can_build_shared=no
15929      fi
15930      ;;
15931    esac
15932    # Using Import Files as archive members, it is possible to support
15933    # filename-based versioning of shared library archives on AIX. While
15934    # this would work for both with and without runtime linking, it will
15935    # prevent static linking of such archives. So we do filename-based
15936    # shared library versioning with .so extension only, which is used
15937    # when both runtime linking and shared linking is enabled.
15938    # Unfortunately, runtime linking may impact performance, so we do
15939    # not want this to be the default eventually. Also, we use the
15940    # versioned .so libs for executables only if there is the -brtl
15941    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15942    # To allow for filename-based versioning support, we need to create
15943    # libNAME.so.V as an archive file, containing:
15944    # *) an Import File, referring to the versioned filename of the
15945    #    archive as well as the shared archive member, telling the
15946    #    bitwidth (32 or 64) of that shared object, and providing the
15947    #    list of exported symbols of that shared object, eventually
15948    #    decorated with the 'weak' keyword
15949    # *) the shared object with the F_LOADONLY flag set, to really avoid
15950    #    it being seen by the linker.
15951    # At run time we better use the real file rather than another symlink,
15952    # but for link time we create the symlink libNAME.so -> libNAME.so.V
15953
15954    case $with_aix_soname,$aix_use_runtimelinking in
15955    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15956    # soname into executable. Probably we can add versioning support to
15957    # collect2, so additional links can be useful in future.
15958    aix,yes) # traditional libtool
15959      dynamic_linker='AIX unversionable lib.so'
15960      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15961      # instead of lib<name>.a to let people know that these are not
15962      # typical AIX shared libraries.
15963      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15964      ;;
15965    aix,no) # traditional AIX only
15966      dynamic_linker='AIX lib.a(lib.so.V)'
15967      # We preserve .a as extension for shared libraries through AIX4.2
15968      # and later when we are not doing run time linking.
15969      library_names_spec='$libname$release.a $libname.a'
15970      soname_spec='$libname$release$shared_ext$major'
15971      ;;
15972    svr4,*) # full svr4 only
15973      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15974      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15975      # We do not specify a path in Import Files, so LIBPATH fires.
15976      shlibpath_overrides_runpath=yes
15977      ;;
15978    *,yes) # both, prefer svr4
15979      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15980      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15981      # unpreferred sharedlib libNAME.a needs extra handling
15982      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"'
15983      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"'
15984      # We do not specify a path in Import Files, so LIBPATH fires.
15985      shlibpath_overrides_runpath=yes
15986      ;;
15987    *,no) # both, prefer aix
15988      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15989      library_names_spec='$libname$release.a $libname.a'
15990      soname_spec='$libname$release$shared_ext$major'
15991      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15992      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)'
15993      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"'
15994      ;;
15995    esac
15996    shlibpath_var=LIBPATH
15997  fi
15998  ;;
15999
16000amigaos*)
16001  case $host_cpu in
16002  powerpc)
16003    # Since July 2007 AmigaOS4 officially supports .so libraries.
16004    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16005    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16006    ;;
16007  m68k)
16008    library_names_spec='$libname.ixlibrary $libname.a'
16009    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16010    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'
16011    ;;
16012  esac
16013  ;;
16014
16015beos*)
16016  library_names_spec='$libname$shared_ext'
16017  dynamic_linker="$host_os ld.so"
16018  shlibpath_var=LIBRARY_PATH
16019  ;;
16020
16021bsdi[45]*)
16022  version_type=linux # correct to gnu/linux during the next big refactor
16023  need_version=no
16024  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16025  soname_spec='$libname$release$shared_ext$major'
16026  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16027  shlibpath_var=LD_LIBRARY_PATH
16028  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16029  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16030  # the default ld.so.conf also contains /usr/contrib/lib and
16031  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16032  # libtool to hard-code these into programs
16033  ;;
16034
16035cygwin* | mingw* | pw32* | cegcc*)
16036  version_type=windows
16037  shrext_cmds=.dll
16038  need_version=no
16039  need_lib_prefix=no
16040
16041  case $GCC,$cc_basename in
16042  yes,*)
16043    # gcc
16044    library_names_spec='$libname.dll.a'
16045    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16046    postinstall_cmds='base_file=`basename \$file`~
16047      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16048      dldir=$destdir/`dirname \$dlpath`~
16049      test -d \$dldir || mkdir -p \$dldir~
16050      $install_prog $dir/$dlname \$dldir/$dlname~
16051      chmod a+x \$dldir/$dlname~
16052      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16053        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16054      fi'
16055    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16056      dlpath=$dir/\$dldll~
16057       $RM \$dlpath'
16058    shlibpath_overrides_runpath=yes
16059
16060    case $host_os in
16061    cygwin*)
16062      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16063      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16064
16065      ;;
16066    mingw* | cegcc*)
16067      # MinGW DLLs use traditional 'lib' prefix
16068      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16069      ;;
16070    pw32*)
16071      # pw32 DLLs use 'pw' prefix rather than 'lib'
16072      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16073      ;;
16074    esac
16075    dynamic_linker='Win32 ld.exe'
16076    ;;
16077
16078  *,cl*)
16079    # Native MSVC
16080    libname_spec='$name'
16081    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16082    library_names_spec='$libname.dll.lib'
16083
16084    case $build_os in
16085    mingw*)
16086      sys_lib_search_path_spec=
16087      lt_save_ifs=$IFS
16088      IFS=';'
16089      for lt_path in $LIB
16090      do
16091        IFS=$lt_save_ifs
16092        # Let DOS variable expansion print the short 8.3 style file name.
16093        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16094        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16095      done
16096      IFS=$lt_save_ifs
16097      # Convert to MSYS style.
16098      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16099      ;;
16100    cygwin*)
16101      # Convert to unix form, then to dos form, then back to unix form
16102      # but this time dos style (no spaces!) so that the unix form looks
16103      # like /cygdrive/c/PROGRA~1:/cygdr...
16104      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16105      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16106      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16107      ;;
16108    *)
16109      sys_lib_search_path_spec=$LIB
16110      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16111        # It is most probably a Windows format PATH.
16112        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16113      else
16114        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16115      fi
16116      # FIXME: find the short name or the path components, as spaces are
16117      # common. (e.g. "Program Files" -> "PROGRA~1")
16118      ;;
16119    esac
16120
16121    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16122    postinstall_cmds='base_file=`basename \$file`~
16123      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16124      dldir=$destdir/`dirname \$dlpath`~
16125      test -d \$dldir || mkdir -p \$dldir~
16126      $install_prog $dir/$dlname \$dldir/$dlname'
16127    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16128      dlpath=$dir/\$dldll~
16129       $RM \$dlpath'
16130    shlibpath_overrides_runpath=yes
16131    dynamic_linker='Win32 link.exe'
16132    ;;
16133
16134  *)
16135    # Assume MSVC wrapper
16136    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16137    dynamic_linker='Win32 ld.exe'
16138    ;;
16139  esac
16140  # FIXME: first we should search . and the directory the executable is in
16141  shlibpath_var=PATH
16142  ;;
16143
16144darwin* | rhapsody*)
16145  dynamic_linker="$host_os dyld"
16146  version_type=darwin
16147  need_lib_prefix=no
16148  need_version=no
16149  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16150  soname_spec='$libname$release$major$shared_ext'
16151  shlibpath_overrides_runpath=yes
16152  shlibpath_var=DYLD_LIBRARY_PATH
16153  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16154
16155  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16156  ;;
16157
16158dgux*)
16159  version_type=linux # correct to gnu/linux during the next big refactor
16160  need_lib_prefix=no
16161  need_version=no
16162  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16163  soname_spec='$libname$release$shared_ext$major'
16164  shlibpath_var=LD_LIBRARY_PATH
16165  ;;
16166
16167freebsd* | dragonfly*)
16168  # DragonFly does not have aout.  When/if they implement a new
16169  # versioning mechanism, adjust this.
16170  if test -x /usr/bin/objformat; then
16171    objformat=`/usr/bin/objformat`
16172  else
16173    case $host_os in
16174    freebsd[23].*) objformat=aout ;;
16175    *) objformat=elf ;;
16176    esac
16177  fi
16178  version_type=freebsd-$objformat
16179  case $version_type in
16180    freebsd-elf*)
16181      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16182      soname_spec='$libname$release$shared_ext$major'
16183      need_version=no
16184      need_lib_prefix=no
16185      ;;
16186    freebsd-*)
16187      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16188      need_version=yes
16189      ;;
16190  esac
16191  shlibpath_var=LD_LIBRARY_PATH
16192  case $host_os in
16193  freebsd2.*)
16194    shlibpath_overrides_runpath=yes
16195    ;;
16196  freebsd3.[01]* | freebsdelf3.[01]*)
16197    shlibpath_overrides_runpath=yes
16198    hardcode_into_libs=yes
16199    ;;
16200  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16201  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16202    shlibpath_overrides_runpath=no
16203    hardcode_into_libs=yes
16204    ;;
16205  *) # from 4.6 on, and DragonFly
16206    shlibpath_overrides_runpath=yes
16207    hardcode_into_libs=yes
16208    ;;
16209  esac
16210  ;;
16211
16212haiku*)
16213  version_type=linux # correct to gnu/linux during the next big refactor
16214  need_lib_prefix=no
16215  need_version=no
16216  dynamic_linker="$host_os runtime_loader"
16217  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16218  soname_spec='$libname$release$shared_ext$major'
16219  shlibpath_var=LIBRARY_PATH
16220  shlibpath_overrides_runpath=no
16221  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16222  hardcode_into_libs=yes
16223  ;;
16224
16225hpux9* | hpux10* | hpux11*)
16226  # Give a soname corresponding to the major version so that dld.sl refuses to
16227  # link against other versions.
16228  version_type=sunos
16229  need_lib_prefix=no
16230  need_version=no
16231  case $host_cpu in
16232  ia64*)
16233    shrext_cmds='.so'
16234    hardcode_into_libs=yes
16235    dynamic_linker="$host_os dld.so"
16236    shlibpath_var=LD_LIBRARY_PATH
16237    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16238    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16239    soname_spec='$libname$release$shared_ext$major'
16240    if test 32 = "$HPUX_IA64_MODE"; then
16241      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16242      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16243    else
16244      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16245      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16246    fi
16247    ;;
16248  hppa*64*)
16249    shrext_cmds='.sl'
16250    hardcode_into_libs=yes
16251    dynamic_linker="$host_os dld.sl"
16252    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16253    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16254    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16255    soname_spec='$libname$release$shared_ext$major'
16256    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16257    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16258    ;;
16259  *)
16260    shrext_cmds='.sl'
16261    dynamic_linker="$host_os dld.sl"
16262    shlibpath_var=SHLIB_PATH
16263    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16264    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16265    soname_spec='$libname$release$shared_ext$major'
16266    ;;
16267  esac
16268  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16269  postinstall_cmds='chmod 555 $lib'
16270  # or fails outright, so override atomically:
16271  install_override_mode=555
16272  ;;
16273
16274interix[3-9]*)
16275  version_type=linux # correct to gnu/linux during the next big refactor
16276  need_lib_prefix=no
16277  need_version=no
16278  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16279  soname_spec='$libname$release$shared_ext$major'
16280  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16281  shlibpath_var=LD_LIBRARY_PATH
16282  shlibpath_overrides_runpath=no
16283  hardcode_into_libs=yes
16284  ;;
16285
16286irix5* | irix6* | nonstopux*)
16287  case $host_os in
16288    nonstopux*) version_type=nonstopux ;;
16289    *)
16290	if test yes = "$lt_cv_prog_gnu_ld"; then
16291		version_type=linux # correct to gnu/linux during the next big refactor
16292	else
16293		version_type=irix
16294	fi ;;
16295  esac
16296  need_lib_prefix=no
16297  need_version=no
16298  soname_spec='$libname$release$shared_ext$major'
16299  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16300  case $host_os in
16301  irix5* | nonstopux*)
16302    libsuff= shlibsuff=
16303    ;;
16304  *)
16305    case $LD in # libtool.m4 will add one of these switches to LD
16306    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16307      libsuff= shlibsuff= libmagic=32-bit;;
16308    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16309      libsuff=32 shlibsuff=N32 libmagic=N32;;
16310    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16311      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16312    *) libsuff= shlibsuff= libmagic=never-match;;
16313    esac
16314    ;;
16315  esac
16316  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16317  shlibpath_overrides_runpath=no
16318  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16319  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16320  hardcode_into_libs=yes
16321  ;;
16322
16323# No shared lib support for Linux oldld, aout, or coff.
16324linux*oldld* | linux*aout* | linux*coff*)
16325  dynamic_linker=no
16326  ;;
16327
16328linux*android*)
16329  version_type=none # Android doesn't support versioned libraries.
16330  need_lib_prefix=no
16331  need_version=no
16332  library_names_spec='$libname$release$shared_ext'
16333  soname_spec='$libname$release$shared_ext'
16334  finish_cmds=
16335  shlibpath_var=LD_LIBRARY_PATH
16336  shlibpath_overrides_runpath=yes
16337
16338  # This implies no fast_install, which is unacceptable.
16339  # Some rework will be needed to allow for fast_install
16340  # before this can be enabled.
16341  hardcode_into_libs=yes
16342
16343  dynamic_linker='Android linker'
16344  # Don't embed -rpath directories since the linker doesn't support them.
16345  hardcode_libdir_flag_spec_CXX='-L$libdir'
16346  ;;
16347
16348# This must be glibc/ELF.
16349linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16350  version_type=linux # correct to gnu/linux during the next big refactor
16351  need_lib_prefix=no
16352  need_version=no
16353  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16354  soname_spec='$libname$release$shared_ext$major'
16355  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16356  shlibpath_var=LD_LIBRARY_PATH
16357  shlibpath_overrides_runpath=no
16358
16359  # Some binutils ld are patched to set DT_RUNPATH
16360  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16361  $as_echo_n "(cached) " >&6
16362else
16363  lt_cv_shlibpath_overrides_runpath=no
16364    save_LDFLAGS=$LDFLAGS
16365    save_libdir=$libdir
16366    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16367	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16368    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16369/* end confdefs.h.  */
16370
16371int
16372main ()
16373{
16374
16375  ;
16376  return 0;
16377}
16378_ACEOF
16379if ac_fn_cxx_try_link "$LINENO"; then :
16380  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16381  lt_cv_shlibpath_overrides_runpath=yes
16382fi
16383fi
16384rm -f core conftest.err conftest.$ac_objext \
16385    conftest$ac_exeext conftest.$ac_ext
16386    LDFLAGS=$save_LDFLAGS
16387    libdir=$save_libdir
16388
16389fi
16390
16391  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16392
16393  # This implies no fast_install, which is unacceptable.
16394  # Some rework will be needed to allow for fast_install
16395  # before this can be enabled.
16396  hardcode_into_libs=yes
16397
16398  # Ideally, we could use ldconfig to report *all* directores which are
16399  # searched for libraries, however this is still not possible.  Aside from not
16400  # being certain /sbin/ldconfig is available, command
16401  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16402  # even though it is searched at run-time.  Try to do the best guess by
16403  # appending ld.so.conf contents (and includes) to the search path.
16404  if test -f /etc/ld.so.conf; then
16405    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' ' '`
16406    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16407  fi
16408
16409  # We used to test for /lib/ld.so.1 and disable shared libraries on
16410  # powerpc, because MkLinux only supported shared libraries with the
16411  # GNU dynamic linker.  Since this was broken with cross compilers,
16412  # most powerpc-linux boxes support dynamic linking these days and
16413  # people can always --disable-shared, the test was removed, and we
16414  # assume the GNU/Linux dynamic linker is in use.
16415  dynamic_linker='GNU/Linux ld.so'
16416  ;;
16417
16418netbsd*)
16419  version_type=sunos
16420  need_lib_prefix=no
16421  need_version=no
16422  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16423    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16424    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16425    dynamic_linker='NetBSD (a.out) ld.so'
16426  else
16427    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16428    soname_spec='$libname$release$shared_ext$major'
16429    dynamic_linker='NetBSD ld.elf_so'
16430  fi
16431  shlibpath_var=LD_LIBRARY_PATH
16432  shlibpath_overrides_runpath=yes
16433  hardcode_into_libs=yes
16434  ;;
16435
16436newsos6)
16437  version_type=linux # correct to gnu/linux during the next big refactor
16438  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16439  shlibpath_var=LD_LIBRARY_PATH
16440  shlibpath_overrides_runpath=yes
16441  ;;
16442
16443*nto* | *qnx*)
16444  version_type=qnx
16445  need_lib_prefix=no
16446  need_version=no
16447  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16448  soname_spec='$libname$release$shared_ext$major'
16449  shlibpath_var=LD_LIBRARY_PATH
16450  shlibpath_overrides_runpath=no
16451  hardcode_into_libs=yes
16452  dynamic_linker='ldqnx.so'
16453  ;;
16454
16455openbsd* | bitrig*)
16456  version_type=sunos
16457  sys_lib_dlsearch_path_spec=/usr/lib
16458  need_lib_prefix=no
16459  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16460    need_version=no
16461  else
16462    need_version=yes
16463  fi
16464  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16465  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16466  shlibpath_var=LD_LIBRARY_PATH
16467  shlibpath_overrides_runpath=yes
16468  ;;
16469
16470os2*)
16471  libname_spec='$name'
16472  version_type=windows
16473  shrext_cmds=.dll
16474  need_version=no
16475  need_lib_prefix=no
16476  # OS/2 can only load a DLL with a base name of 8 characters or less.
16477  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16478    v=$($ECHO $release$versuffix | tr -d .-);
16479    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16480    $ECHO $n$v`$shared_ext'
16481  library_names_spec='${libname}_dll.$libext'
16482  dynamic_linker='OS/2 ld.exe'
16483  shlibpath_var=BEGINLIBPATH
16484  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16485  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16486  postinstall_cmds='base_file=`basename \$file`~
16487    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16488    dldir=$destdir/`dirname \$dlpath`~
16489    test -d \$dldir || mkdir -p \$dldir~
16490    $install_prog $dir/$dlname \$dldir/$dlname~
16491    chmod a+x \$dldir/$dlname~
16492    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16493      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16494    fi'
16495  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16496    dlpath=$dir/\$dldll~
16497    $RM \$dlpath'
16498  ;;
16499
16500osf3* | osf4* | osf5*)
16501  version_type=osf
16502  need_lib_prefix=no
16503  need_version=no
16504  soname_spec='$libname$release$shared_ext$major'
16505  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16506  shlibpath_var=LD_LIBRARY_PATH
16507  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16508  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16509  ;;
16510
16511rdos*)
16512  dynamic_linker=no
16513  ;;
16514
16515solaris*)
16516  version_type=linux # correct to gnu/linux during the next big refactor
16517  need_lib_prefix=no
16518  need_version=no
16519  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16520  soname_spec='$libname$release$shared_ext$major'
16521  shlibpath_var=LD_LIBRARY_PATH
16522  shlibpath_overrides_runpath=yes
16523  hardcode_into_libs=yes
16524  # ldd complains unless libraries are executable
16525  postinstall_cmds='chmod +x $lib'
16526  ;;
16527
16528sunos4*)
16529  version_type=sunos
16530  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16531  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16532  shlibpath_var=LD_LIBRARY_PATH
16533  shlibpath_overrides_runpath=yes
16534  if test yes = "$with_gnu_ld"; then
16535    need_lib_prefix=no
16536  fi
16537  need_version=yes
16538  ;;
16539
16540sysv4 | sysv4.3*)
16541  version_type=linux # correct to gnu/linux during the next big refactor
16542  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16543  soname_spec='$libname$release$shared_ext$major'
16544  shlibpath_var=LD_LIBRARY_PATH
16545  case $host_vendor in
16546    sni)
16547      shlibpath_overrides_runpath=no
16548      need_lib_prefix=no
16549      runpath_var=LD_RUN_PATH
16550      ;;
16551    siemens)
16552      need_lib_prefix=no
16553      ;;
16554    motorola)
16555      need_lib_prefix=no
16556      need_version=no
16557      shlibpath_overrides_runpath=no
16558      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16559      ;;
16560  esac
16561  ;;
16562
16563sysv4*MP*)
16564  if test -d /usr/nec; then
16565    version_type=linux # correct to gnu/linux during the next big refactor
16566    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16567    soname_spec='$libname$shared_ext.$major'
16568    shlibpath_var=LD_LIBRARY_PATH
16569  fi
16570  ;;
16571
16572sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16573  version_type=sco
16574  need_lib_prefix=no
16575  need_version=no
16576  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16577  soname_spec='$libname$release$shared_ext$major'
16578  shlibpath_var=LD_LIBRARY_PATH
16579  shlibpath_overrides_runpath=yes
16580  hardcode_into_libs=yes
16581  if test yes = "$with_gnu_ld"; then
16582    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16583  else
16584    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16585    case $host_os in
16586      sco3.2v5*)
16587        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16588	;;
16589    esac
16590  fi
16591  sys_lib_dlsearch_path_spec='/usr/lib'
16592  ;;
16593
16594tpf*)
16595  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16596  version_type=linux # correct to gnu/linux during the next big refactor
16597  need_lib_prefix=no
16598  need_version=no
16599  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16600  shlibpath_var=LD_LIBRARY_PATH
16601  shlibpath_overrides_runpath=no
16602  hardcode_into_libs=yes
16603  ;;
16604
16605uts4*)
16606  version_type=linux # correct to gnu/linux during the next big refactor
16607  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16608  soname_spec='$libname$release$shared_ext$major'
16609  shlibpath_var=LD_LIBRARY_PATH
16610  ;;
16611
16612*)
16613  dynamic_linker=no
16614  ;;
16615esac
16616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16617$as_echo "$dynamic_linker" >&6; }
16618test no = "$dynamic_linker" && can_build_shared=no
16619
16620variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16621if test yes = "$GCC"; then
16622  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16623fi
16624
16625if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16626  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16627fi
16628
16629if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16630  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16631fi
16632
16633# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16634configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16635
16636# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16637func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16638
16639# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16640configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16682$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16683hardcode_action_CXX=
16684if test -n "$hardcode_libdir_flag_spec_CXX" ||
16685   test -n "$runpath_var_CXX" ||
16686   test yes = "$hardcode_automatic_CXX"; then
16687
16688  # We can hardcode non-existent directories.
16689  if test no != "$hardcode_direct_CXX" &&
16690     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16691     # have to relink, otherwise we might link with an installed library
16692     # when we should be linking with a yet-to-be-installed one
16693     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16694     test no != "$hardcode_minus_L_CXX"; then
16695    # Linking always hardcodes the temporary library directory.
16696    hardcode_action_CXX=relink
16697  else
16698    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16699    hardcode_action_CXX=immediate
16700  fi
16701else
16702  # We cannot hardcode anything, or else we can only hardcode existing
16703  # directories.
16704  hardcode_action_CXX=unsupported
16705fi
16706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16707$as_echo "$hardcode_action_CXX" >&6; }
16708
16709if test relink = "$hardcode_action_CXX" ||
16710   test yes = "$inherit_rpath_CXX"; then
16711  # Fast installation is not supported
16712  enable_fast_install=no
16713elif test yes = "$shlibpath_overrides_runpath" ||
16714     test no = "$enable_shared"; then
16715  # Fast installation is not necessary
16716  enable_fast_install=needless
16717fi
16718
16719
16720
16721
16722
16723
16724
16725  fi # test -n "$compiler"
16726
16727  CC=$lt_save_CC
16728  CFLAGS=$lt_save_CFLAGS
16729  LDCXX=$LD
16730  LD=$lt_save_LD
16731  GCC=$lt_save_GCC
16732  with_gnu_ld=$lt_save_with_gnu_ld
16733  lt_cv_path_LDCXX=$lt_cv_path_LD
16734  lt_cv_path_LD=$lt_save_path_LD
16735  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16736  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16737fi # test yes != "$_lt_caught_CXX_error"
16738
16739ac_ext=c
16740ac_cpp='$CPP $CPPFLAGS'
16741ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16742ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16743ac_compiler_gnu=$ac_cv_c_compiler_gnu
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759        ac_config_commands="$ac_config_commands libtool"
16760
16761
16762
16763
16764# Only expand once:
16765
16766
16767
16768
16769
16770cat >confcache <<\_ACEOF
16771# This file is a shell script that caches the results of configure
16772# tests run on this system so they can be shared between configure
16773# scripts and configure runs, see configure's option --config-cache.
16774# It is not useful on other systems.  If it contains results you don't
16775# want to keep, you may remove or edit it.
16776#
16777# config.status only pays attention to the cache file if you give it
16778# the --recheck option to rerun configure.
16779#
16780# `ac_cv_env_foo' variables (set or unset) will be overridden when
16781# loading this file, other *unset* `ac_cv_foo' will be assigned the
16782# following values.
16783
16784_ACEOF
16785
16786# The following way of writing the cache mishandles newlines in values,
16787# but we know of no workaround that is simple, portable, and efficient.
16788# So, we kill variables containing newlines.
16789# Ultrix sh set writes to stderr and can't be redirected directly,
16790# and sets the high bit in the cache file unless we assign to the vars.
16791(
16792  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16793    eval ac_val=\$$ac_var
16794    case $ac_val in #(
16795    *${as_nl}*)
16796      case $ac_var in #(
16797      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16798$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16799      esac
16800      case $ac_var in #(
16801      _ | IFS | as_nl) ;; #(
16802      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16803      *) { eval $ac_var=; unset $ac_var;} ;;
16804      esac ;;
16805    esac
16806  done
16807
16808  (set) 2>&1 |
16809    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16810    *${as_nl}ac_space=\ *)
16811      # `set' does not quote correctly, so add quotes: double-quote
16812      # substitution turns \\\\ into \\, and sed turns \\ into \.
16813      sed -n \
16814	"s/'/'\\\\''/g;
16815	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16816      ;; #(
16817    *)
16818      # `set' quotes correctly as required by POSIX, so do not add quotes.
16819      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16820      ;;
16821    esac |
16822    sort
16823) |
16824  sed '
16825     /^ac_cv_env_/b end
16826     t clear
16827     :clear
16828     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16829     t end
16830     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16831     :end' >>confcache
16832if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16833  if test -w "$cache_file"; then
16834    if test "x$cache_file" != "x/dev/null"; then
16835      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16836$as_echo "$as_me: updating cache $cache_file" >&6;}
16837      if test ! -f "$cache_file" || test -h "$cache_file"; then
16838	cat confcache >"$cache_file"
16839      else
16840        case $cache_file in #(
16841        */* | ?:*)
16842	  mv -f confcache "$cache_file"$$ &&
16843	  mv -f "$cache_file"$$ "$cache_file" ;; #(
16844        *)
16845	  mv -f confcache "$cache_file" ;;
16846	esac
16847      fi
16848    fi
16849  else
16850    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16851$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16852  fi
16853fi
16854rm -f confcache
16855
16856test "x$prefix" = xNONE && prefix=$ac_default_prefix
16857# Let make expand exec_prefix.
16858test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16859
16860DEFS=-DHAVE_CONFIG_H
16861
16862ac_libobjs=
16863ac_ltlibobjs=
16864U=
16865for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16866  # 1. Remove the extension, and $U if already installed.
16867  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16868  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16869  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16870  #    will be set to the directory where LIBOBJS objects are built.
16871  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16872  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16873done
16874LIBOBJS=$ac_libobjs
16875
16876LTLIBOBJS=$ac_ltlibobjs
16877
16878
16879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16880$as_echo_n "checking that generated files are newer than configure... " >&6; }
16881   if test -n "$am_sleep_pid"; then
16882     # Hide warnings about reused PIDs.
16883     wait $am_sleep_pid 2>/dev/null
16884   fi
16885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16886$as_echo "done" >&6; }
16887 if test -n "$EXEEXT"; then
16888  am__EXEEXT_TRUE=
16889  am__EXEEXT_FALSE='#'
16890else
16891  am__EXEEXT_TRUE='#'
16892  am__EXEEXT_FALSE=
16893fi
16894
16895if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16896  as_fn_error $? "conditional \"AMDEP\" was never defined.
16897Usually this means the macro was only invoked conditionally." "$LINENO" 5
16898fi
16899if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16900  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16901Usually this means the macro was only invoked conditionally." "$LINENO" 5
16902fi
16903if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16904  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16905Usually this means the macro was only invoked conditionally." "$LINENO" 5
16906fi
16907if test -z "${HAS_MINGW_TRUE}" && test -z "${HAS_MINGW_FALSE}"; then
16908  as_fn_error $? "conditional \"HAS_MINGW\" was never defined.
16909Usually this means the macro was only invoked conditionally." "$LINENO" 5
16910fi
16911
16912: "${CONFIG_STATUS=./config.status}"
16913ac_write_fail=0
16914ac_clean_files_save=$ac_clean_files
16915ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16916{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16917$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16918as_write_fail=0
16919cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16920#! $SHELL
16921# Generated by $as_me.
16922# Run this file to recreate the current configuration.
16923# Compiler output produced by configure, useful for debugging
16924# configure, is in config.log if it exists.
16925
16926debug=false
16927ac_cs_recheck=false
16928ac_cs_silent=false
16929
16930SHELL=\${CONFIG_SHELL-$SHELL}
16931export SHELL
16932_ASEOF
16933cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16934## -------------------- ##
16935## M4sh Initialization. ##
16936## -------------------- ##
16937
16938# Be more Bourne compatible
16939DUALCASE=1; export DUALCASE # for MKS sh
16940if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16941  emulate sh
16942  NULLCMD=:
16943  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16944  # is contrary to our usage.  Disable this feature.
16945  alias -g '${1+"$@"}'='"$@"'
16946  setopt NO_GLOB_SUBST
16947else
16948  case `(set -o) 2>/dev/null` in #(
16949  *posix*) :
16950    set -o posix ;; #(
16951  *) :
16952     ;;
16953esac
16954fi
16955
16956
16957as_nl='
16958'
16959export as_nl
16960# Printing a long string crashes Solaris 7 /usr/bin/printf.
16961as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16962as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16963as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16964# Prefer a ksh shell builtin over an external printf program on Solaris,
16965# but without wasting forks for bash or zsh.
16966if test -z "$BASH_VERSION$ZSH_VERSION" \
16967    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16968  as_echo='print -r --'
16969  as_echo_n='print -rn --'
16970elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16971  as_echo='printf %s\n'
16972  as_echo_n='printf %s'
16973else
16974  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16975    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16976    as_echo_n='/usr/ucb/echo -n'
16977  else
16978    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16979    as_echo_n_body='eval
16980      arg=$1;
16981      case $arg in #(
16982      *"$as_nl"*)
16983	expr "X$arg" : "X\\(.*\\)$as_nl";
16984	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16985      esac;
16986      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16987    '
16988    export as_echo_n_body
16989    as_echo_n='sh -c $as_echo_n_body as_echo'
16990  fi
16991  export as_echo_body
16992  as_echo='sh -c $as_echo_body as_echo'
16993fi
16994
16995# The user is always right.
16996if test "${PATH_SEPARATOR+set}" != set; then
16997  PATH_SEPARATOR=:
16998  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16999    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17000      PATH_SEPARATOR=';'
17001  }
17002fi
17003
17004
17005# IFS
17006# We need space, tab and new line, in precisely that order.  Quoting is
17007# there to prevent editors from complaining about space-tab.
17008# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17009# splitting by setting IFS to empty value.)
17010IFS=" ""	$as_nl"
17011
17012# Find who we are.  Look in the path if we contain no directory separator.
17013as_myself=
17014case $0 in #((
17015  *[\\/]* ) as_myself=$0 ;;
17016  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17017for as_dir in $PATH
17018do
17019  IFS=$as_save_IFS
17020  test -z "$as_dir" && as_dir=.
17021    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17022  done
17023IFS=$as_save_IFS
17024
17025     ;;
17026esac
17027# We did not find ourselves, most probably we were run as `sh COMMAND'
17028# in which case we are not to be found in the path.
17029if test "x$as_myself" = x; then
17030  as_myself=$0
17031fi
17032if test ! -f "$as_myself"; then
17033  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17034  exit 1
17035fi
17036
17037# Unset variables that we do not need and which cause bugs (e.g. in
17038# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17039# suppresses any "Segmentation fault" message there.  '((' could
17040# trigger a bug in pdksh 5.2.14.
17041for as_var in BASH_ENV ENV MAIL MAILPATH
17042do eval test x\${$as_var+set} = xset \
17043  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17044done
17045PS1='$ '
17046PS2='> '
17047PS4='+ '
17048
17049# NLS nuisances.
17050LC_ALL=C
17051export LC_ALL
17052LANGUAGE=C
17053export LANGUAGE
17054
17055# CDPATH.
17056(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17057
17058
17059# as_fn_error STATUS ERROR [LINENO LOG_FD]
17060# ----------------------------------------
17061# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17062# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17063# script with STATUS, using 1 if that was 0.
17064as_fn_error ()
17065{
17066  as_status=$1; test $as_status -eq 0 && as_status=1
17067  if test "$4"; then
17068    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17069    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17070  fi
17071  $as_echo "$as_me: error: $2" >&2
17072  as_fn_exit $as_status
17073} # as_fn_error
17074
17075
17076# as_fn_set_status STATUS
17077# -----------------------
17078# Set $? to STATUS, without forking.
17079as_fn_set_status ()
17080{
17081  return $1
17082} # as_fn_set_status
17083
17084# as_fn_exit STATUS
17085# -----------------
17086# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17087as_fn_exit ()
17088{
17089  set +e
17090  as_fn_set_status $1
17091  exit $1
17092} # as_fn_exit
17093
17094# as_fn_unset VAR
17095# ---------------
17096# Portably unset VAR.
17097as_fn_unset ()
17098{
17099  { eval $1=; unset $1;}
17100}
17101as_unset=as_fn_unset
17102# as_fn_append VAR VALUE
17103# ----------------------
17104# Append the text in VALUE to the end of the definition contained in VAR. Take
17105# advantage of any shell optimizations that allow amortized linear growth over
17106# repeated appends, instead of the typical quadratic growth present in naive
17107# implementations.
17108if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17109  eval 'as_fn_append ()
17110  {
17111    eval $1+=\$2
17112  }'
17113else
17114  as_fn_append ()
17115  {
17116    eval $1=\$$1\$2
17117  }
17118fi # as_fn_append
17119
17120# as_fn_arith ARG...
17121# ------------------
17122# Perform arithmetic evaluation on the ARGs, and store the result in the
17123# global $as_val. Take advantage of shells that can avoid forks. The arguments
17124# must be portable across $(()) and expr.
17125if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17126  eval 'as_fn_arith ()
17127  {
17128    as_val=$(( $* ))
17129  }'
17130else
17131  as_fn_arith ()
17132  {
17133    as_val=`expr "$@" || test $? -eq 1`
17134  }
17135fi # as_fn_arith
17136
17137
17138if expr a : '\(a\)' >/dev/null 2>&1 &&
17139   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17140  as_expr=expr
17141else
17142  as_expr=false
17143fi
17144
17145if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17146  as_basename=basename
17147else
17148  as_basename=false
17149fi
17150
17151if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17152  as_dirname=dirname
17153else
17154  as_dirname=false
17155fi
17156
17157as_me=`$as_basename -- "$0" ||
17158$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17159	 X"$0" : 'X\(//\)$' \| \
17160	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17161$as_echo X/"$0" |
17162    sed '/^.*\/\([^/][^/]*\)\/*$/{
17163	    s//\1/
17164	    q
17165	  }
17166	  /^X\/\(\/\/\)$/{
17167	    s//\1/
17168	    q
17169	  }
17170	  /^X\/\(\/\).*/{
17171	    s//\1/
17172	    q
17173	  }
17174	  s/.*/./; q'`
17175
17176# Avoid depending upon Character Ranges.
17177as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17178as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17179as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17180as_cr_digits='0123456789'
17181as_cr_alnum=$as_cr_Letters$as_cr_digits
17182
17183ECHO_C= ECHO_N= ECHO_T=
17184case `echo -n x` in #(((((
17185-n*)
17186  case `echo 'xy\c'` in
17187  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
17188  xy)  ECHO_C='\c';;
17189  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17190       ECHO_T='	';;
17191  esac;;
17192*)
17193  ECHO_N='-n';;
17194esac
17195
17196rm -f conf$$ conf$$.exe conf$$.file
17197if test -d conf$$.dir; then
17198  rm -f conf$$.dir/conf$$.file
17199else
17200  rm -f conf$$.dir
17201  mkdir conf$$.dir 2>/dev/null
17202fi
17203if (echo >conf$$.file) 2>/dev/null; then
17204  if ln -s conf$$.file conf$$ 2>/dev/null; then
17205    as_ln_s='ln -s'
17206    # ... but there are two gotchas:
17207    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17208    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17209    # In both cases, we have to default to `cp -pR'.
17210    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17211      as_ln_s='cp -pR'
17212  elif ln conf$$.file conf$$ 2>/dev/null; then
17213    as_ln_s=ln
17214  else
17215    as_ln_s='cp -pR'
17216  fi
17217else
17218  as_ln_s='cp -pR'
17219fi
17220rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17221rmdir conf$$.dir 2>/dev/null
17222
17223
17224# as_fn_mkdir_p
17225# -------------
17226# Create "$as_dir" as a directory, including parents if necessary.
17227as_fn_mkdir_p ()
17228{
17229
17230  case $as_dir in #(
17231  -*) as_dir=./$as_dir;;
17232  esac
17233  test -d "$as_dir" || eval $as_mkdir_p || {
17234    as_dirs=
17235    while :; do
17236      case $as_dir in #(
17237      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17238      *) as_qdir=$as_dir;;
17239      esac
17240      as_dirs="'$as_qdir' $as_dirs"
17241      as_dir=`$as_dirname -- "$as_dir" ||
17242$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17243	 X"$as_dir" : 'X\(//\)[^/]' \| \
17244	 X"$as_dir" : 'X\(//\)$' \| \
17245	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17246$as_echo X"$as_dir" |
17247    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17248	    s//\1/
17249	    q
17250	  }
17251	  /^X\(\/\/\)[^/].*/{
17252	    s//\1/
17253	    q
17254	  }
17255	  /^X\(\/\/\)$/{
17256	    s//\1/
17257	    q
17258	  }
17259	  /^X\(\/\).*/{
17260	    s//\1/
17261	    q
17262	  }
17263	  s/.*/./; q'`
17264      test -d "$as_dir" && break
17265    done
17266    test -z "$as_dirs" || eval "mkdir $as_dirs"
17267  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17268
17269
17270} # as_fn_mkdir_p
17271if mkdir -p . 2>/dev/null; then
17272  as_mkdir_p='mkdir -p "$as_dir"'
17273else
17274  test -d ./-p && rmdir ./-p
17275  as_mkdir_p=false
17276fi
17277
17278
17279# as_fn_executable_p FILE
17280# -----------------------
17281# Test if FILE is an executable regular file.
17282as_fn_executable_p ()
17283{
17284  test -f "$1" && test -x "$1"
17285} # as_fn_executable_p
17286as_test_x='test -x'
17287as_executable_p=as_fn_executable_p
17288
17289# Sed expression to map a string onto a valid CPP name.
17290as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17291
17292# Sed expression to map a string onto a valid variable name.
17293as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17294
17295
17296exec 6>&1
17297## ----------------------------------- ##
17298## Main body of $CONFIG_STATUS script. ##
17299## ----------------------------------- ##
17300_ASEOF
17301test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17302
17303cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17304# Save the log message, to keep $0 and so on meaningful, and to
17305# report actual input values of CONFIG_FILES etc. instead of their
17306# values after options handling.
17307ac_log="
17308This file was extended by Cego $as_me 2.47.11, which was
17309generated by GNU Autoconf 2.69.  Invocation command line was
17310
17311  CONFIG_FILES    = $CONFIG_FILES
17312  CONFIG_HEADERS  = $CONFIG_HEADERS
17313  CONFIG_LINKS    = $CONFIG_LINKS
17314  CONFIG_COMMANDS = $CONFIG_COMMANDS
17315  $ $0 $@
17316
17317on `(hostname || uname -n) 2>/dev/null | sed 1q`
17318"
17319
17320_ACEOF
17321
17322case $ac_config_files in *"
17323"*) set x $ac_config_files; shift; ac_config_files=$*;;
17324esac
17325
17326case $ac_config_headers in *"
17327"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17328esac
17329
17330
17331cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17332# Files that config.status was made for.
17333config_files="$ac_config_files"
17334config_headers="$ac_config_headers"
17335config_commands="$ac_config_commands"
17336
17337_ACEOF
17338
17339cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17340ac_cs_usage="\
17341\`$as_me' instantiates files and other configuration actions
17342from templates according to the current configuration.  Unless the files
17343and actions are specified as TAGs, all are instantiated by default.
17344
17345Usage: $0 [OPTION]... [TAG]...
17346
17347  -h, --help       print this help, then exit
17348  -V, --version    print version number and configuration settings, then exit
17349      --config     print configuration, then exit
17350  -q, --quiet, --silent
17351                   do not print progress messages
17352  -d, --debug      don't remove temporary files
17353      --recheck    update $as_me by reconfiguring in the same conditions
17354      --file=FILE[:TEMPLATE]
17355                   instantiate the configuration file FILE
17356      --header=FILE[:TEMPLATE]
17357                   instantiate the configuration header FILE
17358
17359Configuration files:
17360$config_files
17361
17362Configuration headers:
17363$config_headers
17364
17365Configuration commands:
17366$config_commands
17367
17368Report bugs to <lemke@lemke-it.com>."
17369
17370_ACEOF
17371cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17372ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17373ac_cs_version="\\
17374Cego config.status 2.47.11
17375configured by $0, generated by GNU Autoconf 2.69,
17376  with options \\"\$ac_cs_config\\"
17377
17378Copyright (C) 2012 Free Software Foundation, Inc.
17379This config.status script is free software; the Free Software Foundation
17380gives unlimited permission to copy, distribute and modify it."
17381
17382ac_pwd='$ac_pwd'
17383srcdir='$srcdir'
17384INSTALL='$INSTALL'
17385MKDIR_P='$MKDIR_P'
17386AWK='$AWK'
17387test -n "\$AWK" || AWK=awk
17388_ACEOF
17389
17390cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17391# The default lists apply if the user does not specify any file.
17392ac_need_defaults=:
17393while test $# != 0
17394do
17395  case $1 in
17396  --*=?*)
17397    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17398    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17399    ac_shift=:
17400    ;;
17401  --*=)
17402    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17403    ac_optarg=
17404    ac_shift=:
17405    ;;
17406  *)
17407    ac_option=$1
17408    ac_optarg=$2
17409    ac_shift=shift
17410    ;;
17411  esac
17412
17413  case $ac_option in
17414  # Handling of the options.
17415  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17416    ac_cs_recheck=: ;;
17417  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17418    $as_echo "$ac_cs_version"; exit ;;
17419  --config | --confi | --conf | --con | --co | --c )
17420    $as_echo "$ac_cs_config"; exit ;;
17421  --debug | --debu | --deb | --de | --d | -d )
17422    debug=: ;;
17423  --file | --fil | --fi | --f )
17424    $ac_shift
17425    case $ac_optarg in
17426    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17427    '') as_fn_error $? "missing file argument" ;;
17428    esac
17429    as_fn_append CONFIG_FILES " '$ac_optarg'"
17430    ac_need_defaults=false;;
17431  --header | --heade | --head | --hea )
17432    $ac_shift
17433    case $ac_optarg in
17434    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17435    esac
17436    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17437    ac_need_defaults=false;;
17438  --he | --h)
17439    # Conflict between --help and --header
17440    as_fn_error $? "ambiguous option: \`$1'
17441Try \`$0 --help' for more information.";;
17442  --help | --hel | -h )
17443    $as_echo "$ac_cs_usage"; exit ;;
17444  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17445  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17446    ac_cs_silent=: ;;
17447
17448  # This is an error.
17449  -*) as_fn_error $? "unrecognized option: \`$1'
17450Try \`$0 --help' for more information." ;;
17451
17452  *) as_fn_append ac_config_targets " $1"
17453     ac_need_defaults=false ;;
17454
17455  esac
17456  shift
17457done
17458
17459ac_configure_extra_args=
17460
17461if $ac_cs_silent; then
17462  exec 6>/dev/null
17463  ac_configure_extra_args="$ac_configure_extra_args --silent"
17464fi
17465
17466_ACEOF
17467cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17468if \$ac_cs_recheck; then
17469  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17470  shift
17471  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17472  CONFIG_SHELL='$SHELL'
17473  export CONFIG_SHELL
17474  exec "\$@"
17475fi
17476
17477_ACEOF
17478cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17479exec 5>>config.log
17480{
17481  echo
17482  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17483## Running $as_me. ##
17484_ASBOX
17485  $as_echo "$ac_log"
17486} >&5
17487
17488_ACEOF
17489cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17490#
17491# INIT-COMMANDS
17492#
17493AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17494
17495
17496# The HP-UX ksh and POSIX shell print the target directory to stdout
17497# if CDPATH is set.
17498(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17499
17500sed_quote_subst='$sed_quote_subst'
17501double_quote_subst='$double_quote_subst'
17502delay_variable_subst='$delay_variable_subst'
17503macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17504macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17505enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17506enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17507pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17508enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17509shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17510SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17511ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17512PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17513host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17514host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17515host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17516build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17517build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17518build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17519SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17520Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17521GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17522EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17523FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17524LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17525NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17526LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17527max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17528ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17529exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17530lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17531lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17532lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17533lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17534lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17535reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17536reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17537OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17538deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17539file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17540file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17541want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17542DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17543sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17544AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17545AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17546archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17547STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17548RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17549old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17550old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17551old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17552lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17553CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17554CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17555compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17556GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17557lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17558lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17559lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17560lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17561lt_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"`'
17562lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17563nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17564lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17565lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17566objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17567MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17568lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17569lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17570lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17571lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17572lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17573need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17574MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17575DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17576NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17577LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17578OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17579OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17580libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17581shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17582extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17583archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17584enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17585export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17586whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17587compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17588old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17589old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17590archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17591archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17592module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17593module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17594with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17595allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17596no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17597hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17598hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17599hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17600hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17601hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17602hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17603hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17604inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17605link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17606always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17607export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17608exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17609include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17610prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17611postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17612file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17613variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17614need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17615need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17616version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17617runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17618shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17619shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17620libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17621library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17622soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17623install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17624postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17625postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17626finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17627finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17628hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17629sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17630configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17631configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17632hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17633enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17634enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17635enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17636old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17637striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17638compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17639predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17640postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17641predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17642postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17643compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17644LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17645reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17646reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17647old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17648compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17649GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17650lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17651lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17652lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17653lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17654lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17655archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17656enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17657export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17658whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17659compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17660old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17661old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17662archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17663archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17664module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17665module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17666with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17667allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17668no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17669hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17670hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17671hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17672hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17673hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17674hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17675hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17676inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17677link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17678always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17679export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17680exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17681include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17682prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17683postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17684file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17685hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17686compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17687predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17688postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17689predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17690postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17691compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17692
17693LTCC='$LTCC'
17694LTCFLAGS='$LTCFLAGS'
17695compiler='$compiler_DEFAULT'
17696
17697# A function that is used when there is no print builtin or printf.
17698func_fallback_echo ()
17699{
17700  eval 'cat <<_LTECHO_EOF
17701\$1
17702_LTECHO_EOF'
17703}
17704
17705# Quote evaled strings.
17706for var in SHELL \
17707ECHO \
17708PATH_SEPARATOR \
17709SED \
17710GREP \
17711EGREP \
17712FGREP \
17713LD \
17714NM \
17715LN_S \
17716lt_SP2NL \
17717lt_NL2SP \
17718reload_flag \
17719OBJDUMP \
17720deplibs_check_method \
17721file_magic_cmd \
17722file_magic_glob \
17723want_nocaseglob \
17724DLLTOOL \
17725sharedlib_from_linklib_cmd \
17726AR \
17727AR_FLAGS \
17728archiver_list_spec \
17729STRIP \
17730RANLIB \
17731CC \
17732CFLAGS \
17733compiler \
17734lt_cv_sys_global_symbol_pipe \
17735lt_cv_sys_global_symbol_to_cdecl \
17736lt_cv_sys_global_symbol_to_import \
17737lt_cv_sys_global_symbol_to_c_name_address \
17738lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17739lt_cv_nm_interface \
17740nm_file_list_spec \
17741lt_cv_truncate_bin \
17742lt_prog_compiler_no_builtin_flag \
17743lt_prog_compiler_pic \
17744lt_prog_compiler_wl \
17745lt_prog_compiler_static \
17746lt_cv_prog_compiler_c_o \
17747need_locks \
17748MANIFEST_TOOL \
17749DSYMUTIL \
17750NMEDIT \
17751LIPO \
17752OTOOL \
17753OTOOL64 \
17754shrext_cmds \
17755export_dynamic_flag_spec \
17756whole_archive_flag_spec \
17757compiler_needs_object \
17758with_gnu_ld \
17759allow_undefined_flag \
17760no_undefined_flag \
17761hardcode_libdir_flag_spec \
17762hardcode_libdir_separator \
17763exclude_expsyms \
17764include_expsyms \
17765file_list_spec \
17766variables_saved_for_relink \
17767libname_spec \
17768library_names_spec \
17769soname_spec \
17770install_override_mode \
17771finish_eval \
17772old_striplib \
17773striplib \
17774compiler_lib_search_dirs \
17775predep_objects \
17776postdep_objects \
17777predeps \
17778postdeps \
17779compiler_lib_search_path \
17780LD_CXX \
17781reload_flag_CXX \
17782compiler_CXX \
17783lt_prog_compiler_no_builtin_flag_CXX \
17784lt_prog_compiler_pic_CXX \
17785lt_prog_compiler_wl_CXX \
17786lt_prog_compiler_static_CXX \
17787lt_cv_prog_compiler_c_o_CXX \
17788export_dynamic_flag_spec_CXX \
17789whole_archive_flag_spec_CXX \
17790compiler_needs_object_CXX \
17791with_gnu_ld_CXX \
17792allow_undefined_flag_CXX \
17793no_undefined_flag_CXX \
17794hardcode_libdir_flag_spec_CXX \
17795hardcode_libdir_separator_CXX \
17796exclude_expsyms_CXX \
17797include_expsyms_CXX \
17798file_list_spec_CXX \
17799compiler_lib_search_dirs_CXX \
17800predep_objects_CXX \
17801postdep_objects_CXX \
17802predeps_CXX \
17803postdeps_CXX \
17804compiler_lib_search_path_CXX; do
17805    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17806    *[\\\\\\\`\\"\\\$]*)
17807      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17808      ;;
17809    *)
17810      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17811      ;;
17812    esac
17813done
17814
17815# Double-quote double-evaled strings.
17816for var in reload_cmds \
17817old_postinstall_cmds \
17818old_postuninstall_cmds \
17819old_archive_cmds \
17820extract_expsyms_cmds \
17821old_archive_from_new_cmds \
17822old_archive_from_expsyms_cmds \
17823archive_cmds \
17824archive_expsym_cmds \
17825module_cmds \
17826module_expsym_cmds \
17827export_symbols_cmds \
17828prelink_cmds \
17829postlink_cmds \
17830postinstall_cmds \
17831postuninstall_cmds \
17832finish_cmds \
17833sys_lib_search_path_spec \
17834configure_time_dlsearch_path \
17835configure_time_lt_sys_library_path \
17836reload_cmds_CXX \
17837old_archive_cmds_CXX \
17838old_archive_from_new_cmds_CXX \
17839old_archive_from_expsyms_cmds_CXX \
17840archive_cmds_CXX \
17841archive_expsym_cmds_CXX \
17842module_cmds_CXX \
17843module_expsym_cmds_CXX \
17844export_symbols_cmds_CXX \
17845prelink_cmds_CXX \
17846postlink_cmds_CXX; do
17847    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17848    *[\\\\\\\`\\"\\\$]*)
17849      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17850      ;;
17851    *)
17852      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17853      ;;
17854    esac
17855done
17856
17857ac_aux_dir='$ac_aux_dir'
17858
17859# See if we are running on zsh, and set the options that allow our
17860# commands through without removal of \ escapes INIT.
17861if test -n "\${ZSH_VERSION+set}"; then
17862   setopt NO_GLOB_SUBST
17863fi
17864
17865
17866    PACKAGE='$PACKAGE'
17867    VERSION='$VERSION'
17868    RM='$RM'
17869    ofile='$ofile'
17870
17871
17872
17873
17874
17875
17876_ACEOF
17877
17878cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17879
17880# Handling of arguments.
17881for ac_config_target in $ac_config_targets
17882do
17883  case $ac_config_target in
17884    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17885    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17886    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17887    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17888    "dbcheck/Makefile") CONFIG_FILES="$CONFIG_FILES dbcheck/Makefile" ;;
17889    "samples/cgplustest/Makefile") CONFIG_FILES="$CONFIG_FILES samples/cgplustest/Makefile" ;;
17890    "samples/cgwraptest/Makefile") CONFIG_FILES="$CONFIG_FILES samples/cgwraptest/Makefile" ;;
17891    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17892
17893  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17894  esac
17895done
17896
17897
17898# If the user did not use the arguments to specify the items to instantiate,
17899# then the envvar interface is used.  Set only those that are not.
17900# We use the long form for the default assignment because of an extremely
17901# bizarre bug on SunOS 4.1.3.
17902if $ac_need_defaults; then
17903  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17904  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17905  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17906fi
17907
17908# Have a temporary directory for convenience.  Make it in the build tree
17909# simply because there is no reason against having it here, and in addition,
17910# creating and moving files from /tmp can sometimes cause problems.
17911# Hook for its removal unless debugging.
17912# Note that there is a small window in which the directory will not be cleaned:
17913# after its creation but before its name has been assigned to `$tmp'.
17914$debug ||
17915{
17916  tmp= ac_tmp=
17917  trap 'exit_status=$?
17918  : "${ac_tmp:=$tmp}"
17919  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17920' 0
17921  trap 'as_fn_exit 1' 1 2 13 15
17922}
17923# Create a (secure) tmp directory for tmp files.
17924
17925{
17926  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17927  test -d "$tmp"
17928}  ||
17929{
17930  tmp=./conf$$-$RANDOM
17931  (umask 077 && mkdir "$tmp")
17932} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17933ac_tmp=$tmp
17934
17935# Set up the scripts for CONFIG_FILES section.
17936# No need to generate them if there are no CONFIG_FILES.
17937# This happens for instance with `./config.status config.h'.
17938if test -n "$CONFIG_FILES"; then
17939
17940
17941ac_cr=`echo X | tr X '\015'`
17942# On cygwin, bash can eat \r inside `` if the user requested igncr.
17943# But we know of no other shell where ac_cr would be empty at this
17944# point, so we can use a bashism as a fallback.
17945if test "x$ac_cr" = x; then
17946  eval ac_cr=\$\'\\r\'
17947fi
17948ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17949if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17950  ac_cs_awk_cr='\\r'
17951else
17952  ac_cs_awk_cr=$ac_cr
17953fi
17954
17955echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17956_ACEOF
17957
17958
17959{
17960  echo "cat >conf$$subs.awk <<_ACEOF" &&
17961  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17962  echo "_ACEOF"
17963} >conf$$subs.sh ||
17964  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17965ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17966ac_delim='%!_!# '
17967for ac_last_try in false false false false false :; do
17968  . ./conf$$subs.sh ||
17969    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17970
17971  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17972  if test $ac_delim_n = $ac_delim_num; then
17973    break
17974  elif $ac_last_try; then
17975    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17976  else
17977    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17978  fi
17979done
17980rm -f conf$$subs.sh
17981
17982cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17983cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17984_ACEOF
17985sed -n '
17986h
17987s/^/S["/; s/!.*/"]=/
17988p
17989g
17990s/^[^!]*!//
17991:repl
17992t repl
17993s/'"$ac_delim"'$//
17994t delim
17995:nl
17996h
17997s/\(.\{148\}\)..*/\1/
17998t more1
17999s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18000p
18001n
18002b repl
18003:more1
18004s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18005p
18006g
18007s/.\{148\}//
18008t nl
18009:delim
18010h
18011s/\(.\{148\}\)..*/\1/
18012t more2
18013s/["\\]/\\&/g; s/^/"/; s/$/"/
18014p
18015b
18016:more2
18017s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18018p
18019g
18020s/.\{148\}//
18021t delim
18022' <conf$$subs.awk | sed '
18023/^[^""]/{
18024  N
18025  s/\n//
18026}
18027' >>$CONFIG_STATUS || ac_write_fail=1
18028rm -f conf$$subs.awk
18029cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18030_ACAWK
18031cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18032  for (key in S) S_is_set[key] = 1
18033  FS = ""
18034
18035}
18036{
18037  line = $ 0
18038  nfields = split(line, field, "@")
18039  substed = 0
18040  len = length(field[1])
18041  for (i = 2; i < nfields; i++) {
18042    key = field[i]
18043    keylen = length(key)
18044    if (S_is_set[key]) {
18045      value = S[key]
18046      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18047      len += length(value) + length(field[++i])
18048      substed = 1
18049    } else
18050      len += 1 + keylen
18051  }
18052
18053  print line
18054}
18055
18056_ACAWK
18057_ACEOF
18058cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18059if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18060  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18061else
18062  cat
18063fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18064  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18065_ACEOF
18066
18067# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18068# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18069# trailing colons and then remove the whole line if VPATH becomes empty
18070# (actually we leave an empty line to preserve line numbers).
18071if test "x$srcdir" = x.; then
18072  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
18073h
18074s///
18075s/^/:/
18076s/[	 ]*$/:/
18077s/:\$(srcdir):/:/g
18078s/:\${srcdir}:/:/g
18079s/:@srcdir@:/:/g
18080s/^:*//
18081s/:*$//
18082x
18083s/\(=[	 ]*\).*/\1/
18084G
18085s/\n//
18086s/^[^=]*=[	 ]*$//
18087}'
18088fi
18089
18090cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18091fi # test -n "$CONFIG_FILES"
18092
18093# Set up the scripts for CONFIG_HEADERS section.
18094# No need to generate them if there are no CONFIG_HEADERS.
18095# This happens for instance with `./config.status Makefile'.
18096if test -n "$CONFIG_HEADERS"; then
18097cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18098BEGIN {
18099_ACEOF
18100
18101# Transform confdefs.h into an awk script `defines.awk', embedded as
18102# here-document in config.status, that substitutes the proper values into
18103# config.h.in to produce config.h.
18104
18105# Create a delimiter string that does not exist in confdefs.h, to ease
18106# handling of long lines.
18107ac_delim='%!_!# '
18108for ac_last_try in false false :; do
18109  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18110  if test -z "$ac_tt"; then
18111    break
18112  elif $ac_last_try; then
18113    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18114  else
18115    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18116  fi
18117done
18118
18119# For the awk script, D is an array of macro values keyed by name,
18120# likewise P contains macro parameters if any.  Preserve backslash
18121# newline sequences.
18122
18123ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18124sed -n '
18125s/.\{148\}/&'"$ac_delim"'/g
18126t rset
18127:rset
18128s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
18129t def
18130d
18131:def
18132s/\\$//
18133t bsnl
18134s/["\\]/\\&/g
18135s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18136D["\1"]=" \3"/p
18137s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
18138d
18139:bsnl
18140s/["\\]/\\&/g
18141s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
18142D["\1"]=" \3\\\\\\n"\\/p
18143t cont
18144s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18145t cont
18146d
18147:cont
18148n
18149s/.\{148\}/&'"$ac_delim"'/g
18150t clear
18151:clear
18152s/\\$//
18153t bsnlc
18154s/["\\]/\\&/g; s/^/"/; s/$/"/p
18155d
18156:bsnlc
18157s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18158b cont
18159' <confdefs.h | sed '
18160s/'"$ac_delim"'/"\\\
18161"/g' >>$CONFIG_STATUS || ac_write_fail=1
18162
18163cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18164  for (key in D) D_is_set[key] = 1
18165  FS = ""
18166}
18167/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18168  line = \$ 0
18169  split(line, arg, " ")
18170  if (arg[1] == "#") {
18171    defundef = arg[2]
18172    mac1 = arg[3]
18173  } else {
18174    defundef = substr(arg[1], 2)
18175    mac1 = arg[2]
18176  }
18177  split(mac1, mac2, "(") #)
18178  macro = mac2[1]
18179  prefix = substr(line, 1, index(line, defundef) - 1)
18180  if (D_is_set[macro]) {
18181    # Preserve the white space surrounding the "#".
18182    print prefix "define", macro P[macro] D[macro]
18183    next
18184  } else {
18185    # Replace #undef with comments.  This is necessary, for example,
18186    # in the case of _POSIX_SOURCE, which is predefined and required
18187    # on some systems where configure will not decide to define it.
18188    if (defundef == "undef") {
18189      print "/*", prefix defundef, macro, "*/"
18190      next
18191    }
18192  }
18193}
18194{ print }
18195_ACAWK
18196_ACEOF
18197cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18198  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18199fi # test -n "$CONFIG_HEADERS"
18200
18201
18202eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18203shift
18204for ac_tag
18205do
18206  case $ac_tag in
18207  :[FHLC]) ac_mode=$ac_tag; continue;;
18208  esac
18209  case $ac_mode$ac_tag in
18210  :[FHL]*:*);;
18211  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18212  :[FH]-) ac_tag=-:-;;
18213  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18214  esac
18215  ac_save_IFS=$IFS
18216  IFS=:
18217  set x $ac_tag
18218  IFS=$ac_save_IFS
18219  shift
18220  ac_file=$1
18221  shift
18222
18223  case $ac_mode in
18224  :L) ac_source=$1;;
18225  :[FH])
18226    ac_file_inputs=
18227    for ac_f
18228    do
18229      case $ac_f in
18230      -) ac_f="$ac_tmp/stdin";;
18231      *) # Look for the file first in the build tree, then in the source tree
18232	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
18233	 # because $ac_f cannot contain `:'.
18234	 test -f "$ac_f" ||
18235	   case $ac_f in
18236	   [\\/$]*) false;;
18237	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18238	   esac ||
18239	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18240      esac
18241      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18242      as_fn_append ac_file_inputs " '$ac_f'"
18243    done
18244
18245    # Let's still pretend it is `configure' which instantiates (i.e., don't
18246    # use $as_me), people would be surprised to read:
18247    #    /* config.h.  Generated by config.status.  */
18248    configure_input='Generated from '`
18249	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18250	`' by configure.'
18251    if test x"$ac_file" != x-; then
18252      configure_input="$ac_file.  $configure_input"
18253      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18254$as_echo "$as_me: creating $ac_file" >&6;}
18255    fi
18256    # Neutralize special characters interpreted by sed in replacement strings.
18257    case $configure_input in #(
18258    *\&* | *\|* | *\\* )
18259       ac_sed_conf_input=`$as_echo "$configure_input" |
18260       sed 's/[\\\\&|]/\\\\&/g'`;; #(
18261    *) ac_sed_conf_input=$configure_input;;
18262    esac
18263
18264    case $ac_tag in
18265    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18266      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18267    esac
18268    ;;
18269  esac
18270
18271  ac_dir=`$as_dirname -- "$ac_file" ||
18272$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18273	 X"$ac_file" : 'X\(//\)[^/]' \| \
18274	 X"$ac_file" : 'X\(//\)$' \| \
18275	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18276$as_echo X"$ac_file" |
18277    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18278	    s//\1/
18279	    q
18280	  }
18281	  /^X\(\/\/\)[^/].*/{
18282	    s//\1/
18283	    q
18284	  }
18285	  /^X\(\/\/\)$/{
18286	    s//\1/
18287	    q
18288	  }
18289	  /^X\(\/\).*/{
18290	    s//\1/
18291	    q
18292	  }
18293	  s/.*/./; q'`
18294  as_dir="$ac_dir"; as_fn_mkdir_p
18295  ac_builddir=.
18296
18297case "$ac_dir" in
18298.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18299*)
18300  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18301  # A ".." for each directory in $ac_dir_suffix.
18302  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18303  case $ac_top_builddir_sub in
18304  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18305  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18306  esac ;;
18307esac
18308ac_abs_top_builddir=$ac_pwd
18309ac_abs_builddir=$ac_pwd$ac_dir_suffix
18310# for backward compatibility:
18311ac_top_builddir=$ac_top_build_prefix
18312
18313case $srcdir in
18314  .)  # We are building in place.
18315    ac_srcdir=.
18316    ac_top_srcdir=$ac_top_builddir_sub
18317    ac_abs_top_srcdir=$ac_pwd ;;
18318  [\\/]* | ?:[\\/]* )  # Absolute name.
18319    ac_srcdir=$srcdir$ac_dir_suffix;
18320    ac_top_srcdir=$srcdir
18321    ac_abs_top_srcdir=$srcdir ;;
18322  *) # Relative name.
18323    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18324    ac_top_srcdir=$ac_top_build_prefix$srcdir
18325    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18326esac
18327ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18328
18329
18330  case $ac_mode in
18331  :F)
18332  #
18333  # CONFIG_FILE
18334  #
18335
18336  case $INSTALL in
18337  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18338  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18339  esac
18340  ac_MKDIR_P=$MKDIR_P
18341  case $MKDIR_P in
18342  [\\/$]* | ?:[\\/]* ) ;;
18343  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18344  esac
18345_ACEOF
18346
18347cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18348# If the template does not know about datarootdir, expand it.
18349# FIXME: This hack should be removed a few years after 2.60.
18350ac_datarootdir_hack=; ac_datarootdir_seen=
18351ac_sed_dataroot='
18352/datarootdir/ {
18353  p
18354  q
18355}
18356/@datadir@/p
18357/@docdir@/p
18358/@infodir@/p
18359/@localedir@/p
18360/@mandir@/p'
18361case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18362*datarootdir*) ac_datarootdir_seen=yes;;
18363*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18364  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18365$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18366_ACEOF
18367cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18368  ac_datarootdir_hack='
18369  s&@datadir@&$datadir&g
18370  s&@docdir@&$docdir&g
18371  s&@infodir@&$infodir&g
18372  s&@localedir@&$localedir&g
18373  s&@mandir@&$mandir&g
18374  s&\\\${datarootdir}&$datarootdir&g' ;;
18375esac
18376_ACEOF
18377
18378# Neutralize VPATH when `$srcdir' = `.'.
18379# Shell code in configure.ac might set extrasub.
18380# FIXME: do we really want to maintain this feature?
18381cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18382ac_sed_extra="$ac_vpsub
18383$extrasub
18384_ACEOF
18385cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18386:t
18387/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18388s|@configure_input@|$ac_sed_conf_input|;t t
18389s&@top_builddir@&$ac_top_builddir_sub&;t t
18390s&@top_build_prefix@&$ac_top_build_prefix&;t t
18391s&@srcdir@&$ac_srcdir&;t t
18392s&@abs_srcdir@&$ac_abs_srcdir&;t t
18393s&@top_srcdir@&$ac_top_srcdir&;t t
18394s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18395s&@builddir@&$ac_builddir&;t t
18396s&@abs_builddir@&$ac_abs_builddir&;t t
18397s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18398s&@INSTALL@&$ac_INSTALL&;t t
18399s&@MKDIR_P@&$ac_MKDIR_P&;t t
18400$ac_datarootdir_hack
18401"
18402eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18403  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18404
18405test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18406  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18407  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
18408      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18409  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18410which seems to be undefined.  Please make sure it is defined" >&5
18411$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18412which seems to be undefined.  Please make sure it is defined" >&2;}
18413
18414  rm -f "$ac_tmp/stdin"
18415  case $ac_file in
18416  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18417  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18418  esac \
18419  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18420 ;;
18421  :H)
18422  #
18423  # CONFIG_HEADER
18424  #
18425  if test x"$ac_file" != x-; then
18426    {
18427      $as_echo "/* $configure_input  */" \
18428      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18429    } >"$ac_tmp/config.h" \
18430      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18431    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18432      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18433$as_echo "$as_me: $ac_file is unchanged" >&6;}
18434    else
18435      rm -f "$ac_file"
18436      mv "$ac_tmp/config.h" "$ac_file" \
18437	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18438    fi
18439  else
18440    $as_echo "/* $configure_input  */" \
18441      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18442      || as_fn_error $? "could not create -" "$LINENO" 5
18443  fi
18444# Compute "$ac_file"'s index in $config_headers.
18445_am_arg="$ac_file"
18446_am_stamp_count=1
18447for _am_header in $config_headers :; do
18448  case $_am_header in
18449    $_am_arg | $_am_arg:* )
18450      break ;;
18451    * )
18452      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18453  esac
18454done
18455echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18456$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18457	 X"$_am_arg" : 'X\(//\)[^/]' \| \
18458	 X"$_am_arg" : 'X\(//\)$' \| \
18459	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18460$as_echo X"$_am_arg" |
18461    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18462	    s//\1/
18463	    q
18464	  }
18465	  /^X\(\/\/\)[^/].*/{
18466	    s//\1/
18467	    q
18468	  }
18469	  /^X\(\/\/\)$/{
18470	    s//\1/
18471	    q
18472	  }
18473	  /^X\(\/\).*/{
18474	    s//\1/
18475	    q
18476	  }
18477	  s/.*/./; q'`/stamp-h$_am_stamp_count
18478 ;;
18479
18480  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18481$as_echo "$as_me: executing $ac_file commands" >&6;}
18482 ;;
18483  esac
18484
18485
18486  case $ac_file$ac_mode in
18487    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18488  # Older Autoconf quotes --file arguments for eval, but not when files
18489  # are listed without --file.  Let's play safe and only enable the eval
18490  # if we detect the quoting.
18491  case $CONFIG_FILES in
18492  *\'*) eval set x "$CONFIG_FILES" ;;
18493  *)   set x $CONFIG_FILES ;;
18494  esac
18495  shift
18496  for mf
18497  do
18498    # Strip MF so we end up with the name of the file.
18499    mf=`echo "$mf" | sed -e 's/:.*$//'`
18500    # Check whether this is an Automake generated Makefile or not.
18501    # We used to match only the files named 'Makefile.in', but
18502    # some people rename them; so instead we look at the file content.
18503    # Grep'ing the first line is not enough: some people post-process
18504    # each Makefile.in and add a new line on top of each file to say so.
18505    # Grep'ing the whole file is not good either: AIX grep has a line
18506    # limit of 2048, but all sed's we know have understand at least 4000.
18507    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18508      dirpart=`$as_dirname -- "$mf" ||
18509$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18510	 X"$mf" : 'X\(//\)[^/]' \| \
18511	 X"$mf" : 'X\(//\)$' \| \
18512	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18513$as_echo X"$mf" |
18514    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18515	    s//\1/
18516	    q
18517	  }
18518	  /^X\(\/\/\)[^/].*/{
18519	    s//\1/
18520	    q
18521	  }
18522	  /^X\(\/\/\)$/{
18523	    s//\1/
18524	    q
18525	  }
18526	  /^X\(\/\).*/{
18527	    s//\1/
18528	    q
18529	  }
18530	  s/.*/./; q'`
18531    else
18532      continue
18533    fi
18534    # Extract the definition of DEPDIR, am__include, and am__quote
18535    # from the Makefile without running 'make'.
18536    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18537    test -z "$DEPDIR" && continue
18538    am__include=`sed -n 's/^am__include = //p' < "$mf"`
18539    test -z "am__include" && continue
18540    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18541    # Find all dependency output files, they are included files with
18542    # $(DEPDIR) in their names.  We invoke sed twice because it is the
18543    # simplest approach to changing $(DEPDIR) to its actual value in the
18544    # expansion.
18545    for file in `sed -n "
18546      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18547	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18548      # Make sure the directory exists.
18549      test -f "$dirpart/$file" && continue
18550      fdir=`$as_dirname -- "$file" ||
18551$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18552	 X"$file" : 'X\(//\)[^/]' \| \
18553	 X"$file" : 'X\(//\)$' \| \
18554	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18555$as_echo X"$file" |
18556    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18557	    s//\1/
18558	    q
18559	  }
18560	  /^X\(\/\/\)[^/].*/{
18561	    s//\1/
18562	    q
18563	  }
18564	  /^X\(\/\/\)$/{
18565	    s//\1/
18566	    q
18567	  }
18568	  /^X\(\/\).*/{
18569	    s//\1/
18570	    q
18571	  }
18572	  s/.*/./; q'`
18573      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18574      # echo "creating $dirpart/$file"
18575      echo '# dummy' > "$dirpart/$file"
18576    done
18577  done
18578}
18579 ;;
18580    "libtool":C)
18581
18582    # See if we are running on zsh, and set the options that allow our
18583    # commands through without removal of \ escapes.
18584    if test -n "${ZSH_VERSION+set}"; then
18585      setopt NO_GLOB_SUBST
18586    fi
18587
18588    cfgfile=${ofile}T
18589    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18590    $RM "$cfgfile"
18591
18592    cat <<_LT_EOF >> "$cfgfile"
18593#! $SHELL
18594# Generated automatically by $as_me ($PACKAGE) $VERSION
18595# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18596# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18597
18598# Provide generalized library-building support services.
18599# Written by Gordon Matzigkeit, 1996
18600
18601# Copyright (C) 2014 Free Software Foundation, Inc.
18602# This is free software; see the source for copying conditions.  There is NO
18603# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18604
18605# GNU Libtool is free software; you can redistribute it and/or modify
18606# it under the terms of the GNU General Public License as published by
18607# the Free Software Foundation; either version 2 of of the License, or
18608# (at your option) any later version.
18609#
18610# As a special exception to the GNU General Public License, if you
18611# distribute this file as part of a program or library that is built
18612# using GNU Libtool, you may include this file under the  same
18613# distribution terms that you use for the rest of that program.
18614#
18615# GNU Libtool is distributed in the hope that it will be useful, but
18616# WITHOUT ANY WARRANTY; without even the implied warranty of
18617# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18618# GNU General Public License for more details.
18619#
18620# You should have received a copy of the GNU General Public License
18621# along with this program.  If not, see <http://www.gnu.org/licenses/>.
18622
18623
18624# The names of the tagged configurations supported by this script.
18625available_tags='CXX '
18626
18627# Configured defaults for sys_lib_dlsearch_path munging.
18628: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18629
18630# ### BEGIN LIBTOOL CONFIG
18631
18632# Which release of libtool.m4 was used?
18633macro_version=$macro_version
18634macro_revision=$macro_revision
18635
18636# Whether or not to build shared libraries.
18637build_libtool_libs=$enable_shared
18638
18639# Whether or not to build static libraries.
18640build_old_libs=$enable_static
18641
18642# What type of objects to build.
18643pic_mode=$pic_mode
18644
18645# Whether or not to optimize for fast installation.
18646fast_install=$enable_fast_install
18647
18648# Shared archive member basename,for filename based shared library versioning on AIX.
18649shared_archive_member_spec=$shared_archive_member_spec
18650
18651# Shell to use when invoking shell scripts.
18652SHELL=$lt_SHELL
18653
18654# An echo program that protects backslashes.
18655ECHO=$lt_ECHO
18656
18657# The PATH separator for the build system.
18658PATH_SEPARATOR=$lt_PATH_SEPARATOR
18659
18660# The host system.
18661host_alias=$host_alias
18662host=$host
18663host_os=$host_os
18664
18665# The build system.
18666build_alias=$build_alias
18667build=$build
18668build_os=$build_os
18669
18670# A sed program that does not truncate output.
18671SED=$lt_SED
18672
18673# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18674Xsed="\$SED -e 1s/^X//"
18675
18676# A grep program that handles long lines.
18677GREP=$lt_GREP
18678
18679# An ERE matcher.
18680EGREP=$lt_EGREP
18681
18682# A literal string matcher.
18683FGREP=$lt_FGREP
18684
18685# A BSD- or MS-compatible name lister.
18686NM=$lt_NM
18687
18688# Whether we need soft or hard links.
18689LN_S=$lt_LN_S
18690
18691# What is the maximum length of a command?
18692max_cmd_len=$max_cmd_len
18693
18694# Object file suffix (normally "o").
18695objext=$ac_objext
18696
18697# Executable file suffix (normally "").
18698exeext=$exeext
18699
18700# whether the shell understands "unset".
18701lt_unset=$lt_unset
18702
18703# turn spaces into newlines.
18704SP2NL=$lt_lt_SP2NL
18705
18706# turn newlines into spaces.
18707NL2SP=$lt_lt_NL2SP
18708
18709# convert \$build file names to \$host format.
18710to_host_file_cmd=$lt_cv_to_host_file_cmd
18711
18712# convert \$build files to toolchain format.
18713to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18714
18715# An object symbol dumper.
18716OBJDUMP=$lt_OBJDUMP
18717
18718# Method to check whether dependent libraries are shared objects.
18719deplibs_check_method=$lt_deplibs_check_method
18720
18721# Command to use when deplibs_check_method = "file_magic".
18722file_magic_cmd=$lt_file_magic_cmd
18723
18724# How to find potential files when deplibs_check_method = "file_magic".
18725file_magic_glob=$lt_file_magic_glob
18726
18727# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18728want_nocaseglob=$lt_want_nocaseglob
18729
18730# DLL creation program.
18731DLLTOOL=$lt_DLLTOOL
18732
18733# Command to associate shared and link libraries.
18734sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18735
18736# The archiver.
18737AR=$lt_AR
18738
18739# Flags to create an archive.
18740AR_FLAGS=$lt_AR_FLAGS
18741
18742# How to feed a file listing to the archiver.
18743archiver_list_spec=$lt_archiver_list_spec
18744
18745# A symbol stripping program.
18746STRIP=$lt_STRIP
18747
18748# Commands used to install an old-style archive.
18749RANLIB=$lt_RANLIB
18750old_postinstall_cmds=$lt_old_postinstall_cmds
18751old_postuninstall_cmds=$lt_old_postuninstall_cmds
18752
18753# Whether to use a lock for old archive extraction.
18754lock_old_archive_extraction=$lock_old_archive_extraction
18755
18756# A C compiler.
18757LTCC=$lt_CC
18758
18759# LTCC compiler flags.
18760LTCFLAGS=$lt_CFLAGS
18761
18762# Take the output of nm and produce a listing of raw symbols and C names.
18763global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18764
18765# Transform the output of nm in a proper C declaration.
18766global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18767
18768# Transform the output of nm into a list of symbols to manually relocate.
18769global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18770
18771# Transform the output of nm in a C name address pair.
18772global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18773
18774# Transform the output of nm in a C name address pair when lib prefix is needed.
18775global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18776
18777# The name lister interface.
18778nm_interface=$lt_lt_cv_nm_interface
18779
18780# Specify filename containing input files for \$NM.
18781nm_file_list_spec=$lt_nm_file_list_spec
18782
18783# The root where to search for dependent libraries,and where our libraries should be installed.
18784lt_sysroot=$lt_sysroot
18785
18786# Command to truncate a binary pipe.
18787lt_truncate_bin=$lt_lt_cv_truncate_bin
18788
18789# The name of the directory that contains temporary libtool files.
18790objdir=$objdir
18791
18792# Used to examine libraries when file_magic_cmd begins with "file".
18793MAGIC_CMD=$MAGIC_CMD
18794
18795# Must we lock files when doing compilation?
18796need_locks=$lt_need_locks
18797
18798# Manifest tool.
18799MANIFEST_TOOL=$lt_MANIFEST_TOOL
18800
18801# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18802DSYMUTIL=$lt_DSYMUTIL
18803
18804# Tool to change global to local symbols on Mac OS X.
18805NMEDIT=$lt_NMEDIT
18806
18807# Tool to manipulate fat objects and archives on Mac OS X.
18808LIPO=$lt_LIPO
18809
18810# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18811OTOOL=$lt_OTOOL
18812
18813# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18814OTOOL64=$lt_OTOOL64
18815
18816# Old archive suffix (normally "a").
18817libext=$libext
18818
18819# Shared library suffix (normally ".so").
18820shrext_cmds=$lt_shrext_cmds
18821
18822# The commands to extract the exported symbol list from a shared archive.
18823extract_expsyms_cmds=$lt_extract_expsyms_cmds
18824
18825# Variables whose values should be saved in libtool wrapper scripts and
18826# restored at link time.
18827variables_saved_for_relink=$lt_variables_saved_for_relink
18828
18829# Do we need the "lib" prefix for modules?
18830need_lib_prefix=$need_lib_prefix
18831
18832# Do we need a version for libraries?
18833need_version=$need_version
18834
18835# Library versioning type.
18836version_type=$version_type
18837
18838# Shared library runtime path variable.
18839runpath_var=$runpath_var
18840
18841# Shared library path variable.
18842shlibpath_var=$shlibpath_var
18843
18844# Is shlibpath searched before the hard-coded library search path?
18845shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18846
18847# Format of library name prefix.
18848libname_spec=$lt_libname_spec
18849
18850# List of archive names.  First name is the real one, the rest are links.
18851# The last name is the one that the linker finds with -lNAME
18852library_names_spec=$lt_library_names_spec
18853
18854# The coded name of the library, if different from the real name.
18855soname_spec=$lt_soname_spec
18856
18857# Permission mode override for installation of shared libraries.
18858install_override_mode=$lt_install_override_mode
18859
18860# Command to use after installation of a shared archive.
18861postinstall_cmds=$lt_postinstall_cmds
18862
18863# Command to use after uninstallation of a shared archive.
18864postuninstall_cmds=$lt_postuninstall_cmds
18865
18866# Commands used to finish a libtool library installation in a directory.
18867finish_cmds=$lt_finish_cmds
18868
18869# As "finish_cmds", except a single script fragment to be evaled but
18870# not shown.
18871finish_eval=$lt_finish_eval
18872
18873# Whether we should hardcode library paths into libraries.
18874hardcode_into_libs=$hardcode_into_libs
18875
18876# Compile-time system search path for libraries.
18877sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18878
18879# Detected run-time system search path for libraries.
18880sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18881
18882# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18883configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18884
18885# Whether dlopen is supported.
18886dlopen_support=$enable_dlopen
18887
18888# Whether dlopen of programs is supported.
18889dlopen_self=$enable_dlopen_self
18890
18891# Whether dlopen of statically linked programs is supported.
18892dlopen_self_static=$enable_dlopen_self_static
18893
18894# Commands to strip libraries.
18895old_striplib=$lt_old_striplib
18896striplib=$lt_striplib
18897
18898
18899# The linker used to build libraries.
18900LD=$lt_LD
18901
18902# How to create reloadable object files.
18903reload_flag=$lt_reload_flag
18904reload_cmds=$lt_reload_cmds
18905
18906# Commands used to build an old-style archive.
18907old_archive_cmds=$lt_old_archive_cmds
18908
18909# A language specific compiler.
18910CC=$lt_compiler
18911
18912# Is the compiler the GNU compiler?
18913with_gcc=$GCC
18914
18915# Compiler flag to turn off builtin functions.
18916no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18917
18918# Additional compiler flags for building library objects.
18919pic_flag=$lt_lt_prog_compiler_pic
18920
18921# How to pass a linker flag through the compiler.
18922wl=$lt_lt_prog_compiler_wl
18923
18924# Compiler flag to prevent dynamic linking.
18925link_static_flag=$lt_lt_prog_compiler_static
18926
18927# Does compiler simultaneously support -c and -o options?
18928compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18929
18930# Whether or not to add -lc for building shared libraries.
18931build_libtool_need_lc=$archive_cmds_need_lc
18932
18933# Whether or not to disallow shared libs when runtime libs are static.
18934allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18935
18936# Compiler flag to allow reflexive dlopens.
18937export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18938
18939# Compiler flag to generate shared objects directly from archives.
18940whole_archive_flag_spec=$lt_whole_archive_flag_spec
18941
18942# Whether the compiler copes with passing no objects directly.
18943compiler_needs_object=$lt_compiler_needs_object
18944
18945# Create an old-style archive from a shared archive.
18946old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18947
18948# Create a temporary old-style archive to link instead of a shared archive.
18949old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18950
18951# Commands used to build a shared archive.
18952archive_cmds=$lt_archive_cmds
18953archive_expsym_cmds=$lt_archive_expsym_cmds
18954
18955# Commands used to build a loadable module if different from building
18956# a shared archive.
18957module_cmds=$lt_module_cmds
18958module_expsym_cmds=$lt_module_expsym_cmds
18959
18960# Whether we are building with GNU ld or not.
18961with_gnu_ld=$lt_with_gnu_ld
18962
18963# Flag that allows shared libraries with undefined symbols to be built.
18964allow_undefined_flag=$lt_allow_undefined_flag
18965
18966# Flag that enforces no undefined symbols.
18967no_undefined_flag=$lt_no_undefined_flag
18968
18969# Flag to hardcode \$libdir into a binary during linking.
18970# This must work even if \$libdir does not exist
18971hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18972
18973# Whether we need a single "-rpath" flag with a separated argument.
18974hardcode_libdir_separator=$lt_hardcode_libdir_separator
18975
18976# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18977# DIR into the resulting binary.
18978hardcode_direct=$hardcode_direct
18979
18980# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18981# DIR into the resulting binary and the resulting library dependency is
18982# "absolute",i.e impossible to change by setting \$shlibpath_var if the
18983# library is relocated.
18984hardcode_direct_absolute=$hardcode_direct_absolute
18985
18986# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18987# into the resulting binary.
18988hardcode_minus_L=$hardcode_minus_L
18989
18990# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18991# into the resulting binary.
18992hardcode_shlibpath_var=$hardcode_shlibpath_var
18993
18994# Set to "yes" if building a shared library automatically hardcodes DIR
18995# into the library and all subsequent libraries and executables linked
18996# against it.
18997hardcode_automatic=$hardcode_automatic
18998
18999# Set to yes if linker adds runtime paths of dependent libraries
19000# to runtime path list.
19001inherit_rpath=$inherit_rpath
19002
19003# Whether libtool must link a program against all its dependency libraries.
19004link_all_deplibs=$link_all_deplibs
19005
19006# Set to "yes" if exported symbols are required.
19007always_export_symbols=$always_export_symbols
19008
19009# The commands to list exported symbols.
19010export_symbols_cmds=$lt_export_symbols_cmds
19011
19012# Symbols that should not be listed in the preloaded symbols.
19013exclude_expsyms=$lt_exclude_expsyms
19014
19015# Symbols that must always be exported.
19016include_expsyms=$lt_include_expsyms
19017
19018# Commands necessary for linking programs (against libraries) with templates.
19019prelink_cmds=$lt_prelink_cmds
19020
19021# Commands necessary for finishing linking programs.
19022postlink_cmds=$lt_postlink_cmds
19023
19024# Specify filename containing input files.
19025file_list_spec=$lt_file_list_spec
19026
19027# How to hardcode a shared library path into an executable.
19028hardcode_action=$hardcode_action
19029
19030# The directories searched by this compiler when creating a shared library.
19031compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19032
19033# Dependencies to place before and after the objects being linked to
19034# create a shared library.
19035predep_objects=$lt_predep_objects
19036postdep_objects=$lt_postdep_objects
19037predeps=$lt_predeps
19038postdeps=$lt_postdeps
19039
19040# The library search path used internally by the compiler when linking
19041# a shared library.
19042compiler_lib_search_path=$lt_compiler_lib_search_path
19043
19044# ### END LIBTOOL CONFIG
19045
19046_LT_EOF
19047
19048    cat <<'_LT_EOF' >> "$cfgfile"
19049
19050# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19051
19052# func_munge_path_list VARIABLE PATH
19053# -----------------------------------
19054# VARIABLE is name of variable containing _space_ separated list of
19055# directories to be munged by the contents of PATH, which is string
19056# having a format:
19057# "DIR[:DIR]:"
19058#       string "DIR[ DIR]" will be prepended to VARIABLE
19059# ":DIR[:DIR]"
19060#       string "DIR[ DIR]" will be appended to VARIABLE
19061# "DIRP[:DIRP]::[DIRA:]DIRA"
19062#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19063#       "DIRA[ DIRA]" will be appended to VARIABLE
19064# "DIR[:DIR]"
19065#       VARIABLE will be replaced by "DIR[ DIR]"
19066func_munge_path_list ()
19067{
19068    case x$2 in
19069    x)
19070        ;;
19071    *:)
19072        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19073        ;;
19074    x:*)
19075        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19076        ;;
19077    *::*)
19078        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19079        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19080        ;;
19081    *)
19082        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19083        ;;
19084    esac
19085}
19086
19087
19088# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19089func_cc_basename ()
19090{
19091    for cc_temp in $*""; do
19092      case $cc_temp in
19093        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19094        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19095        \-*) ;;
19096        *) break;;
19097      esac
19098    done
19099    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19100}
19101
19102
19103# ### END FUNCTIONS SHARED WITH CONFIGURE
19104
19105_LT_EOF
19106
19107  case $host_os in
19108  aix3*)
19109    cat <<\_LT_EOF >> "$cfgfile"
19110# AIX sometimes has problems with the GCC collect2 program.  For some
19111# reason, if we set the COLLECT_NAMES environment variable, the problems
19112# vanish in a puff of smoke.
19113if test set != "${COLLECT_NAMES+set}"; then
19114  COLLECT_NAMES=
19115  export COLLECT_NAMES
19116fi
19117_LT_EOF
19118    ;;
19119  esac
19120
19121
19122ltmain=$ac_aux_dir/ltmain.sh
19123
19124
19125  # We use sed instead of cat because bash on DJGPP gets confused if
19126  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19127  # text mode, it properly converts lines to CR/LF.  This bash problem
19128  # is reportedly fixed, but why not run on old versions too?
19129  sed '$q' "$ltmain" >> "$cfgfile" \
19130     || (rm -f "$cfgfile"; exit 1)
19131
19132   mv -f "$cfgfile" "$ofile" ||
19133    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19134  chmod +x "$ofile"
19135
19136
19137    cat <<_LT_EOF >> "$ofile"
19138
19139# ### BEGIN LIBTOOL TAG CONFIG: CXX
19140
19141# The linker used to build libraries.
19142LD=$lt_LD_CXX
19143
19144# How to create reloadable object files.
19145reload_flag=$lt_reload_flag_CXX
19146reload_cmds=$lt_reload_cmds_CXX
19147
19148# Commands used to build an old-style archive.
19149old_archive_cmds=$lt_old_archive_cmds_CXX
19150
19151# A language specific compiler.
19152CC=$lt_compiler_CXX
19153
19154# Is the compiler the GNU compiler?
19155with_gcc=$GCC_CXX
19156
19157# Compiler flag to turn off builtin functions.
19158no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19159
19160# Additional compiler flags for building library objects.
19161pic_flag=$lt_lt_prog_compiler_pic_CXX
19162
19163# How to pass a linker flag through the compiler.
19164wl=$lt_lt_prog_compiler_wl_CXX
19165
19166# Compiler flag to prevent dynamic linking.
19167link_static_flag=$lt_lt_prog_compiler_static_CXX
19168
19169# Does compiler simultaneously support -c and -o options?
19170compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19171
19172# Whether or not to add -lc for building shared libraries.
19173build_libtool_need_lc=$archive_cmds_need_lc_CXX
19174
19175# Whether or not to disallow shared libs when runtime libs are static.
19176allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19177
19178# Compiler flag to allow reflexive dlopens.
19179export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19180
19181# Compiler flag to generate shared objects directly from archives.
19182whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19183
19184# Whether the compiler copes with passing no objects directly.
19185compiler_needs_object=$lt_compiler_needs_object_CXX
19186
19187# Create an old-style archive from a shared archive.
19188old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19189
19190# Create a temporary old-style archive to link instead of a shared archive.
19191old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19192
19193# Commands used to build a shared archive.
19194archive_cmds=$lt_archive_cmds_CXX
19195archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19196
19197# Commands used to build a loadable module if different from building
19198# a shared archive.
19199module_cmds=$lt_module_cmds_CXX
19200module_expsym_cmds=$lt_module_expsym_cmds_CXX
19201
19202# Whether we are building with GNU ld or not.
19203with_gnu_ld=$lt_with_gnu_ld_CXX
19204
19205# Flag that allows shared libraries with undefined symbols to be built.
19206allow_undefined_flag=$lt_allow_undefined_flag_CXX
19207
19208# Flag that enforces no undefined symbols.
19209no_undefined_flag=$lt_no_undefined_flag_CXX
19210
19211# Flag to hardcode \$libdir into a binary during linking.
19212# This must work even if \$libdir does not exist
19213hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19214
19215# Whether we need a single "-rpath" flag with a separated argument.
19216hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19217
19218# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19219# DIR into the resulting binary.
19220hardcode_direct=$hardcode_direct_CXX
19221
19222# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19223# DIR into the resulting binary and the resulting library dependency is
19224# "absolute",i.e impossible to change by setting \$shlibpath_var if the
19225# library is relocated.
19226hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19227
19228# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19229# into the resulting binary.
19230hardcode_minus_L=$hardcode_minus_L_CXX
19231
19232# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19233# into the resulting binary.
19234hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19235
19236# Set to "yes" if building a shared library automatically hardcodes DIR
19237# into the library and all subsequent libraries and executables linked
19238# against it.
19239hardcode_automatic=$hardcode_automatic_CXX
19240
19241# Set to yes if linker adds runtime paths of dependent libraries
19242# to runtime path list.
19243inherit_rpath=$inherit_rpath_CXX
19244
19245# Whether libtool must link a program against all its dependency libraries.
19246link_all_deplibs=$link_all_deplibs_CXX
19247
19248# Set to "yes" if exported symbols are required.
19249always_export_symbols=$always_export_symbols_CXX
19250
19251# The commands to list exported symbols.
19252export_symbols_cmds=$lt_export_symbols_cmds_CXX
19253
19254# Symbols that should not be listed in the preloaded symbols.
19255exclude_expsyms=$lt_exclude_expsyms_CXX
19256
19257# Symbols that must always be exported.
19258include_expsyms=$lt_include_expsyms_CXX
19259
19260# Commands necessary for linking programs (against libraries) with templates.
19261prelink_cmds=$lt_prelink_cmds_CXX
19262
19263# Commands necessary for finishing linking programs.
19264postlink_cmds=$lt_postlink_cmds_CXX
19265
19266# Specify filename containing input files.
19267file_list_spec=$lt_file_list_spec_CXX
19268
19269# How to hardcode a shared library path into an executable.
19270hardcode_action=$hardcode_action_CXX
19271
19272# The directories searched by this compiler when creating a shared library.
19273compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19274
19275# Dependencies to place before and after the objects being linked to
19276# create a shared library.
19277predep_objects=$lt_predep_objects_CXX
19278postdep_objects=$lt_postdep_objects_CXX
19279predeps=$lt_predeps_CXX
19280postdeps=$lt_postdeps_CXX
19281
19282# The library search path used internally by the compiler when linking
19283# a shared library.
19284compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19285
19286# ### END LIBTOOL TAG CONFIG: CXX
19287_LT_EOF
19288
19289 ;;
19290
19291  esac
19292done # for ac_tag
19293
19294
19295as_fn_exit 0
19296_ACEOF
19297ac_clean_files=$ac_clean_files_save
19298
19299test $ac_write_fail = 0 ||
19300  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19301
19302
19303# configure is writing to config.log, and then calls config.status.
19304# config.status does its own redirection, appending to config.log.
19305# Unfortunately, on DOS this fails, as config.log is still kept open
19306# by configure, so config.status won't be able to write to it; its
19307# output is simply discarded.  So we exec the FD to /dev/null,
19308# effectively closing config.log, so it can be properly (re)opened and
19309# appended to by config.status.  When coming back to configure, we
19310# need to make the FD available again.
19311if test "$no_create" != yes; then
19312  ac_cs_success=:
19313  ac_config_status_args=
19314  test "$silent" = yes &&
19315    ac_config_status_args="$ac_config_status_args --quiet"
19316  exec 5>/dev/null
19317  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19318  exec 5>>config.log
19319  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19320  # would make configure fail if this is the last instruction.
19321  $ac_cs_success || as_fn_exit 1
19322fi
19323if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19324  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19325$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19326fi
19327
19328